]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Don't use run-via-rtld-prefix for anything other than tests
[thirdparty/glibc.git] / ChangeLog
1 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * Makeconfig (rtld-prefix): Define built linker prefix.
4 * Rules (run-bench): Use it.
5 * math/Makefile (run-regen-ulps): Likewise.
6
7 * Rules (bench): Remove eval.
8
9 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10 Roland McGrath <roland@hack.frob.com>
11 Ondrej Bilka <neleai@seznam.cz>
12
13 [BZ #15346]
14 * time/getdate.c: Include ctype.h and alloca.h.
15 (__getdate_r): Trim leading and trailing spaces of input.
16 * time/tst-getdate.c (tests): Add tests with leading and
17 trailing spaces.
18
19 2013-04-08 Roland McGrath <roland@hack.frob.com>
20
21 [BZ #14280]
22 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23 when computing value.
24
25 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26
27 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28 Use testrun.sh to run libm tests.
29
30 [BZ #15309]
31 * elf/dl-open.c (dl_open_worker): memset all of seen array.
32
33 2013-04-06 Marko Myllynen <myllynen@redhat.com>
34
35 [BZ #15264]
36 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37
38 2013-04-06 Carlos O'Donell <carlos@redhat.com>
39
40 * Makefile.in (regen-ulps): New target.
41 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
42 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
43 [ifneq (no,$(PERL)] (regen-ulps): New target.
44 [ifeq (no,$(PERL)] (regen-ulps): New target.
45 * math/libm-test.inc (ulps_file_name): Define.
46 (output_dir): New variable.
47 (options): Add "output-dir" option.
48 (parse_opt): Handle 'o' case.
49 (main): If output_dir is non-NULL use it as a prefix
50 otherwise use "".
51 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52
53 2013-04-06 Carlos O'Donell <carlos@redhat.com>
54
55 [BZ #10060, #10062]
56 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
57 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
58 fail configure if __sync_val_compare_and_swap is not inlined.
59 * sysdeps/i386/configure: Regenerate.
60 * configure.in: Build for i686 when configured for i386.
61 * configure: Regenerate.
62 * README: Remove i386 reference.
63
64 2013-04-06 Carlos O'Donell <carlos@redhat.com>
65
66 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
67 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68
69 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
70
71 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
72 (lmsnanval): New variables.
73 (F): Add conversion tests.
74 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
75 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
76
77 * stdio-common/tstdiomisc.c (F): Properly collect individual
78 tests' results.
79
80 [BZ #14686, #15336]
81 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
82 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
83 Instead, use input NaN values or generate a qNaN by arithmetic
84 operation. Also fix bugs to comply with the standard.
85 * math/libm-test.inc (remainder_test): Add more tests.
86
87 [BZ #15335, #15342]
88 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
89 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
90 input NaN values or generate a qNaN by arithmetic operation.
91
92 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
93 unreachable code.
94
95 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
96 definitions.
97
98 2013-04-03 Joseph Myers <joseph@codesourcery.com>
99
100 [BZ #14478]
101 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
102 underflowed result.
103 * math/s_cexpf.c (__cexpf): Likewise.
104 * math/s_cexpl.c (__cexpl): Likewise.
105 * math/libm-test.inc (cexp_test): Add more tests.
106
107 2013-04-03 Andreas Schwab <schwab@suse.de>
108
109 [BZ #15330]
110 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
111 order arrays from heap if bigger than alloca cutoff.
112
113 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
114
115 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
116 (SNAN_TESTS_double): Refer to GCC PR56831.
117 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
118 GCC PR56828.
119
120 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
121
122 * Rules (bench): Move bench.out after the run is complete.
123
124 * Rules (bench): Echo currently running benchmark.
125
126 * benchtests/Makefile (bench): Add atan and slowatan.
127 * benchtests/atan-inputs: New file.
128 * benchtests/slowatan-inputs: New file.
129 * benchtests/slowatan.c: New file.
130
131 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
132 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
133 its value.
134
135 [BZ #15305]
136 * sysdeps/unix/sysv/linux/kernel-features.h
137 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
138 __ASSUME_XFS_RESTRICTED_CHOWN.
139 * sysdeps/unix/sysv/linux/pathconf.c
140 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
141 Save and restore errno.
142
143 2013-04-02 Joseph Myers <joseph@codesourcery.com>
144
145 [BZ #15327]
146 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
147 arguments using __kernel_casinh.
148 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
149 arguments using __kernel_casinhf.
150 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
151 arguments using __kernel_casinhl.
152 * math/libm-test.inc (cacosh_test): Add more tests.
153 * sysdeps/i386/fpu/libm-test-ulps: Update.
154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
155
156 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
157
158 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
159 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
160
161 * bench/Makefile (bench): Add sin and slowsin.
162 * benchtests/sin-inputs: New file.
163 * benchtests/slowsin-inputs: New file.
164 * benchtests/slowsin.c: New file.
165
166 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
167 (bench): Add slowexp and slowpow.
168 (exp-ITER): Increase iterations.
169 (pow-ITER): Likewise.
170 * benchtests/exp-inputs: Change input.
171 * benchtests/pow-inputs: Likewise.
172 * benchtests/slowexp-inputs: New file.
173 * benchtests/slowexp.c: New file.
174 * benchtests/slowpow-inputs: New file.
175 * benchtests/slowpow.c: New file.
176
177 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
178
179 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
180 instructions.
181 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
182 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
183 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
184 * benchtests/Makefile: Add rint benchtest.
185 * benchtests/rint-inputs: Input for rint benchtest.
186
187 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
188
189 * Versions.def (libm): Add GLIBC_2.18.
190 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
191 hidden libm prototypes.
192 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
193 * math/Makefile (libm-calls): Add s_issignaling.
194 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
195 __issignalingf, __issignalingl. Adjust all libm.abilist files.
196 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
197 declaration.
198 * math/math.h [__USE_GNU] (issignaling): New macro.
199 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
200 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
201 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
202 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
203 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
204 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
205 * manual/arith.texi (issignaling): New section.
206 * manual/libm-err-tab.pl (@all_functions): Update comment.
207 * math/gen-libm-test.pl (parse_args): Apply special handling for
208 issignaling.
209 * math/libm-test.inc (print_float, issignaling_test): New
210 functions.
211 (check_float_internal): Add issignaling checks.
212 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
213 default definition.
214 * sysdeps/powerpc/math-tests.h: New file.
215 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
216 tests.
217 * math/test-snan.c (TEST_FUNC): Likewise.
218
219 2013-03-30 David S. Miller <davem@davemloft.net>
220
221 * po/de.po: Update from translation team.
222
223 2013-03-30 Joseph Myers <joseph@codesourcery.com>
224
225 [BZ #10357]
226 * math/k_casinh.c (__kernel_casinh): Handle arguments with
227 imaginary part less than 1.0 and real part less than 0.5
228 specially.
229 * math/k_casinhf.c (__kernel_casinhf): Likewise.
230 * math/k_casinhl.c (__kernel_casinhl): Likewise.
231 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
232 (cacos_test): Add more tests.
233 (casin_test): Likewise.
234 (casinh_test): Likewise.
235 * sysdeps/i386/fpu/libm-test-ulps: Update.
236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
237
238 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
239
240 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
241 ONE with its value.
242
243 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
244 (__pow_mp): Replace ONE and MONE with their values.
245 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
246 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
247 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
248 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
249 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
250 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
251
252 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
253
254 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
255 (__pow_mp): Replace ZERO and MZERO with their values.
256 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
257 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
258 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
259 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
260 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
261 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
262 (__sqr): Likewise.
263
264 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
265
266 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
267
268 2013-03-28 Roland McGrath <roland@hack.frob.com>
269
270 * include/stdlib.h [!SHARED] (__call_tls_dtors):
271 Declare with __attribute__ ((weak)).
272 * stdlib/exit.c (__libc_atexit) [!SHARED]:
273 Call __call_tls_dtors only if it's not NULL.
274
275 2013-03-28 Roland McGrath <roland@hack.frob.com>
276
277 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
278 didn't do it already, then set _dl_phdr and _dl_phnum based on the
279 magic __ehdr_start linker symbol if it's defined.
280 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
281 them up here if it was already done.
282
283 * elf/dl-support.c (_dl_phdr): Make pointer to const.
284 (_dl_aux_init): Use const in cast when setting it.
285 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
286 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
287 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
288
289 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
290 Declare them here.
291 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
292 * csu/libc-tls.c: Nor here.
293 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
294
295 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
296 (__libc_message): Never call vsyslog.
297
298 2013-03-28 Alan Modra <amodra@gmail.com>
299
300 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
301 Define as empty.
302 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
303 Likewise.
304
305 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
306
307 [BZ #15214]
308 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
309 underflow.
310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
311
312 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
313
314 [BZ #15304]
315 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
316 Don't add gid passed as argument.
317
318 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
319
320 2013-03-27 Joseph Myers <joseph@codesourcery.com>
321
322 [BZ #15307]
323 * math/k_casinh.c (__kernel_casinh): Handle arguments with
324 imaginary part between 1.0 and 1.5 and real part less than 0.5
325 specially.
326 * math/k_casinhf.c (__kernel_casinhf): Likewise.
327 * math/k_casinhl.c (__kernel_casinhl): Likewise.
328 * math/libm-test.inc (cacos_test): Add more tests.
329 (casin_test): Likewise.
330 (casinh_test): Likewise.
331 * sysdeps/i386/fpu/libm-test-ulps: Update.
332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
333
334 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
335
336 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
337 constants.
338 (norm): Likewise.
339 (denorm): Likewise.
340 (__dbl_mp): Likewise.
341 (add_magnitudes): Likewise.
342 (sub_magnitudes): Likewise.
343 (__add): Likewise.
344 (__sub): Likewise.
345 (__mul): Likewise.
346 (__sqr): Likewise.
347 (__inv): Likewise.
348 (__dvd): Likewise.
349
350 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
351 commented code.
352 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
353 (__dubcos): Likewise.
354 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
355 (__ieee754_acos): Likewise.
356 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
357 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
358 (__exp1): Likewise.
359 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
360 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
361 (log1): Likewise.
362 (my_log2): Likewise.
363 (checkint): Likewise.
364 * sysdeps/ieee754/dbl-64/e_remainder.c
365 (__ieee754_remainder): Likewise.
366 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
367 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
368 (bsloww): Likewise.
369 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
370
371 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
372 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
373 MANTISSA_STORE_T to store computations on mantissa. Use
374 macros for rounding and division.
375 (denorm): Likewise.
376 (__dbl_mp): Likewise.
377 (add_magnitudes): Likewise.
378 (sub_magnitudes): Likewise.
379 (__mul): Likewise.
380 (__sqr): Likewise.
381 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
382 powers of two in terms of TWOPOW macro.
383 (mp_no): Make type of mantissa as MANTISSA_T.
384 [!RADIXI]: Define RADIXI.
385 [!TWO52]: Define TWO52.
386 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
387
388 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
389
390 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
391 llroundl symbol when building for PPC32.
392
393 2013-03-24 Mark H Weaver <mhw@netris.org>
394
395 * manual/arith.texi (Normalization Functions): Fix prototypes for
396 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
397
398 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
399
400 [BZ #13889]
401 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
402 high value to check if expl overflow.
403 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
404 to check for underflow and overflow.
405 * math/libm-test.inc: Add exp test.
406
407 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
408
409 [BZ #11120]
410 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
411 with NOT_IN_libc.
412
413 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
414
415 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
416 symbol.
417
418 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
419
420 * math/gen-libm-test.pl (parse_args, special_functions): Properly
421 wrap blocks consisting of several statements.
422
423 * sysdeps/generic/math-tests.h: New file.
424 * sysdeps/i386/fpu/math-tests.h: Likewise.
425 * math/test-snan.c: Include it.
426 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
427
428 2013-03-21 Joseph Myers <joseph@codesourcery.com>
429
430 [BZ #15285]
431 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
432 (__ieee754_j0l): Do not improve calculations using cos of twice
433 input for inputs above LDBL_MAX / 2.0L.
434 (__ieee754_y0l): Likewise.
435 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
436 (__ieee754_j1l): Do not improve calculations using cos of twice
437 input for inputs above LDBL_MAX / 2.0L.
438 (__ieee754_y1l): Likewise.
439 * math/libm-test.inc (j0_test): Add another test.
440 (j1_test): Likewise.
441 (y0_test): Likewise.
442 (y1_test): Likewise.
443 * sysdeps/i386/fpu/libm-test-ulps: Update.
444
445 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
446
447 * Rules ($(objpfx)bench-%.c): Include code from a C source
448 file.
449
450 2013-03-21 Joseph Myers <joseph@codesourcery.com>
451
452 [BZ #15287]
453 * math/k_casinh.c (__kernel_casinh): Handle arguments with
454 imaginary part 1.0 and real part less than 0.5 specially.
455 * math/k_casinhf.c (__kernel_casinhf): Likewise.
456 * math/k_casinhl.c (__kernel_casinhl): Likewise.
457 * math/libm-test.inc (cacos_test): Add more tests.
458 (casin_test): Likewise.
459 (casinh_test): Likewise.
460 * sysdeps/i386/fpu/libm-test-ulps: Update.
461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
462
463 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
464
465 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
466 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
467
468 2013-03-20 Joseph Myers <joseph@codesourcery.com>
469
470 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
471 * config.make.in (config-cflags-sse4): Remove variable.
472 (config-cflags-avx): Likewise.
473 (config-cflags-sse2avx): Likewise.
474 (config-cflags-novzeroupper): Likewise.
475 (config-asflags-i686): Likewise.
476 (have-mfma4): Likewise.
477 (have-as-vis3): Likewise.
478 (MIG): Likewise.
479 * configure.in (MIG): Do not AC_SUBST.
480 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
481 (libc_cv_cc_sse4): Do not AC_SUBST.
482 (libc_cv_cc_avx): Likewise.
483 (libc_cv_cc_sse2avx): Likewise.
484 (libc_cv_cc_novzeroupper): Likewise.
485 (libc_cv_cc_fma4): Likewise.
486 (libc_cv_as_i686): Likewise.
487 (libc_cv_sparc_as_vis3): Likewise.
488 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
489 LIBC_CONFIG_VAR.
490 (config-asflags-i686): Likewise.
491 (config-cflags-avx): Likewise.
492 (config-cflags-sse2avx): Likewise.
493 (have-mfma4): Likewise.
494 (config-cflags-novzeroupper): Likewise.
495 * sysdeps/mach/configure.in (MIG): Likewise.
496 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
497 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
498 LIBC_CONFIG_VAR.
499 (config-cflags-avx): Likewise.
500 (config-cflags-sse2avx): Likewise.
501 (have-mfma4): Likewise.
502 (config-cflags-novzeroupper): Likewise.
503 * configure: Regenerated.
504 * sysdeps/i386/configure: Likewise.
505 * sysdeps/mach/configure: Likewise.
506 * sysdeps/sparc/configure: Likewise.
507 * sysdeps/x86_64/configure: Likewise.
508
509 2013-03-20 Roland McGrath <roland@hack.frob.com>
510
511 [BZ #14812]
512 * locale/programs/localedef.c (options): Put N_ translation marker
513 on argument names, not just descriptions.
514
515 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
516
517 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
518
519 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
520
521 [BZ #14176]
522 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
523
524 2013-03-19 Roland McGrath <roland@hack.frob.com>
525
526 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
527 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
528 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
529 [!BEFORE_ABORT] (before_abort): New function.
530 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
531 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
532 (writev_for_fatal): New function.
533 (WRITEV_FOR_FATAL): New macro; call that.
534 (backtrace_and_maps): New function.
535 (BEFORE_ABORT): New macro; call that.
536 (struct str_list): Type removed.
537 (__libc_message, __libc_fatal): Functions removed.
538 Include <sysdeps/posix/libc_fatal.c> instead.
539
540 2013-03-19 Joseph Myers <joseph@codesourcery.com>
541
542 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
543 constants.
544 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
545 double constants.
546
547 2013-03-19 Andreas Schwab <schwab@suse.de>
548
549 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
550 * sysdeps/gnu/configure: Regenerate.
551
552 * configure.in: Substitute libc_cv_rtlddir.
553 * configure: Regenerate.
554 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
555 * Makeconfig (rtlddir, inst_rtlddir): New variables.
556 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
557 * elf/Makefile (install-others, CFLAGS-interp.c)
558 (ldso_install, common-ldd-rewrite): Likewise.
559 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
560 $(inst_slibdir)/$(rtld-installed-name).
561 * scripts/rellns-sh: Add -p option.
562 * Makerules (make-shlib-link): Use rellns-sh to get relative name
563 for source.
564
565 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
566
567 * manual/nptl.texi: Renamed to ...
568 * manual/threads.texi: ... this.
569 * manual/Makefile (chapters): Update.
570
571 2013-03-18 Roland McGrath <roland@hack.frob.com>
572
573 [BZ #14812]
574 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
575 on argument names, not just descriptions.
576 * malloc/memusagestat.c (options): Likewise.
577 * nss/getent.c (options): Likewise.
578
579 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
580
581 [BZ #14812]
582 * iconv/iconv_prog.c (options): Put N_ translation marker
583 on argument names, not just descriptions.
584 * iconv/iconvconfig.c (options): Likewise.
585
586 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
587
588 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
589 implementation which is faster on all x86_64 architectures.
590 Tested on AMD, Intel Nehalem, SNB, IVB.
591 * sysdeps/x86_64/strnlen.S: Likewise.
592
593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
594 Remove all multiarch strlen and strnlen versions.
595 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
596 Remove strlen and strnlen related parts.
597
598 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
599 Inline strlen part.
600 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
601
602 * sysdeps/x86_64/multiarch/strlen.S: Remove.
603 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
604 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
605 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
606 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
607 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
608
609 2013-03-17 Carlos O'Donell <carlos@redhat.com>
610
611 * manual/memory.texi (Malloc Tunable Parameters):
612 Sort parameters alphabetically. Add comments for missing entries.
613
614 2013-03-17 David S. Miller <davem@davemloft.net>
615
616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
617
618 2013-03-16 Joseph Myers <joseph@codesourcery.com>
619
620 [BZ #15283]
621 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
622 for arguments at most half maximum finite value.
623 * math/libm-test.inc (j0_test): Add more tests.
624 (j1_test): Likewise.
625 (y0_test): Likewise.
626 (y1_test): Likewise.
627 * sysdeps/i386/fpu/libm-test-ulps: Update.
628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
629
630 [BZ #14155]
631 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
632 1 / x and functions P and Q for arguments above 0x1p256L.
633 (__ieee754_y0l): Likewise.
634 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
635 (__ieee754_y1l): Likewise.
636 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
637 (j1_test): Likewise.
638 (y0_test): Likewise.
639 (y1_test): Likewise.
640
641 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
642
643 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
644 variable.
645
646 2013-03-15 Roland McGrath <roland@hack.frob.com>
647
648 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
649 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
650 zero since it's initialized to EXEC_PAGESIZE.
651
652 * sysdeps/unix/sysv/linux/ldsodefs.h
653 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
654 * sysdeps/generic/ldsodefs.h: ... here.
655
656 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
657
658 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
659
660 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
661 math/test-snan.c.
662 * math/test-snan.c: Renamed from
663 sysdeps/powerpc/fpu/test-powerpc-snan.c.
664 * math/Makefile (tests): Add test-snan.
665 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
666 test-powerpc-snan.
667
668 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
669 SUFFIX. Initialize qNaN_var with __builtin_nan family of
670 functions.
671 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
672 __builtin_nan family of functions.
673 * math/libm-test.inc (initialize): Initialize qnan_value with
674 __builtin_nan family of functions.
675 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
676 Remove variables.
677 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
678 Remove functions.
679 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
680 storage class. Initialize qNaN_var and sNaN_var with
681 __builtin_nan and __builtin_nans families of functions,
682 respectively.
683
684 * math/libm-test.inc (acosh_test): Also test with qNaN input.
685 (sqrt_test): Remove duplicate test with qNaN input.
686 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
687 (round_test, signbit_test, significand_test): Note missing +/-Inf
688 as well as qNaN tests.
689
690 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
691 qNaN_var. Fix a few strings, too.
692 * math/libm-test.inc (nan_value): Rename to qnan_value.
693 * math/gen-libm-test.pl (%beautify): Adjust to that.
694 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
695 * math/test-misc.c (main): Likewise.
696 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
697 to __qnan_bytes, and __qnan_union, respectively.
698 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
699 Likewise.
700 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
701 and lqnanval, respectively.
702 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
703 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
704 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
705 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
706
707 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
708 * math/test-misc.c (main) [__x86_64__]: Enable test for long
709 doubles.
710
711 * math/test-misc.c (main): Fix copy'n'pastos.
712 * misc/tst-efgcvt.c (special): Likewise.
713
714 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
715 Remove declarations.
716
717 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
718
719 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
720 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
721 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
722 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
723
724 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
725
726 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
727 macro to return vdso values correctly in IFUNC implementations.
728 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
729 Optimization by using IFUNC.
730
731 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
732 Richard Henderson <rth@redhat.com>
733 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
734
735 * Makefile.in (bench): New target.
736 * NEWS: Mention the benchmark framework.
737 * Rules (bench): Likewise.
738 (binaries-bench): Generate binaries for functions to
739 benchmark.
740 * benchtests/Makefile: New makefile for benchmark tests.
741 * benchtests/bench-skeleton.c: New skeleton file for benchmark
742 programs.
743 * benchtests/exp-inputs: New input file for EXP function.
744 * benchtests/pow-inputs: New input file for POW function.
745 * scripts/bench.pl: New script to generate source files for
746 benchmark programs.
747
748 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
749
750 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
751 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
752 computations on mantissa. Use macros for rounding and
753 division.
754 (denorm): Likewise.
755 (__dbl_mp): Likewise.
756 (add_magnitudes): Likewise.
757 (sub_magnitudes): Likewise.
758 (__mul): Likewise.
759 (__sqr): Likewise.
760 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
761 powers of two in terms of TWOPOW macro.
762 (mp_no): Make type of mantissa as MANTISSA_T.
763 [!RADIXI]: Define RADIXI.
764 [!TWO52]: Define TWO52.
765 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
766
767 * manual/nptl.texi (cindex): Modify threads to pthreads.
768
769 2013-03-15 Joseph Myers <joseph@codesourcery.com>
770
771 * sysdeps/x86_64/preconfigure: Regenerated.
772
773 2013-03-14 Joseph Myers <joseph@codesourcery.com>
774
775 [BZ #14155]
776 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
777 0x1p28 and above.
778 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
779 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
780 0x1p28 and above.
781 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
782 * math/libm-test.inc (j0_test): Do not allow one spurious
783 underflow exception.
784 (y1_test): Likewise.
785
786 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
787
788 * manual/Makefile (chapters): Add nptl.
789 * manual/debug.texi (Debugging Support): Add link to Threads
790 chapter.
791 * manual/nptl.texi: New file.
792
793 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
794
795 2013-03-14 Petr Baudis <pasky@ucw.cz>
796
797 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
798 for non-NULL pointer before the memory validity test. Pointed
799 out by Holger Brunck <holger.brunck@keymile.com>.
800
801 2013-03-13 Andreas Schwab <schwab@suse.de>
802
803 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
804 instead of .os.
805
806 2013-03-13 Joseph Myers <joseph@codesourcery.com>
807
808 * timezone/zic.c: Update from tzcode 2013b.
809
810 2013-03-12 Carlos O'Donell <carlos@redhat.com>
811
812 * manual/install.texi (Configuring and compiling):
813 Mention i686 and i586.
814 * INSTALL: Regenerate.
815
816 2013-03-12 Roland McGrath <roland@hack.frob.com>
817
818 * sysdeps/init_array/elf-init.c: New file.
819 * csu/elf-init.c
820 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
821 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
822
823 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
824 __gmon_start__ as global, but as static with a .preinit_array pointer.
825 * sysdeps/init_array/gmon-start.c: New file. Use that.
826 * sysdeps/init_array/crti.S: New file, empty except for comments.
827 * sysdeps/init_array/crtn.S: Likewise.
828
829 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
830
831 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
832 definining bcopy.
833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
834 Remove Prefer_SSE_for_memop.
835 * sysdeps/x86_64/multiarch/init-arch.h: Remove
836 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
837 HAS_PREFER_SSE_FOR_MEMOP.
838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
839 memset-x86-64.
840 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
841 Remove bzero, memset ifunc support.
842 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
843 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
844 * sysdeps/x86_64/multiarch/memset.S: Likewise.
845 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
846
847 2013-03-11 Andreas Schwab <schwab@suse.de>
848
849 [BZ #15234]
850 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
851 by SHLIB_COMPAT.
852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
853 (GLIBC_2.16): Remove pthread_atfork.
854
855 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
856
857 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
858 (ptestcases.h): Likewise.
859
860 2013-03-08 Roland McGrath <roland@hack.frob.com>
861
862 * Makeconfig ($(common-objpfx)config.status): Depend on
863 sysdeps/*/preconfigure{,.in} too.
864
865 2013-03-08 Joseph Myers <joseph@codesourcery.com>
866
867 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
868 (__free_hook): Use void * instead of __malloc_ptr_t.
869 (__malloc_hook): Likewise.
870 (__realloc_hook): Likewise.
871 (__memalign_hook): Likewise.
872 (__after_morecore_hook): Likewise.
873 * malloc/arena.c (save_malloc_hook): Likewise.
874 (save_free_hook): Likewise.
875 * malloc/hooks.c (malloc_hook_ini): Likewise.
876 (realloc_hook_ini): Likewise.
877 (memalign_hook_ini): Likewise.
878 * malloc/malloc.c (malloc_hook_ini): Likewise.
879 (realloc_hook_ini): Likewise.
880 (memalign_hook_ini): Likewise.
881 (__free_hook): Likewise.
882 (__malloc_hook): Likewise.
883 (__realloc_hook): Likewise.
884 (__memalign_hook): Likewise.
885 (__libc_malloc): Likewise.
886 (__libc_free): Likewise.
887 (__libc_realloc): Likewise.
888 (__libc_memalign): Likewise.
889 (__libc_valloc): Likewise.
890 (__libc_pvalloc): Likewise.
891 (__libc_calloc): Likewise.
892 (__posix_memalign): Likewise.
893 * malloc/morecore.c (__sbrk): Likewise.
894 (__default_morecore): Likewise.
895
896 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
897
898 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
899 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
900 __malloc_ptrdiff_t.
901
902 * malloc/malloc.h (__malloc_size_t): Remove macro.
903 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
904 __malloc_size_t.
905 (old_memalign_hook): Likewise.
906 (old_realloc_hook): Likewise.
907 (struct hdr): Likewise.
908 (flood): Likewise.
909 (mallochook): Likewise.
910 (memalignhook): Likewise.
911 (reallochook): Likewise.
912 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
913 (tr_old_realloc_hook): Likewise.
914 (tr_old_memalign_hook): Likewise.
915 (tr_mallochook): Likewise.
916 (tr_reallochook): Likewise.
917 (tr_memalignhook): Likewise.
918
919 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
920
921 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
922 default_ldbl_pack and using as default implementation.
923 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
924 implementation.
925 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
926 redundant definition.
927 (ldbl_insert_mantissa): Likewise.
928 (ldbl_canonicalize): Likewise.
929 (ldbl_nearbyint): Likewise.
930 (ldbl_pack): Rename to ldbl_pack_ppc.
931 (ldbl_unpack): Rename to ldbl_unpack_ppc.
932 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
933 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
934
935 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
936
937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
938 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
939 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
940 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
942 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
943 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
944 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
945
946 2013-03-07 Andreas Jaeger <aj@suse.de>
947
948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
949 bits/mman-linux.h.
950
951 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
952
953 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
954 Include mpa.h and declare __MPEXP.
955 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
956 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
957 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
958 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
959 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
960 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
961 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
962
963 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
964 (__slowpow): Use long double EXPL and LOGL functions to
965 compute POW.
966 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
967 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
968 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
969 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
970 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
971 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
972
973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
974 intermediate variable to calculate exponent.
975 (__sqr): Likewise.
976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
977 Likewise.
978 (__sqr): Likewise.
979
980 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
981 [!NO__SQR]: Define __sqr.
982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
983 and NO__SQR. Remove all code except __mul and __sqr. Include
984 sysdeps/ieee754/dbl-64/mpa.c.
985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
986
987 [BZ #12723]
988 * posix/Makefile (tests): Add tst-pathconf.
989 * posix/tst-pathconf.c: New test case.
990 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
991 _PC_PIPE_BUF.
992 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
993
994 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
995
996 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
997
998 2013-03-06 Andreas Jaeger <aj@suse.de>
999
1000 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1001 definition via __MAP_ANONYMOUS.
1002
1003 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1004 it's not part of Linux headers.
1005
1006 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1007 (MAP_HUGE_MASK): Define.
1008
1009 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1010 Define.
1011 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1012 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1013 Define.
1014 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1015 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1016 Define.
1017 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1018 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1019 Define.
1020 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1021
1022 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1023 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1024 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1025 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1026 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1027 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1028
1029 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1030 Handle f2fs.
1031
1032 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1033 Handle f2fs and efivarfs.
1034
1035 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1036 f2fs.
1037
1038 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1039 (EFIVARFS_MAGIC): Add.
1040 (F2FS_LINK_MAX): Add.
1041
1042 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1043
1044 * stdio-common/vfprintf.c: Replace __builtin_expect with
1045 __glibc_unlikely.
1046
1047 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1048
1049 [BZ #13550]
1050 * sysdeps/generic/bp-sym.h: Remove file.
1051 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1052 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1053 <bp-sym.h> and <bp-asm.h>.
1054 (__longjmp): Don't use BP_SYM.
1055 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1056 and <bp-asm.h>.
1057 (memcpy): Don't use BP_SYM.
1058 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1059 <bp-sym.h> and <bp-asm.h>.
1060 (memcpy): Don't use BP_SYM.
1061 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1062 <bp-asm.h>.
1063 (memcpy): Don't use BP_SYM.
1064 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1065 <bp-asm.h>.
1066 (memset): Don't use BP_SYM.
1067 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1068 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1069 (__bzero): Don't use BP_SYM.
1070 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1071 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1072 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1073 <bp-sym.h> and <bp-asm.h>.
1074 (memcmp): Don't use BP_SYM. Remove comment about bounded
1075 pointers.
1076 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1077 <bp-sym.h> and <bp-asm.h>.
1078 (memcpy): Don't use BP_SYM.
1079 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1080 <bp-sym.h> and <bp-asm.h>.
1081 (memset): Don't use BP_SYM.
1082 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1083 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1084 (__bzero): Don't use BP_SYM.
1085 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1086 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1087 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1088 <bp-sym.h> and <bp-asm.h>.
1089 (strncmp): Don't use BP_SYM. Remove comment about bounded
1090 pointers.
1091 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1092 <bp-sym.h> and <bp-asm.h>.
1093 (memcpy): Don't use BP_SYM.
1094 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1095 <bp-sym.h> and <bp-asm.h>.
1096 (memset): Don't use BP_SYM.
1097 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1098 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1099 (__bzero): Don't use BP_SYM.
1100 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1101 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1102 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1103 <bp-sym.h> and <bp-asm.h>.
1104 (__memchr): Don't use BP_SYM.
1105 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1106 <bp-sym.h> and <bp-asm.h>.
1107 (memcmp): Don't use BP_SYM. Remove comment about bounded
1108 pointers.
1109 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1110 <bp-sym.h> and <bp-asm.h>.
1111 (memcpy): Don't use BP_SYM.
1112 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1113 <bp-sym.h> and <bp-asm.h>.
1114 (__mempcpy): Don't use BP_SYM.
1115 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1116 <bp-sym.h> and <bp-asm.h>.
1117 (__memrchr): Don't use BP_SYM.
1118 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1119 <bp-sym.h> and <bp-asm.h>.
1120 (memset): Don't use BP_SYM.
1121 (__bzero): Likewise.
1122 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1123 <bp-sym.h> and <bp-asm.h>.
1124 (__rawmemchr): Don't use BP_SYM.
1125 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1126 <bp-sym.h> and <bp-asm.h>.
1127 (__STRCMP): Don't use BP_SYM.
1128 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1129 <bp-sym.h> and <bp-asm.h>.
1130 (strchr): Don't use BP_SYM.
1131 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1132 <bp-sym.h> and <bp-asm.h>.
1133 (__strchrnul): Don't use BP_SYM.
1134 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1135 <bp-sym.h> and <bp-asm.h>.
1136 (strlen): Don't use BP_SYM.
1137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1138 <bp-sym.h> and <bp-asm.h>.
1139 (strncmp): Don't use BP_SYM. Remove comment about bounded
1140 pointers.
1141 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1142 <bp-sym.h> and <bp-asm.h>.
1143 (__strnlen): Don't use BP_SYM.
1144 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1145 <bp-sym.h> and <bp-asm.h>.
1146 (__GI__setjmp): Don't use BP_SYM.
1147 (_setjmp): Likewise.
1148 (__sigsetjmp): Likewise.
1149 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1150 (L(start_addresses)): Don't use BP_SYM.
1151 (_start): Likewise.
1152 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1153 <bp-asm.h>.
1154 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1155 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1156 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1157 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1158 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1159 <bp-asm.h>.
1160 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1161 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1162 about bounded pointers.
1163 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1164 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1165 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1166 <bp-asm.h>.
1167 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1168 about bounded pointers. Remove GKM FIXME comments.
1169 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1170 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1171 <bp-asm.h>.
1172 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1173 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1174 Remove GKM FIXME comments.
1175 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1176 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1177 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1178 <bp-asm.h>.
1179 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1180 about bounded pointers. Remove GKM FIXME comment.
1181 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1182 and <bp-asm.h>.
1183 (strncmp): Don't use BP_SYM. Remove comment about bounded
1184 pointers.
1185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1186 <bp-sym.h> and <bp-asm.h>.
1187 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1189 <bp-sym.h> and <bp-asm.h>.
1190 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1191 comment.
1192
1193 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1194
1195 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1196 call free(NULL).
1197
1198 2013-03-05 David S. Miller <davem@davemloft.net>
1199
1200 * po/es.po: Update from translation team.
1201
1202 2013-03-05 Andreas Jaeger <aj@suse.de>
1203
1204 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1205 <bits/mman-linux.h>.
1206 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1207 is fine.
1208 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1209 <bits/mman-linux.h> to end of file.
1210 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1211 is fine.
1212 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1213 <bits/mman-linux.h> to end of file.
1214 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1215 is fine.
1216 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1217 <bits/mman-linux.h> to end of file.
1218
1219 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1220 (MCL_CURRENT, MCL_FUTURE): Define here.
1221
1222 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1223
1224 [BZ #15232]
1225 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1226 attribute_hidden.
1227 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1228
1229 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1230
1231 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1232 fourth parameter needed for rt_sigprocmask syscall.
1233 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1234 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1235 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1236 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1237 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1238 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1239
1240 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1241
1242 [BZ #13550]
1243 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1244 comment about bounded pointers.
1245 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1246 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1247
1248 2013-03-04 Andreas Jaeger <aj@suse.de>
1249
1250 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1251 common definitions.
1252
1253 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1254 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1255 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1256 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1257 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1258 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1259
1260 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1261
1262 [BZ #15055]
1263 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1264 __ieee754_sqrl instead of __sqrl.
1265
1266 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1267
1268 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1269 * sysdeps/powerpc/fpu_control.h: ... here.
1270 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1271 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1272 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1273 * sysdeps/powerpc/bits/mathinline.h: ... here.
1274
1275 2013-03-01 Roland McGrath <roland@hack.frob.com>
1276
1277 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1278 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1279 to just [NEED_DL_SYSINFO_DSO].
1280 * elf/dl-support.c: Likewise.
1281 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1282 * elf/rtld.c (dl_main): Likewise.
1283 * elf/setup-vdso.h (setup_vdso): Likewise.
1284 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1285 * sysdeps/unix/sysv/linux/dl-sysdep.c
1286 (_dl_discover_osversion): Likewise.
1287
1288 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1289
1290 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1291 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1292
1293 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1294
1295 * NEWS: Mention libm performance improvements and non-x86 PI
1296 futex support.
1297
1298 * csu/libc-start.c (__pthread_initialize_minimal): Change
1299 function arguments.
1300 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1301
1302 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1303
1304 [BZ #13550]
1305 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1306 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1307 <bp-sym.h> and <bp-asm.h>.
1308 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1309 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1310 and <bp-asm.h>.
1311 (memcpy): Don't use BP_SYM.
1312 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1313 <bp-asm.h>.
1314 (__mpn_add_n): Don't use BP_SYM.
1315 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1316 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1317 and <bp-asm.h>.
1318 (__mpn_addmul_1): Don't use BP_SYM.
1319 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1320 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1321 <bp-sym.h>.
1322 (_setjmp): Don't use BP_SYM.
1323 (__novmx_setjmp): Likewise.
1324 (__GI__setjmp): Likewise.
1325 (__vmx_setjmp): Likewise.
1326 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1327 <bp-sym.h>.
1328 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1329 (__bzero): Don't use BP_SYM.
1330 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1331 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1332 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1333 <bp-sym.h> and <bp-asm.h>.
1334 (memcpy): Don't use BP_SYM.
1335 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1336 <bp-sym.h> and <bp-asm.h>.
1337 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1338 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1339 <bp-sym.h> and <bp-asm.h>.
1340 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1341 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1342 <bp-asm.h>.
1343 (__mpn_lshift): Don't use BP_SYM.
1344 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1345 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1346 <bp-asm.h>.
1347 (memset): Don't use BP_SYM.
1348 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1349 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1350 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1351 <bp-asm.h>.
1352 (__mpn_mul_1): Don't use BP_SYM.
1353 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1354 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1355 <bp-sym.h> and <bp-asm.h>.
1356 (memcmp): Don't use BP_SYM.
1357 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1358 <bp-sym.h> and <bp-asm.h>.
1359 (memcpy): Don't use BP_SYM.
1360 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1361 <bp-sym.h> and <bp-asm.h>.
1362 (memset): Don't use BP_SYM.
1363 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1364 <bp-sym.h> and <bp-asm.h>.
1365 (strncmp): Don't use BP_SYM.
1366 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1367 <bp-sym.h> and <bp-asm.h>.
1368 (memcpy): Don't use BP_SYM.
1369 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1370 <bp-sym.h> and <bp-asm.h>.
1371 (memset): Don't use BP_SYM.
1372 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1373 <bp-sym.h> and <bp-asm.h>.
1374 (__memchr): Don't use BP_SYM.
1375 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1376 <bp-sym.h> and <bp-asm.h>.
1377 (memcmp): Don't use BP_SYM.
1378 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1379 <bp-sym.h> and <bp-asm.h>.
1380 (memcpy): Don't use BP_SYM.
1381 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1382 <bp-sym.h> and <bp-asm.h>.
1383 (__mempcpy): Don't use BP_SYM.
1384 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1385 <bp-sym.h> and <bp-asm.h>.
1386 (__memrchr): Don't use BP_SYM.
1387 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1388 <bp-sym.h> and <bp-asm.h>.
1389 (memset): Don't use BP_SYM.
1390 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1391 <bp-sym.h> and <bp-asm.h>.
1392 (__rawmemchr): Don't use BP_SYM.
1393 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1394 <bp-sym.h> and <bp-asm.h>.
1395 (__STRCMP): Don't use BP_SYM.
1396 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1397 <bp-sym.h> and <bp-asm.h>.
1398 (strchr): Don't use BP_SYM.
1399 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1400 <bp-sym.h> and <bp-asm.h>.
1401 (__strchrnul): Don't use BP_SYM.
1402 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1403 <bp-sym.h> and <bp-asm.h>.
1404 (strlen): Don't use BP_SYM.
1405 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1406 <bp-sym.h> and <bp-asm.h>.
1407 (strncmp): Don't use BP_SYM.
1408 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1409 <bp-sym.h> and <bp-asm.h>.
1410 (__strnlen): Don't use BP_SYM.
1411 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1412 <bp-asm.h>.
1413 (__mpn_rshift): Don't use BP_SYM.
1414 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1415 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1416 <bp-sym.h> and <bp-asm.h>.
1417 (__sigsetjmp): Don't use BP_SYM.
1418 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1419 (L(start_addresses)): Don't use BP_SYM.
1420 (_start): Likewise.
1421 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1422 <bp-asm.h>.
1423 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1424 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1425 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1426 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1427 <bp-asm.h>.
1428 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1429 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1430 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1431 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1432 <bp-asm.h>.
1433 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1434 comments.
1435 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1436 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1437 <bp-asm.h>.
1438 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1439 FIXME comments.
1440 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1441 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1442 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1443 <bp-asm.h>.
1444 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1445 comment.
1446 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1447 and <bp-asm.h>.
1448 (strncmp): Don't use BP_SYM,
1449 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1450 <bp-asm.h>.
1451 (__mpn_sub_n): Don't use BP_SYM.
1452 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1453 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1454 and <bp-asm.h>.
1455 (__mpn_submul_1): Don't use BP_SYM.
1456 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1458 <bp-sym.h> and <bp-asm.h>.
1459 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1461 <bp-sym.h> and <bp-asm.h>.
1462 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1463 comment.
1464
1465 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1466
1467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1468 Use ZK to minimize writes to Z.
1469 (sub_magnitudes): Simplify code a bit.
1470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1471 Use ZK to minimize writes to Z.
1472 (sub_magnitudes): Simplify code a bit.
1473
1474 2013-02-27 Roland McGrath <roland@hack.frob.com>
1475
1476 * csu/gmon-start.c: Add special exception to license text.
1477
1478 2013-02-27 Richard Henderson <rth@redhat.com>
1479
1480 * scripts/config.guess: Update from config.git.
1481 * scripts/config.sub: Likewise.
1482
1483 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1484
1485 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1486
1487 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1488
1489 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1490
1491 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1492
1493 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1494
1495 2013-02-26 Roland McGrath <roland@hack.frob.com>
1496
1497 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1498 [$(build-shared = yes].
1499
1500 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1501
1502 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1503 (__mul): Reduce iterations for calculating mantissa.
1504
1505 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1506 MPTWO.
1507 (__mpranred): Likewise.
1508
1509 [BZ #15160]
1510 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1511 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1512
1513 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1514
1515 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1516 Define __attribute__.
1517
1518 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1519
1520 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1521 unused.
1522 * posix/regex_internal.h (__attribute): Remove.
1523 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1524 (re_string_context_at): Likewise.
1525 (bitset_not): Use __attribute__ and mark function as possibly
1526 unused.
1527 (bitset_merge): Likewise.
1528 (bitset_mask): Likewise.
1529 (re_string_char_size_at): Likewise.
1530 (re_string_wchar_at): Likewise.
1531 (re_string_elem_size_at): Likewise.
1532
1533 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1534
1535 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1536 code.
1537 (cc32): Likewise.
1538
1539 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1540 (__acr): Likewise.
1541 (__cpy): Likewise.
1542 (norm): Likewise.
1543 (denorm): Likewise.
1544 (__dbl_mp): Likewise.
1545 (add_magnitudes): Likewise.
1546 (sub_magnitudes): Likewise.
1547 (__mul): Likewise.
1548 (__inv): Likewise.
1549
1550 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1551 style.
1552
1553 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1554 style.
1555
1556 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1557 code.
1558
1559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1560 up changes with default code.
1561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1562 Likewise.
1563
1564 2013-02-24 Allan McRae <allan@archlinux.org>
1565
1566 * manual/socket.texi (The Internet Namespace): Order menu items
1567 to match that in the file.
1568
1569 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1570 node listing of the info page menu.
1571
1572 2013-02-21 Joseph Myers <joseph@codesourcery.com>
1573
1574 [BZ #13550]
1575 * sysdeps/i386/bp-asm.h: Remove file.
1576 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1577 (PARMS): Do not use macros from bp-asm.h.
1578 (S1): Likewise.
1579 (S2): Likewise.
1580 (SIZE): Likewise.
1581 (__mpn_add_n): Do not use BP_SYM
1582 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1583 "bp-asm.h".
1584 (PARMS): Do not use macros from bp-asm.h.
1585 (S1): Likewise.
1586 (SIZE): Likewise.
1587 (__mpn_addmul_1): Do not use BP_SYM
1588 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1589 "bp-asm.h".
1590 (PARMS): Do not use macros from bp-asm.h.
1591 (SIGMSK): Likewise.
1592 (_setjmp): Likewise. Do not use BP_SYM.
1593 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1594 "bp-asm.h".
1595 (PARMS): Do not use macros from bp-asm.h.
1596 (SIGMSK): Likewise.
1597 (setjmp): Likewise. Do not use BP_SYM.
1598 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1599 "bp-asm.h".
1600 (PARMS): Do not use macros from bp-asm.h.
1601 (__frexp): Do not use BP_SYM.
1602 (frexp): Likewise.
1603 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1604 "bp-asm.h".
1605 (PARMS): Do not use macros from bp-asm.h.
1606 (__frexpf): Do not use BP_SYM.
1607 (frexpf): Likewise.
1608 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1609 "bp-asm.h".
1610 (PARMS): Do not use macros from bp-asm.h.
1611 (__frexpl): Do not use BP_SYM.
1612 (frexpl): Likewise.
1613 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1614 "bp-asm.h".
1615 (PARMS): Do not use macros from bp-asm.h.
1616 (__remquo): Do not use BP_SYM.
1617 (remquo): Likewise.
1618 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1619 "bp-asm.h".
1620 (PARMS): Do not use macros from bp-asm.h.
1621 (__remquof): Do not use BP_SYM.
1622 (remquof): Likewise.
1623 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1624 "bp-asm.h".
1625 (PARMS): Do not use macros from bp-asm.h.
1626 (__remquol): Do not use BP_SYM.
1627 (remquol): Likewise.
1628 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1629 "bp-asm.h".
1630 (PARMS): Do not use macros from bp-asm.h.
1631 (DEST): Likewise.
1632 (SRC): Likewise.
1633 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1634 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1635 "bp-asm.h".
1636 (PARMS): Do not use macros from bp-asm.h.
1637 (strlen): Do not use BP_SYM.
1638 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1639 "bp-asm.h".
1640 (PARMS): Do not use macros from bp-asm.h.
1641 (S1): Likewise.
1642 (S2): Likewise.
1643 (SIZE): Likewise.
1644 (__mpn_add_n): Do not use BP_SYM.
1645 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1646 "bp-asm.h".
1647 (PARMS): Do not use macros from bp-asm.h.
1648 (S1): Likewise.
1649 (SIZE): Likewise.
1650 (__mpn_addmul_1): Do not use BP_SYM.
1651 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1652 weak_alias.
1653 (bzero): Likewise.
1654 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1655 "bp-asm.h".
1656 (PARMS): Do not use macros from bp-asm.h.
1657 (S): Likewise.
1658 (SIZE): Likewise.
1659 (__mpn_lshift): Do not use BP_SYM.
1660 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1661 "bp-asm.h".
1662 (PARMS): Do not use macros from bp-asm.h.
1663 (DEST): Likewise.
1664 (SRC): Likewise.
1665 (LEN): Likewise.
1666 (memcpy): Likewise. Do not use BP_SYM.
1667 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1668 libc_hidden_def and weak_alias.
1669 (mempcpy): Do not use BP_SYM in weak_alias.
1670 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1671 "bp-asm.h".
1672 (PARMS): Do not use macros from bp-asm.h.
1673 (DEST): Likewise.
1674 (LEN): Likewise.
1675 [!BZERO_P] (CHR): Likewise.
1676 (memset): Likewise. Do not use BP_SYM.
1677 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1678 "bp-asm.h".
1679 (PARMS): Do not use macros from bp-asm.h.
1680 (S1): Likewise.
1681 (SIZE): Likewise.
1682 (__mpn_mul_1): Do not use BP_SYM.
1683 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1684 "bp-asm.h".
1685 (PARMS): Do not use macros from bp-asm.h.
1686 (S): Likewise.
1687 (SIZE): Likewise.
1688 (__mpn_rshift): Do not use BP_SYM.
1689 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1690 "bp-asm.h".
1691 (PARMS): Do not use macros from bp-asm.h.
1692 (STR): Likewise.
1693 (CHR): Likewise.
1694 (strchr): Likewise. Do not use BP_SYM.
1695 (index): Do not use BP_SYM in weak_alias.
1696 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1697 "bp-asm.h".
1698 (PARMS): Do not use macros from bp-asm.h.
1699 (DEST): Likewise.
1700 (SRC): Likewise.
1701 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1702 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1703 "bp-asm.h".
1704 (PARMS): Do not use macros from bp-asm.h.
1705 (strlen): Do not use BP_SYM.
1706 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1707 "bp-asm.h".
1708 (PARMS): Do not use macros from bp-asm.h.
1709 (S1): Likewise.
1710 (S2): Likewise.
1711 (SIZE): Likewise.
1712 (__mpn_sub_n): Do not use BP_SYM.
1713 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1714 "bp-asm.h".
1715 (PARMS): Do not use macros from bp-asm.h.
1716 (S1): Likewise.
1717 (SIZE): Likewise.
1718 (__mpn_submul_1): Do not use BP_SYM.
1719 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1720 "bp-asm.h".
1721 (PARMS): Do not use macros from bp-asm.h.
1722 (S1): Likewise.
1723 (S2): Likewise.
1724 (SIZE): Likewise.
1725 (__mpn_add_n): Do not use BP_SYM.
1726 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1727 weak_alias.
1728 (bzero): Likewise.
1729 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1730 "bp-asm.h".
1731 (PARMS): Do not use macros from bp-asm.h.
1732 (BLK2): Likewise.
1733 (LEN): Likewise.
1734 (memcmp): Do not use BP_SYM.
1735 (bcmp): Do not use BP_SYM in weak_alias.
1736 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1737 "bp-asm.h".
1738 (PARMS): Do not use macros from bp-asm.h.
1739 (DEST): Likewise.
1740 (SRC): Likewise.
1741 (LEN): Likewise.
1742 (memcpy): Likewise. Do not use BP_SYM.
1743 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1744 "bp-asm.h".
1745 (PARMS): Do not use macros from bp-asm.h.
1746 (DEST): Likewise.
1747 (SRC): Likewise.
1748 (LEN): Likewise.
1749 (memmove): Likewise. Do not use BP_SYM.
1750 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1751 "bp-asm.h".
1752 (PARMS): Do not use macros from bp-asm.h.
1753 (DEST): Likewise.
1754 (SRC): Likewise.
1755 (LEN): Likewise.
1756 (__mempcpy): Likewise. Do not use BP_SYM.
1757 (mempcpy): Do not use BP_SYM in weak_alias.
1758 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1759 "bp-asm.h".
1760 (PARMS): Do not use macros from bp-asm.h.
1761 (DEST): Likewise.
1762 (LEN): Likewise.
1763 [!BZERO_P] (CHR): Likewise.
1764 (memset): Likewise. Do not use BP_SYM.
1765 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1766 "bp-asm.h".
1767 (PARMS): Do not use macros from bp-asm.h.
1768 (STR2): Likewise.
1769 (strcmp): Do not use BP_SYM.
1770 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1771 "bp-asm.h".
1772 (PARMS): Do not use macros from bp-asm.h.
1773 (STR): Likewise.
1774 (DELIM): Likewise.
1775 [USE_AS_STRTOK_R] (SAVE): Likewise.
1776 (FUNCTION): Likewise. Do not use BP_SYM.
1777 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1778 aliases.
1779 (strtok_r): Likewise.
1780 (__GI___strtok_r): Likewise.
1781 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1782 (PARMS): Do not use macros from bp-asm.h.
1783 (S): Likewise.
1784 (SIZE): Likewise.
1785 (__mpn_lshift): Do not use BP_SYM.
1786 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1787 (PARMS): Do not use macros from bp-asm.h.
1788 (STR): Likewise.
1789 (CHR): Likewise.
1790 (__memchr): Do not use BP_SYM.
1791 (memchr): Do not use BP_SYM in weak_alias.
1792 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1793 (PARMS): Do not use macros from bp-asm.h.
1794 (BLK2): Likewise.
1795 (LEN): Likewise.
1796 (memcmp): Do not use BP_SYM.
1797 (bcmp): Do not use BP_SYM in weak_alias.
1798 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1799 (PARMS): Do not use macros from bp-asm.h.
1800 (S1): Likewise.
1801 (SIZE): Likewise.
1802 (__mpn_mul_1): Do not use BP_SYM.
1803 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1804 "bp-asm.h".
1805 (PARMS): Do not use macros from bp-asm.h.
1806 (STR): Likewise.
1807 (CHR): Likewise.
1808 (__rawmemchr): Do not use BP_SYM.
1809 (rawmemchr): Do not use BP_SYM in weak_alias.
1810 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1811 (PARMS): Do not use macros from bp-asm.h.
1812 (S): Likewise.
1813 (SIZE): Likewise.
1814 (__mpn_rshift): Do not use BP_SYM.
1815 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1816 (PARMS): Do not use macros from bp-asm.h.
1817 (SIGMSK): Likewise.
1818 (__sigsetjmp): Likewise. Do not use BP_SYM.
1819 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1820 (_start): Do not use BP_SYM.
1821 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1822 (PARMS): Do not use macros from bp-asm.h.
1823 (DEST): Likewise.
1824 (SRC): Likewise.
1825 (__stpcpy): Likewise. Do not use BP_SYM.
1826 (stpcpy): Do not use BP_SYM in weak_alias.
1827 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1828 "bp-asm.h".
1829 (PARMS): Do not use macros from bp-asm.h.
1830 (DEST): Likewise.
1831 (SRC): Likewise.
1832 (LEN): Likewise.
1833 (__stpncpy): Likewise. Do not use BP_SYM.
1834 (stpncpy): Do not use BP_SYM in weak_alias.
1835 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1836 (PARMS): Do not use macros from bp-asm.h.
1837 (STR): Likewise.
1838 (CHR): Likewise.
1839 (strchr): Likewise. Do not use BP_SYM.
1840 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1841 "bp-asm.h".
1842 (PARMS): Do not use macros from bp-asm.h.
1843 (STR): Likewise.
1844 (CHR): Likewise.
1845 (__strchrnul): Likewise. Do not use BP_SYM.
1846 (strchrnul): Do not use BP_SYM in weak_alias.
1847 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1848 "bp-asm.h".
1849 (PARMS): Do not use macros from bp-asm.h.
1850 (STOP): Likewise.
1851 (strcspn): Do not use BP_SYM.
1852 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1853 "bp-asm.h".
1854 (PARMS): Do not use macros from bp-asm.h.
1855 (STR): Likewise.
1856 (STOP): Likewise.
1857 (strpbrk): Likewise. Do not use BP_SYM.
1858 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1859 "bp-asm.h".
1860 (PARMS): Do not use macros from bp-asm.h.
1861 (STR): Likewise.
1862 (CHR): Likewise.
1863 (strrchr): Likewise. Do not use BP_SYM.
1864 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1865 (PARMS): Do not use macros from bp-asm.h.
1866 (SKIP): Likewise.
1867 (strspn): Do not use BP_SYM.
1868 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1869 (PARMS): Do not use macros from bp-asm.h.
1870 (STR): Likewise.
1871 (DELIM): Likewise.
1872 (SAVE): Likewise.
1873 (FUNCTION): Likewise. Do not use BP_SYM.
1874 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1875 aliases.
1876 (strtok_r): Likewise.
1877 (__GI___strtok_r): Likewise.
1878 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1879 (PARMS): Do not use macros from bp-asm.h.
1880 (S1): Likewise.
1881 (S2): Likewise.
1882 (SIZE): Likewise.
1883 (__mpn_sub_n): Do not use BP_SYM.
1884 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1885 "bp-asm.h".
1886 (PARMS): Do not use macros from bp-asm.h.
1887 (S1): Likewise.
1888 (SIZE): Likewise.
1889 (__mpn_submul_1): Do not use BP_SYM.
1890 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1891 <bp-sym.h>.
1892 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1893 and <bp-asm.h>.
1894 (PARMS): Do not use macros from bp-asm.h.
1895 (FLAGS): Likewise.
1896 (PTID): Likewise.
1897 (TLS): Likewise.
1898 (CTID): Likewise.
1899 (__clone): Do not use BP_SYM.
1900 (clone): Do not use BP_SYM in weak_alias.
1901 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1902 and <bp-asm.h>.
1903 (PARMS): Do not use macros from bp-asm.h.
1904 (LEN): Likewise.
1905 (__mmap64): Do not use BP_SYM.
1906 (mmap64): Do not use BP_SYM in weak_alias.
1907 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1908 <bp-sym.h> and <bp-asm.h>.
1909 (PARMS): Do not use macros from bp-asm.h.
1910 (__posix_fadvise64_l64): Do not use BP_SYM.
1911 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1912 (PARMS): Do not use macros from bp-asm.h.
1913 (NSOPS): Likewise.
1914 (semtimedop): Do not use BP_SYM.
1915 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1916 and <bp-asm.h>.
1917
1918 2013-02-21 Allan McRae <allan@archlinux.org>
1919
1920 * manual/message.texi (Charset conversion in gettext):
1921 Move @end statement to beginning of line.
1922
1923 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1924
1925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1926 static.
1927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1928 Likewise.
1929
1930 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1931 (denorm): Likewise.
1932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1934
1935 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1936
1937 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1938 tail-call to the resolved function if pltexit isn't needed.
1939
1940 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1941
1942 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1943 or Y being zero as being unlikely.
1944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1945 Likewise.
1946
1947 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1948
1949 * manual/nss.texi (System Databases and Name Service Switch):
1950 Remove frobnicate @pxref.
1951
1952 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1953
1954 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1955 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1956
1957 2013-02-20 Petr Machata <pmachata@redhat.com>
1958
1959 * elf/elf.h (R_ARM_TARGET1): New macro.
1960 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1961 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1962 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1963 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1964 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1965 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1966 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1967 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1968 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1969 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1970 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1971 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1972 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1973 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1974 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1975 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1976 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1977 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1978 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1979 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1980 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1981 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1982 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1983 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1984 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1985 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1986 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1987 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1988 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1989 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1990 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1991 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1992 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1993 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1994 (R_ARM_THM_GOT_BREL12): Likewise.
1995 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1996 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1997 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1998 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1999 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2000 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2001 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2002 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2003 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2004
2005 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2006
2007 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2008 __attribute_used__ to __attribute__ ((unused)).
2009
2010 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2011
2012 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2013 powerpc mpa.c.
2014 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2015 comment formatting.
2016 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2017
2018 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2019
2020 [BZ #13550]
2021 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2022 Remove macro.
2023 (ENTER): Remove both macro definitions.
2024 (LEAVE): Likewise.
2025 (CHECK_BOUNDS_LOW): Likewise.
2026 (CHECK_BOUNDS_HIGH): Likewise.
2027 (CHECK_BOUNDS_BOTH): Likewise.
2028 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2029 (RETURN_BOUNDED_POINTER): Likewise.
2030 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2031 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2032 (POP_ERRNO_LOCATION_RETURN): Likewise.
2033 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2034 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2035 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2036 macros.
2037 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2038 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2039 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2040 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2041 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2042 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2043 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2044 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2045 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2046 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2047 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2048 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2049 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2050 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2051 removed macros.
2052 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2053 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2054 macros.
2055 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2056 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2057 * sysdeps/i386/i586/memset.S (memset): Likewise.
2058 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2059 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2060 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2061 macros.
2062 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2063 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2064 Change uses of L(2) to L(out).
2065 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2066 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2067 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2068 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2069 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2070 removed macros.
2071 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2072 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2073 macros.
2074 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2075 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2076 (RETURN): Do not use macro LEAVE.
2077 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2078 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2079 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2080 * sysdeps/i386/i686/memset.S (memset): Likewise.
2081 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2082 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2083 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2084 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2085 Likewise.
2086 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2087 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2088 L(1_2) and L(1_3) into L(1).
2089 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2090 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2091 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2092 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2093 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2094 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2095 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2096 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2097 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2098 macros.
2099 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2100 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2101 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2102 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2103 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2104 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2105 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2106 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2107 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2108 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2109 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2110 * sysdeps/i386/strspn.S (strspn): Likewise.
2111 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2112 conditional code.
2113 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2114 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2115 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2116 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2117 L(1_3) into L(1_1).
2118 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2119 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2120 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2121 macros.
2122 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2123
2124 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2125
2126 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2127 macro.
2128
2129 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2130
2131 * math/atest-exp.c (exp_mpn): Remove ROUND.
2132 * math/atest-exp2.c (exp_mpn): Likewise.
2133 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2134
2135 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2136 * stdlib/tst-tls-atexit-lib.c: Likewise.
2137 * stdlib/tst-tls-atexit.c: Likewise.
2138
2139 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2140
2141 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2142 and __attribute_alloc_size__.
2143
2144 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2145
2146 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2147 __attribute_alloc_size__.
2148 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2149 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2150
2151 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2152
2153 * include/programs/xmalloc.h: New file.
2154 * catgets/gencat.c: Include it.
2155 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2156 * elf/pldd.c: Likewise.
2157 * iconv/iconv_charmap.c: Likewise.
2158 * iconv/iconvconfig.c: Likewise.
2159 * iconv/strtab.c: Likewise.
2160 * locale/programs/locale.c: Likewise.
2161 * locale/programs/localedef.h: Likewise.
2162 * locale/programs/simple-hash.c: Likewise.
2163 * nscd/nscd.h: Likewise.
2164 * nss/makedb.c: Likewise.
2165 * sysdeps/generic/ldconfig.h: Likewise.
2166
2167 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2168
2169 * Versions.def: Add GLIBC_2.18.
2170 * include/link.h (struct link_map): New member l_tls_dtor_count.
2171 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2172 (__call_tls_dtors): Likewise.
2173 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2174 __cxa_thread_atexit_impl.
2175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2176 Likewise.
2177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2178 Likewise.
2179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2180 Likewise.
2181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2182 Likewise.
2183 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2185 Likewise.
2186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2187 Likewise.
2188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2190 Likewise.
2191 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2192 (tests): Add test case tst-tls-atexit.
2193 (modules-names): Add shared library for tst-tls-atexit.
2194 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2195 (GLIBC_PRIVATE): Add __call_tls_dtors.
2196 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2197 for libstdc++.
2198 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2199 * stdlib/tst-tls-atexit.c: New test case.
2200 * stdlib/tst-tls-atexit-lib.c: New test case.
2201
2202 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2203
2204 * elf/Versions (ld): Add _dl_find_dso_for_object.
2205 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2206 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2207 (dl_open_worker): Use _dl_find_dso_for_object.
2208 * elf/dl-sym.c (do_sym): Likewise.
2209 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2210
2211 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2212
2213 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2214 Syntactic changes only.
2215 (_dl_runtime_profile): Do a tail-call to the resolved function.
2216
2217 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2218
2219 [BZ #13550]
2220 * sysdeps/x86_64/bp-asm.h: Remove file.
2221 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2222 <bp-sym.h> and <bp-asm.h>.
2223 (__clone): Do not use BP_SYM.
2224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2225 <bp-sym.h> and <bp-asm.h>.
2226 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2227 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2228 "bp-asm.h".
2229 (_setjmp): Do not use BP_SYM.
2230 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2231 "bp-asm.h".
2232 (setjmp): Do not use BP_SYM.
2233 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2234 libc_hidden_def.
2235 (mempcpy): Do not use BP_SYM in weak_alias.
2236 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2237 "bp-asm.h".
2238 (strchr): Do not use BP_SYM.
2239 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2240 "bp-asm.h".
2241 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2242 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2243 (_start): Do not use BP_SYM.
2244 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2245 "bp-asm.h".
2246 (strcat): Do not use BP_SYM.
2247 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2248 "bp-asm.h".
2249 (STRCMP): Do not use BP_SYM.
2250 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2251 "bp-asm.h".
2252 (STRCPY): Do not use BP_SYM.
2253 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2254 "bp-asm.h".
2255 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2256 "bp-asm.h".
2257 (FUNCTION): Do not use BP_SYM.
2258 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2259 weak_alias.
2260 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2261
2262 2013-02-17 Andreas Jaeger <aj@suse.de>
2263
2264 * time/Versions: Sort entries.
2265 * string/Versions: Likewise.
2266 * resolv/Versions: Likewise.
2267 * posix/Versions: Likewise.
2268 * iconv/Versions: Likewise.
2269 * elf/Versions: Likewise.
2270 * wcsmbs/Versions: Likewise.
2271
2272 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2273
2274 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2275 loop termination condition.
2276
2277 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2278 variable to calculate EZ.
2279 (__sqr): Likewise.
2280
2281 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2282 the lower precision input.
2283
2284 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2285
2286 [BZ #13550]
2287 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2288 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2289 (run-via-rtld-prefix): Do not handle %-bp tests.
2290 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2291 (all-object-suffixes): Remove .ob.
2292 (bppfx): Remove variable.
2293 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2294 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2295 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2296 [$(build-bounded) = yes] (libtype.ob): Likewise.
2297 * Makerules (elide-routines.ob): Remove variable.
2298 (do-tests-clean): Do not handle *-bp.out.
2299 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2300 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2301 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2302 (tests): Do not include $(tests-bp.out).
2303 (xtests): Do not include $(xtests-bp.out).
2304 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2305 [$(build-bounded) = yes] ($(addprefix
2306 $(objpfx),$(binaries-bounded))): Remove rule.
2307 ($(objpfx)%-bp.out): Remove rule.
2308 * config.make.in (build-bounded): Remove variable.
2309 * crypt/Makefile [$(build-bounded) = yes]
2310 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2311 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2312 append to variable.
2313 [$(build-bounded) = yes] (install-lib): Likewise.
2314 [$(build-bounded) = yes] (generated): Likewise.
2315 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2316 Remove rule.
2317 * intl/Makefile [$(build-bounded) = yes]
2318 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2319 * math/Makefile [$(build-bounded) = yes]
2320 ($(tests:%=$(objpfx)%-bp): Likewise.
2321 * misc/Makefile [$(build-bounded) = yes]
2322 ($(objpfx)tst-tsearch-bp): Likewise.
2323 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2324 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2325 Remove dependency.
2326 * string/Makefile (o-objects.ob): Remove variable.
2327 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2328 (CFLAGS-.ob): Remove variable.
2329 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2330 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2331 both definitions of variable.
2332 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2333 (ASFLAGS-.ob): Remove variable.
2334
2335 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2336
2337 [BZ #13550]
2338 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2339 Remove __BOUNDED_POINTERS__ from condition.
2340 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2341 * string/bits/string2.h [!__NO_STRING_INLINES &&
2342 !__BOUNDED_POINTERS__]: Likewise.
2343 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2344 Likewise.
2345 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2346 Remove conditional code.
2347 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2348 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2349 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2350 condition.
2351
2352 [BZ #13550]
2353 * csu/libc-start.c: Do not include <bp-sym.h>.
2354 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2355 * elf/dl-open.c: Do not include <bp-sym.h>.
2356 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2357 * math/fegetenv.c: Do not include <bp-sym.h>.
2358 (fegetenv): Do not use BP_SYM in versioned symbols.
2359 * nptl/sysdeps/pthread/bits/libc-lockP.h
2360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2361 <bp-sym.h>.
2362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2363 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2365 (__pthread_mutex_destroy): Likewise.
2366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2367 (__pthread_mutex_lock): Likewise.
2368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2369 (__pthread_mutex_trylock): Likewise.
2370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2371 (__pthread_mutex_unlock): Likewise.
2372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2373 (__pthread_mutexattr_init): Likewise.
2374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2375 (__pthread_mutexattr_destroy): Likewise.
2376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2377 (__pthread_mutexattr_settype): Likewise.
2378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2379 (__pthread_rwlock_init): Likewise.
2380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2381 (__pthread_rwlock_destroy): Likewise.
2382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2383 (__pthread_rwlock_rdlock): Likewise.
2384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2385 (__pthread_rwlock_tryrdlock): Likewise.
2386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2387 (__pthread_rwlock_wrlock): Likewise.
2388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2389 (__pthread_rwlock_trywrlock): Likewise.
2390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2391 (__pthread_rwlock_unlock): Likewise.
2392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2393 (__pthread_key_create): Likewise.
2394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2395 (__pthread_setspecific): Likewise.
2396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2397 (__pthread_getspecific): Likewise.
2398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2399 Likewise.
2400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2401 (_pthread_cleanup_push_defer): Likewise.
2402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2403 (_pthread_cleanup_pop_restore): Likewise.
2404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2405 (pthread_setcancelstate): Likewise.
2406 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2407 <bp-sym.h>.
2408 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2409 (memchr): Do not use BP_SYM in weak_alias.
2410 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2411 (fegetenv): Do not use BP_SYM in versioned symbols.
2412 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2413 (fesetenv): Do not use BP_SYM in versioned symbols.
2414 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2415 (feupdateenv): Do not use BP_SYM in versioned symbols.
2416 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2417 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2418 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2419 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2420 (open64): Do not use BP_SYM in weak_alias.
2421 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2422 (fegetenv): Do not use BP_SYM in versioned symbols.
2423 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2424 (fesetenv): Do not use BP_SYM in versioned symbols.
2425 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2426 (feupdateenv): Do not use BP_SYM in versioned symbols.
2427 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2428 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2429 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2430 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2431 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2432 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2433 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2434 <bp-sym.h>.
2435 (__libc_start_main): Do not use BP_SYM.
2436
2437 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2438
2439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2440 redundant return line.
2441 (norm): Likewise.
2442 (denorm): Likewise.
2443 (dbl_mp): Likewise.
2444 (sub_magnitudes): Likewise.
2445 (__add): Likewise.
2446 (__sub): Likewise.
2447 (__mul): Likewise.
2448 (__inv): Likewise.
2449 (__dvd): Likewise.
2450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2451 (norm): Likewise.
2452 (denorm): Likewise.
2453 (dbl_mp): Likewise.
2454 (sub_magnitudes): Likewise.
2455 (__add): Likewise.
2456 (__sub): Likewise.
2457 (__mul): Likewise.
2458 (__inv): Likewise.
2459 (__dvd): Likewise.
2460
2461 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2462 instead of __mul.
2463 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2464 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2465 (cc32): Likewise.
2466
2467 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2468 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2469 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2470 of __mul for squares.
2471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2472 function
2473 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2474 Likewise.
2475 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2476 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2477
2478 2013-02-13 Joseph Myers <joseph@codesourcery.com>
2479
2480 [BZ #13550]
2481 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2482 code.
2483 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2484 prototype or function definition. Rename ubp_* variables and
2485 parameters. Remove argv definitions conditional on
2486 [__BOUNDED_POINTERS__].
2487 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2488 * elf/dl-runtime.c (_dl_fixup): Likewise.
2489 * include/set-hooks.h (RUN_HOOK): Likewise.
2490 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2491 definition.
2492 * string/strcpy.c (strcpy): Do not use __unbounded.
2493 * sysdeps/generic/frame.h (struct layout): Likewise.
2494 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2495 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2496 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2497 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2498 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2499 (__backtrace): Likewise.
2500 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2501 use __ptrvalue.
2502 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2503 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2504 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2505 Likewise.
2506 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2507 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2508 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2509 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2510 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2511 Do not use __unbounded.
2512 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2513 Rename __unboundedrlimits parameter to rlimits in prototype.
2514 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2515 Do not use __unbounded.
2516 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2517 not use __ptrvalue.
2518 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2519 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2520 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2521 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2522 __ptrvalue or __unbounded.
2523 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2524 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2525 use __unbounded.
2526 (__new_msgctl): Do not use __ptrvalue.
2527 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2528 __unbounded.
2529 (__libc_msgrcv): Do not use __ptrvalue.
2530 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2531 startup_info): Do not use __unbounded.
2532 (__libc_start_main): Likewise. Rename ubp_* variables and
2533 parameters. Remove argv definitions conditional on
2534 [__BOUNDED_POINTERS__].
2535 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2536 __ptrvalue.
2537 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2538 use __unbounded.
2539 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2540 or __ptrvalue.
2541 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2542 use __unbounded.
2543 (__new_shmctl): Do not use __ptrvalue.
2544 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2545 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2546 Likewise.
2547 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2548 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2549 (__libc_sigaction): Likewise.
2550 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2551 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2552 Likewise.
2553 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2554
2555 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
2556
2557 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2558
2559 * string/mempcpy.c: Implement by calling memcpy.
2560
2561 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2562
2563 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2564
2565 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2566 evaluation.
2567
2568 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2569 values in the mantissa.
2570
2571 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2572 minimize writes to Z.
2573 (sub_magnitudes): Simplify code a bit.
2574
2575 2013-02-12 Roland McGrath <roland@hack.frob.com>
2576
2577 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2578 from the message. The linker prefixes all warnings with that already.
2579
2580 2013-02-12 Andreas Schwab <schwab@suse.de>
2581
2582 [BZ #15078]
2583 * posix/regexec.c (extend_buffers): Add parameter min_len.
2584 (check_matching): Pass minimum needed length.
2585 (clean_state_log_if_needed): Likewise.
2586 (get_subexp): Likewise.
2587 * posix/Makefile (tests): Add bug-regex34.
2588 (bug-regex34-ENV): Define.
2589 * posix/bug-regex34.c: New file.
2590
2591 [BZ #11561]
2592 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2593 elements compare against the byte sequence of it, not its name.
2594 * posix/Makefile (tests): Add bug-regex35.
2595 (bug-regex35-ENV): Define.
2596 * posix/bug-regex35.c: New file.
2597
2598 2013-02-11 Tom de Vries <tom@codesourcery.com>
2599
2600 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2601 comment.
2602 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2603 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2604 (CHECK_EOL): Add undef.
2605
2606 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
2607
2608 * bits/stdlib-bsearch.h: New file.
2609 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2610 * stdlib/stdlib.h: Likewise.
2611
2612 2013-02-11 Roland McGrath <roland@hack.frob.com>
2613
2614 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2615 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2616 declaration.
2617 * manual/search.texi (Array Search Function): Add missing const in
2618 lfind prototype.
2619 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2620 declaration to use rlim_t.
2621 (Basic Scheduling Functions): Remove erroneous const from
2622 sched_getparam prototype. Remove erroneous * from
2623 sched_get_priority_max and sched_get_priority_min prototypes.
2624 (Resource Usage): Fix summary @comment on vtimes to refer to
2625 sys/vtimes.h rather than vtimes.h.
2626 Add missing *s in vtimes prototype.
2627 (Limits on Resources): Fix ulimit prototype to return long int.
2628 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2629 prototypes to use long int rather than double.
2630 (BSD Random): Fix initstate and setstate to use char *, not void *.
2631 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2632 prototype to make second argument 'struct aiocb64 *const[]'.
2633 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2634 (Status of AIO Operations): Remove erroneous const in aio_return and
2635 aio_return64 prototypes.
2636 (Synchronizing I/O): Fix sync prototype to return void.
2637 * manual/startup.texi (Suboptions): Remove an erroneous const in
2638 getsubopt prototype.
2639 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2640 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2641 use size_t rather than int.
2642 (Scanning All Users): Likewise for getpwent_r.
2643 (Setting Groups): Add missing const to setgroups prototype.
2644 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2645 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2646 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2647 'const void *' rather than 'const char *'.
2648 (Host Address Functions): Likewise for inet_ntop.
2649 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2650 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2651 ssize_t for return value.
2652 (Sending Data): Likewise for send, sendto, sendmsg.
2653 (Socket Option Functions): Add a missing const in setsockopt prototype.
2654 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2655 use wchar_t for the argument.
2656 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2657 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2658 take no arguments.
2659 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2660 double/float/long double for second argument.
2661 Fix return types of significand, significandf, significandl.
2662 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2663 argument in fchmod prototype.
2664 (File Owner): Use uid_t and gid_t in fchown prototype.
2665 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2666 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2667 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2668 use 'const struct dirent **' as argument types to CMP function pointer
2669 argument.
2670 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2671 (File Times): Fix summary magic @comment for struct utimbuf and utime
2672 to refer to utime.h, not time.h.
2673 * manual/string.texi (Argz Functions): Add missing const in
2674 argz_extract and argz_next prototypes.
2675 (Finding Tokens in a String): Likewise for basename.
2676 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2677 (Copying and Concatenation): Fix typo in wmemmove prototype.
2678 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2679 (Signal Stack): Remove erroneous const in sigstack prototype.
2680 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2681 prototype.
2682 (Simple Calendar Time): Likewise for stime.
2683 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2684 prototype.
2685 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2686 say sys/sysctl.h instead.
2687 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2688 and vsyslog prototypes.
2689
2690 2013-02-11 Tom de Vries <tom@codesourcery.com>
2691
2692 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2693 Remove.
2694
2695 2013-02-11 Roland McGrath <roland@hack.frob.com>
2696
2697 * misc/sys/mman.h: Fix typo in mremap comment.
2698
2699 2013-02-08 Roland McGrath <roland@hack.frob.com>
2700
2701 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2702 the '\0' terminator.
2703
2704 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2705
2706 [BZ #13550]
2707 * debug/segfault.c: Don't include <bp-checks.h>.
2708 * sysdeps/generic/bp-checks.h: Remove file.
2709 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2710 (__GETDENTS): Don't use CHECK_N.
2711 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2712 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2713 (__getgroups): Don't use CHECK_N.
2714 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2715 (setgroups): Don't use CHECK_N.
2716 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2717 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2718 (__libc_msgrcv): Don't use CHECK_N.
2719 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2720 (__libc_msgsnd): Don't use CHECK_N.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2722 <bp-checks.h>.
2723 (__libc_pread): Don't use CHECK_N.
2724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2725 include <bp-checks.h>.
2726 (__libc_pread64): Don't use CHECK_N.
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2728 include <bp-checks.h>.
2729 (__libc_pwrite): Don't use CHECK_N.
2730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2731 include <bp-checks.h>.
2732 (__libc_pwrite64): Don't use CHECK_N.
2733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2734 <bp-checks.h>.
2735 (__libc_pread): Don't use CHECK_N.
2736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2737 include <bp-checks.h>.
2738 (__libc_pread64): Don't use CHECK_N.
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2740 include <bp-checks.h>.
2741 (__libc_pwrite): Don't use CHECK_N.
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2743 include <bp-checks.h>.
2744 (__libc_pwrite64): Don't use CHECK_N.
2745 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2746 (do_pread): Don't use CHECK_N.
2747 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2748 (do_pread64): Don't use CHECK_N.
2749 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2750 (do_pwrite): Don't use CHECK_N.
2751 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2752 (do_pwrite64): Don't use CHECK_N.
2753 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2754 (__libc_readv): Don't use CHECK_N.
2755 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2756 (semop): Don't use CHECK_N.
2757 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2758 <bp-checks.h>.
2759 (semtimedop): Don't use CHECK_N.
2760 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2761 (__libc_pread): Don't use CHECK_N.
2762 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2763 <bp-checks.h>.
2764 (__libc_pread64): Don't use CHECK_N.
2765 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2766 <bp-checks.h>.
2767 (__libc_pwrite): Don't use CHECK_N.
2768 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2769 <bp-checks.h>.
2770 (__libc_pwrite64): Don't use CHECK_N.
2771 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2772 <bp-checks.h>.
2773 (__libc_msgrcv): Don't use CHECK_N.
2774 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2775 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2776 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2777 (__libc_writev): Don't use CHECK_N.
2778
2779 2013-02-08 Roland McGrath <roland@hack.frob.com>
2780
2781 * string/strcpy.c: Removed unused variable.
2782
2783 * Makeconfig (+sysdep-includes): Define with := rather than =.
2784 Use an existing include/ subdir of each sysdeps dir before it.
2785
2786 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2787
2788 * nscd/connection.c (register_traced_file): Comment function.
2789 [HAVE_INOTIFY] (union __inev): Define.
2790 [HAVE_INOTIFY] (inotify_check_files): New function.
2791 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2792 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2793 clear_db_cache.
2794 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2795
2796 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2797
2798 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2799 loaded if not already and that a failure is permanent.
2800
2801 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2802
2803 [BZ #15006]
2804 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2805 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2806
2807 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2808
2809 [BZ #13550]
2810 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2811 (CHECK_1_NULL_OK): Likewise.
2812 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2813 (__fxstat): Do not use CHECK_1.
2814 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2815 <bp-checks.h>.
2816 (___fxstat64): Do not use CHECK_1.
2817 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2818 <bp-checks.h>.
2819 (__fxstatat): Do not use CHECK_1.
2820 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2821 <bp-checks.h>.
2822 (__fxstatat64): Do not use CHECK_1.
2823 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2824 <bp-checks.h>.
2825 (__fxstat): Do not use CHECK_1.
2826 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2827 <bp-checks.h>.
2828 (__fxstatat): Do not use CHECK_1.
2829 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2830 <bp-checks.h>.
2831 (__getresgid): Do not use CHECK_1.
2832 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2833 <bp-checks.h>.
2834 (__getresuid): Do not use CHECK_1.
2835 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2836 <bp-checks.h>.
2837 (__lxstat): Do not use CHECK_1.
2838 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2839 <bp-checks.h>.
2840 (__old_msgctl): Do not use CHECK_1.
2841 (__new_msgctl): Likewise.
2842 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2843 <bp-checks.h>.
2844 (__new_setrlimit): Do not use CHECK_1.
2845 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2846 <bp-checks.h>.
2847 (__old_shmctl): Do not use CHECK_1.
2848 (__new_shmctl): Likewise.
2849 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2850 <bp-checks.h>.
2851 (__xstat): Do not use CHECK_1.
2852 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2853 (__lxstat): Do not use CHECK_1.
2854 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2855 <bp-checks.h>.
2856 (___lxstat64): Do not use CHECK_1.
2857 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2858 (__old_msgctl): Do not use CHECK_1.
2859 (__new_msgctl): Likewise.
2860 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2861 <bp-checks.h>.
2862 (__gettimeofday): Do not use CHECK_1.
2863 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2864 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2865 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2866 <bp-checks.h>.
2867 (__gettimeofday): Do not use CHECK_1.
2868 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2869 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2870 (__new_shmctl): Do not use CHECK_1.
2871 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2872 <bp-checks.h>.
2873 (do_sigtimedwait): Do not use CHECK_1.
2874 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2875 <bp-checks.h>.
2876 (do_sigwaitinfo): Do not use CHECK_1.
2877 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2878 <bp-checks.h>.
2879 (msgctl): Do not use CHECK_1.
2880 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2881 <bp-checks.h>.
2882 (shmctl): Do not use CHECK_1.
2883 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2884 (ustat): Do not use CHECK_1.
2885 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2886 <bp-checks.h>.
2887 (__fxstat): Do not use CHECK_1.
2888 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2889 <bp-checks.h>.
2890 (__fxstatat): Do not use CHECK_1.
2891 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2892 <bp-checks.h>.
2893 (__lxstat): Do not use CHECK_1.
2894 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2895 <bp-checks.h>.
2896 (__xstat): Do not use CHECK_1.
2897 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2898 (__xstat): Do not use CHECK_1.
2899 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2900 (___xstat64): Do not use CHECK_1.
2901
2902 [BZ #13550]
2903 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2904 definitions.
2905 (CHECK_BOUNDS_HIGH): Likewise.
2906 * string/strcpy.c: Do not include <bp-checks.h>.
2907 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2908
2909 2013-02-07 Roland McGrath <roland@hack.frob.com>
2910
2911 * nscd/nscd-client.h (__nscd_drop_map_ref):
2912 Add __attribute__ ((unused)).
2913 * nis/nss-nisplus.h (niserr2nss): Likewise.
2914
2915 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2916 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2917
2918 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2919 Remove inline keyword.
2920 * include/rounding-mode.h (round_away): Likewise.
2921 * libio/wfileops.c (adjust_wide_data): Likewise.
2922 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2923 (__m128i_strloadu_tolower): Likewise.
2924 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2925 (__m128i_strloadu_tolower): Likewise.
2926 * time/mktime.c (ydhms_diff): Likewise.
2927 * locale/elem-hash.h (elem_hash): Likewise.
2928 * locale/setlocale.c (setdata): Likewise.
2929 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2930 (re_string_wchar_at): Likewise.
2931 (bitset_not, bitset_merge, bitset_mask): Likewise.
2932 [!(__GNUC__ > 3)] (inline): Remove macro.
2933 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2934 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2935 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2936 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2937 * string/memcmp.c (memcmp_bytes): Likewise.
2938 * locale/programs/locarchive.c (compute_hashval): Likewise.
2939 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2940 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2941 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2942 * nss/getent.c (print_rpc, print_protocols): Likewise.
2943 (print_passwd, print_group, print_aliases): Likewise.
2944 * nis/nss-nisplus.h (niserr2nss): Likewise.
2945 * nscd/connections.c (restart_p): Likewise.
2946 Change return type to bool.
2947
2948 2013-02-05 Roland McGrath <roland@hack.frob.com>
2949
2950 * Makeconfig (all-Depend-files): Add existing
2951 $(sorted-subdirs:=/Depend) files.
2952 (all-subdirs): Remove nss.
2953 * sysdeps/unix/inet/Subdirs: Add it here instead.
2954 * hesiod/Depend: New file.
2955
2956 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2957 instead of calling alloca.
2958
2959 * io/lseek.c (__lseek): Rename to __libc_lseek.
2960 Define __lseek as an alias.
2961
2962 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2963
2964 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2965
2966 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2967 else clause and remove check for non-standard endianness.
2968
2969 2013-02-04 David S. Miller <davem@davemloft.net>
2970
2971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2972
2973 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2974
2975 [BZ #13550]
2976 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2977 (__ubp_memchr): Remove prototype.
2978 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2979 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2980 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2981 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2982 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2983 Remove alias.
2984 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2985 (__ubp_memchr): Likewise.
2986 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2987 (__ubp_memchr): Likewise.
2988 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2989 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2990 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2991 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2992 CHECK_STRING.
2993 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2994 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2995 (__getcwd): Do not use CHECK_STRING.
2996 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2997 <bp-checks.h>.
2998 (__real_chown): Do not use CHECK_STRING.
2999 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3000 <bp-checks.h>.
3001 (fchownat): Do not use CHECK_STRING.
3002 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3003 CHECK_STRING.
3004 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3005 <bp-checks.h>.
3006 (__lchown): Do not use CHECK_STRING.
3007 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3008 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3009 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3010 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3012 include <bp-checks.h>.
3013 (truncate64): Do not use CHECK_STRING.
3014 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3015 <bp-checks.h>.
3016 (__real_chown): Do not use CHECK_STRING.
3017 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3018 <bp-checks.h>.
3019 (__lchown): Do not use CHECK_STRING.
3020 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3021 <bp-checks.h>.
3022 (__chown): Do not use CHECK_STRING.
3023 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3024 <bp-checks.h>.
3025 (truncate64): Do not use CHECK_STRING.
3026 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3027 Likewise.
3028 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3029 (__xmknod): Do not use CHECK_STRING.
3030 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3031 <bp-checks.h>.
3032 (__xmknodat): Do not use CHECK_STRING.
3033 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3034 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3035
3036 2013-02-04 Andreas Schwab <schwab@suse.de>
3037
3038 [BZ #14142]
3039 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3040 * include/netdb.h: Likewise for h_errno.
3041 * elf/tst-stackguard1.c: Include <tls.h>.
3042
3043 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3044
3045 * elf/link.h (struct link_map): Extend the l_addr comment.
3046 * include/link.h (struct link_map): Likewise.
3047
3048 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3049
3050 [BZ #13550]
3051 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3052 (BOUNDED_1): Remove macro.
3053 * debug/backtrace.c: Don't include <bp-checks.h>.
3054 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3055 (__backtrace): Likewise.
3056 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3057 <bp-checks.h>.
3058 (__backtrace): Don't use BOUNDED_1.
3059 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3060 <bp-checks.h>.
3061 (__backtrace): Don't use BOUNDED_1.
3062 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3063 (__backtrace): Don't use BOUNDED_1.
3064 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3065 (shmat): Don't use BOUNDED_N.
3066
3067 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3068
3069 [BZ #13550]
3070 * sysdeps/generic/bp-start.h: Remove file.
3071 * csu/libc-start.c: Don't include <bp-start.h>.
3072 (LIBC_START_MAIN): Set up __environ directly instead of using
3073 INIT_ARGV_and_ENVIRON.
3074 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3075 <bp-start.h>.
3076
3077 [BZ #13550]
3078 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3079 definitions.
3080 (CHECK_FCNTL): Likewise.
3081 (CHECK_N_PAGES): Likewise.
3082
3083 [BZ #13550]
3084 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3085 definitions.
3086 (CHECK_SIGSET_NULL_OK): Likewise.
3087 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3088 <bp-checks.h>.
3089 (sigpending): Don't use CHECK_SIGSET.
3090 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3091 <bp-checks.h>.
3092 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3093 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3094 <bp-checks.h>.
3095 (do_sigsuspend): Don't use CHECK_SIGSET.
3096 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3097 use CHECK_SIGSET.
3098 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3099 (do_sigwait): Don't use CHECK_SIGSET.
3100 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3101 use CHECK_SIGSET.
3102 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3103 include <bp-checks.h>.
3104 (sigpending): Don't use CHECK_SIGSET.
3105 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3106 include <bp-checks.h>.
3107 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3108 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3109 <bp-checks.h>.
3110 (sigpending): Don't use CHECK_SIGSET.
3111 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3112 <bp-checks.h>.
3113 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3114
3115 [BZ #13550]
3116 * sysdeps/generic/bp-semctl.h: Remove file.
3117 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3118 <bp-checks.h> and <bp-semctl.h>.
3119 (__old_semctl): Don't use CHECK_SEMCTL.
3120 (__new_semctl): Likewise.
3121 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3122 and <bp-semctl.h>.
3123 (__old_semctl): Don't use CHECK_SEMCTL.
3124 (__new_semctl): Likewise.
3125 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3126 <bp-checks.h> and <bp-semctl.h>.
3127 (__old_semctl): Don't use CHECK_SEMCTL.
3128 (__new_semctl): Likewise.
3129 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3130 <bp-checks.h> and <bp-semctl.h>.
3131 (semctl): Don't use CHECK_SEMCTL.
3132
3133 [BZ #13550]
3134 * Makerules (elide-bp-thunks): Remove variable.
3135 (elide-routines.oS): Don't use $(elide-bp-thunks).
3136 (elide-routines.os): Likewise.
3137 (elide-routines.o): Likewise.
3138 (elide-routines.op): Likewise.
3139 (elide-routines.og): Likewise.
3140 (objects): Don't use $(bp-thunks).
3141 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3142 include.
3143 (common-generated): Do not add s-proto-bp.d.
3144 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3145 (int): Likewise.
3146 (typ): Likewise.
3147 Do not generate makefile rules for bounded-pointer thunks.
3148 * sysdeps/generic/bp-thunks.h: Remove file.
3149 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3150 * sysdeps/unix/s-proto-bp.S: Likewise.
3151
3152 [BZ #15062]
3153 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3154 parts of result separately when argument is not close to line from
3155 -i to i and one part of argument is small.
3156 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3157 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3158 * math/libm-test.inc (cacos_test): Add more tests.
3159 (casin_test): Likewise.
3160 (casinh_test): Likewise.
3161 * sysdeps/i386/fpu/libm-test-ulps: Update.
3162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3163
3164 2013-01-31 David S. Miller <davem@davemloft.net>
3165
3166 * po/de.po: Update from translation team.
3167
3168 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3169
3170 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3171
3172 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3173
3174 * configure.in (_AC_PROG_CC_C89): New definition.
3175 * configure: Regenerate.
3176
3177 * configure.in (AC_PROG_CPP): New definition.
3178 * configure: Regenerate.
3179
3180 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3181
3182 * debug/tst-backtrace.h: New file.
3183 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3184 (ret): Remove variable.
3185 (x): Likewise.
3186 (FAIL): Remove macro.
3187 (NO_INLINE): Likewise.
3188 (fn1): Use match function instead of strstr.
3189 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3190 (ret): Remove variable.
3191 (x): Likewise.
3192 (FAIL): Remove macro.
3193 (NO_INLINE): Likewise.
3194 (fn): Use match function instead of strstr.
3195 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3196 (ret): Remove variable.
3197 (x): Likewise.
3198 (FAIL): Remove macro.
3199 (NO_INLINE): Likewise.
3200 (handle_signal): Use match function instead of strstr.
3201 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3202 (ret): Remove variable.
3203 (x): Likewise.
3204 (FAIL): Remove macro.
3205 (NO_INLINE): Likewise.
3206 (handle_signal): Use match function instead of strstr.
3207
3208 2013-01-23 Roland McGrath <roland@hack.frob.com>
3209
3210 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3211
3212 2013-01-23 David S. Miller <davem@davemloft.net>
3213
3214 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3215 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3216 argument of CAS if possible.
3217 * sysdeps/sparc/sparc64/bits/atomic.h
3218 (__arch_compare_and_exchange_val_32_acq): Likewise.
3219 (__arch_compare_and_exchange_val_64_acq): Likewise.
3220
3221 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3222
3223 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3224 * sysdeps/posix/ulimit.c: ... this.
3225 Include <limits.h>.
3226 * sysdeps/unix/bsd/ulimit.c: Remove file.
3227
3228 2013-01-23 Adam Conrad <adconrad@0c3.net>
3229
3230 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3231 (LDFLAGS-tst-array5): Likewise.
3232
3233 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3234
3235 [BZ #15036]
3236 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3237 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3238 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3239 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3240
3241 2013-01-21 David S. Miller <davem@davemloft.net>
3242
3243 * sysdeps/sparc/backtrace.c: New file.
3244 * sysdeps/sparc/sparc32/backtrace.h: New file.
3245 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3246 * sysdeps/sparc/sparc64/backtrace.h: New file.
3247 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3248 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3249 -funwind-tables.
3250
3251 2013-01-21 Andreas Schwab <schwab@suse.de>
3252
3253 [BZ #15020]
3254 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3255 closed its stdout.
3256
3257 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3258
3259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3260 "mpa2.h".
3261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3262
3263 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3264 Mark Mitchell <mark@codesourcery.com>
3265 Tom de Vries <tom@codesourcery.com>
3266 Paul Pluzhnikov <ppluzhnikov@google.com>
3267
3268 * debug/tst-backtrace2.c: New file.
3269 * debug/tst-backtrace3.c: Likewise.
3270 * debug/tst-backtrace4.c: Likewise.
3271 * debug/tst-backtrace5.c: Likewise.
3272 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3273 (CFLAGS-tst-backtrace3.c): Likewise.
3274 (CFLAGS-tst-backtrace4.c): Likewise.
3275 (CFLAGS-tst-backtrace5.c): Likewise.
3276 (LDFLAGS-tst-backtrace2): Likewise.
3277 (LDFLAGS-tst-backtrace3): Likewise.
3278 (LDFLAGS-tst-backtrace4): Likewise.
3279 (LDFLAGS-tst-backtrace5): Likewise.
3280 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3281 tst-backtrace4 and tst-backtrace5.
3282
3283 2013-01-18 Anton Blanchard <anton@samba.org>
3284 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3285
3286 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3287 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3288 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3289 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3291 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3292 "+r" and remove output regs list as redundant. Add explicit inline
3293 asm to specify register of return val to work around compiler codegen
3294 bug. Remove (int) cast on return value. Add return type parameter to
3295 use in macro so that this macro does not truncate return value for
3296 64-bit values.
3297 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3298 pass to INTERNAL_VSYSCALL_NCS.
3299 (INLINE_VSYSCALL): Add 'long int' as return type to
3300 INTERNAL_VSYSCALL_NCS macro invocation.
3301 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3302 INTERNAL_VSYSCALL_NCS macro invocation.
3303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3304
3305 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3306
3307 [BZ #14496]
3308 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3309 Fix application of SIMD FP exception mask.
3310
3311 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3312 mp_no from a power of two.
3313 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3314 __mpexp_twomm1. Use __pow_mp.
3315
3316 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3317 multiplication.
3318
3319 2013-01-17 David S. Miller <davem@davemloft.net>
3320
3321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3322
3323 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3324
3325 [BZ #15023]
3326 * include/complex.h: Condition contents on [!_COMPLEX_H].
3327 (__kernel_casinhf): New prototype.
3328 (__kernel_casinh): Likewise.
3329 (__kernel_casinhl): Likewise.
3330 * math/Makefile (libm_calls): Add k_casinh.
3331 * math/k_casinh.c: New file.
3332 * math/k_casinhf.c: Likewise.
3333 * math/k_casinhl.c: Likewise.
3334 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3335 finite nonzero arguments.
3336 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3337 finite nonzero arguments.
3338 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3339 finite nonzero arguments.
3340 * math/s_casinh.c: Do not include <float.h>.
3341 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3342 * math/s_casinhf.c: Do not include <float.h>.
3343 (__casinhf): Move code for finite nonzero arguments to
3344 k_casinhf.c.
3345 * math/s_casinhl.c: Do not include <float.h>.
3346 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3347 redefine.
3348 (__casinhl): Move code for finite nonzero arguments to
3349 k_casinhl.c.
3350 * math/libm-test.inc (cacos_test): Add more tests.
3351 * sysdeps/i386/fpu/libm-test-ulps: Update.
3352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3353
3354 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3355
3356 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3357 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3358 [!HAVE_MREMAP]: Remove [defined linux] case.
3359 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3360
3361 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3362
3363 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3364
3365 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3366
3367 * elf/elf.h (R_386_SIZE32): New relocation.
3368 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3369 R_386_SIZE32.
3370 (elf_machine_rela): Likewise.
3371 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3372 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3373
3374 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3375
3376 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3377 (FP_FAST_FMA): Do not define.
3378 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3379 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3380 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3381 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3382 !_SOFT_FLOAT]: Likewise.
3383 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3384 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3385 value.
3386 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3387 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3388 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3389 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3390 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3391 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3392 file.
3393
3394 2013-01-16 Andreas Schwab <schwab@suse.de>
3395
3396 [BZ #14327]
3397 * include/stdlib.h (__mktemp): Add declaration.
3398 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3399 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3400
3401 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3402
3403 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3404 definitions.
3405 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3406 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3407 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3408 definitions here.
3409 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3410 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3411 definitions.
3412 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3413 and ONE.
3414 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3415 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3416 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3417 definitions.
3418 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3419 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3420 definitions.
3421 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3422
3423 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3424
3425 2013-01-15 David S. Miller <davem@davemloft.net>
3426
3427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3428 trunc{,f} to libm-sysdep_routes.
3429 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3431 file.
3432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3434 file.
3435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3436 file.
3437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3439 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3440 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3441 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3442 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3443 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3444 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3445
3446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3447 nearbyint{,f} to libm-sysdep_routes.
3448 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3450 New file.
3451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3452 file.
3453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3454 New file.
3455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3456 file.
3457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3459 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3460 file.
3461 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3462 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3463 file.
3464 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3465 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3466 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3467
3468 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3469 libc_feholdexcept and libc_fesetenv.
3470
3471 2013-01-15 Mike Frysinger <vapier@gentoo.org>
3472
3473 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3474
3475 2013-01-14 David S. Miller <davem@davemloft.net>
3476
3477 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3478 (SPARC_ASM_VIS2_IFUNC): Likewise.
3479 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3481 use of 'siam' instruction.
3482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3483 Likewise.
3484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3485 Likewise.
3486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3487 Likewise.
3488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3493 file.
3494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3495 file.
3496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3497 file.
3498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3499 file.
3500 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3501 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3505 new VIS2 routines.
3506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3509 Likewise.
3510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3513 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3515 routines to libm-sysdep_routines.
3516 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3517
3518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3519 fdim/fdimf to libm-sysdep_routines.
3520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3521 file.
3522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3524 file.
3525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3528 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3529 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3530 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3531 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3532
3533 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3534
3535 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3536 to optimize copies.
3537
3538 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3541
3542 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3543 local variable MPTWO.
3544 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3545 Likewise.
3546
3547 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3548
3549 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3550 GLOB_NOESCAPE.
3551
3552 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3553
3554 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3555
3556 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3557
3558 * manual/pattern.texi (glob_t): Document gl_flags.
3559 (glob64_t): Likewise.
3560
3561 2013-01-11 David S. Miller <davem@davemloft.net>
3562
3563 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3564 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3565 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
3566 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3567 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3568 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3569 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3570 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3571 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3572 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3573 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3574 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3575 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3576
3577 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3578 sparc V9 rather than using V8 code.
3579 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3580 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3581
3582 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3583 Move to...
3584 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3585 Here.
3586
3587 2013-01-11 Roland McGrath <roland@hack.frob.com>
3588
3589 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3590 not in the main loop.
3591 * configure: Regenerated.
3592
3593 2013-01-11 Joseph Myers <joseph@codesourcery.com>
3594
3595 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3596 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3597 to just #else.
3598 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3599 [!__GLIBC_HAVE_LONG_LONG] case.
3600 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3601 condition to just #else.
3602 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3603 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3604 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3605 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3606 unconditional.
3607 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3608 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3609 #elif condition to just #else.
3610 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3611 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3612 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3613 #elif condition to just #else.
3614
3615 2013-01-11 Steve Ellcey <sellcey@mips.com>
3616
3617 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3618 (EF_MIPS_ARCH_64): Fix value.
3619 (EF_MIPS_ARCH_32R2): New.
3620 (EF_MIPS_ARCH_64R2): New.
3621
3622 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3623
3624 * Makeconfig (+link-pie-before-libc): New.
3625 (+link-pie-after-libc): Likewise.
3626 (+link-pie-tests): Likewise.
3627 (+link-pie): Rewritten.
3628 (link-before-libc): Remove $(config-LDFLAGS).
3629 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3630 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3631 (config-LDFLAGS): Renamed to ...
3632 (rtld-LDFLAGS): This.
3633 (rtld-tests-LDFLAGS): New macro.
3634 (link-libc-rpath-link): Likewise.
3635 (link-libc-tests-rpath-link): Likewise.
3636 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3637 (link-libc): Prepand $(link-libc-rpath-link).
3638 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3639 (test-program-prefix): New macro.
3640 (test-via-rtld-prefix): Likewise.
3641 (test-program-cmd): Likewise.
3642 (host-test-program-cmd): Likewise.
3643 * Makefile ($(common-objpfx)testrun.sh): Replace
3644 $(run-program-prefix) with $(test-program-prefix).
3645 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3646 $(rtld-LDFLAGS).
3647 ($(common-objpfx)shlib.lds): Likewise.
3648 (build-module-helper): Likewise.
3649 ($(common-objpfx)format.lds): Likewise.
3650 * Rules (binaries-pie-tests): New.
3651 (binaries-pie-notests): Likewise.
3652 (binaries-pie): Rewritten.
3653 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3654 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3655 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3656 (make-test-out): Replace $(host-built-program-cmd) with
3657 $(host-test-program-cmd).
3658 * config.make.in (build-hardcoded-path-in-tests): New variable.
3659 * configure.in (--enable-hardcoded-path-in-tests): New configure
3660 option.
3661 (hardcoded_path_in_tests): New AC_SUBST.
3662 * configure: Regenerated.
3663 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3664 $(built-program-cmd) with $(test-program-cmd).
3665 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3666 (test_program_cmd): This.
3667 * elf/Makefile ($(objpfx)order.out): Run test with
3668 $(test-program-prefix).
3669 ($(objpfx)order2.out): Likewise.
3670 ($(objpfx)tst-initorder.out): Likewise.
3671 ($(objpfx)tst-initorder2.out): Likewise.
3672 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3673 $(test-program-cmd).
3674 ($(objpfx)tst-array1-static.out): Likewise.
3675 ($(objpfx)tst-array2.out): Likewise.
3676 ($(objpfx)tst-array3.out): Likewise.
3677 ($(objpfx)tst-array4.out): Likewise.
3678 ($(objpfx)tst-array5.out): Likewise.
3679 ($(objpfx)tst-array5-static.out): Likewise.
3680 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3681 $(test-program-cmd).
3682 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3683 $(run-program-prefix) with $(test-program-prefix).
3684 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3685 (test_program_prefix): This.
3686 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3687 $(run-program-prefix) with $(test-program-prefix).
3688 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3689 (test_program_prefix): This.
3690 * iconvdata/tst-tables.sh: Likewise.
3691 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3692 $(run-program-prefix) with $(test-program-prefix).
3693 ($(objpfx)tst-translit.out): Likewise.
3694 ($(objpfx)tst-gettext2.out): Likewise.
3695 ($(objpfx)tst-gettext4.out): Likewise.
3696 ($(objpfx)tst-gettext6.out): Likewise.
3697 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3698 (test_program_prefix): This.
3699 * intl/tst-gettext2.sh: Likewise.
3700 * intl/tst-gettext4.sh Likewise.
3701 * intl/tst-gettext6.sh: Likewise.
3702 * intl/tst-translit.sh: Likewise.
3703 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3704 with $(test-program-cmd).
3705 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3706 $(run-program-prefix) with $(test-program-prefix).
3707 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3708 (test_program_prefix): This.
3709 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3710 $(run-program-prefix) with $(test-program-prefix).
3711 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3712 (test_program_prefix): This.
3713 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3714 * posix/Makefile ($(objpfx)globtest.out): Replace
3715 $(run-via-rtld-prefix) and $(test-wrapper) with
3716 $(test-program-prefix) and $(test-via-rtld-prefix).
3717 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3718 $(test-program-prefix).
3719 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3720 $(host-test-program-cmd).
3721 (tst-spawn-ARGS): Likewise.
3722 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3723 $(test-program-prefix).
3724 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3725 (test_via_rtld_prefix): This.
3726 (test_wrapper): Renamed to ...
3727 (test_program_prefix): This.
3728 (run_program_prefix): Replaced by test_program_prefix.
3729 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3730 (test_program_prefix): This.
3731 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3732 with $(host-test-program-cmd).
3733 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3734 $(run-program-prefix) with $(test-program-prefix).
3735 ($(objpfx)tst-printf.out): Likewise.
3736 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3737 $(test-program-cmd).
3738 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3739 (test_program_prefix): This.
3740 * stdio-common/tst-unbputc.sh: Likewise.
3741 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3742 $(run-program-prefix) with $(test-program-prefix).
3743 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3744 (test_program_prefix): This.
3745 * string/Makefile ($(objpfx)tst-svc.out): Replace
3746 $(built-program-cmd) with $(test-program-cmd).
3747
3748 2013-01-11 Andreas Jaeger <aj@suse.de>
3749
3750 [BZ #15003]
3751 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3752 value. Sync with Linux 3.7.
3753
3754 2013-01-10 David S. Miller <davem@davemloft.net>
3755
3756 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3757 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3758 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3759
3760 2013-01-10 Roland McGrath <roland@hack.frob.com>
3761
3762 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3763 never set.
3764 * configure: Regenerated.
3765
3766 2013-01-10 David S. Miller <davem@davemloft.net>
3767
3768 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3769 sparc V9 rather than using V8 code.
3770 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3771 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3772
3773 2013-01-10 Roland McGrath <roland@hack.frob.com>
3774
3775 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3776 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3777 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3778 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3779 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3780 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3781 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3782 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3783 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3784 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3785 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3786 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3787 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3788 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3789 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3790 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3791 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3792 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3793 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3794 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3795 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3796 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3797 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3798 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3799 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3800 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3801 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3802
3803 2013-01-10 David S. Miller <davem@davemloft.net>
3804
3805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3806
3807 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3808
3809 * posix/Makefile (tests-static): New variable.
3810 (tests): Add $(tests-static).
3811 (tst-exec-static-ARGS): New variable.
3812 (tst-spawn-static-ARGS): Likewise.
3813 * posix/tst-exec-static.c: New file.
3814 * posix/tst-spawn-static.c: Likewise.
3815 * posix/tst-exec.c: Support run directly.
3816 * posix/tst-spawn.c: Likewise.
3817
3818 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3819
3820 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3821 long.
3822 * math/bits/mathcalls.h (llrint): Likewise.
3823 (llround): Likewise.
3824 * stdlib/stdlib.h (struct drand48_data): Likewise.
3825 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3826 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3827 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3828 Likewise.
3829 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3830 Likewise.
3831 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3832 (elf_greg_t): Likewise.
3833 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3834 (__jmp_buf): Likewise.
3835 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3836 definitions.
3837 (llrint): Likewise, for all definitions.
3838 (llrintl): Likewise.
3839
3840 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3841 Remove [__GNUC__] condition.
3842 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3843 condition to just [__USE_ISOC99].
3844 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3845
3846 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3847
3848 [BZ #14200]
3849 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3850 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3851 defined.
3852 (_POSIX_V6_ILP32_OFF32): Likewise.
3853 (_XBS5_ILP32_OFF32): Likewise.
3854 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3855 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3856
3857 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3858
3859 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3860
3861 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3862 doubles __mpexp_twomm1. Adjust usage.
3863 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3864 Remove.
3865
3866 2013-01-10 Andreas Schwab <schwab@suse.de>
3867
3868 [BZ #14964]
3869 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3870 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3871
3872 2013-01-09 David S. Miller <davem@davemloft.net>
3873
3874 [BZ #15003]
3875 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3876 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3877 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3878 TCP_FASTOPEN): Define.
3879 (tcp_repair_opt): New structure.
3880 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3881 enum values.
3882 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3883 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3884 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3885 (tcp_cookie_transactions): New structure.
3886
3887 2013-01-09 Anton Blanchard <anton@samba.org>
3888
3889 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3890 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3891 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3892 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3893
3894 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3895
3896 * include/features.h (__USE_ANSI): Remove.
3897
3898 2013-01-09 Roland McGrath <roland@hack.frob.com>
3899
3900 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3901
3902 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3903
3904 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3905
3906 * sysdeps/s390/fpu/libm-test-ulps: Update.
3907
3908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3909
3910 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3911 (__acr): Likewise.
3912 (__cpy): Likewise.
3913 (norm): Likewise.
3914 (denorm): Likewise.
3915 (__mp_dbl): Likewise.
3916 (__dbl_mp): Likewise.
3917 (add_magnitudes): Likewise.
3918 (sub_magnitudes): Likewise.
3919 (__add): Likewise.
3920 (__sub): Likewise.
3921 (__mul): Likewise.
3922 (__inv): Likewise.
3923 (__dvd): Likewise.
3924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3925 (__acr): Likewise.
3926 (__cpy): Likewise.
3927 (norm): Likewise.
3928 (denorm): Likewise.
3929 (__mp_dbl): Likewise.
3930 (__dbl_mp): Likewise.
3931 (add_magnitudes): Likewise.
3932 (sub_magnitudes): Likewise.
3933 (__add): Likewise.
3934 (__sub): Likewise.
3935 (__mul): Likewise.
3936 (__inv): Likewise.
3937 (__dvd): Likewise.
3938 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3939 (__acr): Likewise.
3940 (__cpy): Likewise.
3941 (norm): Likewise.
3942 (denorm): Likewise.
3943 (__mp_dbl): Likewise.
3944 (__dbl_mp): Likewise.
3945 (add_magnitudes): Likewise.
3946 (sub_magnitudes): Likewise.
3947 (__add): Likewise.
3948 (__sub): Likewise.
3949 (__mul): Likewise.
3950 (__inv): Likewise.
3951 (__dvd): Likewise.
3952
3953 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3954
3955 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3956 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3957 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3958 2 && __USE_EXTERN_INLINES]: Likewise.
3959
3960 2013-01-08 Andreas Jaeger <aj@suse.de>
3961
3962 [BZ# 14985]
3963 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3964 Remove.
3965 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3966 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3967
3968 2013-01-07 Anton Blanchard <anton@samba.org>
3969
3970 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3971 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3972 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3973 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3974 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3975 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3976 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3977 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3979 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3980 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3981 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3982 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3983 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3984 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3985 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3986 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3987 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3988 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3989 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3990 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3991 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3992 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3993 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3994 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3995 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3996 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3997 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3998 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3999 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4000 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4002 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4003 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4004 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4005 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4006 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4007 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4008 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4009 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4010 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4011 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4012 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4013
4014 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4015
4016 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4017 (__MALLOC_PMT): Likewise.
4018 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4019 [__GNUC__], only on [_LIBC].
4020 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4021 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4022 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4023 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4024 forward declaration.
4025 (realloc_hook_ini): Likewise.
4026 (memalign_hook_ini): Likewise.
4027 (__libc_memalign): Do not use __MALLOC_PMT in variable
4028 declaration.
4029 (__libc_valloc): Likewise.
4030 (__libc_pvalloc): Likewise.
4031 (__libc_calloc): Likewise.
4032 (__posix_memalign): Likewise.
4033
4034 [BZ #14996]
4035 * math/s_casinh.c: Include <float.h>.
4036 (__casinh): Do not do computation with squaring and square root
4037 for large arguments.
4038 * math/s_casinhf.c: Include <float.h>.
4039 (__casinhf): Do not do computation with squaring and square root
4040 for large arguments.
4041 * math/s_casinhl.c: Include <float.h>.
4042 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4043 (__casinhl): Do not do computation with squaring and square root
4044 for large arguments.
4045 * math/libm-test.inc (casin_test): Add more tests.
4046 (casinh_test): Likewise.
4047 * sysdeps/i386/fpu/libm-test-ulps: Update.
4048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4049
4050 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4051
4052 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4053 (__x86_64_raw_data_cache_size): Likewise.
4054 (__x86_64_data_cache_size_half): Likewise.
4055 (__x86_64_raw_data_cache_size_half): Likewise.
4056 (__x86_64_shared_cache_size): Likewise.
4057 (__x86_64_raw_shared_cache_size): Likewise.
4058 (__x86_64_shared_cache_size_half): Likewise.
4059 (__x86_64_raw_shared_cache_size_half): Likewise.
4060 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4061 to ...
4062 (__x86_data_cache_size): This.
4063 (__x86_64_raw_data_cache_size): Renamed to ...
4064 (__x86_raw_data_cache_size): This.
4065 (__x86_64_data_cache_size_half): Renamed to ...
4066 (__x86_data_cache_size_half): This.
4067 (__x86_64_raw_data_cache_size_half): Renamed to ...
4068 (__x86_raw_data_cache_size_half): This.
4069 (__x86_64_shared_cache_size): Renamed to ...
4070 (__x86_shared_cache_size): This.
4071 (__x86_64_raw_shared_cache_size): Renamed to ...
4072 (__x86_raw_shared_cache_size): This.
4073 (__x86_64_shared_cache_size_half): Renamed to ...
4074 (__x86_shared_cache_size_half): This.
4075 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4076 (__x86_raw_shared_cache_size_half): This.
4077 * sysdeps/x86_64/memcpy.S: Updated.
4078 * sysdeps/x86_64/memset.S: Likewise.
4079 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4080 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4081 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4082
4083 2013-01-04 David S. Miller <davem@davemloft.net>
4084
4085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4086
4087 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4088
4089 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4090 1 to avoid redefinition warning.
4091 (__USE_GNU): Don't define.
4092 (init_signaling_nan): Protoize.
4093
4094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4095
4096 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4097
4098 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4099 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4100 (__cpymn): Likewise.
4101 (norm): Remove commented code.
4102 (denorm): Likewise.
4103 (__mp_dbl): Likewise.
4104 (__inv): Likewise.
4105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4106 (__cpymn): Likewise.
4107 (norm): Remove commented code.
4108 (denorm): Likewise.
4109 (__mp_dbl): Likewise.
4110 (__inv): Likewise.
4111
4112 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4113 mp_no value for 1.0 and 2.0.
4114 (norm): Use RADIXI instead of radixi.d.
4115 (denorm): Likewise.
4116 (__mul): Use 0.0 instead of zero.d.
4117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4118 mp_no value for 1.0 and 2.0.
4119 (norm): Use RADIXI instead of radixi.d.
4120 (denorm): Likewise.
4121 (__mul): Use 0.0 instead of zero.d.
4122
4123 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4124
4125 [BZ #14994]
4126 * math/s_casinh.c (__casinh): Reduce finite argument to first
4127 quadrant then set signs of results at the end.
4128 * math/s_casinhf.c (__casinhf): Likewise.
4129 * math/s_casinhl.c (__casinhl): Likewise.
4130 * math/libm-test.inc (casin_test): Add more tests.
4131 (casinh_test): Likewise.
4132 * sysdeps/i386/fpu/libm-test-ulps: Update.
4133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4134
4135 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4136
4137 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4138
4139 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4140
4141 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4142 declarations.
4143 (denorm): Likewise.
4144 (__mp_dbl): Likewise.
4145 (__inv): Likewise.
4146
4147 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4148 and adjust the header comment.
4149
4150 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4151 variable name from declaration.
4152
4153 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4154
4155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4156 Initialize COMMON_CPUID_INDEX_7 element.
4157 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4158 (CPUID_RTM): Likewise.
4159 (HAS_RTM): Likewise.
4160 (COMMON_CPUID_INDEX_7): New enum.
4161
4162 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4163
4164 [BZ #14981]
4165 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4166 size is zero, record memory as freed.
4167
4168 2013-01-03 Andreas Jaeger <aj@suse.de>
4169
4170 * po/ia.po: Add new Interlingua translation.
4171
4172 2012-01-03 Allan McRae <allan@archlinux.org>
4173
4174 * locale/programs/localedef.c: Fix description of '--posix' flag.
4175
4176 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4177
4178 * NEWS: Update dates in second copyright notice.
4179 * README: Update copyright dates in example.
4180 * manual/libc.texinfo: Update copyright dates.
4181 * scripts/test-installation.pl: Update copyright date in --version
4182 output.
4183
4184 * hurd/ctty-input.c: Fix copyright notice formatting.
4185 * hurd/ctty-output.c: Likewise.
4186 * hurd/dtable.c: Likewise.
4187 * hurd/hurd-raise.c: Likewise.
4188 * hurd/hurdprio.c: Likewise.
4189 * hurd/msgportdemux.c: Likewise.
4190 * misc/sys/file.h: Likewise.
4191 * misc/sys/ioctl.h: Likewise.
4192 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4193 * sysdeps/mach/hurd/chdir.c: Likewise.
4194 * sysdeps/mach/hurd/fchdir.c: Likewise.
4195 * sysdeps/mach/hurd/rename.c: Likewise.
4196 * sysdeps/mach/hurd/rmdir.c: Likewise.
4197 * sysdeps/mach/hurd/seekdir.c: Likewise.
4198 * sysdeps/mach/hurd/setsid.c: Likewise.
4199 * sysdeps/posix/wait3.c: Likewise.
4200
4201 * All files with FSF copyright notices: Update copyright dates
4202 using scripts/update-copyrights.
4203 * intl/plural.c: Regenerated.
4204 * locale/programs/charmap-kw.h: Likewise.
4205 * locale/programs/locfile-kw.h: Likewise.
4206
4207 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4208
4209 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4210 four values.
4211
4212 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4213 calculation loop and add branch prediction.
4214
4215 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4216 check access beyond bounds of m1np.
4217
4218 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4219 MPTWO.
4220 (__inv): Remove local variable MPTWO to use the global
4221 constant.
4222 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4223 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4224 variable MPTWO.
4225 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4226 MP3HALFS static const.
4227
4228 2013-01-01 David S. Miller <davem@davemloft.net>
4229
4230 * po/ca.po: Update from translation team.
4231
4232 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4233
4234 * scripts/update-copyrights: New file.
4235 * Makeconfig: Reformat copyright notice.
4236 * ctype/ctype.h: Likewise.
4237 * debug/swprintf_chk.c: Likewise.
4238 * elf/dl-cache.c: Likewise.
4239 * elf/dl-debug.c: Likewise.
4240 * elf/dl-object.c: Likewise.
4241 * grp/initgroups.c: Likewise.
4242 * hurd/Makefile: Likewise.
4243 * hurd/hurd/signal.h: Likewise.
4244 * hurd/hurdfault.c: Likewise.
4245 * hurd/hurdioctl.c: Likewise.
4246 * hurd/hurdlookup.c: Likewise.
4247 * hurd/intr-msg.c: Likewise.
4248 * iconv/gconv_open.c: Likewise.
4249 * libio/swprintf.c: Likewise.
4250 * locale/lc-ctype.c: Likewise.
4251 * locale/nl_langinfo.c: Likewise.
4252 * mach/Machrules: Likewise.
4253 * mach/Makefile: Likewise.
4254 * malloc/obstack.h: Likewise.
4255 * manual/Makefile: Likewise.
4256 * manual/tsort.awk: Likewise.
4257 * misc/bits/stab.def: Likewise.
4258 * nis/nis_print_group_entry.c: Likewise.
4259 * nis/nis_table.c: Likewise.
4260 * nis/nss_compat/compat-pwd.c: Likewise.
4261 * nis/nss_compat/compat-spwd.c: Likewise.
4262 * po/Makefile: Likewise.
4263 * posix/fnmatch.c: Likewise.
4264 * posix/regex.h: Likewise.
4265 * resolv/Makefile: Likewise.
4266 * resolv/nss_dns/dns-network.c: Likewise.
4267 * resolv/res_hconf.c: Likewise.
4268 * scripts/gen-sorted.awk: Likewise.
4269 * soft-fp/soft-fp.h: Likewise.
4270 * stdio-common/printf.h: Likewise.
4271 * stdlib/monetary.h: Likewise.
4272 * stdlib/random.c: Likewise.
4273 * stdlib/random_r.c: Likewise.
4274 * sysdeps/generic/Makefile: Likewise.
4275 * sysdeps/gnu/Makefile: Likewise.
4276 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4278 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4280 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4281 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4282 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4283 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4284 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4285 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4286 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4287 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4288 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4289 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4290 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4291 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4292 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4293 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4294 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4295 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4296 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4297 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4298 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4299 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4300 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4303 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4304 * sysdeps/mach/hurd/errnos.awk: Likewise.
4305 * sysdeps/mach/hurd/fork.c: Likewise.
4306 * sysdeps/mach/hurd/getcwd.c: Likewise.
4307 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4308 * sysdeps/mach/hurd/mmap.c: Likewise.
4309 * sysdeps/mach/hurd/utimes.c: Likewise.
4310 * sysdeps/mach/hurd/xmknod.c: Likewise.
4311 * sysdeps/posix/profil.c: Likewise.
4312 * sysdeps/posix/readdir_r.c: Likewise.
4313 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4314 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4315 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4316 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4318 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4319 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4320 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4321 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4322 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4323 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4324 * sysdeps/pthread/lio_listio.c: Likewise.
4325 * sysdeps/sparc/dl-procinfo.h: Likewise.
4326 * sysdeps/unix/i386/sysdep.S: Likewise.
4327 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4328 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4329 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4330 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4332 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4333 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4334 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4335 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4336 * sysdeps/wordsize-32/divdi3.c: Likewise.
4337 * time/sys/time.h: Likewise.
4338 * wcsmbs/Makefile: Likewise.
4339
4340 2013-01-01 David S. Miller <davem@davemloft.net>
4341
4342 * po/fr.po: Update from translation team.
4343
4344 * catgets/gencat.c: Update copyright year.
4345 * csu/version.c: Likewise.
4346 * debug/catchsegv.sh: Likewise.
4347 * debug/pcprofiledump.c: Likewise.
4348 * debug/xtrace.sh: Likewise.
4349 * elf/ldconfig.c: Likewise.
4350 * elf/ldd.bash.in: Likewise.
4351 * elf/pldd.c: Likewise.
4352 * elf/sotruss.ksh: Likewise.
4353 * elf/sprof.c: Likewise.
4354 * iconv/iconv_prog.c: Likewise.
4355 * iconv/iconvconfig.c: Likewise.
4356 * locale/programs/locale.c: Likewise.
4357 * locale/programs/localedef.c: Likewise.
4358 * login/programs/pt_chown.c: Likewise.
4359 * malloc/memusage.sh: Likewise.
4360 * malloc/memusagestat.c: Likewise.
4361 * malloc/mtrace.pl: Likewise.
4362 * nscd/nscd.c: Likewise.
4363 * nss/getent.c: Likewise.
4364 * nss/makedb.c: Likewise.
4365 * posix/getconf.c: Likewise.
4366
4367 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4368
4369 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4370 numbers.
4371
4372 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4373
4374 * math/bits/mathcalls.h (modf): Use __nonnull.
4375
4376 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4377
4378 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4379 (split): Use macro CN instead of the bare value.
4380 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4381 could be used.
4382 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4383 instead of the bare value.
4384 (power1): Likewise.
4385
4386 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4387
4388 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4389 __ATAN_TWOM.
4390 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4391
4392 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4393 their values.
4394 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4395 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4396 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4397 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4398
4399 2012-12-28 Andreas Jaeger <aj@suse.de>
4400
4401 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4402 values are from Linux 3.7.
4403
4404 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4405 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4406
4407 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4408
4409 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4410 TRUE case.
4411
4412 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4413 (norm): Likewise.
4414 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4415 variables with preprocessor constants.
4416 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4417 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4418 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4419
4420 2012-12-27 Bruno Haible <bruno@clisp.org>
4421
4422 [BZ #14317]
4423 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4424 only if needed.
4425
4426 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4427
4428 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4429 and use variable directly.
4430 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4431
4432 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4433 MPONE.
4434 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4435 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4436 variable MPONE.
4437 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4439 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4440 include directive. Remove local variable MPONE.
4441 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4442 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4443 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4444
4445 2012-12-25 David S. Miller <davem@davemloft.net>
4446
4447 * version.h (RELEASE): Set to "development".
4448 (VERSION): Set to "2.17.90".
4449 * NEWS: Add 2.18 section.
4450
4451 2012-12-21 David S. Miller <davem@davemloft.net>
4452
4453 * po/hr.po: Update from translation team.
4454
4455 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4456
4457 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4458
4459 2012-12-19 Steve Ellcey <sellcey@mips.com>
4460
4461 * NEWS: Mention new memcpy for MIPS.
4462
4463 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4464
4465 * manual/contrib.texi (Contributors): Spelling correction.
4466
4467 2012-12-15 David S. Miller <davem@davemloft.net>
4468
4469 * po/ru.po: Update from translation team.
4470
4471 2012-12-13 David S. Miller <davem@davemloft.net>
4472
4473 * NEWS: Mention IFUNC testsuite enhancements.
4474
4475 * po/pl.po: Update from translation team.
4476 * po/bg.po: Likewise.
4477
4478 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4479 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4480
4481 2012-12-11 David S. Miller <davem@davemloft.net>
4482
4483 * po/sv.po: Update from translation team.
4484
4485 * po/vi.po: Update from translation team.
4486
4487 * po/cs.po: Update from translation team.
4488
4489 * po/de.po: Update from translation team.
4490 * po/eo.po: Likewise.
4491 * po/nl.po: Likewise.
4492
4493 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4494
4495 [BZ #14246]
4496 * manual/argp.texi (Argp Helper Functions): Move node to follow
4497 Argp Parsing State.
4498
4499 [BZ #14872]
4500 * manual/conf.texi (Limits on File System Capacity): Mention if
4501 terminating null is included in the max size.
4502
4503 2012-12-10 Andreas Jaeger <aj@suse.de>
4504
4505 * po/cs.po: Update from translation team.
4506
4507 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4508
4509 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4510 void pointer and cast to uintptr_t.
4511 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4512 path.
4513 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4514 * sysdeps/s390/s390-64/memset.S: Likewise.
4515
4516 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
4517
4518 [BZ #14833]
4519 * menual/message.texi (Message Translation): Fix typos.
4520 (Helper programs for gettext): Likewise.
4521
4522 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4523
4524 [BZ #14898]
4525 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4526 Change to -1.
4527
4528 2012-12-07 David S. Miller <davem@davemloft.net>
4529
4530 * po/libc.pot: Update.
4531
4532 2012-12-07 Richard Henderson <rth@redhat.com>
4533
4534 [BZ #10114]
4535 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4536 normal/normal case to before the switch.
4537 (_FP_DIV): Likewise.
4538
4539 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4540 Mike Frysinger <vapier@gentoo.org>
4541
4542 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4543 check for __NR_fadvise64_64.
4544
4545 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4546
4547 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4548 0, not just to plain "0" as a statement.
4549 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4550 with cw.
4551
4552 2012-12-06 Joseph Myers <joseph@codesourcery.com>
4553
4554 * NEWS: Use sourceware.org in Bugzilla URL.
4555
4556 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4557
4558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4559 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4560
4561 * stdio-common/tst-put-error.c (do_test): Add newline to the
4562 padded test to ensure flush.
4563
4564 2012-12-05 Jeff Law <law@redhat.com>
4565
4566 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4567
4568 2012-12-05 Joseph Myers <joseph@codesourcery.com>
4569
4570 * README: Don't refer to ports add-on as distributed separately.
4571 Mention AArch64 in list of systems supported in the ports add-on.
4572
4573 * LICENSES: Add more non-FSF copyright and license notices.
4574
4575 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4576 ((unused)).
4577
4578 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4579
4580 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4581 10000 as width of padded output.
4582
4583 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4584
4585 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4586
4587 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4588 variable LX with __attribute__ ((unused)).
4589 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4590 Likewise.
4591 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4592 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4593 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4594 with __attribute__ ((unused)).
4595
4596 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
4597
4598 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4599
4600 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4601
4602 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4603 (CFLAGS-nldbl-acos.c): New variable.
4604 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4605 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4606 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4607 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4608 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4609 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4610 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4611 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4612 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4613 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4614 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4615 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4616 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4617 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4618 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4619 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4620 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4621 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4622 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4623 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4624 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4625 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4626 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4627 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4628 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4629 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4630 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4631 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4632 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4633 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4634 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4635 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4636 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4637 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4638 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4639 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4640 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4641 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4642 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4643 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4644 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4645 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4646 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4647 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4648 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4649 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4650 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4651 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4652 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4653 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4654 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4655 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4656 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4657 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4658 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4659 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4660 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4661 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4662 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4663 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4664 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4665 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4666 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4667 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4668 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4669 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4670 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4671 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4672 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4673 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4674 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4675 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4676 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4677 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4678 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4679 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4680 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4681 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4682 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4683 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4684 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4685 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4686 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4687 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4688 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4689 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4690 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4691 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4692 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4693 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4694 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4695 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4696 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4697 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4698 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4699 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4700 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4701
4702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4703 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4704
4705 [BZ #14914]
4706 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4707 whole low double instead of just low 47 bits when splitting values
4708 into two parts.
4709
4710 2012-12-03 Allan McRae <allan@archlinux.org>
4711
4712 * manual/stdio.texi (Predefined Printf Handlers): Remove
4713 @hsep and @vsep usage.
4714
4715 2012-12-03 Mike Frysinger <vapier@gentoo.org>
4716
4717 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4718 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4719
4720 2012-12-03 Jeff Law <law@redhat.com>
4721
4722 * time/sys/time.h (settimeofday): Do not mark TV argument
4723 as __nonnull.
4724
4725 2012-12-01 Mike Frysinger <vapier@gentoo.org>
4726
4727 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4728 when currently writing and seek to current position when not.
4729 * libio/Makefile (tests): Remove bug-fclose1.
4730 * libio/bug-fclose1.c: Delete.
4731
4732 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4733
4734 * manual/arith.texi (feenableexcept): Fix typo.
4735 (fedisableexcept): Likewise.
4736
4737 2012-11-30 Roland McGrath <roland@hack.frob.com>
4738
4739 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4740 second, differently-typed declaration, rather than a cast.
4741
4742 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4743
4744 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4745 * include/rpc/svc.h: ... here.
4746
4747 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4748
4749 [BZ #13013]
4750 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4751 depending n and resplen2 to catch cases where answer
4752 equals answerp2.
4753
4754 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4755
4756 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4757 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4758
4759 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4760
4761 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4762
4763 2012-11-29 Roland McGrath <roland@hack.frob.com>
4764
4765 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4766
4767 2012-11-28 Jeff Law <law@redhat.com>
4768
4769 [BZ #13761]
4770 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4771 dataset_temporary. Track alloca usage into alloca_used.
4772 If dataset is large allocate and release it via malloc/free.
4773
4774 2012-06-04 Florian Weimer <fweimer@redhat.com>
4775
4776 [BZ #14197]
4777 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4778
4779 2012-11-28 David S. Miller <davem@davemloft.net>
4780
4781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4782
4783 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4784
4785 [BZ #14803]
4786 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4787 of pi/2 rounded to nearest to 64 bits.
4788 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4789 nearest to 64 bits.
4790 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4791 bits.
4792
4793 2012-11-28 Jeff Law <law@redhat.com>
4794 Martin Osvald <mosvald@redhat.com>
4795
4796 [BZ #14889]
4797 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4798 * sunrpc/svc.c: Include time.h.
4799 (__svc_accept_failed): New function.
4800 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4801 any reason other than EINTR, call __svc_accept_failed.
4802 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4803 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4804
4805 2012-11-28 Andreas Schwab <schwab@suse.de>
4806
4807 * scripts/abilist.awk: Also handle indirect functions in .opd
4808 section.
4809
4810 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4811
4812 [BZ #13881]
4813 * sysdeps/x86/fpu/powl_helper.c: New file.
4814 * sysdeps/x86/fpu/Makefile: Likewise.
4815 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4816 (p3): New object.
4817 (__ieee754_powl): Use __powl_helper for finite arguments except
4818 integer exponents below 8.
4819 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4820 (p3): New object.
4821 (__ieee754_powl): Use __powl_helper for finite arguments except
4822 integer exponents below 8.
4823 * math/libm-test.inc (pow_test): Add more tests and enable some
4824 previously disabled tests.
4825 * sysdeps/i386/fpu/libm-test-ulps: Update.
4826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4827
4828 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4829 Carlos O'Donell <carlos_odonell@mentor.com>
4830
4831 * nss/makedb.c (is_prime): Assert that input is odd and greater
4832 than 4. Note that fact in a comment too.
4833 (next_prime): Add 4 to input.
4834
4835 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4836
4837 [BZ #11741]
4838 * libio/Makefile (tests): Add test case tst-fwrite-error.
4839 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4840 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4841 * libio/tst-fwrite-error.c: New test case.
4842
4843 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4844
4845 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4846 before casting to void *.
4847 * include/libc-internal.h (__pointer_type): New macro.
4848 (__integer_if_pointer_type_sub): Likewise.
4849 (__integer_if_pointer_type): Likewise.
4850 (cast_to_integer): Likewise.
4851 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4852 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4853 before casting to atomic64_t.
4854 (atomic_exchange_acq): Likewise.
4855 (__arch_exchange_and_add_body): Likewise.
4856 (__arch_add_body): Likewise.
4857 (atomic_add_negative): Likewise.
4858 (atomic_add_zero): Likewise.
4859
4860 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4861
4862 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4863 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4864 (add_fdes): Likewise.
4865 (linear_search_fdes): Likewise.
4866 (binary_search_unencoded_fdes): Likewise.
4867
4868 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4869
4870 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4871
4872 2012-11-24 Adam Conrad <adconrad@0c3.net>
4873
4874 * configure.in: Autodetect C++ header directories.
4875 * configure: Regenerated.
4876
4877 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4878
4879 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4880
4881 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4882
4883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4884
4885 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4886
4887 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4888 LDBL_MANT_DIG == 106]: Disable some tests.
4889 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4890 Likewise.
4891 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4892 Likewise.
4893
4894 [BZ #14871]
4895 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4896 input for small inputs. Return +/- pi/2 for large inputs.
4897 * math/libm-test.inc (atan_test): Add more tests.
4898
4899 * sysdeps/generic/unwind-dw2-fde-glibc.c
4900 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4901 __attribute__ ((unused)).
4902
4903 [BZ #14645]
4904 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4905 x * y if x and y are nonzero and z is zero.
4906
4907 [BZ #14811]
4908 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4909 nonzero exponents with absolute value below 0x1p-117 to +/-
4910 0x1p-117.
4911
4912 [BZ #14869]
4913 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4914 up arguments below 2**-450, not just those below 2**-500.
4915 * math/libm-test.inc (hypot_test): Add another test.
4916
4917 [BZ #14868]
4918 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4919 Return a+b for ratio over 2**120, not 2**60.
4920 * math/libm-test.inc (hypot_test): Add another test.
4921
4922 * math/libm-test.inc (clog_test): Use
4923 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4924 (clog10_test): Likewise.
4925
4926 [BZ #6778]
4927 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4928
4929 2012-11-22 Andreas Schwab <schwab@suse.de>
4930
4931 * sysdeps/i386/fpu/libm-test-ulps: Update.
4932
4933 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4934
4935 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4936 printf output with newline.
4937
4938 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4939
4940 [BZ #14865]
4941 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4942 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4943 -z nodlopen, -z initfirst and -z execstack support.
4944 * configure: Regenerated.
4945
4946 * elf/elf.h (DF_1_NODIRECT): New macro.
4947 (DF_1_IGNMULDEF): Likewise.
4948 (DF_1_NOKSYMS): Likewise.
4949 (DF_1_NOHDR): Likewise.
4950 (DF_1_EDITED): Likewise.
4951 (DF_1_NORELOC): Likewise.
4952 (DF_1_SYMINTPOSE): Likewise.
4953 (DF_1_GLOBAUDIT): Likewise.
4954 (DF_1_SINGLETON): Likewise.
4955 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4956 DT_1_SUPPORTED_MASK bits.
4957 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4958
4959 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4960
4961 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4962
4963 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4964
4965 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4966 macro.
4967
4968 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4969 (sendmmsg): Move declarations...
4970 * socket/sys/socket.h: ... here.
4971 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4972 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4973 include it from...
4974 * socket/recvmmsg.c: ... this new file.
4975 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4976 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4977 definition of __sendmmsg hidden.
4978 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4979 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4980 Move ENOSYS stub into and include it from...
4981 * socket/sendmmsg.c: ... this new file.
4982 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4983 (sysdep_routines): Move recvmmsg and sendmmsg...
4984 * socket/Makefile (routines): ... here.
4985 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4986 (GLIBC_PRIVATE): Add __sendmmsg.
4987 * include/sys/socket.h (__sendmmsg): Add declarations.
4988 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4989 sendmmsg.
4990
4991 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4992
4993 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4994 variable I1 with __attribute__ ((unused)).
4995 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4996
4997 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4998
4999 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5000 DUMMY variables with __attribute__ ((unused)).
5001
5002 * bits/byteswap.h: Include <bits/types.h>.
5003 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5004
5005 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5006
5007 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5008 string_t. Do not manually set errno.
5009 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5010 length with __strnlen. Make sure to both set errno and return it on
5011 failure.
5012
5013 2012-11-19 David S. Miller <davem@davemloft.net>
5014
5015 With help from Joseph Myers.
5016 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5017 very large arguments properly.
5018 * math/libm-test.inc (atan_test): New tests.
5019 (atan2_test): New tests.
5020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5022
5023 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5024
5025 [BZ #14856]
5026 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5027 Define to 3.
5028
5029 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5030 [POSIX] (EADDRNOTAVAIL): Likewise.
5031 [POSIX] (EAFNOSUPPORT): Likewise.
5032 [POSIX] (EALREADY): Likewise.
5033 [POSIX] (ECONNABORTED): Likewise.
5034 [POSIX] (ECONNREFUSED): Likewise.
5035 [POSIX] (ECONNRESET): Likewise.
5036 [POSIX] (EDESTADDRREQ): Likewise.
5037 [POSIX] (EDQUOT): Likewise.
5038 [POSIX] (EHOSTUNREACH): Likewise.
5039 [POSIX] (EIDRM): Likewise.
5040 [POSIX] (EISCONN): Likewise.
5041 [POSIX] (ELOOP): Likewise.
5042 [POSIX] (EMULTIHOP): Likewise.
5043 [POSIX] (ENETDOWN): Likewise.
5044 [POSIX] (ENETUNREACH): Likewise.
5045 [POSIX] (ENOBUFS): Likewise.
5046 [POSIX] (ENODATA): Likewise.
5047 [POSIX] (ENOLINK): Likewise.
5048 [POSIX] (ENOMSG): Likewise.
5049 [POSIX] (ENOPROTOOPT): Likewise.
5050 [POSIX] (ENOSR): Likewise.
5051 [POSIX] (ENOSTR): Likewise.
5052 [POSIX] (ENOTCONN): Likewise.
5053 [POSIX] (ENOTSOCK): Likewise.
5054 [POSIX] (EOPNOTSUPP): Likewise.
5055 [POSIX] (EOVERFLOW): Likewise.
5056 [POSIX] (EPROTO): Likewise.
5057 [POSIX] (EPROTONOSUPPORT): Likewise.
5058 [POSIX] (EPROTOTYPE): Likewise.
5059 [POSIX] (ESTALE): Likewise.
5060 [POSIX] (ETIME): Likewise.
5061 [POSIX] (ETXTBSY): Likewise.
5062 [POSIX] (EWOULDBLOCK): Likewise.
5063 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5064 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5065 [POSIX] (SEEK_CUR): Likewise.
5066 [POSIX] (SEEK_END): Likewise.
5067 [POSIX || UNIX98] (mode_t): Do not require.
5068 [POSIX] (off_t): Likewise.
5069 [POSIX] (pid_t): Likewise.
5070 [POSIX] (sys/stat.h): Do not allow header.
5071 [POSIX] (unistd.h): Likewise.
5072 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5073 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5074 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5075 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5076 require.
5077 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5078 sigevent): Specify elements.
5079 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5080 entry.
5081 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5082 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5083
5084 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5085 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5086 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5087 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5088 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5089 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5090 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5091 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5092 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5093 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5094 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5095 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5096 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5097 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5098 Likewise.
5099 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5100 Likewise.
5101 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5102 Likewise.
5103 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5104 Likewise.
5105 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5106 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5107 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5108 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5109 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5110 Specify lower bound on value.
5111 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5112 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5113 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5114 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5115 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5116 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5117 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5118 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5119 value.
5120 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5121 as optional.
5122 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5123 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5124 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5125 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5126 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5127 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5128 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5129 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5130 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5131 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5132 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5133 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5134 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5135 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5136 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5137 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5138 entry.
5139 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5140 optional.
5141 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5142 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5143 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5144 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5145 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5146 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5147 Likewise.
5148 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5149 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5150 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5151 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5152 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5153 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5154 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5155 as optional.
5156 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5157 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5158 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5159 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5160 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5161 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5162 specify as optional.
5163 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5164 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5165 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5166 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5167 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5168 [XPG3] (NL_LANGMAX): Likewise.
5169 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5170 [POSIX || XPG3] (NL_NMAX): Likewise.
5171 [POSIX || XPG3] (NL_SETMAX): Likewise.
5172 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5173 [XPG3] (NZERO): Likewise.
5174 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5175 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5176 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5177 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5178 (REG_ERANGE): Expect.
5179 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5180 optional-constant.
5181 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5182 Use (void) in prototype.
5183 [POSIX] (*_t): Allow.
5184 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5185 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5186 (WRDE_BADVAL): Expect.
5187
5188 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5189 expect.
5190 [XPG3 || XPG4] (O_RSYNC): Likewise.
5191 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5192 Likewise.
5193 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5194 [XPG3 || XPG4] (sigqueue): Likewise.
5195 [XPG3 || XPG4] (sigtimedwait): Likewise.
5196 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5197 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5198 [XPG3 || XPG4] (vsnprintf): Likewise.
5199 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5200 Likewise.
5201 [XPG3 || XPG4] (blksize_t): Likewise.
5202 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5203 Likewise.
5204 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5205 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5206 [XPG3 || XPG4] (struct itimerspec): Likewise.
5207 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5208 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5209 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5210 [XPG3 || XPG4] (clockid_t): Likewise.
5211 [XPG3 || XPG4] (timer_t): Likewise.
5212 [XPG3 || XPG4] (clock_getres): Likewise.
5213 [XPG3 || XPG4] (clock_gettime): Likewise.
5214 [XPG3 || XPG4] (clock_settime): Likewise.
5215 [XPG3 || XPG4] (nanosleep): Likewise.
5216 [XPG3 || XPG4] (timer_create): Likewise.
5217 [XPG3 || XPG4] (timer_delete): Likewise.
5218 [XPG3 || XPG4] (timer_gettime): Likewise.
5219 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5220 [XPG3 || XPG4] (timer_settime): Likewise.
5221 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5222 [XPG3 || XPG4] (getlogin_r): Likewise.
5223 [XPG3 || XPG4] (pread): Likewise.
5224 [XPG3 || XPG4] (pthread_atfork): Likewise.
5225 [XPG3 || XPG4] (pwrite): Likewise.
5226
5227 [BZ #14835]
5228 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5229 <bits/siginfo.h>.
5230
5231 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5232
5233 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5234 finalizing MALLSTREAM.
5235
5236 * sysdeps/mach/hurd/syncfs.c: New file.
5237
5238 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5239
5240 [BZ #14719]
5241 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5242 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5243 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5244 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5245 (_nss_dns_gethostbyname4_r): Likewise.
5246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5247 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5248
5249 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5250
5251 [BZ #13763]
5252 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5253
5254 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5255
5256 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5257 * elf/cache.c (print_entry): Print ",AArch64" for
5258 FLAG_AARCH64_LIB64
5259
5260 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5261 * elf/cache.c (print_entry): Print ",hard-float" for
5262 FLAG_ARM_LIBHF.
5263
5264 2012-11-18 David S. Miller <davem@davemloft.net>
5265
5266 With help from Joseph Myers.
5267 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5268 cutoff to 2**-13.
5269 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5270 cutoff to 2**-25.
5271 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5272 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5273 small.
5274 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5275 * math/libm-test.inc (y0_test): New tests.
5276 (y1_test): New tests.
5277 * sysdeps/i386/fpu/libm-test-ulps: Update.
5278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5280
5281 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5282
5283 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5284 64-bit targets.
5285 * configure: Regenerated.
5286
5287 2012-11-17 David S. Miller <davem@davemloft.net>
5288
5289 [BZ #14811]
5290 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5291 nonzero exponents with absolute value below 0x1p-128 to +/-
5292 0x1p-128.
5293
5294 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5295
5296 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5297
5298 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5299
5300 * posix/getconf-speclist.c: New file.
5301 * posix/posix-envs.def: Likewise.
5302 * posix/confstr.c (START_ENV_GROUP): New macro.
5303 (END_ENV_GROUP): Likewise.
5304 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5305 (KNOWN_PRESENT_ENV_STRING): Likewise.
5306 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5307 (UNKNOWN_ENVIRONMENT): Likewise.
5308 (confstr): Include posix-envs.def instead of handling
5309 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5310 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5311 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5312 (END_ENV_GROUP): Likewise.
5313 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5314 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5315 (UNKNOWN_ENVIRONMENT): Likewise.
5316 (__sysconf): Include posix-envs.def instead of handling associated
5317 cases directly here.
5318 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5319 preprocessing getconf-speclist.c rather than running getconf or
5320 generating empty file.
5321
5322 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5323
5324 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5325
5326 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5327
5328 [BZ #14672]
5329 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5330
5331 2012-11-16 David S. Miller <davem@davemloft.net>
5332
5333 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5334 smaller than LDBL_EPSILON/2.0L, just return xm1.
5335
5336 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5337
5338 * elf/tst-array1.c (init): Set constructor priority to 1000.
5339 (fini): Set destructor priority to 1000.
5340 * elf/tst-array2dep.c: Likewise.
5341
5342 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5343
5344 [BZ #11741]
5345 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5346 (_IO_new_file_xsputn): Also return EOF if none of the input
5347 data was written when overflow failed.
5348 * libio/iopadn.c (_IO_padn): Likewise.
5349 * libio/iowpadn.c (_IO_wpadn): Likewise.
5350 * stdio-common/tst-put-error.c: Add copyright notice.
5351 (do_test): Add case for printing padded string.
5352 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5353 _IO_padn returned error.
5354 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5355 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5356 return EOF.
5357
5358 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5359
5360 * libio/libioP.h: Add comment note that the references to C++
5361 bits are now obsolete.
5362
5363 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5364
5365 * math/libm-test.inc (check_complex): Use asprintf.
5366
5367 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5368
5369 * debug/pcprofiledump.c (print_version): Update copyright year.
5370 * malloc/memusagestat.c (print_version): Likewise.
5371
5372 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5373
5374 [BZ #14831]
5375 * elf/Makefile (tests): Add tst-audit8.
5376 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5377 ($(objpfx)tst-audit8.out): New target.
5378 (tst-audit8-ENV): New variable.
5379 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5380 audit if l_reloc_result is NULL.
5381 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5382 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5383 * elf/tst-audit8.c: New file.
5384
5385 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5386
5387 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5388 * misc/Makefile (CFLAGS-select.c): Define.
5389 * posix/Makefile (CFLAGS-pause.c): Define.
5390
5391 2012-11-13 David S. Miller <davem@davemloft.net>
5392
5393 * crypt/Makefile: Move test targets after toplevel Rules
5394 inclusion. Grab any necessary sysdep routines when linking.
5395 * crypt/md5.c (md5_process_block): Remove define, we will always
5396 name it __md5_process_block.
5397 (md5_finish_ctx): Update md5_process_block call.
5398 (md5_stream): Likewise.
5399 (md5_process_bytes): Likewise.
5400 (md5_process_block): Rename to __md5_process_block and move to ...
5401 * crypt/md5-block.c: ... here.
5402 * crypt/sha256.c (sha256_process_block): Move to ...
5403 * crypt/sha256-block.c: ... here.
5404 * crypt/sha512.c (sha512_process_block): Move to ...
5405 * crypt/sha512-block.c: ... here.
5406 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5407 path.
5408 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5409 * sysdeps/sparc/sparc64/multiarch/Makefile
5410 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5411 crypt subdir.
5412 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5413 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5414 multiarch changes.
5415 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5416 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5417 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5418 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5419 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5420 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5421 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5422 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5423 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5424 file.
5425 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5426 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5427 file.
5428 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5429
5430 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5431
5432 * timezone/tzselect.ksh: Update from tzcode git revision
5433 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5434 * timezone/zdump.c: Likewise.
5435 * timezone/zic.c: Likewise.
5436 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5437 in TZVERSION setting, not $(PKGVERSION).
5438 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5439 REPORT_BUGS_TO settings.
5440
5441 [BZ #14838]
5442 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5443 macro.
5444
5445 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5446
5447 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5448 detection to immediately after _FP_ROUND().
5449 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5450 bits are 0.
5451
5452 2012-11-11 David S. Miller <davem@davemloft.net>
5453
5454 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5455 inttypes.h
5456 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5457 __close rather than their public counterparts.
5458
5459 2012-11-10 Joseph Myers <joseph@codesourcery.com>
5460
5461 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5462 file.
5463 [UNIX98] (sem_timedwait): Do not expect.
5464 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5465 [XPG4 || UNIX98] (sockatmark): Do not expect.
5466 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5467 (clock_getcpuclockid): Do not expect.
5468 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5469 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5470 Do not expect.
5471 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5472 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5473 [UNIX98] (vwscanf): Likewise.
5474 [UNIX98] (vswscanf): Likewise.
5475
5476 2012-11-09 Joseph Myers <joseph@codesourcery.com>
5477
5478 * timezone/version.h: Remove file.
5479 * timezone/README: Do not refer to version.h.
5480 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5481 $(objpfx)version.h.
5482 ($(objpfx)zdump.o): Likewise.
5483 ($(objpfx)version.h): New target.
5484
5485 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5486 2012i.
5487 * timezone/README: Don't mention modification to tzselect.ksh.
5488 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5489 work on unmodified tzselect.ksh. Substitute version numbers in
5490 tzselect.ksh.
5491
5492 * Makefile (format-me): Remove.
5493 (INSTALL): Adjust indentation. Use commands directly instead of
5494 using $(format-me).
5495
5496 * aclocal.m4 (ACX_PKGVERSION): New macro.
5497 (ACX_BUGURL): Likewise.
5498 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5499 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5500 (REPORT_BUGS_TO): Likewise.
5501 * configure: Regenerated.
5502 * config.h.in (PKGVERSION): New macro.
5503 (REPORT_BUGS_TO): Likewise.
5504 * config.make.in (PKGVERSION): New variable.
5505 (PKGVERSION_TEXI): Likewise.
5506 (REPORT_BUGS_TO): Likewise.
5507 (REPORT_BUGS_TEXI): Likewise.
5508 * Makefile (format-me): Use -I$(common-objpfx)manual.
5509 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5510 ($(common-objpfx)manual/%): New target.
5511 (manual/%): Remove target.
5512 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5513 (print_version): Use PKGVERSION.
5514 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5515 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5516 and REPORT_BUGS_TO.
5517 ($(objpfx)xtrace): Likewise.
5518 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5519 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5520 (print_version): Use PKGVERSION.
5521 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5522 (do_version): Use PKGVERSION.
5523 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5524 REPORT_BUGS_TO.
5525 (common-ldd-rewrite): Likewise.
5526 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5527 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5528 (print_version): Use PKGVERSION.
5529 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5530 * elf/pldd.c (argp_program_bug_address): Remove variable.
5531 (more_help): New function.
5532 (argp): Use more_help.
5533 (print_version): Use PKGVERSION.
5534 * elf/sln.c (main): Use PKGVERSION.
5535 (usage): Use REPORT_BUGS_TO.
5536 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5537 (top level): Use PKGVERSION.
5538 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5539 (print_version): Use PKGVERSION.
5540 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5541 (print_version): Use PKGVERSION.
5542 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5543 (print_version): Use PKGVERSION.
5544 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5545 (print_version): Use PKGVERSION.
5546 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5547 (print_version): Use PKGVERSION.
5548 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5549 (print_version): Use PKGVERSION.
5550 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5551 and BUGURL.
5552 ($(objpfx)memusage): Likewise.
5553 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5554 (do_version): Use PKGVERSION.
5555 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5556 (print_version): Use PKGVERSION.
5557 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5558 ($PKGVERSION): New variable.
5559 ($REPORT_BUGS_TO): Likewise.
5560 (usage): Use $REPORT_BUGS_TO.
5561 (top level): Use $PKGVERSION.
5562 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5563 ($(objpfx)pkgvers.texi): New rule.
5564 ($(objpfx)stamp-pkgvers): Likewise.
5565 * manual/install.texi: Include pkgvers.texi.
5566 (--with-pkgversion): Document new configure option.
5567 (--with-bugurl): Likewise.
5568 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5569 than necessarily for this particular distribution. Use
5570 REPORT_BUGS_TO for where to report bugs.
5571 * INSTALL: Regenerated.
5572 * manual/libc.texinfo: Include pkgvers.texi.
5573 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5574 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5575 (print_version): Use PKGVERSION.
5576 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5577 (print_version): Use PKGVERSION.
5578 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5579 (print_version): Use PKGVERSION.
5580 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5581 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5582 macro.
5583 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5584 (print_version): Use PKGVERSION.
5585 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5586 (print_version): Use PKGVERSION.
5587 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5588 and PKGVERSION.
5589
5590 * timezone/checktab.awk: Update from tzcode 2012i.
5591 * timezone/ialloc.c: Likewise.
5592 * timezone/private.h: Likewise.
5593 * timezone/scheck.c: Likewise.
5594 * timezone/tzfile.h: Likewise.
5595 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5596 (TZVERSION): Hardcode tzcode version number.
5597 * timezone/zdump.c: Update from tzcode 2012i.
5598 * timezone/zic.c: Likewise.
5599 * timezone/version.h: New file.
5600 * timezone/README: Describe version.h. Update upstream location.
5601
5602 [BZ #14824]
5603 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5604 (mktemp): Enable declaration.
5605 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5606 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5607 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5608 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5609 Likewise.
5610 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5611 Likewise.
5612 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5613 Likewise.
5614 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5615 Likewise.
5616 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5617 Likewise.
5618 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5619 Likewise.
5620
5621 [BZ #14821]
5622 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5623 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5624 for copies of such integer values.
5625 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5626 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5627
5628 2012-11-09 Andreas Jaeger <aj@suse.de>
5629
5630 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5631 definitions and declarations that are provided by
5632 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5633
5634 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5635
5636 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5637 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5638 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5639 definition.
5640
5641 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5642
5643 * elf/elf.h: Update comment before AArch64 relocations.
5644
5645 2012-11-07 David S. Miller <davem@davemloft.net>
5646
5647 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5648 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5649 (__start_context): Declare.
5650 (__makecontext_ret): Delete.
5651 (__makecontext): Hook up __start_context instead of
5652 __makecontext_ret.
5653 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5654 (sysdep_routines): Add __start_context when in stdlib.
5655
5656 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5657
5658 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5659 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5660 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5661 hardcoded "nm".
5662 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5663 (READELF): New variable. Use it instead of hardcoded "readelf".
5664
5665 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5666
5667 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5668 * sysdeps/x86/Makefile: Here.
5669 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5670 * sysdeps/x86/tst-xmmymm.sh: This.
5671
5672 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5673
5674 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5675 expectations.
5676 [UNIX98] (pthread_barrier_t): Do not expect.
5677 [UNIX98] (pthread_barrierattr_t): Likewise.
5678 [UNIX98] (pthread_spinlock_t): Likewise.
5679 [UNIX98] (pthread_barrier_destroy): Likewise.
5680 [UNIX98] (pthread_barrier_init): Likewise.
5681 [UNIX98] (pthread_barrier_wait): Likewise.
5682 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5683 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5684 [UNIX98] (pthread_barrierattr_init): Likewise.
5685 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5686 [UNIX98] (pthread_getcpuclockid): Likewise.
5687 [UNIX98] (pthread_mutex_timedlock): Likewise.
5688 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5689 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5690 [UNIX98] (pthread_sigmask): Likewise.
5691 [UNIX98] (pthread_spin_destroy): Likewise.
5692 [UNIX98] (pthread_spin_init): Likewise.
5693 [UNIX98] (pthread_spin_lock): Likewise.
5694 [UNIX98] (pthread_spin_trylock): Likewise.
5695 [UNIX98] (pthread_spin_unlock): Likewise.
5696 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5697 Do not expect.
5698 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5699 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5700 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5701 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5702 [XPG3 || XPG4] (pthread_key_t): Likewise.
5703 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5704 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5705 [XPG3 || XPG4] (pthread_once_t): Likewise.
5706 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5707 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5708 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5709 [XPG3 || XPG4] (pthread_t): Likewise.
5710
5711 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5712 not expect.
5713 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5714
5715 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5716 Change function return type to int.
5717
5718 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5719 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5720 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5721 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5722 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5723 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5724 [!POSIX] (posix_madvise): Likewise.
5725 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5726 && !UNIX98].
5727 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5728 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5729 (mode_t): Likewise.
5730 (posix_mem_offset): Likewise.
5731 (posix_typed_mem_get_info): Likewise.
5732 (posix_typed_mem_open): Likewise.
5733
5734 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5735 Change condition to [XOPEN2K8].
5736
5737 * conform/conformtest.pl: Preprocess allow-header data with -x c
5738 instead of from stdin.
5739 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5740 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5741 [C99-based standards] (cerfc): Likewise.
5742 [C99-based standards] (cexp2): Likewise.
5743 [C99-based standards] (cexpm1): Likewise.
5744 [C99-based standards] (clog10): Likewise.
5745 [C99-based standards] (clog1p): Likewise.
5746 [C99-based standards] (clog2): Likewise.
5747 [C99-based standards] (clgamma): Likewise.
5748 [C99-based standards] (ctgamma): Likewise.
5749 [C99-based standards] (cerff): Likewise.
5750 [C99-based standards] (cerfcf): Likewise.
5751 [C99-based standards] (cexp2f): Likewise.
5752 [C99-based standards] (cexpm1f): Likewise.
5753 [C99-based standards] (clog10f): Likewise.
5754 [C99-based standards] (clog1pf): Likewise.
5755 [C99-based standards] (clog2f): Likewise.
5756 [C99-based standards] (clgammaf): Likewise.
5757 [C99-based standards] (ctgammaf): Likewise.
5758 [C99-based standards] (cerfl): Likewise.
5759 [C99-based standards] (cerfcl): Likewise.
5760 [C99-based standards] (cexp2l): Likewise.
5761 [C99-based standards] (cexpm1l): Likewise.
5762 [C99-based standards] (clog10l): Likewise.
5763 [C99-based standards] (clog1pl): Likewise.
5764 [C99-based standards] (clog2l): Likewise.
5765 [C99-based standards] (clgammal): Likewise.
5766 [C99-based standards] (ctgammal): Likewise.
5767 * conform/data/inttypes.h-data [C99-based standards]: Include
5768 stdint.h-data. Remove all expectations for stdint.h contents.
5769 [C99-based standards] (PRI*): Do not allow.
5770 [C99-based standards] (SCN*): Likewise.
5771 [C99-based standards] (*_t): Likewise.
5772 [C99-based-standards] (PRId8): Expect macro.
5773 [C99-based-standards] (PRIi8): Likewise.
5774 [C99-based-standards] (PRIo8): Likewise.
5775 [C99-based-standards] (PRIu8): Likewise.
5776 [C99-based-standards] (PRIx8): Likewise.
5777 [C99-based-standards] (PRIX8): Likewise.
5778 [C99-based-standards] (SCNd8): Likewise.
5779 [C99-based-standards] (SCNi8): Likewise.
5780 [C99-based-standards] (SCNo8): Likewise.
5781 [C99-based-standards] (SCNu8): Likewise.
5782 [C99-based-standards] (SCNx8): Likewise.
5783 [C99-based-standards] (PRIdLEAST8): Likewise.
5784 [C99-based-standards] (PRIiLEAST8): Likewise.
5785 [C99-based-standards] (PRIoLEAST8): Likewise.
5786 [C99-based-standards] (PRIuLEAST8): Likewise.
5787 [C99-based-standards] (PRIxLEAST8): Likewise.
5788 [C99-based-standards] (PRIXLEAST8): Likewise.
5789 [C99-based-standards] (SCNdLEAST8): Likewise.
5790 [C99-based-standards] (SCNiLEAST8): Likewise.
5791 [C99-based-standards] (SCNoLEAST8): Likewise.
5792 [C99-based-standards] (SCNuLEAST8): Likewise.
5793 [C99-based-standards] (SCNxLEAST8): Likewise.
5794 [C99-based-standards] (PRIdFAST8): Likewise.
5795 [C99-based-standards] (PRIiFAST8): Likewise.
5796 [C99-based-standards] (PRIoFAST8): Likewise.
5797 [C99-based-standards] (PRIuFAST8): Likewise.
5798 [C99-based-standards] (PRIxFAST8): Likewise.
5799 [C99-based-standards] (PRIXFAST8): Likewise.
5800 [C99-based-standards] (SCNdFAST8): Likewise.
5801 [C99-based-standards] (SCNiFAST8): Likewise.
5802 [C99-based-standards] (SCNoFAST8): Likewise.
5803 [C99-based-standards] (SCNuFAST8): Likewise.
5804 [C99-based-standards] (SCNxFAST8): Likewise.
5805 [C99-based-standards] (PRId16): Likewise.
5806 [C99-based-standards] (PRIi16): Likewise.
5807 [C99-based-standards] (PRIo16): Likewise.
5808 [C99-based-standards] (PRIu16): Likewise.
5809 [C99-based-standards] (PRIx16): Likewise.
5810 [C99-based-standards] (PRIX16): Likewise.
5811 [C99-based-standards] (SCNd16): Likewise.
5812 [C99-based-standards] (SCNi16): Likewise.
5813 [C99-based-standards] (SCNo16): Likewise.
5814 [C99-based-standards] (SCNu16): Likewise.
5815 [C99-based-standards] (SCNx16): Likewise.
5816 [C99-based-standards] (PRIdLEAST16): Likewise.
5817 [C99-based-standards] (PRIiLEAST16): Likewise.
5818 [C99-based-standards] (PRIoLEAST16): Likewise.
5819 [C99-based-standards] (PRIuLEAST16): Likewise.
5820 [C99-based-standards] (PRIxLEAST16): Likewise.
5821 [C99-based-standards] (PRIXLEAST16): Likewise.
5822 [C99-based-standards] (SCNdLEAST16): Likewise.
5823 [C99-based-standards] (SCNiLEAST16): Likewise.
5824 [C99-based-standards] (SCNoLEAST16): Likewise.
5825 [C99-based-standards] (SCNuLEAST16): Likewise.
5826 [C99-based-standards] (SCNxLEAST16): Likewise.
5827 [C99-based-standards] (PRIdFAST16): Likewise.
5828 [C99-based-standards] (PRIiFAST16): Likewise.
5829 [C99-based-standards] (PRIoFAST16): Likewise.
5830 [C99-based-standards] (PRIuFAST16): Likewise.
5831 [C99-based-standards] (PRIxFAST16): Likewise.
5832 [C99-based-standards] (PRIXFAST16): Likewise.
5833 [C99-based-standards] (SCNdFAST16): Likewise.
5834 [C99-based-standards] (SCNiFAST16): Likewise.
5835 [C99-based-standards] (SCNoFAST16): Likewise.
5836 [C99-based-standards] (SCNuFAST16): Likewise.
5837 [C99-based-standards] (SCNxFAST16): Likewise.
5838 [C99-based-standards] (PRId32): Likewise.
5839 [C99-based-standards] (PRIi32): Likewise.
5840 [C99-based-standards] (PRIo32): Likewise.
5841 [C99-based-standards] (PRIu32): Likewise.
5842 [C99-based-standards] (PRIx32): Likewise.
5843 [C99-based-standards] (PRIX32): Likewise.
5844 [C99-based-standards] (SCNd32): Likewise.
5845 [C99-based-standards] (SCNi32): Likewise.
5846 [C99-based-standards] (SCNo32): Likewise.
5847 [C99-based-standards] (SCNu32): Likewise.
5848 [C99-based-standards] (SCNx32): Likewise.
5849 [C99-based-standards] (PRIdLEAST32): Likewise.
5850 [C99-based-standards] (PRIiLEAST32): Likewise.
5851 [C99-based-standards] (PRIoLEAST32): Likewise.
5852 [C99-based-standards] (PRIuLEAST32): Likewise.
5853 [C99-based-standards] (PRIxLEAST32): Likewise.
5854 [C99-based-standards] (PRIXLEAST32): Likewise.
5855 [C99-based-standards] (SCNdLEAST32): Likewise.
5856 [C99-based-standards] (SCNiLEAST32): Likewise.
5857 [C99-based-standards] (SCNoLEAST32): Likewise.
5858 [C99-based-standards] (SCNuLEAST32): Likewise.
5859 [C99-based-standards] (SCNxLEAST32): Likewise.
5860 [C99-based-standards] (PRIdFAST32): Likewise.
5861 [C99-based-standards] (PRIiFAST32): Likewise.
5862 [C99-based-standards] (PRIoFAST32): Likewise.
5863 [C99-based-standards] (PRIuFAST32): Likewise.
5864 [C99-based-standards] (PRIxFAST32): Likewise.
5865 [C99-based-standards] (PRIXFAST32): Likewise.
5866 [C99-based-standards] (SCNdFAST32): Likewise.
5867 [C99-based-standards] (SCNiFAST32): Likewise.
5868 [C99-based-standards] (SCNoFAST32): Likewise.
5869 [C99-based-standards] (SCNuFAST32): Likewise.
5870 [C99-based-standards] (SCNxFAST32): Likewise.
5871 [C99-based-standards] (PRId64): Likewise.
5872 [C99-based-standards] (PRIi64): Likewise.
5873 [C99-based-standards] (PRIo64): Likewise.
5874 [C99-based-standards] (PRIu64): Likewise.
5875 [C99-based-standards] (PRIx64): Likewise.
5876 [C99-based-standards] (PRIX64): Likewise.
5877 [C99-based-standards] (SCNd64): Likewise.
5878 [C99-based-standards] (SCNi64): Likewise.
5879 [C99-based-standards] (SCNo64): Likewise.
5880 [C99-based-standards] (SCNu64): Likewise.
5881 [C99-based-standards] (SCNx64): Likewise.
5882 [C99-based-standards] (PRIdLEAST64): Likewise.
5883 [C99-based-standards] (PRIiLEAST64): Likewise.
5884 [C99-based-standards] (PRIoLEAST64): Likewise.
5885 [C99-based-standards] (PRIuLEAST64): Likewise.
5886 [C99-based-standards] (PRIxLEAST64): Likewise.
5887 [C99-based-standards] (PRIXLEAST64): Likewise.
5888 [C99-based-standards] (SCNdLEAST64): Likewise.
5889 [C99-based-standards] (SCNiLEAST64): Likewise.
5890 [C99-based-standards] (SCNoLEAST64): Likewise.
5891 [C99-based-standards] (SCNuLEAST64): Likewise.
5892 [C99-based-standards] (SCNxLEAST64): Likewise.
5893 [C99-based-standards] (PRIdFAST64): Likewise.
5894 [C99-based-standards] (PRIiFAST64): Likewise.
5895 [C99-based-standards] (PRIoFAST64): Likewise.
5896 [C99-based-standards] (PRIuFAST64): Likewise.
5897 [C99-based-standards] (PRIxFAST64): Likewise.
5898 [C99-based-standards] (PRIXFAST64): Likewise.
5899 [C99-based-standards] (SCNdFAST64): Likewise.
5900 [C99-based-standards] (SCNiFAST64): Likewise.
5901 [C99-based-standards] (SCNoFAST64): Likewise.
5902 [C99-based-standards] (SCNuFAST64): Likewise.
5903 [C99-based-standards] (SCNxFAST64): Likewise.
5904 [C99-based-standards] (PRIdMAX): Likewise.
5905 [C99-based-standards] (PRIiMAX): Likewise.
5906 [C99-based-standards] (PRIoMAX): Likewise.
5907 [C99-based-standards] (PRIuMAX): Likewise.
5908 [C99-based-standards] (PRIxMAX): Likewise.
5909 [C99-based-standards] (PRIXMAX): Likewise.
5910 [C99-based-standards] (SCNdMAX): Likewise.
5911 [C99-based-standards] (SCNiMAX): Likewise.
5912 [C99-based-standards] (SCNoMAX): Likewise.
5913 [C99-based-standards] (SCNuMAX): Likewise.
5914 [C99-based-standards] (SCNxMAX): Likewise.
5915 [C99-based-standards] (PRIdPTR): Likewise.
5916 [C99-based-standards] (PRIiPTR): Likewise.
5917 [C99-based-standards] (PRIoPTR): Likewise.
5918 [C99-based-standards] (PRIuPTR): Likewise.
5919 [C99-based-standards] (PRIxPTR): Likewise.
5920 [C99-based-standards] (PRIXPTR): Likewise.
5921 [C99-based-standards] (SCNdPTR): Likewise.
5922 [C99-based-standards] (SCNiPTR): Likewise.
5923 [C99-based-standards] (SCNoPTR): Likewise.
5924 [C99-based-standards] (SCNuPTR): Likewise.
5925 [C99-based-standards] (SCNxPTR): Likewise.
5926 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5927 allow.
5928 * conform/data/stdint.h-data: Update comments to clarify
5929 requirements.
5930 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5931 type.
5932 [C99-based standards] (INT8_MAX): Likewise.
5933 [C99-based standards] (INT16_MIN): Likewise.
5934 [C99-based standards] (INT16_MAX): Likewise.
5935 [C99-based standards] (INT32_MIN): Likewise.
5936 [C99-based standards] (INT32_MAX): Likewise.
5937 [C99-based standards] (INT64_MIN): Likewise.
5938 [C99-based standards] (INT64_MAX): Likewise.
5939 [C99-based standards] (UINT8_MAX): Likewise.
5940 [C99-based standards] (UINT16_MAX): Likewise.
5941 [C99-based standards] (UINT32_MAX): Likewise.
5942 [C99-based standards] (UINT64_MAX): Likewise.
5943 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5944 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5945 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5946 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5947 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5948 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5949 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5950 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5951 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5952 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5953 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5954 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5955 [C99-based standards] (INT_FAST8_MIN): Likewise.
5956 [C99-based standards] (INT_FAST8_MAX): Likewise.
5957 [C99-based standards] (INT_FAST16_MIN): Likewise.
5958 [C99-based standards] (INT_FAST16_MAX): Likewise.
5959 [C99-based standards] (INT_FAST32_MIN): Likewise.
5960 [C99-based standards] (INT_FAST32_MAX): Likewise.
5961 [C99-based standards] (INT_FAST64_MIN): Likewise.
5962 [C99-based standards] (INT_FAST64_MAX): Likewise.
5963 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5964 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5965 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5966 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5967 [C99-based standards] (INTPTR_MIN): Likewise.
5968 [C99-based standards] (INTPTR_MAX): Likewise.
5969 [C99-based standards] (UINTPTR_MAX): Likewise.
5970 [C99-based standards] (INTMAX_MIN): Likewise.
5971 [C99-based standards] (INTMAX_MAX): Likewise.
5972 [C99-based standards] (UINTMAX_MAX): Likewise.
5973 [C99-based standards] (PTRDIFF_MIN): Likewise.
5974 [C99-based standards] (PTRDIFF_MAX): Likewise.
5975 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5976 [C99-based standards] (SIZE_MAX): Likewise.
5977 [C99-based standards] (WCHAR_MAX): Likewise.
5978 [C99-based standards] (WINT_MAX): Likewise.
5979 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5980 constraint on value.
5981 [C99-based standards] (WCHAR_MIN): Likewise.
5982 [C99-based standards] (WINT_MIN): Likewise.
5983 [C99-based standards] (*_t): Allow.
5984 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5985 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5986 Include math.h-data and complex.h-data. Remove all expectations
5987 of math.h and complex.h contents.
5988 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5989 at end of line.
5990 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5991 (struct tm): Expect tag.
5992 [C99-based-standards] (wcstof): Expect function.
5993 [C99-based-standards] (wcstold): Likewise.
5994 [C99-based-standards] (wcstoll): Likewise.
5995 [C99-based-standards] (wcstoull): Likewise.
5996 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5997 macro-int-constant. Specify type.
5998 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5999 constraint on value.
6000 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6001 Specify type.
6002 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6003 Specify value.
6004 [ISO C standards]: Do not allow headers.
6005 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6006 wcs[abcdefghijklmnopqrstuvwxyz]*.
6007 [ISO C standards] (*_t): Do not allow.
6008 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6009 Expect function.
6010 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6011 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6012 Specify type.
6013 [ISO C standards]: Do not allow headers.
6014 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6015 is[abcdefghijklmnopqrstuvwxyz]*.
6016 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6017 to[abcdefghijklmnopqrstuvwxyz]*.
6018 [ISO C standards] (*_t): Do not allow.
6019 * conform/data/stdalign.h-data: New file.
6020 * conform/data/stdbool.h-data: Likewise.
6021 * conform/data/stdnoreturn.h-data: Likewise.
6022
6023 2012-11-07 Roland McGrath <roland@hack.frob.com>
6024
6025 [BZ #14815]
6026 * manual/filesys.texi (Directory Entries): Typo fix.
6027 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6028
6029 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6030
6031 * elf/elf.h (EM_AARCH64): New macro.
6032 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6033 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6034 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6035 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6036 (R_AARCH64_TLSDESC): Likewise.
6037 (NT_ARM_TLS): Likewise.
6038 (NT_ARM_HW_BREAK): Likewise.
6039 (NT_ARM_HW_WATCH): Likewise.
6040
6041 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6042
6043 [BZ #14811]
6044 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6045 (__ieee754_powl): Saturate nonzero exponents with absolute value
6046 below 0x1p-79 to +/- 0x1p-79.
6047 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6048 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6049 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6050 nonzero exponents with absolute value below 0x1p-32 to +/-
6051 0x1p-32.
6052 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6053 (__ieee754_powl): Saturate nonzero exponents with absolute value
6054 below 0x1p-79 to +/- 0x1p-79.
6055 * math/libm-test.inc (pow_test): Add more tests.
6056
6057 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6058
6059 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6060 _dl_s390_cap_flags with kernel. Increase string length.
6061 (_dl_s390_platforms): Add z196 and zEC12.
6062
6063 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6064
6065 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6066 Change XOPEN21K to XOPEN2K.
6067
6068 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6069
6070 * string/memmove.c: Use memcpy when possible.
6071
6072 2012-11-06 Andreas Jaeger <aj@suse.de>
6073
6074 * po/eo.po: Update from translation team.
6075
6076 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6077
6078 [BZ #14793]
6079 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6080 exponent and small x and y exponents, scale x or y up. Increase
6081 by 2 the exponent used in scaling up.
6082 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6084 * math/libm-test.inc (fma_test): Add more tests.
6085 (fma_test_towardzero): Likewise.
6086 (fma_test_downward): Likewise.
6087 (fma_test_upward): Likewise.
6088
6089 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6090
6091 [BZ #14805]
6092 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6093 fenv_t *.
6094
6095 [BZ #14801]
6096 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6097 namespace for names of struct fields.
6098 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6099 fenv_t fields.
6100 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6101 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6102
6103 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6104
6105 [BZ #3665]
6106 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6107
6108 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6109
6110 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6111 PTR_DEMANGLE.
6112
6113 [BZ #5246]
6114 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6115 PTR_DEMANGLE.
6116
6117 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6118
6119 [BZ #14797]
6120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6121 definitely overflow as x * y not x * y + z.
6122 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6123 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6124 * math/libm-test.inc (fma_test): Add more tests.
6125 (fma_test_towardzero): Likewise.
6126 (fma_test_downward): Likewise.
6127 (fma_test_upward): Likewise.
6128
6129 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6130
6131 [BZ #157]
6132
6133 * include/stub-tag.h: Remove file.
6134 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6135 '#include' of it.
6136 * manual/maint.texi (Porting): Don't reference it.
6137 * Makerules ($(objpfx)stubs): Likewise.
6138 * dirent/closedir.c: Don't include <stub-tag.h>.
6139 * dirent/dirfd.c: Likewise.
6140 * dirent/fdopendir.c: Likewise.
6141 * dirent/getdents.c: Likewise.
6142 * dirent/getdents64.c: Likewise.
6143 * dirent/opendir.c: Likewise.
6144 * dirent/readdir.c: Likewise.
6145 * dirent/readdir64.c: Likewise.
6146 * dirent/readdir64_r.c: Likewise.
6147 * dirent/readdir_r.c: Likewise.
6148 * dirent/rewinddir.c: Likewise.
6149 * dirent/seekdir.c: Likewise.
6150 * dirent/telldir.c: Likewise.
6151 * gmon/profil.c: Likewise.
6152 * grp/setgroups.c: Likewise.
6153 * inet/if_index.c: Likewise.
6154 * io/access.c: Likewise.
6155 * io/chdir.c: Likewise.
6156 * io/chmod.c: Likewise.
6157 * io/chown.c: Likewise.
6158 * io/close.c: Likewise.
6159 * io/dup.c: Likewise.
6160 * io/dup2.c: Likewise.
6161 * io/dup3.c: Likewise.
6162 * io/euidaccess.c: Likewise.
6163 * io/faccessat.c: Likewise.
6164 * io/fchdir.c: Likewise.
6165 * io/fchmod.c: Likewise.
6166 * io/fchmodat.c: Likewise.
6167 * io/fchown.c: Likewise.
6168 * io/fchownat.c: Likewise.
6169 * io/fcntl.c: Likewise.
6170 * io/flock.c: Likewise.
6171 * io/fstatfs.c: Likewise.
6172 * io/fstatfs64.c: Likewise.
6173 * io/fstatvfs.c: Likewise.
6174 * io/fstatvfs64.c: Likewise.
6175 * io/futimens.c: Likewise.
6176 * io/fxstat.c: Likewise.
6177 * io/fxstat64.c: Likewise.
6178 * io/fxstatat.c: Likewise.
6179 * io/fxstatat64.c: Likewise.
6180 * io/getcwd.c: Likewise.
6181 * io/isatty.c: Likewise.
6182 * io/lchmod.c: Likewise.
6183 * io/lchown.c: Likewise.
6184 * io/link.c: Likewise.
6185 * io/linkat.c: Likewise.
6186 * io/lseek.c: Likewise.
6187 * io/lseek64.c: Likewise.
6188 * io/lxstat64.c: Likewise.
6189 * io/mkdir.c: Likewise.
6190 * io/mkdirat.c: Likewise.
6191 * io/mkfifo.c: Likewise.
6192 * io/mkfifoat.c: Likewise.
6193 * io/open.c: Likewise.
6194 * io/open64.c: Likewise.
6195 * io/openat.c: Likewise.
6196 * io/openat64.c: Likewise.
6197 * io/pipe.c: Likewise.
6198 * io/pipe2.c: Likewise.
6199 * io/poll.c: Likewise.
6200 * io/posix_fadvise.c: Likewise.
6201 * io/posix_fadvise64.c: Likewise.
6202 * io/posix_fallocate.c: Likewise.
6203 * io/posix_fallocate64.c: Likewise.
6204 * io/read.c: Likewise.
6205 * io/readlink.c: Likewise.
6206 * io/readlinkat.c: Likewise.
6207 * io/rmdir.c: Likewise.
6208 * io/sendfile.c: Likewise.
6209 * io/sendfile64.c: Likewise.
6210 * io/statfs.c: Likewise.
6211 * io/statfs64.c: Likewise.
6212 * io/statvfs.c: Likewise.
6213 * io/statvfs64.c: Likewise.
6214 * io/symlink.c: Likewise.
6215 * io/symlinkat.c: Likewise.
6216 * io/ttyname.c: Likewise.
6217 * io/ttyname_r.c: Likewise.
6218 * io/umask.c: Likewise.
6219 * io/unlink.c: Likewise.
6220 * io/unlinkat.c: Likewise.
6221 * io/utime.c: Likewise.
6222 * io/utimensat.c: Likewise.
6223 * io/write.c: Likewise.
6224 * io/xmknod.c: Likewise.
6225 * io/xmknodat.c: Likewise.
6226 * io/xstat.c: Likewise.
6227 * io/xstat64.c: Likewise.
6228 * login/getpt.c: Likewise.
6229 * login/grantpt.c: Likewise.
6230 * login/unlockpt.c: Likewise.
6231 * math/e_acoshl.c: Likewise.
6232 * math/e_acosl.c: Likewise.
6233 * math/e_asinl.c: Likewise.
6234 * math/e_atan2l.c: Likewise.
6235 * math/e_atanhl.c: Likewise.
6236 * math/e_coshl.c: Likewise.
6237 * math/e_expl.c: Likewise.
6238 * math/e_fmodl.c: Likewise.
6239 * math/e_gammal_r.c: Likewise.
6240 * math/e_hypotl.c: Likewise.
6241 * math/e_j0l.c: Likewise.
6242 * math/e_j1l.c: Likewise.
6243 * math/e_jnl.c: Likewise.
6244 * math/e_lgammal_r.c: Likewise.
6245 * math/e_log10l.c: Likewise.
6246 * math/e_log2l.c: Likewise.
6247 * math/e_logl.c: Likewise.
6248 * math/e_powl.c: Likewise.
6249 * math/e_rem_pio2l.c: Likewise.
6250 * math/e_sinhl.c: Likewise.
6251 * math/e_sqrtl.c: Likewise.
6252 * math/fclrexcpt.c: Likewise.
6253 * math/fedisblxcpt.c: Likewise.
6254 * math/feenablxcpt.c: Likewise.
6255 * math/fegetenv.c: Likewise.
6256 * math/fegetexcept.c: Likewise.
6257 * math/fegetround.c: Likewise.
6258 * math/feholdexcpt.c: Likewise.
6259 * math/fesetenv.c: Likewise.
6260 * math/fesetround.c: Likewise.
6261 * math/feupdateenv.c: Likewise.
6262 * math/fgetexcptflg.c: Likewise.
6263 * math/fraiseexcpt.c: Likewise.
6264 * math/fsetexcptflg.c: Likewise.
6265 * math/ftestexcept.c: Likewise.
6266 * math/k_cosl.c: Likewise.
6267 * math/k_rem_pio2l.c: Likewise.
6268 * math/k_sinl.c: Likewise.
6269 * math/k_tanl.c: Likewise.
6270 * math/s_asinhl.c: Likewise.
6271 * math/s_atanl.c: Likewise.
6272 * math/s_cbrtl.c: Likewise.
6273 * math/s_erfl.c: Likewise.
6274 * math/s_expm1l.c: Likewise.
6275 * math/s_log1pl.c: Likewise.
6276 * math/s_tanhl.c: Likewise.
6277 * misc/acct.c: Likewise.
6278 * misc/brk.c: Likewise.
6279 * misc/chflags.c: Likewise.
6280 * misc/chroot.c: Likewise.
6281 * misc/fchflags.c: Likewise.
6282 * misc/fgetxattr.c: Likewise.
6283 * misc/flistxattr.c: Likewise.
6284 * misc/fremovexattr.c: Likewise.
6285 * misc/fsetxattr.c: Likewise.
6286 * misc/fsync.c: Likewise.
6287 * misc/ftruncate.c: Likewise.
6288 * misc/futimes.c: Likewise.
6289 * misc/futimesat.c: Likewise.
6290 * misc/getdomain.c: Likewise.
6291 * misc/getdtsz.c: Likewise.
6292 * misc/gethostid.c: Likewise.
6293 * misc/gethostname.c: Likewise.
6294 * misc/getloadavg.c: Likewise.
6295 * misc/getpagesize.c: Likewise.
6296 * misc/getsysstats.c: Likewise.
6297 * misc/getxattr.c: Likewise.
6298 * misc/gtty.c: Likewise.
6299 * misc/ioctl.c: Likewise.
6300 * misc/lgetxattr.c: Likewise.
6301 * misc/listxattr.c: Likewise.
6302 * misc/llistxattr.c: Likewise.
6303 * misc/lremovexattr.c: Likewise.
6304 * misc/lsetxattr.c: Likewise.
6305 * misc/lutimes.c: Likewise.
6306 * misc/madvise.c: Likewise.
6307 * misc/mincore.c: Likewise.
6308 * misc/mlock.c: Likewise.
6309 * misc/mlockall.c: Likewise.
6310 * misc/mmap.c: Likewise.
6311 * misc/mprotect.c: Likewise.
6312 * misc/msync.c: Likewise.
6313 * misc/munlock.c: Likewise.
6314 * misc/munlockall.c: Likewise.
6315 * misc/munmap.c: Likewise.
6316 * misc/preadv.c: Likewise.
6317 * misc/preadv64.c: Likewise.
6318 * misc/ptrace.c: Likewise.
6319 * misc/pwritev.c: Likewise.
6320 * misc/pwritev64.c: Likewise.
6321 * misc/readv.c: Likewise.
6322 * misc/reboot.c: Likewise.
6323 * misc/remap_file_pages.c: Likewise.
6324 * misc/removexattr.c: Likewise.
6325 * misc/revoke.c: Likewise.
6326 * misc/select.c: Likewise.
6327 * misc/setdomain.c: Likewise.
6328 * misc/setegid.c: Likewise.
6329 * misc/seteuid.c: Likewise.
6330 * misc/sethostid.c: Likewise.
6331 * misc/sethostname.c: Likewise.
6332 * misc/setregid.c: Likewise.
6333 * misc/setreuid.c: Likewise.
6334 * misc/setxattr.c: Likewise.
6335 * misc/sstk.c: Likewise.
6336 * misc/stty.c: Likewise.
6337 * misc/swapoff.c: Likewise.
6338 * misc/swapon.c: Likewise.
6339 * misc/sync.c: Likewise.
6340 * misc/syncfs.c: Likewise.
6341 * misc/syscall.c: Likewise.
6342 * misc/truncate.c: Likewise.
6343 * misc/ualarm.c: Likewise.
6344 * misc/usleep.c: Likewise.
6345 * misc/ustat.c: Likewise.
6346 * misc/utimes.c: Likewise.
6347 * misc/vhangup.c: Likewise.
6348 * misc/writev.c: Likewise.
6349 * posix/_exit.c: Likewise.
6350 * posix/alarm.c: Likewise.
6351 * posix/execve.c: Likewise.
6352 * posix/fexecve.c: Likewise.
6353 * posix/fork.c: Likewise.
6354 * posix/fpathconf.c: Likewise.
6355 * posix/getaddrinfo.c: Likewise.
6356 * posix/getegid.c: Likewise.
6357 * posix/geteuid.c: Likewise.
6358 * posix/getgid.c: Likewise.
6359 * posix/getgroups.c: Likewise.
6360 * posix/getlogin.c: Likewise.
6361 * posix/getlogin_r.c: Likewise.
6362 * posix/getpgid.c: Likewise.
6363 * posix/getpid.c: Likewise.
6364 * posix/getppid.c: Likewise.
6365 * posix/getresgid.c: Likewise.
6366 * posix/getresuid.c: Likewise.
6367 * posix/getsid.c: Likewise.
6368 * posix/getuid.c: Likewise.
6369 * posix/glob64.c: Likewise.
6370 * posix/nanosleep.c: Likewise.
6371 * posix/pathconf.c: Likewise.
6372 * posix/pause.c: Likewise.
6373 * posix/posix_madvise.c: Likewise.
6374 * posix/pread.c: Likewise.
6375 * posix/pread64.c: Likewise.
6376 * posix/pwrite.c: Likewise.
6377 * posix/pwrite64.c: Likewise.
6378 * posix/sched_getaffinity.c: Likewise.
6379 * posix/sched_getp.c: Likewise.
6380 * posix/sched_gets.c: Likewise.
6381 * posix/sched_primax.c: Likewise.
6382 * posix/sched_primin.c: Likewise.
6383 * posix/sched_rr_gi.c: Likewise.
6384 * posix/sched_setaffinity.c: Likewise.
6385 * posix/sched_setp.c: Likewise.
6386 * posix/sched_sets.c: Likewise.
6387 * posix/sched_yield.c: Likewise.
6388 * posix/setgid.c: Likewise.
6389 * posix/setlogin.c: Likewise.
6390 * posix/setpgid.c: Likewise.
6391 * posix/setresgid.c: Likewise.
6392 * posix/setresuid.c: Likewise.
6393 * posix/setsid.c: Likewise.
6394 * posix/setuid.c: Likewise.
6395 * posix/sleep.c: Likewise.
6396 * posix/spawni.c: Likewise.
6397 * posix/sysconf.c: Likewise.
6398 * posix/times.c: Likewise.
6399 * posix/wait.c: Likewise.
6400 * posix/wait3.c: Likewise.
6401 * posix/wait4.c: Likewise.
6402 * posix/waitpid.c: Likewise.
6403 * resolv/gai_sigqueue.c: Likewise.
6404 * resource/getpriority.c: Likewise.
6405 * resource/getrlimit.c: Likewise.
6406 * resource/getrusage.c: Likewise.
6407 * resource/nice.c: Likewise.
6408 * resource/setpriority.c: Likewise.
6409 * resource/setrlimit.c: Likewise.
6410 * resource/ulimit.c: Likewise.
6411 * rt/aio_cancel.c: Likewise.
6412 * rt/aio_fsync.c: Likewise.
6413 * rt/aio_read.c: Likewise.
6414 * rt/aio_sigqueue.c: Likewise.
6415 * rt/aio_suspend.c: Likewise.
6416 * rt/aio_write.c: Likewise.
6417 * rt/clock_getres.c: Likewise.
6418 * rt/clock_gettime.c: Likewise.
6419 * rt/clock_nanosleep.c: Likewise.
6420 * rt/clock_settime.c: Likewise.
6421 * rt/lio_listio.c: Likewise.
6422 * rt/mq_close.c: Likewise.
6423 * rt/mq_getattr.c: Likewise.
6424 * rt/mq_notify.c: Likewise.
6425 * rt/mq_open.c: Likewise.
6426 * rt/mq_receive.c: Likewise.
6427 * rt/mq_send.c: Likewise.
6428 * rt/mq_setattr.c: Likewise.
6429 * rt/mq_timedreceive.c: Likewise.
6430 * rt/mq_timedsend.c: Likewise.
6431 * rt/mq_unlink.c: Likewise.
6432 * rt/shm_open.c: Likewise.
6433 * rt/shm_unlink.c: Likewise.
6434 * rt/timer_create.c: Likewise.
6435 * rt/timer_delete.c: Likewise.
6436 * rt/timer_getoverr.c: Likewise.
6437 * rt/timer_gettime.c: Likewise.
6438 * rt/timer_settime.c: Likewise.
6439 * setjmp/__longjmp.c: Likewise.
6440 * setjmp/setjmp.c: Likewise.
6441 * signal/kill.c: Likewise.
6442 * signal/killpg.c: Likewise.
6443 * signal/raise.c: Likewise.
6444 * signal/sigaction.c: Likewise.
6445 * signal/sigaltstack.c: Likewise.
6446 * signal/sigblock.c: Likewise.
6447 * signal/sigignore.c: Likewise.
6448 * signal/sigintr.c: Likewise.
6449 * signal/signal.c: Likewise.
6450 * signal/sigpause.c: Likewise.
6451 * signal/sigpending.c: Likewise.
6452 * signal/sigqueue.c: Likewise.
6453 * signal/sigreturn.c: Likewise.
6454 * signal/sigset.c: Likewise.
6455 * signal/sigsetmask.c: Likewise.
6456 * signal/sigstack.c: Likewise.
6457 * signal/sigsuspend.c: Likewise.
6458 * signal/sigtimedwait.c: Likewise.
6459 * signal/sigvec.c: Likewise.
6460 * signal/sigwait.c: Likewise.
6461 * signal/sigwaitinfo.c: Likewise.
6462 * signal/sysv_signal.c: Likewise.
6463 * socket/accept.c: Likewise.
6464 * socket/accept4.c: Likewise.
6465 * socket/bind.c: Likewise.
6466 * socket/connect.c: Likewise.
6467 * socket/getpeername.c: Likewise.
6468 * socket/getsockname.c: Likewise.
6469 * socket/getsockopt.c: Likewise.
6470 * socket/isfdtype.c: Likewise.
6471 * socket/listen.c: Likewise.
6472 * socket/recv.c: Likewise.
6473 * socket/recvfrom.c: Likewise.
6474 * socket/recvmsg.c: Likewise.
6475 * socket/send.c: Likewise.
6476 * socket/sendmsg.c: Likewise.
6477 * socket/sendto.c: Likewise.
6478 * socket/setsockopt.c: Likewise.
6479 * socket/shutdown.c: Likewise.
6480 * socket/sockatmark.c: Likewise.
6481 * socket/socket.c: Likewise.
6482 * socket/socketpair.c: Likewise.
6483 * stdio-common/ctermid.c: Likewise.
6484 * stdio-common/cuserid.c: Likewise.
6485 * stdio-common/remove.c: Likewise.
6486 * stdio-common/rename.c: Likewise.
6487 * stdio-common/renameat.c: Likewise.
6488 * stdio-common/tempname.c: Likewise.
6489 * stdlib/getcontext.c: Likewise.
6490 * stdlib/makecontext.c: Likewise.
6491 * stdlib/setcontext.c: Likewise.
6492 * stdlib/swapcontext.c: Likewise.
6493 * stdlib/system.c: Likewise.
6494 * streams/fattach.c: Likewise.
6495 * streams/fdetach.c: Likewise.
6496 * streams/getmsg.c: Likewise.
6497 * streams/getpmsg.c: Likewise.
6498 * streams/putmsg.c: Likewise.
6499 * streams/putpmsg.c: Likewise.
6500 * sysdeps/unix/bsd/getpt.c: Likewise.
6501 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6502 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6503 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6505 Likewise.
6506 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6507 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6508 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6509 * sysvipc/msgctl.c: Likewise.
6510 * sysvipc/msgget.c: Likewise.
6511 * sysvipc/msgrcv.c: Likewise.
6512 * sysvipc/msgsnd.c: Likewise.
6513 * sysvipc/semctl.c: Likewise.
6514 * sysvipc/semget.c: Likewise.
6515 * sysvipc/semop.c: Likewise.
6516 * sysvipc/semtimedop.c: Likewise.
6517 * sysvipc/shmat.c: Likewise.
6518 * sysvipc/shmctl.c: Likewise.
6519 * sysvipc/shmdt.c: Likewise.
6520 * sysvipc/shmget.c: Likewise.
6521 * termios/tcdrain.c: Likewise.
6522 * termios/tcflow.c: Likewise.
6523 * termios/tcflush.c: Likewise.
6524 * termios/tcgetattr.c: Likewise.
6525 * termios/tcgetpgrp.c: Likewise.
6526 * termios/tcsendbrk.c: Likewise.
6527 * termios/tcsetattr.c: Likewise.
6528 * termios/tcsetpgrp.c: Likewise.
6529 * time/adjtime.c: Likewise.
6530 * time/clock.c: Likewise.
6531 * time/getitimer.c: Likewise.
6532 * time/gettimeofday.c: Likewise.
6533 * time/setitimer.c: Likewise.
6534 * time/settimeofday.c: Likewise.
6535 * time/stime.c: Likewise.
6536 * time/time.c: Likewise.
6537
6538 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
6539
6540 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6541 /usr/old/bin.
6542
6543 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6544 instead of spaces.
6545 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6546
6547 2012-11-03 Joseph Myers <joseph@codesourcery.com>
6548
6549 [BZ #14796]
6550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6551 FE_TONEAREST before applying Dekker multiplication and Knuth
6552 addition. Clear inexact exceptions and check for exact zero
6553 results afterwards.
6554 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6555 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6556 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6557 * math/libm-test.inc (fma_test): Add more tests.
6558 (fma_test_towardzero): Likewise.
6559 (fma_test_downward): Likewise.
6560 (fma_test_upward): Likewise.
6561 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6562 function.
6563 (libc_fesetround): New macro.
6564 (libc_fesetroundf): Likewise.
6565 (libc_fesetroundl): Likewise.
6566 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6567 function.
6568 (libc_fesetround_387): Likewise.
6569 (libc_fesetroundf): New macro.
6570 (libc_fesetround): Likewise.
6571 (libc_fesetroundl): Likewise.
6572 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6573 function.
6574 (libc_fesetroundf): New macro.
6575 (libc_fesetround): Likewise.
6576 (libc_fesetroundl): Likewise.
6577 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6578 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6579 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6580 libm_hidden_ver.
6581 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6582 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6583 libm_hidden_def.
6584 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6585 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6586 libm_hidden_ver.
6587 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6588 libm_hidden_def.
6589
6590 [BZ #3439]
6591 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6592 integer constant usable in #if and use that to give value to enum
6593 constant.
6594 (FE_DIVBYZERO): Likewise.
6595 (FE_UNDERFLOW): Likewise.
6596 (FE_OVERFLOW): Likewise.
6597 (FE_INVALID): Likewise.
6598 (FE_INVALID_SNAN): Likewise.
6599 (FE_INVALID_ISI): Likewise.
6600 (FE_INVALID_IDI): Likewise.
6601 (FE_INVALID_ZDZ): Likewise.
6602 (FE_INVALID_IMZ): Likewise.
6603 (FE_INVALID_COMPARE): Likewise.
6604 (FE_INVALID_SOFTWARE): Likewise.
6605 (FE_INVALID_SQRT): Likewise.
6606 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6607 (FE_TONEAREST): Likewise.
6608 (FE_TOWARDZERO): Likewise.
6609 (FE_UPWARD): Likewise.
6610 (FE_DOWNWARD): Likewise.
6611 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6612 (FE_DIVBYZERO): Likewise.
6613 (FE_OVERFLOW): Likewise.
6614 (FE_UNDERFLOW): Likewise.
6615 (FE_INEXACT): Likewise.
6616 (FE_TONEAREST): Likewise.
6617 (FE_DOWNWARD): Likewise.
6618 (FE_UPWARD): Likewise.
6619 (FE_TOWARDZERO): Likewise.
6620 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6621 (FE_UNDERFLOW): Likewise.
6622 (FE_OVERFLOW): Likewise.
6623 (FE_DIVBYZERO): Likewise.
6624 (FE_INVALID): Likewise.
6625 (FE_TONEAREST): Likewise.
6626 (FE_TOWARDZERO): Likewise.
6627 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6628 (FE_OVERFLOW): Likewise.
6629 (FE_UNDERFLOW): Likewise.
6630 (FE_DIVBYZERO): Likewise.
6631 (FE_INEXACT): Likewise.
6632 (FE_TONEAREST): Likewise.
6633 (FE_TOWARDZERO): Likewise.
6634 (FE_UPWARD): Likewise.
6635 (FE_DOWNWARD): Likewise.
6636 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6637 (FE_DIVBYZERO): Likewise.
6638 (FE_OVERFLOW): Likewise.
6639 (FE_UNDERFLOW): Likewise.
6640 (FE_INEXACT): Likewise.
6641 (FE_TONEAREST): Likewise.
6642 (FE_DOWNWARD): Likewise.
6643 (FE_UPWARD): Likewise.
6644 (FE_TOWARDZERO): Likewise.
6645
6646 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6647
6648 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6649
6650 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6651
6652 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6653 commands. Quote $PWD.
6654 (blacklist_exports): Don't use remove_newlines. Replace "declare
6655 -x" by "export".
6656 (remove_newlines): Remove.
6657
6658 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6659
6660 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6661 * stdlib/stdlib.h (atof): Moved to ...
6662 * include/bits/stdlib-float.h: Here. New file.
6663 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6664 * stdlib/bits/stdlib-float.h: New file.
6665 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6666 -mno-sse -mno-mmx.
6667 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6668 <xmmintrin.h>.
6669
6670 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6671
6672 * conform/conformtest.pl (@headers): Add fenv.h.
6673 * conform/data/fenv.h-data: New file.
6674 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6675 include of <math/fenv.h>.
6676
6677 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6678 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6679 && !UNIX98]. Enables tests for XOPEN2K8.
6680 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6681 POSIX2008]: Likewise.
6682
6683 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6684 (struct rusage): Do not expect type or its members.
6685
6686 [BZ #3439]
6687 * math/math.h (FP_NAN): Define macro to integer constant usable in
6688 #if and use that to give value to enum constant.
6689 (FP_INFINITE): Likewise.
6690 (FP_ZERO): Likewise.
6691 (FP_SUBNORMAL): Likewise.
6692 (FP_NORMAL): Likewise.
6693
6694 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6695
6696 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6697 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6698 arguments.
6699
6700 2012-11-02 Roland McGrath <roland@hack.frob.com>
6701
6702 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6703 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6704 autoconf-time if not.
6705 * configure.in: Remove AC_PREREQ.
6706
6707 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6708
6709 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6710 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6711 of the internal implementation.
6712
6713 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6714
6715 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6716 except include of <misc/sys/syslog.h>.
6717
6718 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6719
6720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6721 function returns with a NULL context exit with zero.
6722
6723 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6724
6725 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6726
6727 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6728
6729 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6730 (run_program_cmd): This.
6731 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6732 (tst_langinfo): New variable. Use it.
6733
6734 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6735
6736 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6737 floating point opcodes.
6738
6739 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6740
6741 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6742 variable.
6743
6744 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6745
6746 * sysdeps/mach/hurd/powerpc: Remove directory.
6747 * sysdeps/mach/powerpc: Likewise.
6748
6749 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6750
6751 * scripts/check-local-headers.sh: Ignore c++ headers.
6752
6753 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6754
6755 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6756 __libc_cleanup_region_start argument.
6757
6758 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6759
6760 [BZ #14784]
6761 [BZ #14785]
6762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6763 x * y using scaling, not as x * y + z.
6764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6765 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6766 * math/libm-test.inc (fma_test): Add more tests.
6767 (fma_test_towardzero): Likewise.
6768 (fma_test_downward): Likewise.
6769 (fma_test_upward): Likewise.
6770
6771 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6772
6773 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6774
6775 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6776
6777 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6778 New variable.
6779
6780 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6781
6782 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6783
6784 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6785
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6787 Fix sort order.
6788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6789 Likewise.
6790
6791 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6792
6793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6794 Fix the order of the list for glibc 2.17.
6795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6796 Likewise.
6797
6798 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6799
6800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6801
6802 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6803
6804 [BZ #14610]
6805 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6806 for low part of x being zero before using __atanl (y).
6807 * math/libm-test.inc (atan2_test): Add another test.
6808
6809 * manual/install.texi (Configuring and compiling): Document
6810 general use of test-wrapper and test-wrapper-env.
6811 * INSTALL: Regenerated.
6812
6813 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6814 (__fma): Do not extract and scale down low bits on after-rounding
6815 systems when result rounded to normal precision would have normal
6816 exponent.
6817 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6818 (__fmal): Do not extract and scale down low bits on after-rounding
6819 systems when result rounded to normal precision would have normal
6820 exponent.
6821 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6822 (__fmal): Do not extract and scale down low bits on after-rounding
6823 systems when result rounded to normal precision would have normal
6824 exponent.
6825 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6826 macro.
6827 (fma_test): Add more tests.
6828 (fma_test_towardzero): Likewise.
6829 (fma_test_downward): Likewise.
6830 (fma_test_upward): Likewise.
6831
6832 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6833
6834 * sysdeps/i386/tininess.h: Renamed to ...
6835 * sysdeps/x86/tininess.h: This.
6836 * sysdeps/x86_64/tininess.h: Removed.
6837
6838 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6839
6840 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6841 input. Use $(build-program-cmd).
6842 ($(objpfx)tst-array1-static.out): Likewise.
6843 ($(objpfx)tst-array2.out): Likewise.
6844 ($(objpfx)tst-array3.out): Likewise.
6845 ($(objpfx)tst-array4.out): Likewise.
6846 ($(objpfx)tst-array5.out): Likewise.
6847 ($(objpfx)tst-array5-static.out): Likewise.
6848
6849 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6850
6851 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6852 if defined.
6853
6854 * nss/nsswitch.h (nss_interface_function): Provide new
6855 macro for use with NSS functions.
6856 * grp/initgroups.c: Use new macro.
6857 * nss/getXXbyYY.c: Likewise.
6858 * nss/getXXbyYY_r.c: Likewise.
6859 * nss/getXXent.c: Likewise.
6860 * nss/getXXent_r.c: Likewise.
6861 * sysdeps/posix/getaddrinfo.c: Likewise.
6862
6863 2012-10-30 Andreas Jaeger <aj@suse.de>
6864
6865 * po/ru.po: Update Russion translation from translation project.
6866
6867 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6868
6869 [BZ #14152]
6870 [BZ #14783]
6871 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6872 result and shift together with sticky bit instead of replicating
6873 round-to-nearest rounding.
6874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6875 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6876 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6877 missing underflow exceptions.
6878 (fma_test_towardzero): Add more tests.
6879 (fma_test_downward): Likewise.
6880 (fma_test_upward): Likewise.
6881
6882 [BZ #14047]
6883 * sysdeps/generic/tininess.h: New file.
6884 * sysdeps/i386/tininess.h: Likewise.
6885 * sysdeps/sh/tininess.h: Likewise.
6886 * sysdeps/x86_64/tininess.h: Likewise.
6887 * stdlib/tst-strtod-underflow.c: Likewise.
6888 * stdlib/tst-tininess.c: Likewise.
6889 * stdlib/strtod_l.c: Include <tininess.h>.
6890 (round_and_return): Do not set errno for exact underflow cases.
6891 Force an underflow exception when setting errno for underflow.
6892 Determine underflow based on rounding to normal precision if
6893 TININESS_AFTER_ROUNDING.
6894 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6895 ERANGE for exact underflow cases.
6896 * stdlib/Makefile (tests): Add tst-tininess and
6897 tst-strtod-underflow.
6898 ($(objpfx)tst-tininess): Use $(link-libm).
6899 ($(objpfx)tst-strtod-underflow): Likewise.
6900
6901 2012-10-30 Andreas Jaeger <aj@suse.de>
6902
6903 [BZ#14767]
6904 * elf/Makefile (tests): Remove conditional for have-initfini-array
6905 since this is now always required and the variable does not exist
6906 anymore.
6907 (tests-static): Likewise.
6908 (modules-names): Likewise.
6909
6910 * po/eo.po: Add Esperanto translation from translation project.
6911
6912 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6913 merged with constructor/destructor.
6914 (init_array): Likewise.
6915 * elf/tst-array2dep.c (fini_array): Likewise.
6916 (init_array): Likewise.
6917
6918 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6919
6920 * manual/message.texi: Delete @cartouche tags.
6921
6922 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6923
6924 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6925 EOPNOTSUPP.
6926 * sysdeps/mach/hurd/fsync.c: Likewise.
6927
6928 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6929 [_POSIX_REALTIME_SIGNALS]: Change condition to
6930 [_POSIX_REALTIME_SIGNALS > 0].
6931
6932 2012-10-27 Andreas Jaeger <aj@suse.de>
6933
6934 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6935 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6936 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6937 [__WORDSIZE != 64]: Likewise.
6938
6939 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6940
6941 * iconvdata/tst-table.sh: Remove ${SHELL}.
6942 * iconvdata/tst-tables.sh: Likewise.
6943
6944 2012-10-25 David S. Miller <davem@davemloft.net>
6945
6946 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6947 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6948 of strtoull.
6949
6950 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6951 ifunc-impl-list.c
6952 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6953 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6954 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6955 file.
6956
6957 2012-10-25 Roland McGrath <roland@hack.frob.com>
6958
6959 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6960 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6961 __getdirentries.
6962
6963 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6964 Jim Blandy <jimb@codesourcery.com>
6965
6966 * scripts/cross-test-ssh.sh: New file.
6967 * manual/install.texi (Configuring and compiling): Document use of
6968 cross-test-ssh.sh.
6969 * INSTALL: Regenerated.
6970
6971 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6972
6973 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6974 EOPNOTSUPP.
6975
6976 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6977
6978 * Makeconfig (run-program-prefix): Fix comment.
6979
6980 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6981 Jim Blandy <jimb@codesourcery.com>
6982
6983 * Makeconfig (test-wrapper): New variable,
6984 (test-wrapper-env): Likewise.
6985 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6986 (run-built-tests): Define to yes.
6987 (run-program-prefix): Use $(test-wrapper).
6988 (built-program-cmd): Likewise.
6989 * Rules (make-test-out): Use $(test-wrapper-env) and
6990 $(host-built-program-cmd).
6991 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6992 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6993 tst-pathopt.sh.
6994 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6995 $(test-wrapper-env) to tst-rtld-load-self.sh.
6996 ($(objpfx)order2.out): Use $(test-wrapper).
6997 ($(objpfx)tst-initorder.out): Likewise.
6998 ($(objpfx)tst-initorder2.out): Likewise.
6999 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7000 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7001 (test_wrapper_env): New variable. Use it to run ld.so.
7002 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7003 Use it to run ld.so.
7004 (test_wrapper_env): Likewise.
7005 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7006 $(test-wrapper) to run-iconv-test.sh.
7007 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7008 (ICONV): Use $test_wrapper.
7009 * posix/Makefile ($(objpfx)globtest.out): Pass
7010 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7011 globtest.sh, not $(run-program-prefix).
7012 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7013 (test_wrapper): Likewise.
7014 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7015 set together with run_via_rtld_prefix.
7016 (run_program_prefix): Define in terms of test_wrapper and
7017 run_via_rtld_prefix.
7018
7019 2012-10-24 Roland McGrath <roland@hack.frob.com>
7020
7021 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7022 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7023 Targets removed.
7024
7025 [BZ #14743]
7026 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7027 Declare __clock_getres, __clock_gettime, __clock_settime,
7028 __clock_nanosleep, and __clock_getcpuclockid.
7029 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7030 Remove librt_hidden_def (clock_gettime).
7031 * sysdeps/unix/clock_gettime.c: Likewise.
7032 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7033 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7034 * rt/clock_getres.c: Define __clock_getres as an alias.
7035 * sysdeps/posix/clock_getres.c: Likewise.
7036 * rt/clock_settime.c: Define __clock_settime as an alias.
7037 * sysdeps/unix/clock_settime.c: Likewise.
7038 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7039 * sysdeps/unix/clock_nanosleep.c: Likewise.
7040 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7041 * rt/clock-compat.c: New file.
7042 * rt/Makefile (librt-routines): Add clock-compat and move
7043 $(clock-routines) to ...
7044 (routines): ... here, new variable.
7045 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7046 Don't add get_clockfreq here.
7047 * rt/Versions (libc: GLIBC_2.17): New version set.
7048 Add clock_* symbols here.
7049 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7050 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7051 (GLIBC_2.17): Add clock_* symbols.
7052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7054 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7056 Likewise.
7057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7058 Likewise.
7059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7063 * NEWS: Mention the move.
7064
7065 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7066 Use __open, __read, __close rather than their public counterparts.
7067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7068 (__get_clockfreq_via_cpuinfo): Likewise.
7069 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7070 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7071
7072 * config.h.in (HAVE_IFUNC): New #undef.
7073 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7074 was successful.
7075 * configure: Regenerated.
7076
7077 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7078
7079 * configure.in: Move READELF check to start of file.
7080 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7081 libc_cv_asm_gnu_indirect_function in the process.
7082 * configure: Regenerated.
7083
7084 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7085
7086 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7087 send the output to /dev/null.
7088 (libc_cv_cc_with_libunwind): Likewise.
7089 (libc_cv_as_noexecstack): Likewise.
7090 * configure: Regenerate.
7091
7092 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7093
7094 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7095
7096 * posix/globtest.sh (TMPDIR): Do not set.
7097 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7098 (testout): Likewise.
7099
7100 2012-10-24 Andreas Jaeger <aj@suse.de>
7101
7102 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7103 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7104 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7105 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7106 posix_fadvise64, posix_fallocate64.
7107
7108 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7109 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7110 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7111 Likewise.
7112 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7113 Likewise.
7114 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7115
7116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7117 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7118 <bits/fcntl-linux.h>.
7119 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7120
7121 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7122 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7123 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7124 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7125 [__WORDSIZE != 64]: Likewise.
7126
7127 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7128
7129 * Makeconfig (run-built-tests): New variable.
7130 * Rules [$(cross-compiling) = yes]: Change condition to
7131 [$(run-built-tests) = no].
7132 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7133 to [$(run-built-tests) = yes].
7134 * elf/Makefile [$(cross-compiling) = no]: Likewise
7135 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7136 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7137 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7138 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7139 * io/Makefile [$(cross-compiling) = no]: Likewise.
7140 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7141 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7142 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7143 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7144 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7145 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7146 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7147 * string/Makefile [$(cross-compiling) = no]: Likewise.
7148
7149 * posix/Makefile ($(objpfx)globtest.out): Pass
7150 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7151 $(rtld-installed-name).
7152 * posix/globtest.sh (elf_objpfx): Remove variable.
7153 (rtld_installed_name): Likewise.
7154 (library_path): Likewise.
7155 (run_program_prefix): New variable. Use for running globtest
7156 binary.
7157
7158 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7159 Joseph Myers <joseph@codesourcery.com>
7160
7161 * Makeconfig (host-built-program-cmd): New variable.
7162 * elf/Makefile (tst-stackguard1-ARGS): Use
7163 $(host-built-program-cmd).
7164 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7165 (tst-spawn-ARGS): Likewise.
7166 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7167
7168 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7169 Jim Blandy <jimb@codesourcery.com>
7170
7171 * Makeconfig (run-via-rtld-prefix): New variable.
7172 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7173 (built-program-cmd): Likewise.
7174
7175 2012-10-22 Andreas Jaeger <aj@suse.de>
7176
7177 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7178 __O_RSYNC if it exists, otherwise to O_SYNC.
7179
7180 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7181 Joseph Myers <joseph@codesourcery.com>
7182
7183 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7184 /dev/null.
7185 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7186 from /dev/null
7187 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7188 /dev/null.
7189
7190 2012-10-22 Andreas Jaeger <aj@suse.de>
7191
7192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7193 Define always.
7194 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7195
7196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7197 bits/fcntl-linux.h.
7198
7199 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7200 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7201
7202 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7203 to __O_LARGEFILE.
7204 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7205 to __O_LARGEFILE.
7206
7207 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7208 Joseph Myers <joseph@codesourcery.com>
7209
7210 * config.make.in (NM): New variable.
7211
7212 2012-10-21 Andreas Jaeger <aj@suse.de>
7213
7214 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7215 definitions and declarations that are provided by
7216 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7217
7218 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7219
7220 [BZ #14683]
7221 * elf/Makefile (tests-static): Add tst-leaks1-static.
7222 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7223 ($(objpfx)tst-leaks1-static): New rule.
7224 ($(objpfx)tst-leaks1-static-mem): Likewise.
7225 (tst-leaks1-static-ENV): New macro.
7226 * elf/dl-open.c (dl_open_worker): Check the main application
7227 only if SHARED is defined.
7228 * elf/tst-leaks1-static.c: New file.
7229
7230 2012-10-20 Andreas Jaeger <aj@suse.de>
7231
7232 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7233 generic values for Linux.
7234 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7235 and declarations that are provided by <bits/fcntl-linux.h> and
7236 include <bits/fcntl-linux.h>.
7237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7239
7240 2012-10-20 Roland McGrath <roland@hack.frob.com>
7241
7242 * io/fcntl.h: Move include of <bits/types.h> to the top and
7243 include it unconditionally.
7244
7245 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7246
7247 * wcsmbs/Makefile (tests-ifunc): New variable.
7248 (tests): Add $(tests-ifunc).
7249 * wcsmbs/test-wcschr-ifunc.c: New file.
7250 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7251 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7252 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7253 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7254 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7255
7256 * string/Makefile (tests-ifunc): New variable.
7257 (tests): Add $(tests-ifunc).
7258 * string/test-memccpy.c (TEST_NAME): New macro.
7259 * string/test-memchr.c (TEST_NAME): Likewise.
7260 * string/test-memcmp.c (TEST_NAME): Likewise.
7261 * string/test-memcpy.c (TEST_NAME): Likewise.
7262 * string/test-memmem.c (TEST_NAME): Likewise.
7263 * string/test-memmove.c (TEST_NAME): Likewise.
7264 * string/test-memset.c (TEST_NAME): Likewise.
7265 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7266 * string/test-stpcpy.c (TEST_NAME): Likewise.
7267 * string/test-stpncpy.c (TEST_NAME): Likewise.
7268 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7269 * string/test-strcasestr.c (TEST_NAME): Likewise.
7270 * string/test-strcat.c (TEST_NAME): Likewise.
7271 * string/test-strchr.c (TEST_NAME): Likewise.
7272 * string/test-strcmp.c(TEST_NAME): Likewise.
7273 * string/test-strcpy.c (TEST_NAME): Likewise.
7274 * string/test-strcspn.c (TEST_NAME): Likewise.
7275 * string/test-strlen.c (TEST_NAME): Likewise.
7276 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7277 * string/test-strncmp.c (TEST_NAME): Likewise.
7278 * string/test-strncpy.c (TEST_NAME): Likewise.
7279 * string/test-strnlen.c (TEST_NAME): Likewise.
7280 * string/test-strpbrk.c (TEST_NAME): Likewise.
7281 * string/test-strrchr.c (TEST_NAME): Likewise.
7282 * string/test-strspn.c (TEST_NAME): Likewise.
7283 * string/test-strstr.c (TEST_NAME): Likewise.
7284 * string/test-bcopy-ifunc.c: New file.
7285 * string/test-bzero-ifunc.c: Likewise.
7286 * string/test-memccpy-ifunc.c: Likewise.
7287 * string/test-memchr-ifunc.c: Likewise.
7288 * string/test-memcmp-ifunc.c: Likewise.
7289 * string/test-memcpy-ifunc.c: Likewise.
7290 * string/test-memmem-ifunc.c: Likewise.
7291 * string/test-memmove-ifunc.c: Likewise.
7292 * string/test-mempcpy-ifunc.c: Likewise.
7293 * string/test-memset-ifunc.c: Likewise.
7294 * string/test-rawmemchr-ifunc.c: Likewise.
7295 * string/test-stpcpy-ifunc.c: Likewise.
7296 * string/test-stpncpy-ifunc.c: Likewise.
7297 * string/test-strcasecmp-ifunc.c: Likewise.
7298 * string/test-strcasestr-ifunc.c: Likewise.
7299 * string/test-strcat-ifunc.c: Likewise.
7300 * string/test-strchr-ifunc.c: Likewise.
7301 * string/test-strchrnul-ifunc.c: Likewise.
7302 * string/test-strcmp-ifunc.c: Likewise.
7303 * string/test-strcpy-ifunc.c: Likewise.
7304 * string/test-strcspn-ifunc.c: Likewise.
7305 * string/test-strlen-ifunc.c: Likewise.
7306 * string/test-strncasecmp-ifunc.c: Likewise.
7307 * string/test-strncat-ifunc.c: Likewise.
7308 * string/test-strncmp-ifunc.c: Likewise.
7309 * string/test-strncpy-ifunc.c: Likewise.
7310 * string/test-strnlen-ifunc.c: Likewise.
7311 * string/test-strpbrk-ifunc.c: Likewise.
7312 * string/test-strrchr-ifunc.c: Likewise.
7313 * string/test-strspn-ifunc.c: Likewise.
7314 * string/test-strstr-ifunc.c: Likewise.
7315
7316 * debug/Makefile (tests-ifunc): New variable.
7317 (tests): Add $(tests-ifunc).
7318 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7319 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7320 * debug/test-stpcpy_chk-ifunc.c: New file.
7321 * debug/test-strcpy_chk-ifunc.c: Likewise.
7322
7323 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7324
7325 [BZ #13601]
7326 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7327 header is not read in.
7328
7329 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7330
7331 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7332 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7333 directly. Pass built executable to script as
7334 $(built-program-cmd).
7335 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7336 $testprogram without using LD_LIBRARY_PATH and $ldso.
7337
7338 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7339 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7340 $(rtld-installed-name).
7341 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7342 (rtld_installed_name): Likewise.
7343 (library_path): Likewise.
7344 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7345 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7346 $(run-program-prefix) to tst-tables.sh.
7347 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7348 it to run tst-table-from and tst-table-to.
7349 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7350 Pass it to tst-table.sh.
7351 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7352 $(run-program-prefix) to tst-gettext.sh.
7353 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7354 tst-translit.sh.
7355 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7356 tst-gettext2.sh.
7357 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7358 to run tst-gettext.
7359 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7360 to run tst-gettext2.
7361 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7362 to run tst-translit.
7363 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7364 $(run-program-prefix) to tst-mtrace.sh.
7365 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7366 to run tst-mtrace.
7367 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7368 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7369 $(rtld-installed-name).
7370 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7371 (rtld_installed_name): Likewise.
7372 (run_program_prefix): New variable. Use it to run wordexp-test.
7373
7374 * Makeconfig (ARCH): Remove all definitions.
7375 (machine): Likewise.
7376 [ARCH]: Remove conditional code.
7377 [!objdir]: Give error.
7378 [!objdir] (objpfx): Remove.
7379 [!objdir] (common-objpfx): Likewise.
7380 [!objdir] (common-objdir): Likewise.
7381 * configure.in (config_makefile): Remove. Hardcode Makefile in
7382 AC_CONFIG_FILES call.
7383 * configure: Regenerated.
7384
7385 [BZ #13888]
7386 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7387 or TMPDIR.
7388 (testout): Likewise.
7389
7390 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7391 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7392 $(rtld-installed-name).
7393 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7394 (rtld_installed_name): Likwise.
7395 (runit): Remove function.
7396 (run_getconf): New variable, Use it for running getconf binary.
7397
7398 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7399
7400 [BZ #14716]
7401 * string/test-memmem.c (check_result): New function.
7402 (do_one_test): Use it.
7403 (check1): New function.
7404 (test_main): Use it.
7405
7406 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7407
7408 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7409
7410 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7411
7412 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7413 (_G_LSEEK64): Likewise.
7414 (_G_MMAP64): Likewise.
7415 (_G_FSTAT64): Likewise.
7416 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7417 (_G_LSEEK64): Likewise.
7418 (_G_MMAP64): Likewise.
7419 (_G_FSTAT64): Likewise.
7420 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7421 unconditional. Call __mmap64 directly.
7422 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7423 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7424 __lseek64 directly.
7425 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7426 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7427 __mmap64 directly.
7428 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7429 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7430 __lseek64 directly.
7431 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7432 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7433 __lseek64 directly.
7434 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7435 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7436 __lseek64 directly.
7437 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7438 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7439 __fxstat64 directly.
7440 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7441 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7442 unconditional.
7443 (freopen64) [!_G_OPEN64]: Remove conditional code.
7444 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7445 unconditional.
7446 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7447 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7448 unconditional.
7449 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7450 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7451 unconditional.
7452 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7453 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7454 unconditional.
7455 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7456 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7457 unconditional.
7458 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7459 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7460 unconditional.
7461 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7462 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7463 unconditional.
7464 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7465
7466 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7467
7468 [BZ #12140]
7469 * manual/memory.texi (Malloc Tunable Parameters): Add note
7470 about free list pointers overwriting some perturb bytes.
7471 Wording suggested by Roland McGrath.
7472
7473 2012-10-17 Joseph Myers <joseph@codesourcery.com>
7474
7475 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7476 (lgamma_test): Likewise.
7477 (tgamma_test): Likewise.
7478
7479 2012-10-16 Florian Weimer <fweimer@redhat.com>
7480
7481 [BZ #14700]
7482 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7483 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7484
7485 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7486
7487 * NEWS: Mention BZ #14716.
7488 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7489 when removing AVAILABLE1_USES_J macro.
7490
7491 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7492
7493 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7494 (__bswap_64): __uint64_t for unsigned 64-bit int.
7495
7496 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7497
7498 * include/string.h (memmem): Declare libc hidden alias.
7499 * string/memmem.c (memmem): Define libc hidden alias.
7500 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7501 __read, __close instead of open, read, close.
7502
7503 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7504
7505 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7506 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7507 global and hidden.
7508 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7509 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7510 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7511 Likewise.
7512 (__rawmemchr_sse2): Likewise.
7513 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7514 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7515 (__strchr_sse2): Likewise.
7516 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7517 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7518 (__strcasecmp_sse2): Likewise.
7519 (__strncasecmp_sse2): Likewise.
7520 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7521 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7522 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7523 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7524 (__strrchr_sse2): Likewise.
7525 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7526 ifunc-impl-list.c.
7527 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7528 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7529 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7530 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7531 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7532 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7533 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7534 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7535 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7536 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7537 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7538 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7539 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7540 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7541 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7542 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7543 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7544 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7545 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7546 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7547 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7548 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7549 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7550 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7551 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7552 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7553 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7554 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7555 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7556 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7557
7558 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7559 global and hidden.
7560 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7561 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7562 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7563 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7564 Likewise.
7565 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7566 Likewise.
7567 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7568 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7569 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7570 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7571 ifunc-impl-list.c.
7572 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7573 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7574 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7575 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7576 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7577 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7578 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7579 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7580 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7581 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7582 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7583 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7584 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7585 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7586 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7587 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7588 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7589 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7590 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7591 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7592 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7593 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7594 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7595 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7596 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7597 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7598 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7599 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7600 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7601 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7602 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7603 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7604 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7605 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7606 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7607 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7608 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7609 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7610 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7611 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7612 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7613
7614 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7615 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7616 * include/ifunc-impl-list.h: New file.
7617 * misc/ifunc-impl-list.c: Likewise.
7618 * misc/Makefile (routines): Add ifunc-impl-list.
7619 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7620 * string/test-string.h: Include <ifunc-impl-list.h>.
7621 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7622 impl_array): New variables.
7623 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7624 are defined.
7625 (test_init): Call __libc_ifunc_impl_list to initialize
7626 func_list if TEST_IFUNC and TEST_NAME are defined.
7627
7628 * string/Makefile (strop-tests): Add bcopy and bzero.
7629 * string/test-bcopy.c: New file.
7630 * string/test-bzero.c: Likewise.
7631 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7632 defined.
7633 * string/test-memset.c: Support bzero test if TEST_BZERO is
7634 defined.
7635 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7636 __libc_memmove.
7637 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7638 __libc_memset.
7639 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7640 of memset.
7641
7642 2012-10-10 Joseph Myers <joseph@codesourcery.com>
7643
7644 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7645 * configure: Regenerated.
7646
7647 * Makeconfig (+link-static-before-libc): Don't include
7648 $(link-static-libc).
7649
7650 * libio/libio.h (_IO_pos_t): Remove.
7651
7652 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7653
7654 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7655 McGrath.
7656
7657 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7658
7659 * crypt/crypt-entry.c: Include fips-private.h.
7660 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7661 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7662 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7663 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7664
7665 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7666
7667 * crypt/crypt-private.h: Include stdbool.h.
7668 (_ufc_setup_salt_r): Return bool.
7669 * crypt/crypt-entry.c: Include errno.h.
7670 (__crypt_r): Return NULL with EINVAL for bad salt.
7671 * crypt/crypt_util.c (bad_for_salt): New.
7672 (_ufc_setup_salt_r): Check that salt is long enough and within
7673 the specified alphabet.
7674 * crypt/badsalttest.c: New file.
7675 * crypt/Makefile (tests): Add it.
7676 ($(objpfx)badsalttest): New.
7677
7678 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7679
7680 * NEWS: Add entry for BZ #14602.
7681
7682 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7683
7684 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7685 type-generic.
7686 * math/libm-test.inc: Update comment listing what functions and
7687 macros are tested.
7688 (isgreater_test): New function.
7689 (isgreaterequal_test): Likewise.
7690 (isless_test): Likewise.
7691 (islessequal_test): Likewise.
7692 (islessgreater_test): Likewise.
7693 (isunordered_test): Likewise.
7694 (main): Call the new functions.
7695
7696 2012-10-09 Roland McGrath <roland@hack.frob.com>
7697
7698 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7699 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7700 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7701 * sysdeps/i386/configure: Regenerated.
7702 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7703 * sysdeps/mach/configure: Regenerated.
7704 * sysdeps/mach/hurd/configure: Regenerated.
7705 * sysdeps/powerpc/configure: Regenerated.
7706 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7707 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7708 * sysdeps/s390/s390-32/configure: Regenerated.
7709 * sysdeps/s390/s390-64/configure: Regenerated.
7710 * sysdeps/sh/configure: Regenerated.
7711 * sysdeps/sparc/configure: Regenerated.
7712 * sysdeps/unix/sysv/linux/configure: Regenerated.
7713 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7714 * sysdeps/x86_64/configure: Regenerated.
7715
7716 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7717 defined. Don't check if MAP is NULL.
7718
7719 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7720
7721 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7722 (_G_stat64): Likewise.
7723 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7724 (_G_stat64): Likewise.
7725 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7726 instead of struct _G_stat64.
7727 * libio/fileops.c (mmap_remap_check): Likewise.
7728 (decide_maybe_mmap): Likewise.
7729 (_IO_new_file_seekoff): Likewise.
7730 (_IO_file_stat): Likewise.
7731 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7732 _G_off64_t.
7733 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7734 instead of struct _G_stat64.
7735 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7736
7737 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7738
7739 [BZ #14602]
7740 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7741 Replace with ...
7742 (CHECK_EOL): New macro.
7743 (two_way_short_needle): Check beginning of haystack for EOL. Use
7744 CHECK_EOL.
7745 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7746 Replace with CHECK_EOL.
7747 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7748 Replace with CHECK_EOL.
7749
7750 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7751
7752 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7753 type-generic.
7754 * math/libm-test.inc: Update comment listing what functions and
7755 macros are tested.
7756 (finite_test): New function.
7757 (isinf_test): Likewise.
7758 (isnan_test): Likewise.
7759 (fpclassify_test): Test subnormal input.
7760 (isfinite_test): Likewise.
7761 (isnormal_test): Likewise.
7762 (main): Call the new functions.
7763
7764 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7765
7766 [BZ #14660]
7767 * Makerules (%.dynsym): Force C locale when running
7768 $(OBJDUMP) --dynamic-syms.
7769
7770 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7771
7772 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7773 <stdint.h>.
7774
7775 2012-10-06 David S. Miller <davem@davemloft.net>
7776
7777 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7778 upper 32-bits of the length value in %o2 since we use branch-on-register
7779 tests which consider the entire 64-bit register.
7780
7781 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7782
7783 * string/test-strstr.c (check2): Add a test for page boundary.
7784
7785 2012-10-05 David S. Miller <davem@davemloft.net>
7786
7787 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7788 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7789 file.
7790 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7791 sysdep_routines.
7792 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7793 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7794 and bzero when HWCAP_SPARC_CRYPTO is present.
7795
7796 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7797
7798 [BZ #14602]
7799 * string/test-strstr.c (check2): New function.
7800 (test_main): Call check2.
7801
7802 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7803 and bug-strchr1.
7804 * string/bug-strcasestr1.c (do_test): Moved to ...
7805 * string/test-strcasestr.c (check1): Here. New function.
7806 (do_one_test): Break out result checking code into ...
7807 (check_result): This. New function.
7808 (do_one_test): Call check_result.
7809 (test_main): Call check1.
7810 * string/bug-strchr1.c (do_test): Moved to ...
7811 * string/test-strchr.c (check1): Here. New function.
7812 (do_one_test): Break out result checking code into ...
7813 (check_result): This. New function.
7814 (do_one_test): Call check_result.
7815 (test_main): Call check1.
7816 * string/bug-strstr1.c (main): Moved to ...
7817 * string/test-strstr.c (check1): Here. New function.
7818 (do_one_test): Break out result checking code into ...
7819 (check_result): This. New function.
7820 (do_one_test): Call check_result.
7821 (test_main): Call check1.
7822 * string/bug-strcasestr1.c: Removed.
7823 * string/bug-strchr1.c: Likewise.
7824 * string/bug-strstr1.c: Likewise.
7825
7826 * elf/Makefile (dl-routines): Add hwcaps.
7827 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7828 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7829 (_dl_important_hwcaps): Moved to ...
7830 * elf/dl-hwcaps.c: Here. New file.
7831 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7832
7833 [BZ #14557]
7834 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7835 if IS_IN_rtld isn't defined.
7836
7837 * elf/dl-support.c (_dl_sysinfo_map): New.
7838 Include "get-dynamic-info.h" and "setup-vdso.h".
7839 (_dl_non_dynamic_init): Call setup_vdso.
7840 * elf/dynamic-link.h: Don't include <assert.h>.
7841 (elf_get_dynamic_info): Moved to ...
7842 * elf/get-dynamic-info.h: Here. New file.
7843 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7844 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7845 * elf/setup-vdso.h: Here. New file.
7846 * elf/rtld.c: Include "setup-vdso.h".
7847 (dl_main): Call setup_vdso.
7848
7849 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7850
7851 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7852 creal in comment listing functions tested. List finite, isinf,
7853 isnan, isless, islessequal, isgreater, isgreaterequal,
7854 islessgreater, isunordered, lgamma_r and pow10 as functions and
7855 macros not tested. Mention which functions not tested are aliases
7856 for other functions. Fix typo. Note that signs of NaNs are not
7857 tested.
7858
7859 * scripts/config.guess: Update from config.git.
7860 * scripts/config.sub: Likewise.
7861
7862 2012-10-04 Roland McGrath <roland@hack.frob.com>
7863
7864 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7865 * misc/madvise.c (madvise): Renamed to __madvise.
7866 Make madvise a weak alias.
7867 * include/sys/mman.h: Declare __madvise.
7868 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7869 * sysdeps/unix/syscalls.list
7870 (madvise): Make __madvise the strong name, and madvise a weak alias.
7871 * sysdeps/unix/sysv/linux/syscalls.list
7872 (madvise, mmap): Remove redundant entries.
7873 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7874 * malloc/malloc.c (mtrim): Likewise.
7875 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7876
7877 2012-10-03 Roland McGrath <roland@hack.frob.com>
7878
7879 * sysdeps/mach/hurd/dl-cache.c: File removed.
7880 * config.h.in (USE_LDCONFIG): New #undef.
7881 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7882 * configure: Regenerated.
7883 * elf/Makefile (dl-routines): Add dl-cache only under
7884 [$(use-ldconfig) = yes].
7885 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7886 cache on [USE_LDCONFIG].
7887 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7888 [USE_LDCONFIG].
7889 * elf/rtld.c (dl_main): Likewise.
7890
7891 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7892
7893 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7894 _SC_LEVEL4_CACHE_LINESIZE.
7895
7896 2012-10-03 Roland McGrath <roland@hack.frob.com>
7897
7898 * sysdeps/unix/bsd/confstr.h: File removed.
7899
7900 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7901
7902 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7903 sys/sdt-config.h.
7904
7905 2012-10-02 Roland McGrath <roland@hack.frob.com>
7906
7907 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7908 Make 'mapoff' field ElfW(Off) rather than off_t.
7909
7910 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7911
7912 * nscd/Makefile: Remove nscd-cflags and all its users.
7913 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7914 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7915
7916 [BZ #10631]
7917 * malloc.c (malloc_printerr): Clarify error message.
7918
7919 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7920
7921 [BZ #14648]
7922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7923 Set bit_FMA_Usable if FMA is supported.
7924 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7925 macro.
7926 (bit_FMA4_Usable): Updated.
7927 (index_FMA_Usable): New macro.
7928 (CPUID_FMA): Likewise
7929 (HAS_FMA): Defined with bit_FMA_Usable.
7930
7931 2012-10-01 Roland McGrath <roland@hack.frob.com>
7932
7933 * bits/types.h (__swblk_t): Type removed.
7934 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7935 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7936 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7937 (__SWBLK_T_TYPE): Likewise.
7938 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7939 (__SWBLK_T_TYPE): Likewise.
7940 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7941 (__SWBLK_T_TYPE): Likewise.
7942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7943 (__SWBLK_T_TYPE): Likewise.
7944
7945 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7946 Honza Horak <hhorak@redhat.com>
7947
7948 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7949 (xdr_mapname): Use YPMAXMAP as maxsize.
7950 (xdr_peername): Use YPMAXPEER as maxsize.
7951 (xdr_keydat): Use YPAXRECORD as maxsize.
7952 (xdr_valdat): Use YPMAXRECORD as maxsize.
7953
7954 2012-10-01 Roland McGrath <roland@hack.frob.com>
7955
7956 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7957
7958 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7959 * csu/init-first.c: ... here.
7960 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7961 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7962 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7963 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7964 * sysdeps/i386/init-first.c: File removed.
7965 * sysdeps/sh/init-first.c: File removed.
7966
7967 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7968
7969 [BZ #14645]
7970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7971 if x * y might underflow to zero and z is zero.
7972 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7973 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7974 * math/libm-test.inc (min_subnorm_value): New variable.
7975 (fma_test): Add more tests.
7976 (fma_test_towardzero): Likewise.
7977 (fma_test_downward): Likewise
7978 (fma_test_upward): Likewise.
7979 (initialize): Set min_subnorm_value.
7980
7981 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7982
7983 [BZ #14638]
7984 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7985 0 + 0.
7986 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7987 mode for addition resulting in exact zero.
7988 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7989 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7990 exact 0 + 0.
7991 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7992 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7993 * math/libm-test.inc (fma_test): Add more tests.
7994 (fma_test_towardzero): New function.
7995 (fma_test_downward): Likewise.
7996 (fma_test_upward): Likewise.
7997 (main): Call the new functions.
7998
7999 2012-09-28 David S. Miller <davem@davemloft.net>
8000
8001 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8002
8003 2012-09-28 Roland McGrath <roland@hack.frob.com>
8004
8005 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8006 instead of SIGALRM.
8007
8008 * sysdeps/gnu/_G_config.h: Moved to ...
8009 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8010 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8011 * sysdeps/generic/_G_config.h: ... here.
8012
8013 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8014
8015 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8016
8017 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8018 Conditionalize target on [libnss_test1.so-version].
8019
8020 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8021
8022 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8023 (elfobjdir): Move out of conditionals.
8024
8025 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8026 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8027 (__nss_lookup_function): Conditionalize label remove_from_tree on
8028 [!DO_STATIC_NSS || SHARED], matching its only use.
8029
8030 2012-09-28 David S. Miller <davem@davemloft.net>
8031
8032 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8033 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8034 file.
8035 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8036 sysdep_routines.
8037 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8038 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8039 when HWCAP_SPARC_CRYPTO is present.
8040
8041 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8042
8043 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8044
8045 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8046
8047 [BZ #6530]
8048 * stdio-common/vfprintf.c (process_string_arg): Revert
8049 2000-07-22 change.
8050
8051 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8052
8053 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8054 for testcase.
8055 * stdio-common/tst-sprintf.c: Include <locale.h>
8056 (main): Test sprintf's handling of incomplete multibyte
8057 characters.
8058
8059 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8060
8061 * elf/dl-runtime.c (VERSYMIDX): Removed.
8062 * elf/dl-version.c (VERSYMIDX): Likewise.
8063 * elf/do-rel.h (VERSYMIDX): Likewise.
8064 (VALIDX): Likewise.
8065 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8066 * elf/rtld.c (VALIDX): Likewise.
8067 (ADDRIDX): Likewise.
8068 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8069 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8070 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8071 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8072 (VALIDX): Likewise.
8073 (ADDRIDX): Likewise.
8074
8075 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8076
8077 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8078
8079 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8080
8081 [BZ #11438]
8082 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8083 to global scope.
8084 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8085 addresses are in the same scope as 192.0.2/24.
8086 * posix/gai.conf: Document new scope table defaults.
8087
8088 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8089
8090 [BZ #5298]
8091 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8092 for ftell. Compute offsets from write pointers instead.
8093 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8094
8095 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8096
8097 [BZ #14543]
8098 * libio/Makefile (tests): New test case tst-fseek.
8099 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8100 combination works in wide mode.
8101 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8102 state when the external buffer state changes.
8103
8104 2012-09-27 David S. Miller <davem@davemloft.net>
8105
8106 [BZ #14376]
8107 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8108 pass reloc->r_addend in as the 'high' argument to
8109 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8110
8111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8112
8113 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8114
8115 * rt/tst-aio2.c: Include <pthread.h>.
8116 * rt/tst-aio3.c: Likewise.
8117
8118 2012-09-27 Steve Ellcey <sellcey@mips.com>
8119
8120 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8121
8122 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8123
8124 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8125 contents on [SHARED].
8126
8127 2012-09-26 Marek Polacek <polacek@redhat.com>
8128
8129 [BZ #14530]
8130 [BZ #13741]
8131 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8132 for C++ and GCC <4.3 as well as for non GCC compilers.
8133
8134 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8135
8136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8137
8138 2012-09-25 Roland McGrath <roland@hack.frob.com>
8139
8140 * Makefile.in (all, install): Declare with .PHONY.
8141 Reported by Michael Hope <michael.hope@linaro.org>.
8142
8143 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8144
8145 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8146 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8147 system header.
8148 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8149 Likewise.
8150 (sydep_routines): Add the new and the internal functions.
8151 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8152 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8154 (GLIBC_2.17): Add the new function.
8155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8156 (GLIBC_2.17): Likewise.
8157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8158 (GLIBC_2.17): Likewise.
8159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8160 (GLIBC_2.17): Likewise.
8161 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8162
8163 2012-09-25 Alan Modra <amodra@gmail.com>
8164
8165 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8166 Add release barrier before setting once_control to say
8167 initialisation is done. Add hints on lwarx. Use macro in
8168 place of isync.
8169 (clear_once_control): Add release barrier.
8170
8171 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8172
8173 [BZ #13629]
8174 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8175 specially.
8176 * math/s_clog10.c (__clog10): Likewise.
8177 * math/s_clog10f.c (__clog10f): Likewise.
8178 * math/s_clog10l.c (__clog10l): Likewise.
8179 * math/s_clogf.c (__clogf): Likewise.
8180 * math/s_clogl.c (__clogl): Likewise.
8181 * math/Makefile (libm-calls): Add x2y2m1.
8182 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8183 (__x2y2m1): Likewise.
8184 (__x2y2m1l): Likewise.
8185 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8186 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8187 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8188 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8189 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8190 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8191 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8192 * sysdeps/i386/fpu/libm-test-ulps: Update.
8193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8194
8195 [BZ #14621]
8196 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8197 int as type of variable DEPTH.
8198 (glob): Use size_t instead of int as type of variables NEWCOUNT
8199 and OLD_PATHC.
8200
8201 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8202
8203 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8204 Add s_sincosf-sse2.
8205 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8206 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8207 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8208 macros for using routine as __sincosf_ia32.
8209 Use macro for function declaration and weak_alias.
8210 * sysdeps/i386/fpu/libm-test-ulps: Update.
8211
8212 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8214
8215 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8216 subnormal argument.
8217 * math/s_cexpf.c (__cexpf): Likewise.
8218 * math/s_csinf.c (__csinf): Likewise.
8219 * math/s_csinhf.c (__csinhf): Likewise.
8220 * math/s_ctanf.c (__ctanf): Likewise.
8221 * math/s_ctanhf.c (__ctanhf): Likewise.
8222 * math/s_ccosh.c (__ccoshf): Likewise.
8223 * math/s_cexp.c (__cexpl): Likewise.
8224 * math/s_csin.c (__csin): Likewise.
8225 * math/s_csinh.c (__csinh): Likewise.
8226 * math/s_ctan.c (__ctan): Likewise.
8227 * math/s_ctanh.c (ctanh): Likewise.
8228 * math/s_ccoshl.c (__ccoshl): Likewise.
8229 * math/s_cexpl.c (__cexpl): Likewise.
8230 * math/s_csinl.c (__csinl): Likewise.
8231 * math/s_csinhl.c (__csinhl): Likewise.
8232 * math/s_ctanl.c (__ctanl): Likewise.
8233 * math/s_ctanhl.c (__ctanhl): Likewise.
8234
8235 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8236
8237 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8238 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8239 (_IO_off_t): Define to __off_t, not _G_off_t.
8240 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8241 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8242 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8243 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8244 type of __dummy and __dummy2 fields.
8245 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8246 (_G_ssize_t): Likewise.
8247 (_G_off_t): Likewise.
8248 (_G_pid_t): Likewise.
8249 (_G_uid_t): Likewise.
8250 (_G_wchar_t): Likewise.
8251 (_G_wint_t): Likewise.
8252 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8253 (_G_ssize_t): Likewise.
8254 (_G_off_t): Likewise.
8255 (_G_pid_t): Likewise.
8256 (_G_uid_t): Likewise.
8257 (_G_wchar_t): Likewise.
8258 (_G_wint_t): Likewise.
8259 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8260 (_G_ssize_t): Likewise.
8261 (_G_off_t): Likewise.
8262 (_G_pid_t): Likewise.
8263 (_G_uid_t): Likewise.
8264 (_G_wchar_t): Likewise.
8265 (_G_wint_t): Likewise.
8266
8267 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8268
8269 * malloc/arena.c: Include malloc-sysdep.h.
8270 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8271 is sufficient to shrink the heap or an unmap is needed.
8272 * sysdeps/generic/malloc-sysdep.h: New file. Define
8273 new function check_may_shrink_heap.
8274 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8275 new function check_may_shrink_heap.
8276
8277 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8278
8279 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8280 comments.
8281
8282 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8283
8284 * catgets/test-gencat.sh: Add "set -e".
8285 * elf/tst-pathopt.sh: Likewise.
8286 * grp/tst_fgetgrent.sh: Likewise.
8287 * iconvdata/run-iconv-test.sh: Likewise.
8288 * intl/tst-gettext.sh: Likewise.
8289 * intl/tst-gettext2.sh: Likewise.
8290 * intl/tst-gettext4.sh: Likewise.
8291 * intl/tst-gettext6.sh: Likewise.
8292 * intl/tst-translit.sh: Likewise.
8293 * io/ftwtest-sh: Likewise.
8294 * libio/test-freopen.sh: Likewise.
8295 * malloc/tst-mtrace.sh: Likewise.
8296 * posix/globtest.sh: Likewise.
8297 * posix/tst-getconf.sh: Likewise.
8298 * posix/wordexp-tst.sh: Likewise.
8299 * stdio-common/tst-printf.sh: Likewise.
8300 * stdio-common/tst-unbputc.sh: Likewise.
8301 * stdlib/tst-fmtmsg.sh: Likewise.
8302 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8303 * catgets/Makefile: Do not specify -e option when running
8304 testsuite shell scripts.
8305 * elf/Makefile: Likewise.
8306 * grp/Makefile: Likewise.
8307 * iconvdata/Makefile: Likewise.
8308 * intl/Makefile: Likewise.
8309 * io/Makefile: Likewise.
8310 * libio/Makefile: Likewise.
8311 * malloc/Makefile: Likewise.
8312 * posix/Makefile: Likewise.
8313 * stdio-common/Makefile: Likewise.
8314 * stdlib/Makefile: Likewise.
8315 * sysdeps/x86_64/Makefile: Likewise.
8316
8317 * io/ftwtest-sh: Add copyright header.
8318 * posix/globtest.sh: Likewise.
8319 * posix/tst-getconf.sh: Likewise.
8320 * posix/wordexp-tst.sh: Likewise.
8321 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8322
8323 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8324
8325 [BZ #13679]
8326 * Makeconfig (+link): Defined as $(+link-static) if
8327 $(build-shared) isn't yes.
8328 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8329 isn't yes.
8330 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8331
8332 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8333
8334 [BZ #14562]
8335 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8336 new chunk size with MALLOC_ALIGN_MASK.
8337
8338 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8339
8340 [BZ #5044]
8341 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8342 <rounding-mode.h>.
8343 (__printf_fphex): Determine rounding using get_rounding_mode and
8344 round_away.
8345 * stdio-common/tst-printf-round.c (struct hex_test): New
8346 structure.
8347 (hex_tests): New variable.
8348 (test_hex_in_one_mode): New function.
8349 (do_test): Also run tests for hex float output.
8350
8351 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8352
8353 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8354 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8355 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8356 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8357 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8358 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8359 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8360 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8361
8362 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8363
8364 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8365 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8366 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8367 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8368
8369 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8370
8371 [BZ #14579]
8372 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8373 mode only.
8374 * elf/tst-rtld-load-self.sh: New test.
8375 * elf/Makefile: Run it.
8376
8377 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8378
8379 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8380 (tst-writev-ENV): Remove.
8381 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8382
8383 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8384
8385 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8386
8387 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8388
8389 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8390 unconditional.
8391 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8392 Likewise.
8393 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8394 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8395 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8396 Likewise.
8397
8398 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8399
8400 [BZ #14587]
8401 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8402 * config.make.in (have-cpp-asm-debuginfo): Removed.
8403 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8404 * configure: Regenerated.
8405
8406 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8407
8408 [BZ #5044]
8409 * stdio-common/printf_fp.c: Include <stdbool.h> and
8410 <rounding-mode.h>.
8411 (___printf_fp): Determine rounding using get_rounding_mode and
8412 round_away.
8413 * stdio-common/tst-printf-round.c: New file.
8414 * stdio-common/Makefile (tests): Add tst-printf-round.
8415 (link-libm): New variable.
8416 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8417
8418 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8419
8420 [BZ #14576]
8421 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8422 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8423 Likewise.
8424 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8425 Likewise.
8426
8427 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8428
8429 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8430 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8431 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8432 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8433
8434 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8435
8436 [BZ #14518]
8437 * include/rounding-mode.h: New file.
8438 * sysdeps/generic/get-rounding-mode.h: Likewise.
8439 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8440 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8441 (MAX_VALUE): New macro.
8442 (MIN_VALUE): Likewise.
8443 (overflow_value): New function.
8444 (underflow_value): Likewise.
8445 (round_and_return): Use overflow_value and underflow_value to
8446 determine return values in overflow and underflow cases. Use
8447 round_away to determine rounding depending on rounding mode.
8448 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8449 determine return values in overflow and underflow cases.
8450 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8451 (struct test_results): New structure.
8452 (struct test): Use struct test_results to store expected results
8453 for all rounding modes.
8454 (TEST): Include expected results for all rounding modes.
8455 (test_in_one_mode): New function.
8456 (do_test): Use test_in_one_mode to compute and check results.
8457 Check results for all rounding modes.
8458 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8459 $(link-libm).
8460
8461 2012-12-09 Allan McRae <allan@archlinux.org>
8462
8463 * sysdeps/i386/fpu/libm-test-ulps: Update
8464
8465 2012-09-11 Joseph Myers <joseph@codesourcery.com>
8466
8467 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8468 (_G_int32_t): Likewise.
8469 (_G_uint16_t): Likewise.
8470 (_G_uint32_t): Likewise.
8471 (_G_HAVE_BOOL): Likewise.
8472 (_G_HAVE_ATEXIT): Likewise.
8473 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8474 (_G_HAVE_IO_FILE_OPEN): Likewise.
8475 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8476 (_G_int32_t): Likewise.
8477 (_G_uint16_t): Likewise.
8478 (_G_uint32_t): Likewise.
8479 (_G_HAVE_BOOL): Likewise.
8480 (_G_HAVE_ATEXIT): Likewise.
8481 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8482 (_G_HAVE_IO_FILE_OPEN): Likewise.
8483 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8484 (_G_int32_t): Likewise.
8485 (_G_uint16_t): Likewise.
8486 (_G_uint32_t): Likewise.
8487 (_G_HAVE_BOOL): Likewise.
8488 (_G_HAVE_ATEXIT): Likewise.
8489 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8490 (_G_HAVE_IO_FILE_OPEN): Likewise.
8491
8492 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8493
8494 * csu/libc-tls.c: Update copyright years.
8495
8496 2012-09-10 Joseph Myers <joseph@codesourcery.com>
8497
8498 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8499 [!_G_USING_THUNKS]: Remove conditional code.
8500 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8501 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8502
8503 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8504 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8505 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8506 (_G_VTABLE_LABEL_PREFIX): Likewise.
8507 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8508 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8509 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8510 (_G_VTABLE_LABEL_PREFIX): Likewise.
8511 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8512 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8513 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8514 (_G_VTABLE_LABEL_PREFIX): Likewise.
8515 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8516
8517 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8518
8519 * libio/Makefile: Include ../Makeconfig before tests.
8520 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8521 only if $(build-shared) is yes.
8522
8523 * iconv/gconv_db.c: Update copyright years.
8524
8525 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8526
8527 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8528 unwind info if defined PIC. Fix special cases description.
8529 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8530
8531 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8532 DP_HI_MASK entry.
8533 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8534
8535 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8536
8537 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8538
8539 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8540 is NULL.
8541
8542 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8543 (LDLIBS-tst-chk4): This.
8544 (LDFLAGS-tst-chk5): Renamed to ...
8545 (LDLIBS-tst-chk5): This.
8546 (LDFLAGS-tst-chk6): Renamed to ...
8547 (LDLIBS-tst-chk6): This.
8548 (LDFLAGS-tst-lfschk4): Renamed to ...
8549 (LDLIBS-tst-lfschk4): This.
8550 (LDFLAGS-tst-lfschk5): Renamed to ...
8551 (LDLIBS-tst-lfschk5): This.
8552 (LDFLAGS-tst-lfschk6): Renamed to ...
8553 (LDLIBS-tst-lfschk6): This.
8554
8555 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8556 on $(common-objpfx)soversions.mk.
8557
8558 2012-09-07 Joseph Myers <joseph@codesourcery.com>
8559
8560 [BZ #10014]
8561 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8562 example host name.
8563
8564 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8565
8566 * malloc/arena.c (arena_get_retry): New function that gets
8567 another arena for the caller to try its request on.
8568 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8569 current arena cannot fulfill the request.
8570 (__libc_memalign): Likewise.
8571 (__libc_memalign): Likewise.
8572 (__libc_pvalloc): Likewise.
8573 (__libc_calloc): Likewise.
8574
8575 2012-09-05 John Tobey <john.tobey@gmail.com>
8576
8577 [BZ #13542]
8578 * manual/arith.texi (Operations on Complex): Fix description
8579 of carg branch cut.
8580
8581 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8582
8583 [BZ #10014]
8584 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8585 host name.
8586
8587 [BZ #10038]
8588 * manual/memory.texi (Memory): Make order of menu items match
8589 order of sections.
8590
8591 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8592
8593 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8594 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8595 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8596
8597 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8598
8599 * csu/libc-tls.c (static_dtv): Renamed to ...
8600 (_dl_static_dtv): This. Make it global.
8601 (_dl_initial_dtv): Removed.
8602 (__libc_setup_tls): Updated.
8603 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8604 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8605 DL_INITIAL_DTV.
8606
8607 2012-09-06 Petr Machata <pmachata@redhat.com>
8608
8609 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8610 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8611 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8612 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8613
8614 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8615
8616 [BZ #14545]
8617 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8618 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8619 freeing dtv[-1].
8620
8621 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8622
8623 [BZ #14544]
8624 * Makeconfig (link-static-before-libc): Replace $(+prector)
8625 with $(+prectorT).
8626 (link-static-after-libc): Replace $(+postctor) with
8627 $(+postctorT).
8628 (link-bounded): Replace $(+prector)/$(+postctor) with
8629 $(+prectorT)/$(+postctorT).
8630 (+prectorT): New macro.
8631 (+postctorT): Likewise.
8632
8633 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8634
8635 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8636 (round_str): Handle values above the maximum for IBM long double
8637 as inexact.
8638 * stdlib/tst-strtod-round.c (tests): Regenerated.
8639
8640 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8641
8642 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8643 assembler flag.
8644 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8645 zarch_nohighgprs around the zarch optimized routines.
8646 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8647 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8648 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8649 for zarch.
8650
8651 2012-09-05 David S. Miller <davem@davemloft.net>
8652
8653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8654
8655 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8656 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8657 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8658 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8659 entries.
8660
8661 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8662
8663 * malloc/arena.c: Fold copyright years.
8664 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8665
8666 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8667
8668 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8669
8670 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8671
8672 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8673
8674 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8675
8676 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8677 change internal state upon failure.
8678
8679 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8680
8681 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8682 * malloc/memusage.c (mmap): Likewise.
8683 (mmap64, mremap): Likewise. Adjust name in comment.
8684
8685 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8686
8687 * libio/fileops.c: Fix typos in comments.
8688 * libio/oldfileops.c: Likewise.
8689 * libio/wfileops.c: Likewise.
8690
8691 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8692
8693 [BZ #1349]
8694 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8695 (tst-malloc-usable-ENV): Set environment for test case.
8696 * malloc/hooks.c (malloc_check_get_size): New function to get
8697 requested size.
8698 * malloc/malloc.c (musable): Use malloc_check_get_size.
8699 * malloc/tst-malloc-usable.c: New test case.
8700
8701 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8702
8703 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8704
8705 2012-09-05 Allan McRae <allan@archlinux.org>
8706
8707 [BZ #13966]
8708 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8709 determine header location.
8710 * configure: Regenerated.
8711
8712 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8713
8714 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8715 float format.
8716 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8717 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8718 format.
8719 (test): Regenerate.
8720
8721 2012-09-04 David S. Miller <davem@davemloft.net>
8722
8723 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8724 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8725 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8726
8727 2012-09-04 Florian Weimer <fweimer@redhat.com>
8728
8729 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8730 failures.
8731
8732 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8733
8734 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8735
8736 [BZ #9914]
8737 * libio/iogetdelim.c: Include <limits.h>.
8738 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8739 + len + 1 would overflow.
8740
8741 2012-09-03 Andreas Jaeger <aj@suse.de>
8742
8743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8744 * sysdeps/i386/fpu/libm-test-ulps: Update.
8745
8746 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8747
8748 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8749 Add s_sinf-sse2, s_conf-sse2.
8750
8751 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8752 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8753 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8754 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8755
8756 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8757 for using routine as __sinf_ia32.
8758 Use macro for function declaration and weak_alias.
8759 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8760 for using routine as __cosf_ia32.
8761 Use macro for function declaration and weak_alias.
8762
8763 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8764 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8765
8766 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8767 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8769
8770 * math/libm-test.inc (cos_test): Add more test cases.
8771 (sin_test): Likewise.
8772 (sincos_test): Likewise.
8773
8774 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8775
8776 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8777 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8778 hidden.
8779 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8780
8781 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8782
8783 [BZ #14538]
8784 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8785 first element of the GOT.
8786 (elf_machine_load_address): Return the difference between
8787 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8788
8789 2012-09-01 Allan McRae <allan@archlinux.org>
8790
8791 [BZ #13412]
8792 * configure.in (AWK): Require gawk version 3.0 or later.
8793 * configure: Regenerated.
8794
8795 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8796
8797 * sysdeps/unix/sysv/linux/kernel-features.h
8798 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8799 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8800 [__NR_clock_getres]: Make code unconditional.
8801 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8802 (clock_getcpuclockid): Remove code left unreachable by removal of
8803 conditionals.
8804 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8805 code unconditional.
8806 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8807 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8808 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8809 Make code unconditional.
8810 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8811 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8812 * sysdeps/unix/sysv/linux/clock_settime.c
8813 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8814 conditional code.
8815 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8816 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8817
8818 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8819
8820 [BZ #14476]
8821 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8822 scripts/test-installation.pl.
8823
8824 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8825 and $ld_so_version if it is set.
8826
8827 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8828
8829 [BZ #14516]
8830 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8831 failure if reading from procfs failed.
8832 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8833
8834 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8835
8836 * sysdeps/unix/sysv/linux/kernel-features.h
8837 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8838 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8839 Remove conditional code.
8840 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8841 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8842 Remove conditional code.
8843 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8844 * sysdeps/unix/sysv/linux/i386/fxstat.c
8845 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8846 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8847 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8848 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8849 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8850 * sysdeps/unix/sysv/linux/i386/lxstat.c
8851 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8852 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8853 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8854 Remove conditional code.
8855 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8856 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8857 Remove conditional code.
8858 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8859 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8860 <kernel-features.h>.
8861 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8862 Remove.
8863 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8864 Remove conditional code.
8865 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8866 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8867 Remove conditional.
8868
8869 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8870
8871 [BZ #5400]
8872 * NEWS: Add fixed bug number.
8873
8874 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8875
8876 [BZ #14519]
8877 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8878 underflowing exponent in case of negative sign.
8879 * stdlib/tst-strtod-round-data: Add more tests.
8880 * stdlib/tst-strtod-round.c (tests): Regenerated.
8881
8882 [BZ #3479]
8883 * stdlib/strtod_l.c (NDIG): Remove.
8884 (HEXNDIG): Likewise.
8885 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8886 smallest representable value.
8887 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8888 lie within an exact representation of 1/2 ulp of the result.
8889 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8890 unconditionally.
8891 (TENS_P9_IDX): Define unconditionally.
8892 (TENS_P9_SIZE): Likewise.
8893 (TENS_P10_IDX): Likewise.
8894 (TENS_P10_SIZE): Likewise.
8895 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8896 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8897 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8898 entries for 10^2^13 and 10^2^14.
8899 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8900 (TENS_P13_IDX): Define.
8901 (TENS_P13_SIZE): Likewise.
8902 (TENS_P14_IDX): Likewise.
8903 (TENS_P14_SIZE): Likewise.
8904 (_fpioconst_pow10): Change array size to
8905 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8906 unconditional.
8907 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8908 1024]: Add entries for 10^2^13 and 10^2^14.
8909 [LAST_POW10 > _LAST_POW10]: Remove #error.
8910 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8911 (_fpioconst_pow10): Change array size to
8912 FPIOCONST_POW10_ARRAY_SIZE.
8913 * stdlib/gen-fpioconst.c: New file.
8914 * stdlib/gen-tst-strtod-round.c: Likewise.
8915 * stdlib/tst-strtod-round-data: Likewise.
8916 * stdlib/tst-strtod-round.c: Likewise.
8917 * stdlib/Makefile (tests): Add tst-strtod-round.
8918
8919 [BZ #14459]
8920 * stdlib/strtod_l.c: Include <stdint.h>.
8921 (NDEBUG): Do not define.
8922 (round_and_return): Change EXPONENT parameter to type intmax_t.
8923 Rearrange calculations to avoid internal overflow possibilities.
8924 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8925 Rearrange calculations to avoid internal overflow possibilities.
8926 Assert that number fits inside MPNSIZE limbs.
8927 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8928 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8929 calculations and add assertions to avoid internal overflow
8930 possibilities. Add casts to avoid signed/unsigned operations.
8931 * stdlib/tst-strtod-overflow.c: New file.
8932 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8933
8934 2012-08-25 Marek Polacek <polacek@redhat.com>
8935
8936 * time/time.h: Fix some typos in comments.
8937
8938 2012-08-23 Roland McGrath <roland@hack.frob.com>
8939
8940 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8941 * posix/tst-rfc3484-2.c: Likewise.
8942 * posix/tst-rfc3484-3.c: Likewise.
8943
8944 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8945
8946 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8947 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8948
8949 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8950
8951 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8952 #include of fxstatat64.c.
8953
8954 2012-08-22 Roland McGrath <roland@hack.frob.com>
8955
8956 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8957 * shadow/getspent_r.c: Likewise.
8958 * shadow/getspnam.c: Likewise.
8959 * shadow/getspnam_r.c: Likewise.
8960 * gshadow/getsgent.c: Likewise.
8961 * gshadow/getsgent_r.c: Likewise.
8962 * gshadow/getsgnam.c: Likewise.
8963 * gshadow/getsgnam_r.c: Likewise.
8964 * inet/getnetbyad.c: Likewise.
8965 * inet/getnetbyad_r.c: Likewise.
8966 * inet/getnetbynm.c: Likewise.
8967 * inet/getnetbynm_r.c: Likewise.
8968 * inet/getnetent.c: Likewise.
8969 * inet/getnetent_r.c: Likewise.
8970 * inet/getproto.c: Likewise.
8971 * inet/getproto_r.c: Likewise.
8972 * inet/getprtent.c: Likewise.
8973 * inet/getprtent_r.c: Likewise.
8974 * inet/getprtname.c: Likewise.
8975 * inet/getprtname_r.c: Likewise.
8976 * inet/getrpcbyname.c: Likewise.
8977 * inet/getrpcbyname_r.c: Likewise.
8978 * inet/getrpcbynumber.c: Likewise.
8979 * inet/getrpcbynumber_r.c: Likewise.
8980 * inet/getrpcent.c: Likewise.
8981 * inet/getrpcent_r.c: Likewise.
8982 * inet/getaliasent.c: Likewise.
8983 * inet/getaliasent_r.c: Likewise.
8984 * inet/getaliasname.c: Likewise.
8985 * inet/getaliasname_r.c: Likewise.
8986 * nscd/getgrgid_r.c: Likewise.
8987 * nscd/getgrnam_r.c: Likewise.
8988 * nscd/gethstbyad_r.c: Likewise.
8989 * nscd/gethstbynm3_r.c: Likewise.
8990 * nscd/getpwnam_r.c: Likewise.
8991 * nscd/getpwuid_r.c: Likewise.
8992 * nscd/getsrvbynm_r.c: Likewise.
8993 * nscd/getsrvbypt_r.c: Likewise.
8994 * nscd/gai.c: Likewise.
8995
8996 * configure.in (build_nscd): New substituted variable, set
8997 by --disable-build-nscd and defaults to $use_nscd.
8998 * configure: Regenerated.
8999 * config.make.in (build-nscd): New substituted variable.
9000 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9001 Change conditional to require [$(build-nscd) = yes] as well.
9002 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9003
9004 [BZ# 13696]
9005 * configure.in (use_nscd): New substituted variable, set by
9006 --disable-nscd. If enabled, define USE_NSCD.
9007 * configure: Regenerated.
9008 * config.h.in: Add USE_NSCD.
9009 * config.make.in (use-nscd): New substituted variable.
9010 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9011 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9012 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9013 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9014 (CFLAGS-getgrnam_r.c): Likewise.
9015 (CFLAGS-initgroups.c): Likewise.
9016 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9017 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9018 Variables removed.
9019 * inet/getnetgrent_r.c
9020 (nscd_setnetgrent): New function, broken out of ...
9021 (setnetgrent): ... here. Call it.
9022 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9023 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9024 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9025 * nscd/Makefile (routines, aux): Move definitions after include of
9026 Makeconfig. Conditionalize on [$(use-nscd) != no].
9027 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9028 Conditionalize on [USE_NSCD].
9029 (is_nscd, nscd_init_cb): Likewise.
9030 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9031 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9032 * nss/nss_db/db-init.c: Likewise.
9033 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9034 [USE_NSCD].
9035 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9036 (make_request): Use it.
9037 (cache_valid_p): New function.
9038 (__check_pf): Use it.
9039 * NEWS: Add item for --disable-nscd.
9040
9041 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9042
9043 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9044 to support sed >= 4.2.1-20-ga9bf076.
9045 * configure: Regenerated.
9046
9047 2012-08-22 Roland McGrath <roland@hack.frob.com>
9048
9049 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9050 Conditionalize whole body on [IREL].
9051
9052 2012-08-22 Jeff Law <law@redhat.com>
9053
9054 [BZ #14505]
9055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9056 if the family is PF_UNSPEC.
9057
9058 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9059
9060 * Makerules (lib-version): Rename from V.
9061 (install-lib-nosubdir): Change V to lib-version.
9062
9063 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9064
9065 [BZ #14252]
9066 * powerpc32/power6/wcschr.c: New file.
9067 * powerpc32/power6/wcscpy.c: New file.
9068 * powerpc32/power6/wcsrchr.c: New file.
9069 * powerpc64/power6/wcschr.c: New file.
9070 * powerpc64/power6/wcscpy.c: New file.
9071 * powerpc64/power6/wcsrchr.c: New file.
9072
9073 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9074
9075 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9076 (two_way_short_needle): Use it.
9077 * string/strstr.c (AVAILABLE1_USES_J): Define.
9078 * string/strcasestr.c: Likewise.
9079
9080 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9081 array references.
9082 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9083
9084 [BZ #11607]
9085 * NEWS: Add an entry.
9086 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9087 define their defaults.
9088 (two_way_short_needle): Detect end-of-string on-the-fly.
9089 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9090 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9091 * string/bug-strcasestr1.c: New test.
9092 * string/Makefile: Run it.
9093
9094 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9095
9096 [BZ #11607]
9097 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9098 the first character.
9099
9100 2012-08-21 Roland McGrath <roland@hack.frob.com>
9101
9102 * csu/elf-init.c (__libc_csu_irel): Function removed.
9103 * csu/libc-start.c (apply_irel): New function.
9104 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9105
9106 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9107
9108 * sysdeps/unix/sysv/linux/kernel-features.h
9109 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9110 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9111 <kernel-features.h>.
9112 [__NR_fadvise64_64]: Make code unconditional.
9113 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9114 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9115 !__NR_fadvise64_64)]: Likewise.
9116 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9117 !__NR_fadvise64_64))]: Likewise.
9118 [__NR_fadvise64]: Make code unconditional.
9119 [!__NR_fadvise64]: Remove conditional code.
9120 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9121 <kernel-features.h>.
9122 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9123 unconditional.
9124 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9125 conditional code.
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9127 not include <kernel-features.h>.
9128 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9129 unconditional.
9130 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9131 conditional code.
9132 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9133 include <kernel-features.h>.
9134 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9135 unconditional.
9136 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9137 conditional code.
9138
9139 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9140
9141 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9142 slight instruction rearrangements per scrollpipe analysis.
9143 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9144
9145 2012-08-20 Roland McGrath <roland@hack.frob.com>
9146
9147 * manual/syslog.texi (syslog; vsyslog, closelog):
9148 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9149 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9150
9151 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9152 DSOCAPS to match condition on defining it.
9153
9154 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9155
9156 * sysdeps/unix/sysv/linux/kernel-features.h
9157 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9159 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9160 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9162 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9163 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9165 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9166 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9167
9168 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9169 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9170
9171 * sysdeps/unix/sysv/linux/kernel-features.h
9172 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9173 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9174 unconditional.
9175 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9176 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9177 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9178 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9179 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9180 Make code unconditional.
9181 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9182 (__mmap64) [!__NR_mmap2]: Likewise.
9183 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9184 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9185 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9186 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9187 [__NR_mmap2]: Make code unconditional.
9188 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9189 (__mmap64) [!__NR_mmap2]: Likewise.
9190
9191 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9192
9193 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9194
9195 2012-08-18 Andreas Jaeger <aj@suse.de>
9196
9197 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9198
9199 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9200
9201 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9202 * include/unistd.h (__have_sock_cloexec): Likewise.
9203 (__have_pipe2): Likewise.
9204 (__have_dup3): Likewise.
9205
9206 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9207
9208 [BZ #9685]
9209 * include/unistd.h (__have_pipe2): Change define into an extern int.
9210 (__have_dup3): Likewise.
9211 * socket/have_sock_cloexec.c: Include fcntl.h.
9212 (__have_pipe2): New variable.
9213 (__have_dup3): Likewise.
9214
9215 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9216
9217 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9218
9219 2012-08-17 Marek Polacek <polacek@redhat.com>
9220
9221 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9222 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9223
9224 2012-08-17 Roland McGrath <roland@hack.frob.com>
9225
9226 * configure.in: Add AC_SUBST for sysheaders.
9227 * configure: Regenerated.
9228 * config.make.in (sysheaders): New substituted variable.
9229
9230 * sysdeps/unix/mkfifo.c: Moved ...
9231 * sysdeps/posix/mkfifo.c: ... here.
9232 * sysdeps/unix/mkfifoat.c: Moved ...
9233 * sysdeps/posix/mkfifoat.c: ... here.
9234
9235 * sysdeps/unix/utime.c: Moved ...
9236 * sysdeps/posix/utime.c: ... here.
9237
9238 * sysdeps/unix/time.c: Moved ...
9239 * sysdeps/posix/time.c: ... here.
9240 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9241 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9242
9243 * sysdeps/unix/nice.c: Moved ...
9244 * sysdeps/posix/nice.c: ... here.
9245
9246 * sysdeps/unix/alarm.c: Moved ...
9247 * sysdeps/posix/alarm.c: ... here.
9248
9249 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9250
9251 2012-08-17 Jeff Law <law@redhat.com>
9252
9253 * intl/Makefile (codeset_mo): New variable.
9254 ($(codeset_mo)): New target.
9255 (tst-codeset.out): Depend on that. Remove explicit rule.
9256 (tst-gettext3.out, tst-gettext5.out): Likewise.
9257 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9258 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9259 * intl/tst-codeset.sh: Remove.
9260 * intl/tst-gettext3.sh: Likewise.
9261 * intl/tst-gettext5.sh: Likewise.
9262
9263 2012-08-17 Roland McGrath <roland@hack.frob.com>
9264
9265 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9266 * sysdeps/unix/syscalls.list: ... here.
9267
9268 * sysdeps/posix/getaddrinfo.c
9269 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9270 (gaiconf_init, gaiconf_reload): Use them.
9271 [!_STATBUF_ST_NSEC]
9272 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9273 Define using time_t rather than struct timespec.
9274
9275 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9276 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9277 Macros removed.
9278 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9279 [!NO_THREADS].
9280 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9281 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9282 Likewise.
9283
9284 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9285 __libc_cleanup_push argument.
9286
9287 * bits/param.h: New file.
9288 * misc/sys/param.h: New file.
9289 * include/sys/param.h: New file.
9290 * misc/Makefile (headers): Add bits/param.h.
9291 * sysdeps/generic/sys/param.h: File removed.
9292 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9293 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9294 * sysdeps/mach/hurd/bits/param.h: New file.
9295 * sysdeps/mach/hurd/sys/param.h: File removed.
9296
9297 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9298 last change.
9299
9300 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9301 [_IO_MTSAFE_IO].
9302 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9303 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9304 New macros.
9305
9306 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9307 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9308 rather than -D_IO_MTSAFE_IO conditionally.
9309 * stdio-common/Makefile (CPPFLAGS): Likewise.
9310 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9311 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9312 Use $(libio-mtsafe).
9313 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9314 of -D_IO_MTSAFE_IO.
9315 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9316 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9317 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9318 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9319 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9320 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9321 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9322 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9323 (CFLAGS-fread_u_chk.c): Likewise.
9324 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9325 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9326 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9327 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9328 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9329 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9330 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9331 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9332 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9333
9334 * libio/Makefile: Test [$(libc-reentrant) = yes]
9335 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9336
9337 * Makeconfig
9338 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9339 * sysdeps/pthread/configure: File removed.
9340 * sysdeps/pthread/Makeconfig: New file.
9341 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9342 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9343
9344 2012-08-16 Gary Benson <gbenson@redhat.com>
9345
9346 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9347 unmapping the first object in a namespace.
9348
9349 2012-08-16 Roland McGrath <roland@hack.frob.com>
9350
9351 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9352 (__internal_setnetgrent): ... this. Add internal_function to
9353 definition. Add libc_hidden_def.
9354 (setnetgrent): Update caller.
9355 (internal_endnetgrent): Renamed to ...
9356 (__internal_endnetgrent): ... this. Add internal_function to
9357 definition. Add libc_hidden_def.
9358 (endnetgrent): Update caller.
9359 (internal_getnetgrent_r): Renamed to ...
9360 (__internal_getnetgrent_r): ... this. Add internal_function to
9361 definition. Add libc_hidden_def.
9362 (__getnetgrent_r): Update caller.
9363 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9364
9365 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9366
9367 * stdlib/longlong.h: Update from GCC.
9368
9369 2012-08-16 Roland McGrath <roland@hack.frob.com>
9370
9371 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9372 on _QL, which is set by umul_ppmm but never used.
9373 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9374 variables, which are set by GMP macros but never used.
9375 * stdio-common/_itowa.c (_itowa): Likewise.
9376 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9377 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9378
9379 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9380
9381 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9382 struct La_sh_regs is not constant.
9383 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9384 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9385 and struct La_sparc64_regs are not constant.
9386
9387 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9388
9389 * sysdeps/unix/sysv/linux/kernel-features.h
9390 (__ASSUME_POSIX_TIMERS): Remove.
9391 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9392 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9393 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9394 Make code unconditional.
9395 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9396 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9397 Make code unconditional.
9398 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9399 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9400 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9401 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9402 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9403 Make code unconditional.
9404 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9405 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9406 (__libc_missing_posix_timers): Remove.
9407
9408 2012-08-15 Roland McGrath <roland@hack.frob.com>
9409
9410 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9411 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9412
9413 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9414
9415 * elf/dl-sym.c: Include <stdlib.h>.
9416
9417 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9418 constants, which avoids warnings in 32-bit builds.
9419
9420 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9421 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9422
9423 * misc/lseek.c: File moved to ...
9424 * io/lseek.c: ... here.
9425
9426 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9427
9428 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9429 shifting LEN more than 31 bits at once.
9430
9431 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9432
9433 [BZ #14195]
9434 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9435 segmentation fault for a case of two empty input strings.
9436 * string/test-strncasecmp.c (check1): Renamed to...
9437 (bz12205): ...this.
9438 (bz14195): Add new testcase for two empty input strings and N > 0.
9439 (test_main): Call new testcase, adapt for renamed function.
9440
9441 2012-08-15 Andreas Jaeger <aj@suse.de>
9442
9443 [BZ #14090]
9444 * crypt/md5test2.c: New test, based on test supplied by Serge
9445 Belyshev <belyshev@depni.sinp.msu.ru>.
9446 * crypt/Makefile (xtests): Add md5test-giant..
9447 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9448
9449 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9450
9451 [BZ #14090]
9452 * crypt/md5.c (md5_process_block): Don't assume the buffer
9453 length is less than 2**32.
9454 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9455 length is less than 2**64.
9456
9457 2012-08-15 Roland McGrath <roland@hack.frob.com>
9458
9459 * string/str-two-way.h: Include <sys/param.h>.
9460 (MAX): Macro removed.
9461
9462 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9463 Move #define and #undef of memmove to just before and after
9464 including <string.h>.
9465
9466 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9467 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9468 and after including <string.h>. Move declarations of
9469 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9470 to before #include "string/memmove.c".
9471
9472 * include/dirent.h: Declare __getdirentries.
9473
9474 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9475 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9476
9477 2012-08-14 Mike Frysinger <vapier@gentoo.org>
9478
9479 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9480 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9481 * sysdeps/i386/configure: Regenerated.
9482 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9483 STABS_CURRENT_FILE, and STABS_FUN.
9484 (END): Remove call to STABS_FUN_END.
9485 (STABS_CURRENT_FILE1): Delete.
9486 (STABS_CURRENT_FILE): Likewise.
9487 (STABS_FUN): Likewise.
9488 (STABS_FUN_END): Likewise.
9489 (STABS_FUN2): Likewise.
9490 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9491 * sysdeps/x86_64/configure: Regenerated.
9492
9493 2012-08-14 Roland McGrath <roland@hack.frob.com>
9494
9495 * elf/dl-open.c: Include <atomic.h>.
9496 * elf/dl-lookup.c: Likewise.
9497
9498 2012-08-14 Joseph Myers <joseph@codesourcery.com>
9499
9500 * sysdeps/unix/sysv/linux/kernel-features.h
9501 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9502 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9503 unconditionally.
9504 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9505 unconditionally.
9506 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9507 condition on __ASSUME_CLONE_THREAD_FLAGS.
9508
9509 2012-08-14 Andreas Jaeger <aj@suse.de>
9510
9511 * sysdeps/i386/fpu/libm-test-ulps: Update.
9512
9513 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9514
9515 * include/atomic.h (atomic_exchange_and_add): Split into ...
9516 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9517 New atomic macros.
9518
9519 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9520
9521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9522
9523 2012-08-13 Jeff Law <law@redhat.com>
9524
9525 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9526 null byte in the output string.
9527
9528 2012-08-10 Joseph Myers <joseph@codesourcery.com>
9529
9530 * sysdeps/unix/sysv/linux/kernel-features.h
9531 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9532 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9533 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9534 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9535 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9536 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9537 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9538
9539 2012-08-09 Jeff Law <law@redhat.com>
9540
9541 [BZ #13939]
9542 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9543 When avoid_arena is set, don't retry in the that arena. Pick the
9544 next one, whatever it might be.
9545 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9546 (arena_lock): Pass in new parameter to arena_get2.
9547 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9548 arena_get2.
9549 (__libc_malloc): Unify retrying after main arena failure with
9550 __libc_memalign version.
9551 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9552
9553 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9554
9555 [BZ #14166]
9556 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9557 to __redirect_strstr.
9558 (__strstr_sse42): Use typeof __redirect_strstr.
9559 (__strstr_ia32): Likewise.
9560 (__libc_strstr): New prototype.
9561 (strstr): Renamed to ...
9562 (__libc_strstr): This.
9563 (strstr): New strong alias of __libc_strstr.
9564 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9565 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9566 __redirect_time.
9567 Include <time.h>.
9568 (__libc_time): New prototype.
9569 (time_ifunc): Replace time with __libc_time.
9570 (time): New strong alias and hidden definition of __libc_time.
9571 (__GI_time): Remove strong alias.
9572 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9573 Include <stddef.h>.
9574 (memmove): Redefined to __redirect_memmove.
9575 (__memmove_sse2): Use typeof __redirect_memmove.
9576 (__memmove_ssse3): Likewise.
9577 (__memmove_ssse3_back): Likewise.
9578 (__libc_memmove): New prototype.
9579 (memmove): Renamed to ...
9580 (__libc_memmove): This.
9581 (memmove): New strong alias of __libc_memmove.
9582
9583 2012-08-08 Mark Salter <msalter@redhat.com>
9584
9585 * elf/elf.h
9586 (R_MN10300_TLS_GD): Define.
9587 (R_MN10300_TLS_LD): Likewise.
9588 (R_MN10300_TLS_LDO): Likewise.
9589 (R_MN10300_TLS_GOTIE): Likewise.
9590 (R_MN10300_TLS_IE): Likewise.
9591 (R_MN10300_TLS_LE): Likewise.
9592 (R_MN10300_TLS_DTPMOD): Likewise.
9593 (R_MN10300_TLS_DTPOFF): Likewise.
9594 (R_MN10300_TLS_TPOFF): Likewise.
9595 (R_MN10300_SYM_DIFF): Likewise.
9596 (R_MN10300_ALIGN): Likewise.
9597 (R_MN10300_NUM): Update.
9598
9599 2012-08-08 Joseph Myers <joseph@codesourcery.com>
9600
9601 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9602 Remove.
9603
9604 2012-08-08 Roland McGrath <roland@hack.frob.com>
9605
9606 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9607
9608 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9609 sysdeps/unix -> sysdeps/posix move.
9610 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9611
9612 2012-08-07 Allan McRae <allan@archlinux.org>
9613
9614 [BZ #14303]
9615 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9616 (SUNOS_CPP): Likewise.
9617 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9618 not found.
9619 (open_input): Call CPP using execvp.
9620
9621 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9622
9623 * sysdeps/unix/sysv/linux/kernel-features.h
9624 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9625 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9626 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9627 (__ASSUME_WAITID_SYSCALL): Likewise.
9628 * sysdeps/unix/sysv/linux/dl-execstack.c
9629 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9630 code unconditional.
9631 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9632 conditional code.
9633 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9634 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9635 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9636 code.
9637 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9638 unconditional.
9639 [__ASSUME_WAITID_SYSCALL]: Likewise.
9640 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9641
9642 2012-08-07 Roland McGrath <roland@hack.frob.com>
9643
9644 * sysdeps/unix/closedir.c: Renamed to ...
9645 * sysdeps/posix/closedir.c: ... here.
9646 * sysdeps/unix/dirfd.c: Renamed to ...
9647 * sysdeps/posix/dirfd.c: ... here.
9648 * sysdeps/unix/dirstream.h: Renamed to ...
9649 * sysdeps/posix/dirstream.h: ... here.
9650 * sysdeps/unix/fdopendir.c: Renamed to ...
9651 * sysdeps/posix/fdopendir.c: ... here.
9652 * sysdeps/unix/opendir.c: Renamed to ...
9653 * sysdeps/posix/opendir.c: ... here.
9654 * sysdeps/unix/readdir.c: Renamed to ...
9655 * sysdeps/posix/readdir.c: ... here.
9656 * sysdeps/unix/readdir_r.c: Renamed to ...
9657 * sysdeps/posix/readdir_r.c: ... here.
9658 * sysdeps/unix/rewinddir.c: Renamed to ...
9659 * sysdeps/posix/rewinddir.c: ... here.
9660 * sysdeps/unix/seekdir.c: Renamed to ...
9661 * sysdeps/posix/seekdir.c: ... here.
9662 * sysdeps/unix/telldir.c: Renamed to ...
9663 * sysdeps/posix/telldir.c: ... here.
9664 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9665 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9666 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9667 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9668
9669 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9670 * bits/fcntl.h: ... here.
9671
9672 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9673 not 0.
9674 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9675 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9676 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9677 (struct flock): Move l_start, l_len to the beginning.
9678 Use __pid_t for l_pid.
9679 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9680 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9681 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9682 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9683 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9684 [__USE_LARGEFILE64] (struct flock64): New type.
9685 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9686
9687 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9688 * bits/dirent.h: ... here.
9689
9690 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9691 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9692
9693 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9694
9695 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9696 Change from 2.6.0 to 2.6.16.
9697 * sysdeps/unix/sysv/linux/configure: Regenerated.
9698 * sysdeps/unix/sysv/linux/kernel-features.h
9699 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9700 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9701 version.
9702 (__ASSUME_UTIMES): Likewise.
9703 (__ASSUME_CLONE_STOPPED): Remove.
9704 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9705 architectures, not kernel version.
9706 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9707 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9708 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9709 (__ASSUME_WAITID_SYSCALL): Likewise.
9710 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9711 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9712 * README: State 2.6.16 as minimum Linux kernel version. Do not
9713 refer to older versions.
9714
9715 2012-08-06 Roland McGrath <roland@hack.frob.com>
9716
9717 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9718 Define alphasort64 as an alias.
9719 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9720 Define versionsort64 as an alias.
9721 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9722 Define scandir64 as an alias.
9723 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9724 Define scandirat64 as an alias.
9725 * dirent/alphasort64.c (alphasort64):
9726 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9727 * dirent/versionsort64.c: Likewise.
9728 * dirent/scandir64.c: Likewise.
9729 * dirent/scandirat64.c: Likewise.
9730 * sysdeps/wordsize-64/alphasort.c: File removed.
9731 * sysdeps/wordsize-64/alphasort64.c: File removed.
9732 * sysdeps/wordsize-64/scandir.c: File removed.
9733 * sysdeps/wordsize-64/scandir64.c: File removed.
9734 * sysdeps/wordsize-64/scandirat.c: File removed.
9735 * sysdeps/wordsize-64/scandirat64.c: File removed.
9736 * sysdeps/wordsize-64/versionsort.c: File removed.
9737 * sysdeps/wordsize-64/versionsort64.c: File removed.
9738 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9739 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9740 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9741 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9742 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9743 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9744 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9745 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9746
9747 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9748 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9749 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9750 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9751 [defined __arch64__ || defined __sparcv9]
9752 (__INO_T_MATCHES_INO64_T): New macro.
9753 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9754 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9755 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9756 * sysdeps/unix/sysv/linux/bits/dirent.h
9757 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9758 (_DIRENT_MATCHES_DIRENT64): New macro.
9759
9760 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9761 Define lockf64 as an alias.
9762 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9763 Define fseeko64 as an alias.
9764 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9765 Define ftello64 as an alias.
9766 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9767 Define _IO_fgetpos64 and fgetpos64 as aliases.
9768 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9769 Define _IO_fsetpos64 and fsetpos64 as aliases.
9770 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9771 Conditionalize body on this.
9772 * libio/fseeko64.c: Likewise.
9773 * libio/ftello64.c: Likewise.
9774 * libio/iofgetpos64.c: Likewise.
9775 * libio/iofsetpos64.c: Likewise.
9776 * sysdeps/wordsize-64/lockf.c: File removed.
9777 * sysdeps/wordsize-64/lockf64.c: File removed.
9778 * sysdeps/wordsize-64/fseeko.c: File removed.
9779 * sysdeps/wordsize-64/fseeko64.c: File removed.
9780 * sysdeps/wordsize-64/ftello.c: File removed.
9781 * sysdeps/wordsize-64/ftello64.c: File removed.
9782 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9783 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9784 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9785 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9786 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9787 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9788 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9789 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9790 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9791 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9792 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9793 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9794 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9795 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9796
9797 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9798 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9799 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9800 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9801 [defined __arch64__ || defined __sparcv9]
9802 (__OFF_T_MATCHES_OFF64_T): New macro.
9803 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9804 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9805 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9806 (__OFF_T_MATCHES_OFF64_T): New macro.
9807
9808 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9809
9810 * stdlib/secure-getenv.c (__secure_getenv): Replace
9811 GLIBC_2_16 with GLIBC_2_17.
9812
9813 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9814
9815 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9816 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9817
9818 2012-08-03 David S. Miller <davem@davemloft.net>
9819
9820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9821
9822 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9823
9824 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9825 Remove.
9826 (__ASSUME_CORRECT_SI_PID): Likewise.
9827 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9828 (__ASSUME_TMPFS_NAME): Likewise.
9829 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9830 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9831 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9832 (HAVE_AUX_SECURE): Make definition unconditional.
9833 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9834 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9835
9836 2012-08-03 Roland McGrath <roland@hack.frob.com>
9837
9838 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9839 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9840 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9841 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9842 __eloop_threshold instead of SYMLOOP_MAX.
9843
9844 * sysdeps/generic/eloop-threshold.h: New file.
9845 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9846 of MAXSYMLINKS.
9847 * elf/chroot_canon.c (chroot_canon): Likewise.
9848
9849 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9850
9851 [BZ #13717]
9852 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9853 Change to 2.6.0 everywhere.
9854 * sysdeps/unix/sysv/linux/configure: Regenerated.
9855 * sysdeps/unix/sysv/linux/kernel-features.h
9856 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9857 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9858 kernel versions.
9859 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9860 (__ASSUME_FUTEX_REQUEUE): Remove.
9861 (__ASSUME_STATFS64): Define unconditionally.
9862 (__ASSUME_AT_SECURE): Likewise.
9863 (__ASSUME_CORRECT_SI_PID): Likewise.
9864 (__ASSUME_TGKILL): Define without depending on kernel version for
9865 i386.
9866 (__ASSUME_UTIMES): Likewise.
9867 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9868 kernel version.
9869 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9870 (__ASSUME_TMPFS_NAME): Likewise.
9871 * README: Update reference to Linux kernel versions.
9872
9873 2012-08-02 Marek Polacek <polacek@redhat.com>
9874
9875 [BZ# 14150]
9876 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9877 libc_cv_asm_type_prefix with %.
9878 * configure: Regenerated.
9879 * include/libc-symbols.h: Remove comment about
9880 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9881 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9882 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9883 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9884 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9885 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9886 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9887 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9888 * elf/tst-unique2mod1.c: Likewise.
9889 * elf/tst-unique1mod2.c: Likewise.
9890 * elf/tst-unique1mod1.c: Likewise.
9891 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9892 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9893 Replace ASM_TYPE_DIRECTIVE with .type.
9894 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9895 * sysdeps/i386/sysdep.h: Likewise.
9896 * sysdeps/x86_64/sysdep.h: Likewise.
9897 * sysdeps/sh/sysdep.h: Likewise.
9898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9899 Do not define ASM_TYPE_DIRECTIVE.
9900 * sysdeps/powerpc/sysdep.h: Likewise.
9901 * sysdeps/powerpc/powerpc32/sysdep.h:
9902 Replace ASM_TYPE_DIRECTIVE with .type.
9903 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9904 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9905 * sysdeps/i386/fpu/e_powf.S: Likewise.
9906 * sysdeps/i386/fpu/e_expl.S: Likewise.
9907 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9908 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9909 * sysdeps/i386/fpu/e_pow.S: Likewise.
9910 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9911 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9912 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9913 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9914 * sysdeps/i386/fpu/e_log2.S: Likewise.
9915 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9916 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9917 * sysdeps/i386/fpu/e_powl.S: Likewise.
9918 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9919 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9920 * sysdeps/i386/fpu/e_logl.S: Likewise.
9921 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9922 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9923 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9924 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9925 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9926 * sysdeps/i386/fpu/e_log.S: Likewise.
9927 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9928 * sysdeps/i386/fpu/e_logf.S: Likewise.
9929 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9930 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9931 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9932 * sysdeps/i386/fpu/e_log10.S: Likewise.
9933 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9934 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9935 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9936 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9937 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9938 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9939 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9940 * sysdeps/i386/i686/strtok.S: Likewise.
9941 * sysdeps/i386/i386-mcount.S: Likewise.
9942 * sysdeps/i386/strtok.S: Likewise.
9943 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9944 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9945 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9946 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9947 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9948 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9949 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9950 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9951 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9952 * sysdeps/x86_64/_mcount.S: Likewise.
9953 * sysdeps/x86_64/strtok.S: Likewise.
9954 * sysdeps/sh/_mcount.S: Likewise.
9955
9956 2012-08-01 Roland McGrath <roland@hack.frob.com>
9957
9958 * libio/iofopen.c: Include <fcntl.h>.
9959 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9960 (_IO_fopen64, fopen64): Define as aliases.
9961 * libio/iofopen64.c: Include <fcntl.h>.
9962 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9963 Conditionalize body on this.
9964 * sysdeps/wordsize-64/iofopen.c: File removed.
9965 * sysdeps/wordsize-64/iofopen64.c: File removed.
9966
9967 2012-08-01 Marek Polacek <polacek@redhat.com>
9968
9969 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9970 Use dlfcn directly instead of a variable.
9971 (binfmt-subdir): Do not define.
9972 (dlfcn): Likewise.
9973
9974 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9975
9976 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9977 Remove all definitions.
9978 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9979 <kernel-features.h>.
9980 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9981 (miss_F_GETOWN_EX): Remove all definitions.
9982 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9983 macro definition.
9984 [!__ASSUME_FCNTL64]: Remove conditional code.
9985 [__ASSUME_FCNTL64]: Make code unconditional.
9986 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9987 <kernel-features.h>.
9988 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9989 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9990 (lockf64) [__NR_fcntl64]: Make code unconditional.
9991 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9992
9993 * sysdeps/unix/sysv/linux/kernel-features.h
9994 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9995 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9996 Make code unconditional.
9997 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9998 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10000 [__NR_vfork]: Make code unconditional.
10001 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10002 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10004 [__NR_vfork]: Make code unconditional.
10005 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10006 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10007
10008 2012-08-01 Roland McGrath <roland@hack.frob.com>
10009
10010 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10011 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10012
10013 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10014 Define mkstemp64 as an alias.
10015 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10016 Define mkstemps64 as an alias.
10017 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10018 Define mkostemp64 as an alias.
10019 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10020 Define mkostemps64 as an alias.
10021 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10022 Conditionalize body on this.
10023 * misc/mkostemp64.c: Likewise.
10024 * misc/mkostemps64.c: Likewise.
10025 * misc/mkstemps64.c: Likewise.
10026 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10027 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10028 * sysdeps/wordsize-64/mkostemp.c: File removed.
10029 * sysdeps/wordsize-64/mkstemp.c: File removed.
10030 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10031 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10032 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10033 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10034
10035 [BZ #14138]
10036 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10037 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10038 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10039 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10040
10041 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10042 compat_symbol macros from <shlib-compat.h> rather than the underlying
10043 default_symbol_version and symbol_version macros, so that DEFAULT
10044 lines in shlib-versions are respected.
10045 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10046
10047 2012-08-01 Florian Weimer <fweimer@redhat.com>
10048
10049 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10050 Declare with warn_unused_result.
10051 (setgid, setregid, setegid, setresgid): Likewise.
10052 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10053 Likewise.
10054 * WUR-REPORT: Remove set*id functions.
10055
10056 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10057
10058 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10059
10060 2012-07-31 Roland McGrath <roland@hack.frob.com>
10061
10062 * include/sys/socket.h (__libc_accept, __libc_accept4):
10063 Add attribute_hidden.
10064 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10065
10066 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10067 use of PTR_MANGLE.
10068 * inet/getnetgrent_r.c (setup): Likewise.
10069
10070 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10071
10072 2012-07-31 David S. Miller <davem@davemloft.net>
10073
10074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10075
10076 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10077
10078 [BZ #13629]
10079 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10080 value between 1.0 and 2.0 and smaller part has absolute value less
10081 than 1.0.
10082 * math/s_clog10.c (__clog10): Likewise.
10083 * math/s_clog10f.c (__clog10f): Likewise.
10084 * math/s_clog10l.c (__clog10l): Likewise.
10085 * math/s_clogf.c (__clogf): Likewise.
10086 * math/s_clogl.c (__clogl): Likewise.
10087 * math/libm-test.inc (clog_test): Add more tests.
10088 (clog10_test): Likewise.
10089 * sysdeps/i386/fpu/libm-test-ulps: Update.
10090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10091
10092 2012-07-31 Florian Weimer <fweimer@redhat.com>
10093
10094 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10095 Exit with zero in case no suitable GID is found, and write a
10096 message to standard error.
10097
10098 2012-07-30 Roland McGrath <roland@hack.frob.com>
10099
10100 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10101 rather than to 1.
10102 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10103 (MAXPATHLEN): Removed.
10104 (NOGROUP, NODEV): New macros.
10105 (setbit, clrbit, isset, isclr): New macros.
10106 (howmany, roundup, powerof2): New macros.
10107 (DEV_BSIZE): New macro.
10108
10109 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10110 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10111
10112 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10113 definition on [!__NO_LONG_DOUBLE_MATH].
10114
10115 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10116 PTR_MANGLE and PTR_DEMANGLE.
10117
10118 * socket/accept4.c (accept4): Rename to __libc_accept4.
10119 Define accept4 as a weak alias.
10120
10121 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10122 on [_DIRENT_HAVE_D_TYPE].
10123 * io/ftw.c (ftw_dir): Likewise.
10124
10125 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10126
10127 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10128
10129 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10130 Use the BSD numbers rather than the arbitrary ones we had.
10131 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10132 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10133 (SIGXCPU, SIGXFSZ): New macros.
10134 (_NSIG): Now 32.
10135
10136 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10137 initializer on [_LIBC_REENTRANT].
10138
10139 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10140 definitions inside [_POSIX_MAPPED_FILES].
10141
10142 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10143
10144 * dirent/opendir.c: Include <fcntl.h>.
10145
10146 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10147 (__libc_getspecific): Likewise.
10148 (__libc_key_create): Likewise.
10149
10150 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10151 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10152 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10153 (tmpfile64): Define as alias.
10154 * sysdeps/wordsize-64/tmpfile.c: File removed.
10155 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10156 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10157 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10158
10159 * stdio-common/vfscanf.c: Include <stdbool.h>.
10160 * nss/makedb.c: Likewise.
10161 * stdio-common/_i18n_number.h: Likewise.
10162 * argp/argp-help.c: Likewise.
10163 * posix/wordexp.c: Likewise.
10164 * sysdeps/posix/spawni.c: Likewise.
10165 * nss/nss_files/files-initgroups.c: Likewise.
10166 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10167 * nss/nss_files/files-initgroups.c: Likewise.
10168 * nss/nss_db/db-netgrp.c: Likewise.
10169 * nss/nss_db/db-initgroups.c: Likewise.
10170 * io/fchmodat.c: Include <sys/stat.h>.
10171
10172 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10173 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10174
10175 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10176 [HAVE_MMAP].
10177
10178 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10179 Add multiple inclusion protection.
10180
10181 2012-07-27 David S. Miller <davem@davemloft.net>
10182
10183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10184
10185 2012-07-27 Gary Benson <gbenson@redhat.com>
10186
10187 [BZ #14298]
10188 * elf/rtld.c: Include <stap-probe.h>.
10189 (dl_main): Added static probes "init_start" and "init_complete".
10190 * elf/dl-load.c: Include <stap-probe.h>.
10191 (lose): Take new parameter "nsid".
10192 Added static probe "map_failed".
10193 (_dl_map_object_from_fd): Pass namespace id to lose.
10194 Added static probe "map_start".
10195 (open_verify): Pass namespace id to lose.
10196 * elf/dl-open.c: Include <stap-probe.h>.
10197 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10198 and "reloc_complete".
10199 * elf/dl-close.c: Include <stap-probe.h>.
10200 (_dl_close_worker): Added static probes "unmap_start" and
10201 "unmap_complete".
10202 * elf/rtld-debugger-interface.txt: New file documenting the above.
10203
10204 2012-07-26 Roland McGrath <roland@hack.frob.com>
10205
10206 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10207 rather than a string variable.
10208 * sunrpc/rpc_main.c (h_output): Likewise.
10209 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10210
10211 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10212
10213 * inet/check_native.c: New file.
10214
10215 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10216
10217 [BZ #13629]
10218 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10219 if larger part has absolute value 1.0.
10220 * math/s_clog10.c (__clog10): Likewise.
10221 * math/s_clog10f.c (__clog10f): Likewise.
10222 * math/s_clog10l.c (__clog10l): Likewise.
10223 * math/s_clogf.c (__clogf): Likewise.
10224 * math/s_clogl.c (__clogl): Likewise.
10225 * math/libm-test.inc (clog_test): Add more tests.
10226 (clog10_test): Likewise.
10227 * sysdeps/i386/fpu/libm-test-ulps: Update.
10228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10229
10230 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10231 (pltexit): Likewise.
10232 (La_regs): Likewise.
10233 (La_retval): Likewise.
10234 (int_retval): Likewise.
10235 Update #error for removed macros to refer only to definitions in
10236 tst-audit.h.
10237 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10238 macro.
10239 (pltexit): Likewise.
10240 (La_regs): Likewise.
10241 (La_retval): Likewise.
10242 (int_retval): Likewise.
10243 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10244 macro.
10245 (pltexit): Likewise.
10246 (La_regs): Likewise.
10247 (La_retval): Likewise.
10248 (int_retval): Likewise.
10249 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10250 macro.
10251 (pltexit): Likewise.
10252 (La_regs): Likewise.
10253 (La_retval): Likewise.
10254 (int_retval): Likewise.
10255 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10256 macro.
10257 (pltexit): Likewise.
10258 (La_regs): Likewise.
10259 (La_retval): Likewise.
10260 (int_retval): Likewise.
10261 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10262 macro.
10263 (pltexit): Likewise.
10264 (La_regs): Likewise.
10265 (La_retval): Likewise.
10266 (int_retval): Likewise.
10267 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10268 macro.
10269 (pltexit): Likewise.
10270 (La_regs): Likewise.
10271 (La_retval): Likewise.
10272 (int_retval): Likewise.
10273 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10274 macro definitions in tst-audit.h.
10275 * sysdeps/i386/tst-audit.h: New file.
10276 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10277 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10278 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10279 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10280 * sysdeps/sh/tst-audit.h: Likewise.
10281 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10282 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10283 * sysdeps/x86_64/tst-audit.h: Likewise.
10284
10285 2012-07-26 Andreas Jaeger <aj@suse.de>
10286
10287 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10288 ptrace.
10289
10290 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10291 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10292 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10293 PTRACE_O_MASK.
10294 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10295 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10296 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10297
10298 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10299 value.
10300
10301 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10302 _sigsys.
10303 (si_call_addr, si_syscall, si_arch): Define new macro.
10304 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10305 _sigsys.
10306 (si_call_addr, si_syscall, si_arch): Define new marcro.
10307 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10308 _sigsys.
10309 (si_call_addr, si_syscall, si_arch): Define new macro.
10310 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10311 _sigsys.
10312 (si_call_addr, si_syscall, si_arch): Define new macro.
10313
10314 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10315
10316 [BZ #13717]
10317 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10318 Change to 2.4.21 where previously 2.4.1.
10319 * sysdeps/unix/sysv/linux/configure: Regenerated.
10320 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10321 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10322 Linux kernel version.
10323 (__ASSUME_STD_AUXV): Remove.
10324 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10325 kernel version.
10326 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10327 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10328 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10329 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10330 (__ASSUME_NETLINK_SUPPORT): Likewise.
10331 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10332 (__no_netlink_support): Remove conditional definition.
10333 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10334 Remove.
10335 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10336 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10337 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10338 (if_nameindex_ioctl): Remove.
10339 (if_nameindex_netlink): Do not handle __no_netlink_support.
10340 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10341 code.
10342 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10343 Remove conditional code.
10344 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10345 code.
10346 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10347 unconditional.
10348 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10349 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10350 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10351 Remove.
10352 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10353 [!__ASSUME_STD_AUXV]: Remove conditional code.
10354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10355 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10356 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10358 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10359 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10360 code.
10361 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10363 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10364 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10365 conditional code.
10366 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10368 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10369 code.
10370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10371 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10372 conditional code.
10373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10374 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10375 code unconditional.
10376 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10377 conditional code.
10378 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10379 unconditional.
10380 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10381 conditional code.
10382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10383 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10384 unconditional.
10385 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10386 conditional code.
10387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10388 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10389 code unconditional.
10390 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10391 conditional code.
10392 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10393 unconditional.
10394 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10395 conditional code.
10396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10397 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10398 code unconditional.
10399 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10400 conditional code.
10401 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10402 unconditional.
10403 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10404 conditional code.
10405
10406 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10407
10408 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10409 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10410 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10411 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10412 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10413 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10414 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10415 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10416 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10417 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10418 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10419 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10420 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10421 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10422 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10423 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10424 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10425 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10426 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10427 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10428 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10429 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10430 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10431
10432 2012-07-25 Florian Weimer <fweimer@redhat.com>
10433
10434 * Versions.def: Add GLIBC_2.17.
10435 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10436 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10437 Introduce __libc_secure_getenv.
10438 * stdlib/Versions (2.17): Add secure_getenv
10439 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10440 * stdlib/secure-getenv.c: Rename __secure_getenv to
10441 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10442 symbol __secure_getenv for GLIBC_2.0.
10443 * stdlib/tst-secure-getenv.c: New.
10444 * stdlib/Makefile (tests): Add testcase.
10445 * manual/startup.texi (Environment Access): Document
10446 secure_getenv.
10447 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10448 __libc_secure_getenv.
10449 * inet/ruserpass.c (ruserpass): Likewise.
10450 * malloc/mtrace.c (mtrace): Likewise.
10451 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10452 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10453 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10454 * sysdeps/posix/tempname.c: Likewise. Evaluate
10455 HAVE_SECURE_GETENV.
10456 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10457 __secure_getenv to __libc_secure_getenv.
10458 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10460 Likewise.
10461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10462 Likewise.
10463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10465 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10470
10471 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10472
10473 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10474 (struct La_i86_retval): Likewise.
10475 (struct La_x86_64_regs): Likewise.
10476 (struct La_x86_64_retval): Likewise.
10477 (struct La_x32_regs): Likewise.
10478 (struct La_x32_retval): Likewise.
10479 (struct La_ppc32_regs): Likewise.
10480 (struct La_ppc32_retval): Likewise.
10481 (struct La_ppc64_regs): Likewise.
10482 (struct La_ppc64_retval): Likewise.
10483 (struct La_sh_regs): Likewise.
10484 (struct La_sh_retval): Likewise.
10485 (struct La_s390_32_regs): Likewise.
10486 (struct La_s390_32_retval): Likewise.
10487 (struct La_s390_64_regs): Likewise.
10488 (struct La_s390_64_retval): Likewise.
10489 (struct La_sparc32_regs): Likewise.
10490 (struct La_sparc32_retval): Likewise.
10491 (struct La_sparc64_regs): Likewise.
10492 (struct La_sparc64_retval): Likewise.
10493 (struct audit_ifaces): Remove architecture-specific pltenter and
10494 pltexit members.
10495 * sysdeps/i386/ldsodefs.h: New file.
10496 * sysdeps/powerpc/ldsodefs.h: Likewise.
10497 * sysdeps/s390/ldsodefs.h: Likewise.
10498 * sysdeps/sh/ldsodefs.h: Likewise.
10499 * sysdeps/sparc/ldsodefs.h: Likewise.
10500 * sysdeps/x86_64/ldsodefs.h: Likewise.
10501
10502 2012-07-25 Marek Polacek <polacek@redhat.com>
10503
10504 [BZ #6808]
10505 * math/libm-test.inc (yn_test): Add another test.
10506 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10507 to ERANGE when the result is +-Inf.
10508 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10509 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10510 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10511 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10512
10513 2012-07-24 Joseph Myers <joseph@codesourcery.com>
10514
10515 * conform/data/time.h-data (NULL): Use macro-constant. Require
10516 equal to 0.
10517 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10518 clock_t.
10519 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10520
10521 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10522
10523 * configure.in <sysdeps resolving>: Correct printing
10524 Implies_before.
10525 * configure: Regenerate.
10526
10527 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10528
10529 * math/w_ilogb.c: Include <limits.h>.
10530 * math/w_ilogbl.c: Likewise.
10531
10532 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10533
10534 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10535 va_copy. Document allowing for unavailable va_copy only as
10536 pre-C99 compatibility.
10537 * manual/string.texi (Copying and Concatenation): Use va_copy
10538 instead of __va_copy in concat example.
10539
10540 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10541
10542 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10543 (__sendto): Use create_address_port. Initialize APORT and deallocate
10544 it if not null.
10545
10546 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10547 with O_NOLINK passed to __file_name_lookup.
10548
10549 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10550 with O_NOLINK passed to __file_name_lookup.
10551
10552 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10553 negative N or less than NGIDS.
10554
10555 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10556 type to string_t. Set ERANGE as errno and return it if NAME is not big
10557 enough. Use memcpy instead of strncpy.
10558
10559 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10560
10561 * elf/Makefile (check-data): Remove.
10562 (localplt.data): New vpath directive.
10563 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10564 instead of $(check-data).
10565 * scripts/data/localplt-generic.data: Move to ...
10566 * sysdeps/generic/localplt.data: ... here.
10567 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10568 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10569 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10571 ... here.
10572 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10574 ... here.
10575 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10577 ... here.
10578 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10580 ... here.
10581 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10583 ... here.
10584 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10586 ... here.
10587
10588 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10589
10590 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10591 PPC32 and PPC64 files.
10592 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10593 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10594
10595 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10596
10597 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10598 __makecontext_ret to ...
10599 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10600 ... here and call exit if uc_link is NULL. New file.
10601 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10602 __makecontext_ret.S.
10603 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10604 __makecontext_ret to ...
10605 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10606 ... here and call exit if uc_link is NULL. New file.
10607 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10608 __makecontext_ret.S.
10609
10610 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10611
10612 * elf/elf.h (R_390_IRELATIVE): New definition.
10613 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10614 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10615 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10616 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10617 (elf_machine_lazy_rel): Likewise.
10618 * sysdeps/s390/dl-irel.h: New file.
10619 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10620 * sysdeps/s390/s390-64/memset.S: New asm code.
10621 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10622 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10623 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10624 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10625 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10626 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10627 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10628 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10629 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10630 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10631 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10632 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10633 * sysdeps/s390/s390-32/memset.S: New asm code.
10634 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10635
10636 2012-07-17 Marek Polacek <polacek@redhat.com>
10637
10638 [BZ #14349]
10639 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10640 * sysdeps/s390/s390-64/configure.in: Likewise.
10641 * sysdeps/sparc/configure.in: Likewise.
10642 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10643 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10644 * sysdeps/i386/configure.in: Likewise.
10645 * sysdeps/x86_64/configure.in: Likewise.
10646 * sysdeps/sh/configure.in: Likewise.
10647 * sysdeps/s390/s390-32/configure: Regenerated.
10648 * sysdeps/s390/s390-64/configure: Likewise.
10649 * sysdeps/x86_64/configure: Likewise.
10650 * sysdeps/sh/configure: Likewise.
10651 * sysdeps/powerpc/powerpc64/configure: Likewise.
10652 * sysdeps/powerpc/powerpc32/configure: Likewise.
10653 * sysdeps/sparc/configure: Likwise.
10654 * sysdeps/i386/configure: Likewise.
10655
10656 * elf/dl-open.c: Comment fixes.
10657
10658 2012-07-17 Joseph Myers <joseph@codesourcery.com>
10659
10660 * Makefile [CXX] (check-data): Remove.
10661 [CXX] (c++-types.data): New vpath directive.
10662 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10663 vpath. Do not allow for C++ type data being missing.
10664 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10665 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10666 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10667 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10668 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10669 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10670 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10672 ... here.
10673 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10675 ... here.
10676 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10678 ... here.
10679 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10681 ... here.
10682 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10684 ... here.
10685 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10687 ... here.
10688 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10690 ... here.
10691 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10693
10694 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10695 definitions to architecture-specific files.
10696 (TLS_IE): Likewise.
10697 (TLS_LD): Likewise.
10698 (TLS_GD): Likewise.
10699 * sysdeps/i386/tls-macros.h: New file.
10700 * sysdeps/powerpc/tls-macros.h: Likewise.
10701 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10702 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10703 * sysdeps/sh/tls-macros.h: Likewise.
10704 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10705 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10706 * sysdeps/x86_64/tls-macros.h: Likewise.
10707
10708 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10709
10710 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10711 zero value for regular exit case.
10712
10713 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10714 (__start_context): Preserve zero value for regular exit case.
10715
10716 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10717 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10718
10719 * manual/setjmp.texi (setcontext): Clarify normal process
10720 termination when uc_link is the null pointer.
10721 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10722 exit call.
10723
10724 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10725
10726 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10727 preprocessor. Test for each exception mask separately.
10728
10729 2012-07-16 Andreas Jaeger <aj@suse.de>
10730
10731 * po/ru.po: Update from translation team.
10732
10733 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10734
10735 * conform/data/string.h-data (NULL): Use macro-constant. Require
10736 equal to 0.
10737 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10738 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10739 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10740 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10741 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10742
10743 2012-07-13 Andreas Jaeger <aj@suse.de>
10744
10745 * po/fr.po: Update from translation team.
10746
10747 2012-07-12 Marek Polacek <polacek@redhat.com>
10748
10749 [BZ #14173]
10750 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10751 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10752 loop condition.
10753
10754 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10755
10756 [BZ #13717]
10757 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10758 Change to 2.4.1 where previously 2.4.0.
10759 * sysdeps/unix/sysv/linux/configure: Regenerated.
10760 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10761 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10762 version.
10763 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10764 (__ASSUME_AT_CLKTCK): Remove.
10765 (__ASSUME_AT_PAGESIZE): Likewise.
10766 (__ASSUME_AT_XID): Likewise.
10767 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10768 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10769 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10770 unconditionally.
10771 (HAVE_AUX_PAGESIZE): Likewise.
10772 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10773 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10774 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10775
10776 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10777
10778 [BZ #14307]
10779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10780 the temporary buffer used to invoke __gethostbyname2_r,
10781 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10782 host_data / struct gaih_addrtuple.
10783 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10784 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10785 header file nss/nsswitch.h.
10786 * nss/nsswitch.h (global scope): Add definition of implementation
10787 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10788 resolv/nss_dns/dns-host.c).
10789
10790 2012-07-11 Andreas Jaeger <aj@suse.de>
10791
10792 * po/fr.po: Update from translation team.
10793
10794 * po/sv.po: Update from translation team
10795 * po/fr.po: Another update from translation team.
10796
10797 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10798
10799 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10800 for subnormals or multiply small sinh result by itself.
10801 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10803
10804 2012-07-11 David S. Miller <davem@davemloft.net>
10805
10806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10807
10808 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10809
10810 [BZ #14347]
10811 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10812 (INTERNAL_MARK): Shift it here.
10813
10814 2012-07-10 Marek Polacek <polacek@redhat.com>
10815
10816 [BZ #14151]
10817 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10818 libc_cv_asm_global_directive with .globl.
10819 * configure: Regenerated.
10820 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10821 with .globl.
10822 * sysdeps/i386/configure: Regenerated.
10823 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10824 with .globl.
10825 * sysdeps/x86_64/configure: Regenerated.
10826 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10827 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10828 * elf/tst-unique2mod2.c: Likewise.
10829 * elf/tst-unique2mod1.c: Likewise.
10830 * elf/tst-unique1mod2.c: Likewise.
10831 * elf/tst-unique1mod1.c: Likewise.
10832 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10833 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10834 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10835 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10836 * sysdeps/mach/sysdep.h: Likewise.
10837 * sysdeps/i386/sysdep.h: Likewise.
10838 * sysdeps/i386/i386-mcount.S: Likewise.
10839 * sysdeps/x86_64/_mcount.S: Likewise.
10840 * sysdeps/x86_64/sysdep.h: Likewise.
10841 * sysdeps/sh/_mcount.S: Likewise.
10842 * sysdeps/sh/sysdep.h: Likewise.
10843 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10844 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10845 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10846 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10847 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10848 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10849 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10850 * locale/localeinfo.h: Likewise.
10851 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10852 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10853
10854 2012-07-09 Roland McGrath <roland@hack.frob.com>
10855
10856 [BZ #14336]
10857 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10858 system".
10859 * manual/message.texi (The Uniforum approach): Likewise.
10860 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10861 (glibc iconv Implementation): Likewise.
10862
10863 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10864
10865 [BZ #14337]
10866 * math/s_clog.c (__clog): Avoid scaling a value down where that
10867 could result in underflow.
10868 * math/s_clog10.c (__clog10): Likewise.
10869 * math/s_clog10f.c (__clog10f): Likewise.
10870 * math/s_clog10l.c (__clog10l): Likewise.
10871 * math/s_clogf.c (__clogf): Likewise.
10872 * math/s_clogl.c (__clogl): Likewise.
10873 * math/libm-test.inc (clog_test): Add more tests.
10874 (clog10_test): Likewise.
10875 * sysdeps/i386/fpu/libm-test-ulps: Update.
10876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10877
10878 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10879
10880 [BZ #14283]
10881 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10882 by 7 not 8 to examine high bit of fractional part.
10883
10884 [BZ #14042]
10885 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10886 for call to __mcount_internal.
10887 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10888 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10889 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10890
10891 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10892
10893 [BZ #14154]
10894 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10895 approximation for values within 0x1p-13f of an odd multiple of
10896 pi/4.
10897 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10898 exception. Add more tests.
10899 * sysdeps/i386/fpu/libm-test-ulps: Update.
10900
10901 [BZ #6778]
10902 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10903 inputs and return -1 for them. Do not check for +Inf in case not
10904 reachable for +Inf.
10905 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10906 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10907 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10908 and return -1 for them. Do not check for +Inf in case not
10909 reachable for +Inf.
10910 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10911 define.
10912 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10913 and return -1 for them. Do not check for +Inf in case not
10914 reachable for +Inf.
10915 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10916 spurious underflow.
10917 * sysdeps/i386/fpu/libm-test-ulps: Update.
10918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10919
10920 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10921
10922 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10923
10924 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10925
10926 [BZ #14157]
10927 [BZ #14331]
10928 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10929 could result in spurious underflow. Scale down values above
10930 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10931 * math/s_csqrtf.c (__csqrtf): Likewise.
10932 * math/s_csqrtl.c (__csqrtl): Likewise.
10933 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10934 spurious underflow.
10935 * sysdeps/i386/fpu/libm-test-ulps: Update.
10936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10937
10938 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10939
10940 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10941 xopen-msg.sed.
10942 * catgets/xopen-msg.awk: New file.
10943 * catgets/xopen-msg.sed: Removed.
10944
10945 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10946 po2text.sed.
10947 * intl/po2test.awk: New file.
10948 * intl/po2test.sed: Removed.
10949
10950 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10951
10952 [BZ #14328]
10953 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10954 or multiply small sinh result by itself.
10955 * math/s_ctanf.c (__ctanf): Likewise.
10956 * math/s_ctanh.c (__ctanh): Likewise.
10957 * math/s_ctanhf.c (__ctanhf): Likewise.
10958 * math/s_ctanhl.c (__ctanhl): Likewise.
10959 * math/s_ctanl.c (__ctanl): Likewise.
10960 * math/libm-test.inc (ctan_test_tonearest): New function.
10961 (ctan_test_towardzero): Likewise.
10962 (ctan_test_downward): Likewise.
10963 (ctan_test_upward): Likewise.
10964 (ctanh_test_tonearest): Likewise.
10965 (ctanh_test_towardzero): Likewise.
10966 (ctanh_test_downward): Likewise.
10967 (ctanh_test_upward): Likewise.
10968 (main): Call these new functions.
10969 * sysdeps/i386/fpu/libm-test-ulps: Update.
10970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10971
10972 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10973
10974 * .gitignore: Delete /ports entry.
10975
10976 2012-07-03 Andreas Jaeger <aj@suse.de>
10977
10978 * po/bg.po: Update from translation team.
10979 * po/cs.po: Likewise.
10980 * po/de.po: Likewise.
10981 * po/hr.po: Likewise.
10982 * po/nl.pl: Likewise.
10983 * po/pl.po: Likewise.
10984 * po/vi.po: Likewise.
10985
10986 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10987
10988 * Makeconfig [!+link] (+link-before-libc): New variable.
10989 [!+link] (+link-after-libc): Likewise.
10990 [!+link] (+link-tests): Likewise.
10991 [!+link] (+link): Define in terms of $(+link-before-libc) and
10992 $(+link-after-libc).
10993 [!+link-static] (+link-static-before-libc): New variable.
10994 [!+link-static] (+link-static-after-libc): Likewise.
10995 [!+link-static] (+link-static-tests): Likewise.
10996 [!+link-static] (+link-static): Define in terms of
10997 $(+link-static-before-libc) and $(+link-static-after-libc).
10998 [build-shared] (link-libc-before-gnulib): New variable.
10999 [build-shared] (link-libc-tests): Likewise.
11000 [build-shared] (link-libc): Define in terms of
11001 $(link-libc-before-gnulib).
11002 [!build-shared] (link-libc-tests): New variable.
11003 (link-libc-static-tests): New variable.
11004 [!gnulib] (gnulib-arch): New variable.
11005 [!gnulib] (gnulib-tests): Likewise.
11006 [!gnulib] (static-gnulib-arch): Likewise.
11007 [!gnulib] (static-gnulib-tests): Likewise.
11008 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11009 Define with "=" instead of ":=".
11010 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11011 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11012 * Rules (binaries-all-notests): New variable.
11013 (binaries-all-tests): Likewise.
11014 (binaries-static-notests): Likewise.
11015 (binaries-static-tests): Likewise.
11016 (binaries-all): Define using $(binaries-all-notests) and
11017 $(binaries-all-tests).
11018 (binaries-static): Define using $(binaries-static-notests) and
11019 $(binaries-static-tests).
11020 (binaries-shared-tests): New variable.
11021 (binaries-shared-notests): Likewise.
11022 (binaries-shared): Remove variable.
11023 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11024 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11025 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11026 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11027 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11028 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11029 * elf/Makefile (sln-modules): New variable.
11030 (extra-objs): Add $(sln-modules:=.o).
11031 (ldconfig-modules): Add static-stubs.
11032 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11033 * elf/static-stubs.c: New file.
11034
11035 [BZ #14283]
11036 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11037 by 7 not 8 to examine high bit of fractional part. Use volatile
11038 variables when splitting into final array of floats if
11039 __FLT_EVAL_METHOD__ != 0.
11040 * math/libm-test.inc (cos_test): Add another test.
11041 (sin_test): Likewise.
11042 * sysdeps/i386/fpu/libm-test-ulps: Update.
11043
11044 [BZ #14273]
11045 * math/libm-test.inc (cosh_test): Add more tests.
11046
11047 * version.h (RELEASE): Set to "development".
11048 (VERSION): Set to "2.16.90".
11049
11050 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11051
11052 * NEWS: Update copyright. Remove last-updated date.
11053 Mention math library bug fixes and timezone data changes.
11054 * README: Mention GNU/Hurd, x32, and HPPA support status.
11055
11056 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11057
11058 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11059
11060 2012-06-27 Andreas Jaeger <aj@suse.de>
11061
11062 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11063
11064 2012-06-25 Andreas Jaeger <aj@suse.de>
11065
11066 * sysdeps/s390/fpu/libm-test-ulps: Update.
11067
11068 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11069 Thomas Schwinge <thomas@codesourcery.com>
11070
11071 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11072 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11073 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11074 fanotify_mark.
11075
11076 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11077
11078 * sysdeps/mach/start.c: Remove file.
11079 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11080 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11081 * sysdeps/sh/init-first.c: Likewise.
11082
11083 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11084 registers for frame unwinding purposes, add CFI directives.
11085 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11086 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11087 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11088 Likewise.
11089
11090 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11091 __fortify_fail returning.
11092 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11093
11094 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11095 sysdeps/sh/____longjmp_chk.S.
11096 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11097 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11098 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11099 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11100
11101 * sysdeps/sh/abort-instr.h: New file.
11102 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11103 process in case exit returns.
11104
11105 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11106 initialize the GOT register before use.
11107
11108 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11109 calculation of ARGC > 4.
11110
11111 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11112 meaningful names to some local labels.
11113
11114 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11115 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11116
11117 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11118 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11119 (__arch_compare_and_exchange_val_16_acq): Likewise.
11120 (__arch_compare_and_exchange_val_32_acq): Likewise.
11121 (atomic_exchange_and_add): Fix gUSA sequence.
11122 (atomic_add): Likewise.
11123 (atomic_add_negative): Likewise.
11124 (atomic_add_zero): Likewise.
11125 (atomic_bit_test_set): Likewise.
11126
11127 2012-06-22 Andreas Schwab <schwab@redhat.com>
11128
11129 [BZ #13579]
11130 * include/link.h (struct link_map): Add l_free_initfini.
11131 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11132 l_initfini.
11133 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11134 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11135 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11136 set.
11137
11138 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11139
11140 * configure.in: Use AC_LANG_SOURCE.
11141 * configure: Regenerate.
11142
11143 2012-06-22 Roland McGrath <roland@hack.frob.com>
11144
11145 * configure.in (libc_cv_localstatedir): New substituted variable.
11146 * configure: Regenerated.
11147 * config.make.in (localstatedir): New variable, substituted from
11148 libc_cv_localstatedir.
11149 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11150 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11151 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11152 * sysdeps/gnu/configure: Regenerated.
11153
11154 2012-06-21 Jeff Law <law@redhat.com>
11155
11156 [BZ #14277]
11157 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11158 free. Simplify list management for _LIBC case.
11159
11160 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11161
11162 [BZ #14273]
11163 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11164 Clear sign bit of 64-bit integer value before comparing against
11165 overflow value.
11166
11167 * sysdeps/mach/configure: Regenerated.
11168
11169 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11170
11171 [BZ #14278]
11172 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11173
11174 2012-06-21 Jeff Law <law@redhat.com>
11175
11176 [BZ #13882]
11177 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11178 uint16_t for elements in the "seen" array to avoid char overflows.
11179 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11180 * elf/dl-open.c (dl_open_worker): Likewise.
11181
11182 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11183
11184 * scripts/list-sources.sh: Scan PORTS for translations.
11185 * po/libc.pot: Regenerated.
11186
11187 2012-06-21 Andreas Jaeger <aj@suse.de>
11188
11189 [BZ #12194]
11190 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11191 warning.
11192 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11193 * bits/byteswap-16.h (__bswap_16): Likewise.
11194 * bits/byteswap.h (__bswap_constant_16): Likewise.
11195
11196 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11197
11198 [BZ #14117]
11199 * sysdeps/i386/fpu_control.h: Removed.
11200 * sysdeps/x86_64/fpu_control.h: Moved to ...
11201 * sysdeps/x86/fpu_control.h: Here.
11202
11203 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11204 (_FPU_SETCW): Likewise.
11205
11206 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11207
11208 [BZ #14117]
11209 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11210 * sysdeps/x86/fpu/bits/mathinline.h: This.
11211 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11212
11213 [BZ #14050]
11214 [BZ #14117]
11215 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11216 functions if __x86_64__ is defined.
11217
11218 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11219
11220 * string/endian.h: Add !__ASSEMBLER__ condition for including
11221 conversion interfaces.
11222
11223 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11224
11225 [BZ #14241]
11226 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11227 of ABS(x) in calculating zero to negative powers other than odd
11228 integers.
11229 * math/libm-test.inc (pow_test): Add more tests.
11230
11231 2012-06-15 Andreas Jaeger <aj@suse.de>
11232
11233 * manual/contrib.texi (Contributors): Update entry of Liubov
11234 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11235 Machado Filho.
11236
11237 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11238
11239 * string/string.h: Add __wur to GNU version of strerror_r.
11240
11241 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11242
11243 [BZ #14229]
11244 * string/Makefile (tests): Add tst-strtok_r.
11245 * string/tst-strtok_r.c: New file.
11246 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11247 RAX_LP/RDX_LP on SAVE_PTR.
11248
11249 2012-06-14 Roland McGrath <roland@hack.frob.com>
11250
11251 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11252
11253 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11254
11255 * libm_test.inc (csqrt_test): Allow more spurious underflow
11256 exceptions.
11257 (j0_test): Likewise.
11258 (j1_test): Likewise.
11259 (y0_test): Likewise.
11260 (y1_test): Likewise.
11261
11262 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11263
11264 * po/Makefile (libc.pot): Use UTF-8 charset.
11265
11266 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11267
11268 [BZ #14210]
11269 Suppress sign-conversion warning from FD_SET.
11270 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11271 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11272 not unsigned long int.
11273 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11274
11275 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11276
11277 [BZ #14050]
11278 [BZ #14117]
11279 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11280 __extern_always_inline instead of __extern_inline.
11281 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11282 (__signbit): Likewise.
11283 (__signbitl): Support C++ namespace.
11284 (lrintf): New inline function.
11285 (lrint): Likewise.
11286 (llrintf): Likewise.
11287 (llrint): Likewise.
11288 (fmaxf): Likewise.
11289 (fmax): Likewise.
11290 (fminf): Likewise.
11291 (fmin): Likewise.
11292 (rint): Likewise.
11293 (rintf): Likewise.
11294 (ceil): Likewise.
11295 (ceilf): Likewise.
11296 (floor): Likewise.
11297 (floorf): Likewise.
11298 (nearbyint): Likewise.
11299 (nearbyintf): Likewise.
11300
11301 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11302
11303 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11304 non-default versions.
11305
11306 2012-06-11 Roland McGrath <roland@hack.frob.com>
11307
11308 [BZ #14218]
11309 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11310
11311 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11312
11313 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11314 (FE_UPWARD, FE_DOWNWARD): Don't define.
11315 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11316 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11317
11318 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11319 reading it.
11320 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11321 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11322
11323 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11324
11325 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11326 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11327 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11328 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11329
11330 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11331
11332 [BZ #14117]
11333 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11334 * sysdeps/i386/fpu/Implies: New file.
11335 * sysdeps/x86_64/fpu/Implies: Likewise.
11336 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11337 * sysdeps/x86/fpu/bits/fenv.h: This.
11338
11339 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11340 __SSE_MATH__.
11341
11342 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11343
11344 [BZ #14134]
11345 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11346 character 0xffff that matches the last element of the
11347 conversion table.
11348
11349 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11350
11351 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11352 fmodl commit.
11353
11354 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11355
11356 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11357 values higher than 25.6283.
11358
11359 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11360
11361 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11362 subnormal exponent extraction and add some __builtin_expect.
11363 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11364 Fix for subnormal mantissa calculation.
11365
11366 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11367
11368 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11369 cpu2 is -1 and errno is not ENOSYS.
11370
11371 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11372
11373 [BZ #14117]
11374 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11375 * sysdeps/x86/bits/string.h: This.
11376 * sysdeps/x86_64/bits/string.h: Removed.
11377
11378 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11379 if not compiling for x86-64, but compiling for >= i486.
11380
11381 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11382 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11383
11384 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11385 New macro from Linux kernel 3.4.0.
11386 (FP_XSTATE_MAGIC2): Likewise.
11387 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11388 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11389 (struct _fpx_sw_bytes): New struct.
11390 (struct _xsave_hdr): Likewise.
11391 (struct _ymmh_state): Likewise.
11392 (struct _xstate): Likewise.
11393
11394 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11395 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11396 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11397 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11398 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11399 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11400
11401 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11402 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11403 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11404 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11405 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11406 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11407
11408 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11409
11410 [BZ #13743]
11411 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11412 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11413 (sysdep_headers): Include sys/platform/ppc.h.
11414 * sysdeps/powerpc/test-gettimebase.c: Test for
11415 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11416 * manual/Makefile (appendices): Include platform.texi.
11417 * manual/contrib.texi (Contributors): Update @node pointers.
11418 * manual/maint.texi (Maintenance): Likewise.
11419 (Platform): New node.
11420 * manual/platform.texi: New file. Document the new features.
11421
11422 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11423 Jakub Jelinek <jakub@redhat.com>
11424
11425 [BZ #14188]
11426 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11427 where __builtin_expect is unavailable.
11428
11429 2012-06-03 David S. Miller <davem@davemloft.net>
11430
11431 * stdlib/longlong.h: Updated from GCC.
11432
11433 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11434
11435 [BZ #14042]
11436 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11437 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11438 __mcount_internal.
11439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11440 (GLIBC_2.16): Likewise.
11441
11442 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11443
11444 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11445
11446 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11447
11448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11449 (default-abi): New variable.
11450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11451 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11452 variable.
11453 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11454 Likewise.
11455 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11456 Likewise.
11457 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11458 Likewise.
11459
11460 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11461 definition. Document in comment.
11462
11463 2012-06-01 David S. Miller <davem@davemloft.net>
11464
11465 * stdlib/longlong.h: Updated from GCC.
11466
11467 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11468
11469 [BZ #14117]
11470 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11471 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11472 sys/debugreg.h sys/io.h here.
11473 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11474 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11475 sys/io.h.
11476 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11477 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11478 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11479 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11480 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11481 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11482
11483 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11484 Define only if __x86_64__ is defined.
11485
11486 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11487
11488 [BZ #14048]
11489 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11490 Use int64_t for variable i.
11491 * math/libm-test.inc (fmod_test): Add more tests.
11492
11493 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11494 z computation is not scheduled after fetestexcept.
11495 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11496 Use math_force_eval instead of asm to ensure calculation scheduled
11497 before exception test.
11498 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11499 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11500
11501 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11502
11503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11504 computation is not scheduled after fetestexcept.
11505
11506 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11507
11508 [BZ #14117]
11509 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11510 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11511
11512 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11513
11514 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11515 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11516
11517 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11518
11519 [BZ #14117]
11520 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11521 <bits/wordsize.h>.
11522 (__WCHAR_MIN): Support __WORDSIZE == 64.
11523 (__WCHAR_MAX): Likewise.
11524
11525 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11526 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11527
11528 [BZ #14183]
11529 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11530 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11531
11532 [BZ #14117]
11533 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11534 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11535
11536 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11537 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11538
11539 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11540 Defined to 1 if __x86_64__ isn't defined.
11541 (_STAT_VER_LINUX_OLD): New.
11542 (st_atime): Remove duplicate.
11543 (st_mtime): Likewise.
11544 (st_ctime): Likewise.
11545
11546 2012-05-31 David S. Miller <davem@davemloft.net>
11547
11548 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11549 entries.
11550
11551 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11552
11553 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11554 gen-libm-test.pl.
11555
11556 [BZ #14132]
11557 * elf/dl-reloc.c: Include <_itoa.h>.
11558 (_dl_reloc_bad_type): Remove use of INTUSE.
11559 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11560 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11561 * stdio-common/psiginfo.c (psiginfo): Likewise.
11562 * stdio-common/psignal.c (psignal): Likewise.
11563 * string/strsignal.c (strsignal): Likewise.
11564 * include/signal.h (_sys_siglist): Declare hidden proto.
11565 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11566 INTVARDEF with libc_hidden_data_def.
11567 * stdio-common/itoa-udigits.c: Likewise.
11568 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11569 (_itoa_lower_digits_internal): Remove declaration.
11570 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11571 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11572 (_sys_sigabbrev_internal): Remove aliases.
11573 (_sys_siglist): Define hidden alias.
11574
11575 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11576
11577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11578 bits/sysctl.h.
11579
11580 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11581
11582 [BZ #14117]
11583 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11584 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11585
11586 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11587 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11588 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11589 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11590 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11591 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11592
11593 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11594 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11595 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11596
11597 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11598 with __addr.
11599 (insw): Likewise.
11600 (insl): Likewise.
11601 (outsb): Likewise.
11602 (outsw): Likewise.
11603 (outsl): Likewise.
11604
11605 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11606 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11607 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11608
11609 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11610 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11611 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11612 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11613 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11614 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11615
11616 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11617 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11618
11619 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11620 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11621
11622 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11623 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11624 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11625
11626 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11627 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11628 to ...
11629 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11630
11631 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11632 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11633 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11634
11635 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11636 for x86-64.
11637 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11638
11639 2012-05-31 Joseph Myers <joseph@codesourcery.com>
11640
11641 * math/math.h (M_El): Use two more decimal places.
11642 (M_LOG2El): Likewise.
11643 (M_LOG10El): Likewise.
11644 (M_LN2l): Likewise.
11645 (M_LN10l): Likewise.
11646 (M_PIl): Likewise.
11647 (M_PI_2l): Likewise.
11648 (M_PI_4l): Likewise.
11649 (M_1_PIl): Likewise.
11650 (M_2_PIl): Likewise.
11651 (M_2_SQRTPIl): Likewise.
11652 (M_SQRT2l): Likewise.
11653 (M_SQRT1_2l): Likewise.
11654
11655 2012-05-31 David S. Miller <davem@davemloft.net>
11656
11657 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11658 values between float registers.
11659 * sysdeps/sparc/sparc64/memset.S: Likewise.
11660 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11661
11662 2012-05-31 Mike Frysinger <vapier@gentoo.org>
11663
11664 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11665 -D_FORTIFY_SOURCE=1.
11666 (CPPFLAGS-tst-longjmp_chk.c): Define.
11667 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11668 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11669 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11670 CFLAGS-tst-wchar-h.c.
11671
11672 2012-05-31 Marek Polacek <polacek@redhat.com>
11673
11674 [BZ #14132]
11675 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11676 __endmntent_internal): Remove declaration.
11677 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11678 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11679 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11680
11681 2012-05-30 David S. Miller <davem@davemloft.net>
11682
11683 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11684 (___Q_simulate_exceptions): Use real FP ops rather than writing
11685 into the %fsr.
11686 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11687 Likewise.
11688
11689 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11690
11691 [BZ #14117]
11692 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11693 * sysdeps/x86/bits/xtitypes.h: This.
11694
11695 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11696 * sysdeps/x86/bits/wordsize.h: This.
11697
11698 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11699 * sysdeps/x86/bits/huge_vall.h: This.
11700
11701 * sysdeps/i386/bits/select.h: Removed.
11702 * sysdeps/x86_64/bits/select.h: Renamed to ...
11703 * sysdeps/x86/bits/select.h: This.
11704
11705 * sysdeps/i386/bits/setjmp.h: Removed.
11706 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11707 * sysdeps/x86/bits/setjmp.h: This.
11708
11709 * sysdeps/i386/bits/mathdef.h: Removed.
11710 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11711 * sysdeps/x86/bits/mathdef.h: This.
11712
11713 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11714
11715 [BZ #14132]
11716 * include/sys/socket.h (__connect_internal)
11717 (__libc_sa_len_internal): Remove declaration.
11718 (__connect, __libc_sa_len): Declare hidden_proto.
11719 (SA_LEN): Remove use of INTUSE.
11720 * socket/connect.c: Add libc_hidden_def.
11721 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11722 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11723 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11724 alias.
11725 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11726 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11727 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11728 of adding _internal alias.
11729
11730 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11731
11732 [BZ #14117]
11733 * sysdeps/i386/bits/link.h: Removed.
11734 * sysdeps/i386/bits/linkmap.h: Likewise.
11735 * sysdeps/x86_64/bits/link.h: Renamed to ...
11736 * sysdeps/x86/bits/link.h: This.
11737 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11738 * sysdeps/x86/bits/linkmap.h: This.
11739
11740 * sysdeps/i386/bits/endian.h: Removed.
11741 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11742 * sysdeps/x86/bits/endian.h: This.
11743
11744 * sysdeps/i386/bits/byteswap.h: Removed.
11745 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11746 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11747 * sysdeps/x86/bits/byteswap.h: This.
11748 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11749 * sysdeps/x86/bits/byteswap-16.h: This.
11750 * sysdeps/i386/Implies: Add x86.
11751 * sysdeps/x86_64/Implies: Likewise.
11752
11753 2012-05-30 David S. Miller <davem@davemloft.net>
11754
11755 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11756 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11757 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11758 (FP_TRAPPING_EXCEPTIONS): Define.
11759 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11760 (FP_TRAPPING_EXCEPTIONS): Define.
11761 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11762 subnormals only when inexact has been signalled or underflow
11763 exceptions are enabled.
11764 (_FP_PACK_CANONICAL): Likewise.
11765
11766 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11767
11768 [BZ #14183]
11769 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11770 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11771
11772 2012-05-30 Richard Henderson <rth@twiddle.net>
11773
11774 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11775 with #ifndef NOT_IN_libc.
11776
11777 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11778 marked to avoid plt entry.
11779
11780 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11781
11782 [BZ #14112]
11783 * Makeconfig (default-abi): New macro.
11784 (abi-includes): Likewise.
11785 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11786 $(abi-$(default-abi)-lib-soname) for soname if defined.
11787 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11788 abi-variants.
11789 * Makefile (installed-stubs): Likewise.
11790 * include/stubs-biarch.h: Removed.
11791 * scripts/lib-names.awk: Only handle one library at a time.
11792 * scripts/soversions.awk: Remove WORDSIZE support.
11793 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11794 entries.
11795 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11796 Removed.
11797 (syscall-list-default-condition): Likewise.
11798 (syscall-list-default-condition): Likewise.
11799 (syscall-list-includes): Likewise.
11800 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11801 syscall-list-* with abi-*. Handle undefined abi-variants.
11802 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11803 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11804 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11805 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11806 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11807 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11808 Removed.
11809 (syscall-list-32-options): Likewise.
11810 (syscall-list-32-condition): Likewise.
11811 (syscall-list-64-options): Likewise.
11812 (syscall-list-64-condition): Likewise.
11813 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11814 macro.
11815 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11816 Renamed to ...
11817 (abi-*): This.
11818 (abi-64-ld-soname): New macro.
11819 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11820 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11821 Renamed to ...
11822 (abi-*): This.
11823 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11824 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11825
11826 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11827
11828 * sysdeps/unix/sysv/linux/kernel-features.h
11829 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11830 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11831 include <kernel-features.h>.
11832 [!__NR_ftruncate64]: Remove conditional code.
11833 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11834 [__NR_ftruncate64]: Make code unconditional.
11835 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11836 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11837 include <kernel-features.h>.
11838 [!__NR_ftruncate64]: Remove conditional code.
11839 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11840 [__NR_ftruncate64]: Make code unconditional.
11841 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11843 include <kernel-features.h>.
11844 [!__NR_ftruncate64]: Remove conditional code.
11845 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11846 [__NR_ftruncate64]: Make code unconditional.
11847 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11849 include <kernel-features.h>.
11850 [!__NR_ftruncate64]: Remove conditional code.
11851 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11852 [__NR_ftruncate64]: Make code unconditional.
11853 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11854
11855 * configure.in (libc_cv_fpie): Weaken to a compile test using
11856 LIBC_TRY_CC_OPTION.
11857 * configure: Regenerated.
11858
11859 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11860
11861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11865 Refreshed.
11866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11872 Refreshed.
11873
11874 2012-05-27 David S. Miller <davem@davemloft.net>
11875
11876 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11877 (___Q_zero): New.
11878 (__Q_simulate_exceptions): Return void. Change to simulate
11879 exceptions by writing into the %fsr.
11880 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11881 (__Qp_handle_exceptions): Likewise.
11882 (numbers): Delete.
11883 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11884 __Qp_handle_exceptions.
11885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11886 __Qp_handle_exceptions.
11887 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11888 as unused and give dummy FP_RND_NEAREST initializer.
11889 (FP_INHIBIT_RESULTS): Define.
11890 (___Q_simulate_exceptions): Update declaration.
11891 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11892 formatting.
11893 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11894 as unused and give dummy FP_RND_NEAREST initializer.
11895 (__Qp_handle_exceptions): Update declaration.
11896 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11897 formatting.
11898
11899 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11900
11901 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11902 the temporary FPU control word.
11903 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11904 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11905 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11906 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11907 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11908 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11909 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11910 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11911 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11912 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11913 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11914
11915 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11916
11917 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11918 fields.
11919
11920 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11921
11922 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11923 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11924 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11925 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11926 Likewise.
11927 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11928 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11929 Likewise.
11930
11931 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11932
11933 * po/h.po: Update from translation team.
11934
11935 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11936
11937 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11938
11939 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11940 handling of denormals.
11941 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11942 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11943 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11944 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11945 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11946 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11947 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11948 Likewise.
11949
11950 2012-05-26 Marek Polacek <polacek@redhat.com>
11951
11952 [BZ #14152]
11953 * math/libm-test.inc (fma_test): Don't always expect underflow
11954 exception.
11955
11956 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11957
11958 [BZ #12416]
11959 * elf/tst-execstack.c: Include stackinfo.h.
11960 (do_test): Adjust test case to ensure that pthread_getattr_np
11961 behaviour remains the same after marking stack executable.
11962
11963 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11964
11965 * sysdeps/unix/sysv/linux/kernel-features.h
11966 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11967 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11968 kernel-features.h.
11969 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11970 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11971 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11972 kernel-features.h.
11973 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11974 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11975
11976 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11977
11978 * configure.in: Define the default includes to being none.
11979 * configure: Regenerated.
11980
11981 2012-05-25 Roland McGrath <roland@hack.frob.com>
11982
11983 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11984 * sysdeps/x86_64/setjmp.S: Likewise.
11985 * sysdeps/i386/bsd-setjmp.S: Likewise.
11986 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11987 * sysdeps/i386/setjmp.S: Likewise.
11988 * sysdeps/i386/__longjmp.S: Likewise.
11989 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11990 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11991
11992 * include/stap-probe.h: New file.
11993 * configure.in: Handle --enable-systemtap.
11994 * configure: Regenerated.
11995 * config.h.in (USE_STAP_PROBE): New #undef.
11996 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11997 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11998 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11999
12000 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12001
12002 [BZ #13717]
12003 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12004 to 2.4.0 where earlier.
12005 * sysdeps/unix/sysv/linux/configure: Regenerated.
12006 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12007 <kernel-features.h>.
12008 [__ASSUME_32BITUIDS]: Make code unconditional.
12009 [!__ASSUME_32BITUIDS]: Remove conditional code.
12010 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12011 <kernel-features.h>.
12012 [__ASSUME_32BITUIDS]: Make code unconditional.
12013 [!__ASSUME_32BITUIDS]: Remove conditional code.
12014 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12015 [__ASSUME_32BITUIDS]: Make code unconditional.
12016 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12017 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12018 <kernel-features.h>.
12019 [__ASSUME_32BITUIDS]: Make code unconditional.
12020 [!__ASSUME_32BITUIDS]: Remove conditional code.
12021 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12022 <kernel-features.h>.
12023 [__ASSUME_32BITUIDS]: Make code unconditional.
12024 [!__ASSUME_32BITUIDS]: Remove conditional code.
12025 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12026 <kernel-features.h>.
12027 [__ASSUME_32BITUIDS]: Make code unconditional.
12028 [!__ASSUME_32BITUIDS]: Remove conditional code.
12029 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12030 <kernel-features.h>.
12031 [__ASSUME_32BITUIDS]: Make code unconditional.
12032 [!__ASSUME_32BITUIDS]: Remove conditional code.
12033 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12034 <kernel-features.h>.
12035 [__ASSUME_32BITUIDS]: Make code unconditional.
12036 [!__ASSUME_32BITUIDS]: Remove conditional code.
12037 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12038 <kernel-features.h>.
12039 [__ASSUME_32BITUIDS]: Make code unconditional.
12040 [!__ASSUME_32BITUIDS]: Remove conditional code.
12041 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12042 <kernel-features.h>.
12043 [__ASSUME_32BITUIDS]: Make code unconditional.
12044 [!__ASSUME_32BITUIDS]: Remove conditional code.
12045 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12046 <kernel-features.h>.
12047 [__ASSUME_32BITUIDS]: Make code unconditional.
12048 [!__ASSUME_32BITUIDS]: Remove conditional code.
12049 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12050 <kernel-features.h>.
12051 [__ASSUME_32BITUIDS]: Make code unconditional.
12052 [!__ASSUME_32BITUIDS]: Remove conditional code.
12053 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12054 <kernel-features.h>.
12055 [__ASSUME_32BITUIDS]: Make code unconditional.
12056 [!__ASSUME_32BITUIDS]: Remove conditional code.
12057 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12058 <kernel-features.h>.
12059 [__NR_setresgid] (__setresgid): Do not declare.
12060 [__ASSUME_32BITUIDS]: Make code unconditional.
12061 [!__ASSUME_32BITUIDS]: Remove conditional code.
12062 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12063 <kernel-features.h>.
12064 [__NR_setresuid] (__setresuid): Do not declare.
12065 [__ASSUME_32BITUIDS]: Make code unconditional.
12066 [!__ASSUME_32BITUIDS]: Remove conditional code.
12067 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12068 <kernel-features.h>.
12069 [__ASSUME_32BITUIDS]: Make code unconditional.
12070 [!__ASSUME_32BITUIDS]: Remove conditional code.
12071 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12072 <kernel-features.h>.
12073 [__ASSUME_32BITUIDS]: Make code unconditional.
12074 [!__ASSUME_32BITUIDS]: Remove conditional code.
12075 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12076 <kernel-features.h>.
12077 [__ASSUME_32BITUIDS]: Make code unconditional.
12078 [!__ASSUME_32BITUIDS]: Remove conditional code.
12079 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12080 <kernel-features.h>.
12081 [__ASSUME_32BITUIDS]: Make code unconditional.
12082 [!__ASSUME_32BITUIDS]: Remove conditional code.
12083 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12084 <kernel-features.h>.
12085 [__ASSUME_32BITUIDS]: Make code unconditional.
12086 [!__ASSUME_32BITUIDS]: Remove conditional code.
12087 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12088 <kernel-features.h>.
12089 [__ASSUME_32BITUIDS]: Make code unconditional.
12090 [!__ASSUME_32BITUIDS]: Remove conditional code.
12091 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12092 <kernel-features.h>.
12093 [__ASSUME_32BITUIDS]: Make code unconditional.
12094 [!__ASSUME_32BITUIDS]: Remove conditional code.
12095 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12096 <kernel-features.h>.
12097 [__ASSUME_32BITUIDS]: Make code unconditional.
12098 [!__ASSUME_32BITUIDS]: Remove conditional code.
12099 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12100 <kernel-features.h>.
12101 [__ASSUME_32BITUIDS]: Make code unconditional.
12102 [!__ASSUME_32BITUIDS]: Remove conditional code.
12103 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12104 <kernel-features.h>.
12105 [__ASSUME_32BITUIDS]: Make code unconditional.
12106 [!__ASSUME_32BITUIDS]: Remove conditional code.
12107 * sysdeps/unix/sysv/linux/kernel-features.h
12108 (__ASSUME_SETRESUID_SYSCALL): Remove.
12109 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12110 (__ASSUME_32BITUIDS): Likewise.
12111 (__ASSUME_LDT_WORKS): Likewise.
12112 (__ASSUME_O_DIRECTORY): Likewise.
12113 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12114 architecture but not kernel version.
12115 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12116 (__ASSUME_MMAP2_SYSCALL): Likewise.
12117 (__ASSUME_STAT64_SYSCALL): Likewise.
12118 (__ASSUME_IPC64): Likewise.
12119 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12120 <kernel-features.h>.
12121 [__ASSUME_32BITUIDS]: Make code unconditional.
12122 [!__ASSUME_32BITUIDS]: Remove conditional code.
12123 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12124 <kernel-features.h>.
12125 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12126 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12127 132096]: Remove conditional code.
12128 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12129 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12130 <kernel-features.h>.
12131 [__ASSUME_32BITUIDS]: Make code unconditional.
12132 [!__ASSUME_32BITUIDS]: Remove conditional code.
12133 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12134 <kernel-features.h>.
12135 [__ASSUME_32BITUIDS]: Make code unconditional.
12136 [!__ASSUME_32BITUIDS]: Remove conditional code.
12137 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12138 <kernel-features.h>.
12139 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12140 unconditional.
12141 (__setresgid): Do not declare.
12142 [__ASSUME_32BITUIDS]: Make code unconditional.
12143 [!__ASSUME_32BITUIDS]: Remove conditional code.
12144 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12145 <kernel-features.h>.
12146 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12147 unconditional.
12148 (__setresuid): Do not declare.
12149 [__ASSUME_32BITUIDS]: Make code unconditional.
12150 [!__ASSUME_32BITUIDS]: Remove conditional code.
12151 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12152 <kernel-features.h>.
12153 [__ASSUME_32BITUIDS]: Make code unconditional.
12154 [!__ASSUME_32BITUIDS]: Remove conditional code.
12155 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12156 <kernel-features.h>.
12157 [__ASSUME_32BITUIDS]: Make code unconditional.
12158 [!__ASSUME_32BITUIDS]: Remove conditional code.
12159
12160 2012-05-25 Richard Henderson <rth@twiddle.net>
12161
12162 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12163 dl_hwcap to ifunc resolver.
12164 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12165 elf_ifunc_invoke.
12166 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12167 dl_hwcap to ifunc resolver.
12168 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12169
12170 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12171
12172 [BZ #14153]
12173 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12174 for |x| <= 2**-26, not 2**-57.
12175 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12176 exception.
12177
12178 2012-05-24 Jeff Law <law@redhat.com>
12179
12180 * stdio-common/Makefile (tests): Add bug25.
12181 * stdio-common/bug25.c: New test.
12182
12183 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12184
12185 [BZ #13576]
12186 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12187 multiple of MALLOC_ALIGNMENT in size.
12188 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12189
12190 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12191
12192 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12193 Require >= 256.
12194 (FILENAME_MAX): Use macro-int-constant.
12195 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12196 (_IOFBF): Use macro-int-constant.
12197 (_IOLBF): Likewise.
12198 (_IONBF): Likewise.
12199 (SEEK_CUR): Likewise.
12200 (SEEK_END): Likewise.
12201 (SEEK_SET): Likewise.
12202 (TMP_MAX): Likewise.
12203 (EOF): Use macro-int-constant. Require < 0.
12204 (NULL): Use macro-constant. Require == 0.
12205 (stdin): Require type to be FILE *.
12206 (stdout): Likewise.
12207 (stderr): Likewise.
12208 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12209 macro-int-constant.
12210 (EXIT_SUCCESS): Likewise.
12211 (NULL): Use macro-constant. Require == 0.
12212 (RAND_MAX): Use macro-int-constant.
12213 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12214 [C99-based standards] (strtof): Require function.
12215 [C99-based standards] (strtold): Likewise.
12216 [C99-based standards] (strtoll): Likewise.
12217 [C99-based standards] (strtoull): Likewise.
12218 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12219 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12220 [ISO || ISO99 || ISO11] (math.h): Likewise.
12221 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12222 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12223 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12224
12225 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12226
12227 [BZ #14132]
12228 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12229 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12230 * intl/dgettext.c (DCGETTEXT): Likewise.
12231 * intl/gettext.c (DCGETTEXT): Likewise.
12232 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12233 * posix/regex_internal.h (gettext): Likewise.
12234 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12235 Remove declaration.
12236 * include/argz.h (__argz_count_internal)
12237 (__argz_stringify_internal): Remove declaration.
12238 (__argz_count, __argz_stringify): Declare hidden proto.
12239 * intl/dcgettext.c: Remove use of INTDEF.
12240 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12241 * string/argz-stringify.c: Likewise.
12242 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12243 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12244 Declare hidden proto.
12245 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12246 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12247 Declare hidden proto.
12248 * include/stdio.h (__asprintf_internal): Don't declare.
12249 (__asprintf): Don't define as macro. Declare hidden proto.
12250 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12251 (__fsetlocking): Declare hidden proto.
12252 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12253 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12254 hidden proto.
12255 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12256 (_IO_setlinebuf): Remove use of INTUSE.
12257 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12258 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12259 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12260 Remove declaration.
12261 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12262 (_IO_do_flush): Remove use of INTUSE.
12263 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12264 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12265 (_IO_adjust_column, _IO_least_wmarker)
12266 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12267 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12268 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12269 (_IO_default_doallocate, _IO_wdefault_doallocate)
12270 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12271 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12272 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12273 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12274 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12275 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12276 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12277 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12278 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12279 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12280 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12281 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12282 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12283 proto.
12284 (_IO_flush_all_internal, _IO_adjust_column_internal)
12285 (_IO_default_uflow_internal, _IO_default_finish_internal)
12286 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12287 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12288 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12289 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12290 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12291 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12292 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12293 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12294 (_IO_file_close_internal, _IO_file_close_it_internal)
12295 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12296 (_IO_file_init_internal, _IO_file_attach_internal)
12297 (_IO_file_fopen_internal, _IO_file_read_internal)
12298 (_IO_file_sync_internal, _IO_file_seek_internal)
12299 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12300 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12301 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12302 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12303 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12304 (_IO_list_all_internal, _IO_link_in_internal)
12305 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12306 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12307 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12308 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12309 (_IO_do_write_internal, _IO_padn_internal)
12310 (_IO_getline_info_internal, _IO_getline_internal)
12311 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12312 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12313 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12314 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12315 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12316 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12317 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12318 with libc_hidden_ver, remove use of INTUSE.
12319 * libio/genops.c: Likewise.
12320 * libio/freopen.c: Likewise.
12321 * libio/freopen64.c: Likewise.
12322 * libio/iofclose.c: Likewise.
12323 * libio/iofdopen.c: Likewise.
12324 * libio/iofflush.c: Likewise.
12325 * libio/iofflush_u.c: Likewise.
12326 * libio/iofgets.c: Likewise.
12327 * libio/iofgets_u.c: Likewise.
12328 * libio/iofopen.c: Likewise.
12329 * libio/iofopncook.c: Likewise.
12330 * libio/iofread.c: Likewise.
12331 * libio/iofread_u.c: Likewise.
12332 * libio/ioftell.c: Likewise.
12333 * libio/iofwrite.c: Likewise.
12334 * libio/iogetline.c: Likewise.
12335 * libio/iogets.c: Likewise.
12336 * libio/iogetwline.c: Likewise.
12337 * libio/iopadn.c: Likewise.
12338 * libio/iopopen.c: Likewise.
12339 * libio/ioseekoff.c: Likewise.
12340 * libio/ioseekpos.c: Likewise.
12341 * libio/iosetbuffer.c: Likewise.
12342 * libio/iosetvbuf.c: Likewise.
12343 * libio/ioungetc.c: Likewise.
12344 * libio/ioungetwc.c: Likewise.
12345 * libio/iovdprintf.c: Likewise.
12346 * libio/iovsprintf.c: Likewise.
12347 * libio/iovsscanf.c: Likewise.
12348 * libio/memstream.c: Likewise.
12349 * libio/obprintf.c: Likewise.
12350 * libio/oldfileops.c: Likewise.
12351 * libio/oldiofclose.c: Likewise.
12352 * libio/oldiofdopen.c: Likewise.
12353 * libio/oldiofopen.c: Likewise.
12354 * libio/oldiopopen.c: Likewise.
12355 * libio/oldstdfiles.c: Likewise.
12356 * libio/putc.c: Likewise.
12357 * libio/setbuf.c: Likewise.
12358 * libio/setlinebuf.c: Likewise.
12359 * libio/stdfiles.c: Likewise.
12360 * libio/strops.c: Likewise.
12361 * libio/vasprintf.c: Likewise.
12362 * libio/vscanf.c: Likewise.
12363 * libio/vsnprintf.c: Likewise.
12364 * libio/vswprintf.c: Likewise.
12365 * libio/wfiledoalloc.c: Likewise.
12366 * libio/wfileops.c: Likewise.
12367 * libio/wgenops.c: Likewise.
12368 * libio/wmemstream.c: Likewise.
12369 * libio/wstrops.c: Likewise.
12370 * libio/__fpurge.c: Likewise.
12371 * libio/__fsetlocking.c: Likewise.
12372 * assert/assert.c: Likewise.
12373 * debug/fgets_chk.c: Likewise.
12374 * debug/fgets_u_chk.c: Likewise.
12375 * debug/fread_chk.c: Likewise.
12376 * debug/fread_u_chk.c: Likewise.
12377 * debug/gets_chk.c: Likewise.
12378 * debug/obprintf_chk.c: Likewise.
12379 * debug/vasprintf_chk.c: Likewise.
12380 * debug/vdprintf_chk.c: Likewise.
12381 * debug/vsnprintf_chk.c: Likewise.
12382 * debug/vsprintf_chk.c: Likewise.
12383 * malloc/mtrace.c: Likewise.
12384 * misc/error.c: Likewise.
12385 * misc/syslog.c: Likewise.
12386 * stdio-common/asprintf.c: Likewise.
12387 * stdio-common/fxprintf.c: Likewise.
12388 * stdio-common/getw.c: Likewise.
12389 * stdio-common/isoc99_fscanf.c: Likewise.
12390 * stdio-common/isoc99_scanf.c: Likewise.
12391 * stdio-common/isoc99_vfscanf.c: Likewise.
12392 * stdio-common/isoc99_vscanf.c: Likewise.
12393 * stdio-common/isoc99_vsscanf.c: Likewise.
12394 * stdio-common/printf-prs.c: Likewise.
12395 * stdio-common/printf_fp.c: Likewise.
12396 * stdio-common/printf_fphex.c: Likewise.
12397 * stdio-common/printf_size.c: Likewise.
12398 * stdio-common/putw.c: Likewise.
12399 * stdio-common/scanf.c: Likewise.
12400 * stdio-common/sprintf.c: Likewise.
12401 * stdio-common/tmpfile.c: Likewise.
12402 * stdio-common/vfprintf.c: Likewise.
12403 * stdio-common/vfscanf.c: Likewise.
12404 * stdlib/strfmon_l.c: Likewise.
12405 * sunrpc/openchild.c: Likewise.
12406 * sunrpc/xdr_stdio.c: Likewise.
12407 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12408 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12409
12410 2012-05-24 Roland McGrath <roland@hack.frob.com>
12411
12412 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12413
12414 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12415 in the third column, to generate for the shared library an IFUNC
12416 that uses _dl_vdso_vsym.
12417 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12418 * Makeconfig (object-suffixes-noshared): New variable.
12419
12420 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12421 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12422 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12423 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12424
12425 [BZ #14132]
12426 * include/sys/time.h (__gettimeofday): Remove macro.
12427 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12428 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12429 Remove INTDEF.
12430 (__gettimeofday): Add libc_hidden_def.
12431 (gettimeofday): Add libc_hidden_weak.
12432 * sysdeps/mach/gettimeofday.c: Likewise.
12433 * sysdeps/posix/gettimeofday.c: Likewise.
12434 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12435 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12436 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12437 (__gettimeofday_internal): Remove strong_alias.
12438 (__gettimeofday): Add libc_hidden_def.
12439 (gettimeofday): Add libc_hidden_weak.
12440 * sysdeps/unix/syscalls.list (gettimeofday):
12441 Remove __gettimeofday_internal alias.
12442
12443 2012-05-24 Daniel Jacobowitz <drow@false.org>
12444 H.J. Lu <hongjiu.lu@intel.com>
12445
12446 [BZ #12495]
12447 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12448 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12449 (largebin_index_32_big): New.
12450 (largebin_index): Use it for 16-byte alignment.
12451 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12452 correction with front_misalign.
12453
12454 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12455
12456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12458 Likewise.
12459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12460 Likewise.
12461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12462 Likewise.
12463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12464 Likewise.
12465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12466 Likewise.
12467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12468 Likewise.
12469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12470 Likewise.
12471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12472 Likewise.
12473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12474 Likewise.
12475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12476 Likewise.
12477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12478 Likewise.
12479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12480 Likewise.
12481
12482 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12483 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12484
12485 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12486
12487 [BZ #10846]
12488 [BZ #14036]
12489 * math/libm-test.inc (exp_test): Add test from bug 14036.
12490 (pow_test): Add test from bug 10846.
12491
12492 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12493 and other flags.
12494 (special_function): Do not include flags in test name.
12495 (parse_args): Likewise.
12496 * sysdeps/i386/fpu/libm-test-ulps: Update.
12497 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12498 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12499 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12501
12502 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12503 exceptions.
12504 * math/libm-test.inc ("Philosophy"): Update comment about
12505 exception testing.
12506 (UNDERFLOW_EXCEPTION): New macro.
12507 (UNDERFLOW_EXCEPTION_OK): Likewise.
12508 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12509 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12510 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12511 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12512 (INVALID_EXCEPTION_OK): Update value.
12513 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12514 (OVERFLOW_EXCEPTION_OK): Likewise.
12515 (IGNORE_ZERO_INF_SIGN): Likewise.
12516 (test_exceptions): Handle underflow exceptions.
12517 (acos_test): Update for underflow exception expectations.
12518 (cexp_test): Likewise.
12519 (clog_test): Likewise.
12520 (clog10_test): Likewise.
12521 (csqrt_test): Likewise.
12522 (ctan_test): Likewise.
12523 (ctanh_test): Likewise.
12524 (exp_test): Likewise.
12525 (exp10_test): Likewise.
12526 (exp2_test): Likewise.
12527 (expm1_test): Likewise.
12528 (fma_test): Likewise.
12529 (j0_test): Likewise.
12530 (jn_test): Likewise.
12531 (nexttoward_test): Likewise.
12532 (pow_test): Likewise.
12533 (scalbn_test): Likewise.
12534 (scalbln_test): Likewise.
12535 (tan_test): Likewise.
12536 (y1_test): Likewise.
12537 * sysdeps/i386/fpu/libm-test-ulps: Update.
12538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12539
12540 2012-05-23 David S. Miller <davem@davemloft.net>
12541
12542 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12543 (__libc_sigaction): Remove unused local variables.
12544
12545 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12546
12547 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12548
12549 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12550
12551 mktime: avoid signed integer overflow
12552 * time/mktime.c (__mktime_internal): Do not mishandle the case
12553 where diff == INT_MIN.
12554
12555 mktime: simplify computation of average
12556 * time/mktime.c (ranged_convert): Use new time_t_avg function
12557 instead of rolling our own (probably-slower) code.
12558
12559 mktime: do not assume signed right shift propagates sign bit
12560 * time/mktime.c (isdst_differ): New static function.
12561 (__mktime_internal): No need to normalize tm_isdst now.
12562 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12563 tm_isdst values.
12564
12565 mktime: merge another wrapv change from gnulib
12566 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12567 from some compilers.
12568
12569 mktime: remove incorrect attempt at unusual arithmetics
12570 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12571 The code didn't really work on such machines anyway.
12572 (TYPE_MINIMUM): Assume two's complement.
12573 (twos_complement_arithmetic): Verify that long_int and time_t
12574 are two's complement (or unsigned, in the latter case).
12575
12576 mktime: check signed shifts on long_int and time_t, too
12577 * time/mktime.c (SHR): Check that shifts work as desired
12578 on the types long_int and time_t too, as SHR is used on
12579 such types.
12580
12581 mktime: do not assume 'long' is wide enough
12582 * time/mktime.c (verify): Move decl up.
12583 (long_int): New type.
12584 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12585 to remove assumption in the code that 'long' is wide enough to
12586 store year values. This assumption is not true on x32 and on
12587 some non-glibc platforms.
12588
12589 mktime: merge wrapv change from gnulib
12590 * time/mktime.c (WRAPV): New macro.
12591 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12592 (guess_time_tm, __mktime_internal): Do not assume that signed
12593 integer overflow wraps around; modern compilers generate code
12594 where this assumption is no longer valid.
12595
12596 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12597
12598 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12599 Replace "jmp L(pseudo_end)" with "ret".
12600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12601 Likewise.
12602
12603 2012-05-23 Andreas Jaeger <aj@suse.de>
12604
12605 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12606 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12607
12608 2012-05-23 Andreas Jaeger <aj@suse.de>
12609 Maximilian Attems <max@stro.at>
12610
12611 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12612 New macros.
12613
12614 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12615
12616 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12617 code so that pseudo_end is just ret and the stack pointer is
12618 correct also for static library in error case.
12619
12620 2012-05-23 Joseph Myers <joseph@codesourcery.com>
12621
12622 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12623 move to syscalls.list.
12624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12628
12629 * manual/install.texi (Running make install): Do not mention Linux
12630 kernel version for which pt_chown is not needed.
12631 (Linux): Do not mention problems with nscd with 2.0 kernels.
12632 * INSTALL: Regenerated.
12633
12634 2012-05-23 Andreas Jaeger <aj@suse.de>
12635
12636 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12637 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12638 macro.
12639 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12640 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12641 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12642 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12643 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12644 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12645 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12646 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12647 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12648 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12649 * sysdeps/unix/sysv/linux/bits/in.h
12650 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12651
12652 2012-05-22 Roland McGrath <roland@hack.frob.com>
12653
12654 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12655 (PREPARE_VERSION): Just use assert instead, it will be elided
12656 under [NDEBUG] anyway.
12657
12658 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12659
12660 * sysdeps/unix/sysv/linux/Makefile: Include
12661 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12662 (sysdep_routines): Remove sysctl.
12663 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12664 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12665 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12666 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12667 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12668
12669 2012-05-22 Andreas Jaeger <aj@suse.de>
12670
12671 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12672 that pseudo_end is just ret and the stack pointer is correct also
12673 for static library in error case.
12674
12675 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12676
12677 [BZ #14122]
12678 * nss/nsswitch.c (defconfig_entries): New variable.
12679 (__nss_database_lookup): Don't leak defconfig entries.
12680 (nss_parse_service_list): Don't leak on error paths.
12681 (free_database_entries): New function.
12682 (free_defconfig): New function.
12683 (free_mem): Move common code to free_database_entries.
12684
12685 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12686
12687 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12688 Add arch_prctl.
12689 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12690
12691 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12692 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12694 New macro.
12695 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12696 (INTERNAL_SYSCALL_TYPES): Likewise.
12697 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12698 (LOAD_REGS_TYPES_[1-6]): Likewise.
12699 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12700 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12701
12702 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12703
12704 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12705 copysignl for GLIBC_2_0.
12706 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12707 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12708 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12709 logbl for GLIBC_2_0.
12710 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12711 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12712
12713 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12714
12715 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12716 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12717
12718 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12719 Use "neg %eax".
12720
12721 * time/mktime.c: Update copyright years.
12722
12723 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12724
12725 mktime: merge comment-quoting-style change from gnulib
12726 * time/mktime.c: Quote 'like this' in comments.
12727 The GNU coding standards suggest that we no longer quote `like this',
12728 as "`" and "'" are typically rendered asymmetrically nowadays.
12729 The typical gnulib style is to quote 'like this' when quoting
12730 code, and "like this" when quoting English.
12731
12732 * time/mktime.c (compile-command): Add "-I.".
12733
12734 mktime: merge mktime-internal.h change from gnulib
12735 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12736
12737 mktime: merge time_r change from gnulib
12738 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12739
12740 mktime: merge DEBUG change from gnulib
12741 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12742 case system <time.h> has a #define.
12743
12744 mktime: merge <sys/types.h> change from gnulib
12745 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12746 since <time.t> is now guaranteed to define time_t.
12747
12748 mktime: merge HAVE_CONFIG_H change from gnulib
12749 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12750
12751 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12752
12753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12754 Use "neg %eax".
12755
12756 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12757 __rlim_t cast.
12758 (struct rusage): Use anonymous union to pad each field to
12759 __syscall_slong_t.
12760
12761 2012-05-21 David S. Miller <davem@davemloft.net>
12762
12763 * Makefules (o-iterator): Remove .s cases.
12764 (compile-command.s): Delete.
12765 (COMPILE.s): Delete.
12766 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12767
12768 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12769
12770 * configure.in (libc_cv_predef_stack_protector): Only consider
12771 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12772 * configure: Regenerated.
12773
12774 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12775
12776 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12777 New macro. Use R*LP on int and pointer.
12778 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12779 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12780 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12781 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12782
12783 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12784 [__WORDSIZE_TIME64_COMPAT32] instead of
12785 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12786 (struct utmp): Likewise.
12787 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12788 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12789 Renamed to ...
12790 (__WORDSIZE_TIME64_COMPAT32): This.
12791 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12792 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12793 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12794 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12795 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12796 (__WORDSIZE_TIME64_COMPAT32): New macro.
12797
12798 2012-05-21 Andreas Jaeger <aj@suse.de>
12799
12800 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12801 only if [SHARED]. Add prototype for __wcschr_ia32.
12802
12803 2012-05-21 Roland McGrath <roland@hack.frob.com>
12804
12805 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12806 of %rbp unmolested in the jmp_buf while mangling the low bits.
12807 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12808 unmolested high bits of %rbp while demangling the low bits.
12809 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12810
12811 2012-05-21 Andreas Jaeger <aj@suse.de>
12812
12813 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12814 * sunrpc/svc_simple.c: Use it for registerrpc.
12815 * sunrpc/xcrypt.c: Use it for passwd2des.
12816
12817 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12818
12819 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12820
12821 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12822 Don't define if [__SYSCALL_WORDSIZE != 32].
12823 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12824 New macro.
12825
12826 2012-05-21 Bruno Haible <bruno@clisp.org>
12827 Andreas Jaeger <aj@suse.de>
12828
12829 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12830 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12831 inptr and inend for must_buffer_ch.
12832 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12833 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12834 * stdio-common/Makefile (tests): Remove bug15.
12835 (bug15-ENV): Remove macro.
12836 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12837 anymore.
12838
12839 2012-05-19 Andreas Jaeger <aj@suse.de>
12840 Roland McGrath <roland@hack.frob.com>
12841
12842 * manual/contrib.texi: Completely rewritten. It contains now an
12843 alphabetical list of contributors and their contributions.
12844
12845 2012-05-21 Richard Henderson <rth@twiddle.net>
12846
12847 * misc/getauxval.c (__getauxval): Use unsigned long int.
12848 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12849 (getauxval): Use unsigned long int.
12850
12851 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12852
12853 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12854
12855 2012-05-21 Roland McGrath <roland@hack.frob.com>
12856
12857 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12858 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12859 __alignof__ (long double).
12860
12861 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12862
12863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12864
12865 2012-05-20 Richard Henderson <rth@twiddle.net>
12866
12867 * misc/getauxval.c: New file.
12868 * misc/sys/auxv.h: New file.
12869 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12870 (routines): Add getauxval.
12871 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12872 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12873 * elf/dl-sysdep.c (_dl_auxv): Remove.
12874 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12875 * elf/dl-support.c (_dl_auxv): New variable.
12876 (_dl_aux_init): Initialize it.
12877 * manual/startup.texi (Auxiliary Vector): New node.
12878 * sysdeps/generic/bits/hwcap.h: New file.
12879 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12880 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12881 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12882 * sysdeps/sparc/sysdep.h: ... here. Include it.
12883 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12884 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12886 Update.
12887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12890 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12895
12896 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12897
12898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12899
12900 2012-05-19 David S. Miller <davem@davemloft.net>
12901
12902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12903
12904 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12905
12906 [BZ #14123]
12907 * math/s_ccosh.c: Include <float.h>
12908 (__ccosh): Avoid internal overflow calculating sinh and cosh
12909 values before multiplying by sin and cos values.
12910 * math/s_ccoshf.c: Likewise.
12911 * math/s_ccoshl.c: Likewise.
12912 * math/s_csin.c: Likewise.
12913 * math/s_csinf.c: Likewise.
12914 * math/s_csinl.c: Likewise.
12915 * math/s_csinh.c: Likewise.
12916 * math/s_csinhf.c: Likewise.
12917 * math/s_csinhl.c: Likewise.
12918 * math/libm-test.inc (ccos_test): Add more tests.
12919 (ccosh_test): Likewise.
12920 (csin_test): Likewise.
12921 (csinh_test): Likewise.
12922 * sysdeps/i386/fpu/libm-test-ulps: Update.
12923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12924
12925 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12926
12927 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12928 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12929
12930 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12931
12932 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12933
12934 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12935 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12936 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12937 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12938 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12939 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12940 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12941 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12942 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12943 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12944 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12945 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12946 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12947 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12948 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12949 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12950 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12951 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12952 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12953 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12954 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12955 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12956 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12957 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12958 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12959 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12960 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12961 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12962 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12963 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12964 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12965
12966 2012-05-18 Andreas Jaeger <aj@suse.de>
12967
12968 * csu/.gitignore: Delete.
12969
12970 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12971
12972 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12973 (timex): Use __syscall_slong_t.
12974
12975 2012-05-18 Andreas Jaeger <aj@suse.de>
12976 Carlos O'Donell <carlos_odonell@mentor.com>
12977
12978 * manual/install.texi (Configuring and compiling): Update
12979 description about files modified in the source directory.
12980 * INSTALL: Regenerated.
12981
12982 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12983
12984 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12985 value. Use "or" to set return value to -1.
12986 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12987 negate return value.
12988
12989 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12990
12991 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12992 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12993 failure if the compiler has Graphite support disabled.
12994 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12995 Likewise.
12996 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12997 CFLAGS-memmove.c): Likewise.
12998 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12999 Likewise.
13000
13001 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13002
13003 * sysdeps/x86_64/x32/_itoa.h: New file.
13004
13005 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13006 getdents system call only if kernel and user dirents have the
13007 same d_ino and d_off.
13008
13009 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13010 LLONG_MAX != LONG_MAX.
13011 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13012 (_fitoa_word): Likewise.
13013
13014 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13015 years.
13016 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13017 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13018 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13019
13020 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13021 include <bits/wordsize.h>. Check __x86_64__ instead of
13022 __WORDSIZE.
13023 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13024 if __x86_64__ is defined. Use anonymous union on fpstate.
13025
13026 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13027 anonymous union.
13028
13029 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13030
13031 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13032 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13033 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13034 Refer to _rtld_local_ro instead of _rtld_global_ro.
13035 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13036 Likewise.
13037 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13038 Likewise.
13039 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13040 Likewise.
13041 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13042 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13043 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13044
13045 * sysdeps/powerpc/powerpc32/dl-machine.c
13046 (__elf_machine_runtime_setup) [PROF]: Don't reference
13047 _dl_prof_resolve.
13048
13049 2012-05-18 Andreas Jaeger <aj@suse.de>
13050
13051 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13052 function only available for GCCs before 3.4 since GCC 3.4
13053 introduced a builtin.
13054 (lrint): Likewise.
13055 (llrintf): Likewise.
13056 (llrint): Likewise.
13057 (fmaxf): Likewise.
13058 (fmax): Likewise.
13059 (fminf): Likewise.
13060 (fmin): Likewise.
13061 (rint): Likewise.
13062 (rintf): Likewise.
13063 (nearbyint): Likewise.
13064 (nearbyintf): Likewise.
13065 (ceil): Likewise.
13066 (ceilf): Likewise.
13067 (floor): Likewise.
13068 (floorf): Likewise.
13069
13070 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13071
13072 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13073 on both fields and cast pointer to __syscall_ulong_t.
13074
13075 * bits/types.h (__fsword_t): New type.
13076 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13077 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13078 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13079 (__FSWORD_T_TYPE): Likewise.
13080 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13081 (__FSWORD_T_TYPE): Likewise.
13082 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13083 (__FSWORD_T_TYPE): Likewise.
13084 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13085 (__FSWORD_T_TYPE): Likewise.
13086 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13087 __SWORD_TYPE with __fsword_t.
13088 (statfs64): Likewise.
13089
13090 2012-05-17 David S. Miller <davem@davemloft.net>
13091
13092 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13093
13094 2012-05-17 Andreas Jaeger <aj@suse.de>
13095
13096 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13097 warning.
13098
13099 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13100
13101 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13102
13103 2012-05-17 Andreas Jaeger <aj@suse.de>
13104
13105 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13106 when it is used.
13107
13108 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13109
13110 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13111
13112 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13113
13114 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13115 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13116
13117 2012-05-17 Andreas Jaeger <aj@suse.de>
13118 Carlos O'Donell <carlos_odonell@mentor.com>
13119
13120 [BZ #14059]
13121 * sysdeps/x86_64/multiarch/init-arch.h
13122 (bit_YMM_Usable): Rename to...
13123 (bit_AVX_Usable): ... this.
13124 (bit_FMA4_Usable): New macro.
13125 (bit_XMM_state): New macro.
13126 (bit_YMM_state): New macro.
13127 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13128 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13129 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13130 (CPUID_OSXSAVE): New macro.
13131 (CPUID_AVX): New macro.
13132 (CPUID_FMA4): New macro.
13133 (index_YMM_Usable): Rename to...
13134 (index_AVX_Usable): ... this.
13135 (HAS_AVX): Use HAS_ARCH_FEATURE.
13136 (HAS_FMA4): Likewise.
13137 (HAS_YMM_USABLE): Remove.
13138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13139 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13140 are present.
13141 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13142 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13143 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13144 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13145 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13146
13147 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13148
13149 * math/libm-test.c: Support platforms without multiple rounding modes.
13150 * math/bug-nextafter.c: Support platforms without FP exceptions.
13151 * math/bug-nexttoward.c: Likewise.
13152 * math/test-fenv.c: Likewise.
13153 * math/test-misc.c: Likewise.
13154 * stdlib/bug-getcontext.c: Likewise.
13155
13156 2012-05-17 Andreas Jaeger <aj@suse.de>
13157
13158 * manual/examples/search.c (critter_cmp): Change signature to
13159 avoid warnings.
13160 * manual/string.texi (Collation Functions): Likewise.
13161
13162 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13163
13164 * bits/types.h: Fold copyright years.
13165 * bits/typesizes.h: Likewise.
13166 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13167 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13169 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13170 * time/time.h: Likewise.
13171
13172 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13173
13174 [BZ #208]
13175 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13176 in instead of returning them. Return void.
13177 (__libc_mallinfo): Accumulate over all arenas.
13178 (__malloc_stats): Adjust for change in int_mallinfo interface.
13179
13180 2012-05-16 Roland McGrath <roland@hack.frob.com>
13181
13182 [BZ #10375]
13183 * configure.in (NM): Add AC_CHECK_TOOL for it.
13184 (libc_extra_cflags): New substituted variable.
13185 Check for -fstack-protector being used implicitly.
13186 * configure: Regenerated.
13187 * config.make.in (config-extra-cflags): New variable,
13188 gets @libc_extra_cflags@.
13189 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13190
13191 [BZ #10375]
13192 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13193 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13194 * configure: Regenerated.
13195 * config.make.in (CPPUNDEFS): New substituted variable.
13196 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13197 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13198 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13199
13200 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13201
13202 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13203 (mq_attr): Use __syscall_slong_t.
13204
13205 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13206
13207 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13208 Check __x86_64__ instead of __WORDSIZE.
13209 (_STAT_VER_LINUX): Likewise.
13210 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13211 __syscall_ulong_t and __syscall_slong_t.
13212 (stat64): Likewise.
13213
13214 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13215
13216 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13217
13218 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13219
13220 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13221
13222 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13223
13224 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13225 __syscall_ulong_t.
13226
13227 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13228 include <bits/wordsize.h>. Check __x86_64__ instead of
13229 __WORDSIZE.
13230 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13231 defined.
13232 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13233
13234 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13235 include <bits/wordsize.h>. Check __x86_64__ instead of
13236 __WORDSIZE.
13237 (user_regs_struct): Use "__extension__ unsigned long long"
13238 instead of "unsigned long" if __x86_64__ is defined.
13239 (user): Likewise. Pad after pointer field if __ILP32__ is
13240 defined.
13241
13242 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13243
13244 * configure.in (makeinfo): Require version 4.5 or later. Allow
13245 versions 5 to 9.
13246 * configure: Regenerated.
13247 * manual/install.texi (texinfo): Increase version requirement to
13248 4.5 or later.
13249 * INSTALL: Regenerated.
13250
13251 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13252
13253 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13254
13255 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13256
13257 * sysdeps/x86_64/x32/ffs.c: New file.
13258
13259 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13260 __syscall_ulong_t.
13261 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13262 defined. Use __syscall_ulong_t.
13263 (shminfo): Use __syscall_ulong_t.
13264 (shm_info): Likewise.
13265
13266 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13267 __syscall_ulong_t.
13268
13269 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13270 <bits/wordsize.h>.
13271 (msgqnum_t): Use __syscall_ulong_t.
13272 (msglen_t): Likewise.
13273 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13274 __syscall_ulong_t.
13275
13276 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13277 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13278
13279 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13280
13281 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13282 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13283
13284 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13285 __syscall_slong_t.
13286
13287 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13288 include <bits/wordsize.h>. Check __x86_64__ instead of
13289 __WORDSIZE.
13290
13291 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13292 "unsigned long long int" if __x86_64__ is defined.
13293 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13294
13295 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13296 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13297 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13298
13299 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13300 <stdint.h>.
13301 (GET_PC): Cast to uintptr_t first.
13302 (GET_FRAME): Likewise.
13303 (GET_STACK): Likewise.
13304
13305 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13306 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13307 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13308 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13309 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13310 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13311 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13312 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13313 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13314 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13315 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13316 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13317 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13318 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13319 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13320 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13321 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13322 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13323 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13324 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13325 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13326 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13327 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13328 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13329 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13330 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13331 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13332 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13333 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13334
13335 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13336
13337 * Makerules (+depfiles): Also collect depfiles from .oS in
13338 $(extra-objs).
13339 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13340 .oS, $(libnldbl-routines)).
13341
13342 * Makerules (native-compile-mkdep-flags): Define.
13343 * sunrpc/Makefile (extra-objs): Add $(addprefix
13344 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13345 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13346 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13347 calling $(make-target-directory).
13348
13349 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13350
13351 * bits/types.h (__snseconds_t): Removed.
13352 * time/time.h (struct timespec): Replace __snseconds_t with
13353 __syscall_slong_t.
13354 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13355 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13356 Likewise.
13357 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13358 (__SNSECONDS_T_TYPE): Likewise.
13359 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13360 (__SNSECONDS_T_TYPE): Likewise.
13361 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13362 (__SNSECONDS_T_TYPE): Likewise.
13363
13364 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13365
13366 * sysdeps/mach/hurd/bits/typesizes.h
13367 (__SYSCALL_SLONG_TYPE): New macro.
13368 (__SYSCALL_ULONG_TYPE): Likewise.
13369
13370 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13371
13372 * bits/types.h (__syscall_slong_t): New type.
13373 (__syscall_ulong_t): Likewise.
13374
13375 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13376 (__SYSCALL_ULONG_TYPE): Likewise.
13377 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13378 (__SYSCALL_SLONG_TYPE): Likewise.
13379 (__SYSCALL_ULONG_TYPE): Likewise.
13380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13381 (__SYSCALL_SLONG_TYPE): Likewise.
13382 (__SYSCALL_ULONG_TYPE): Likewise.
13383 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13384 (__SYSCALL_SLONG_TYPE): Likewise.
13385 (__SYSCALL_ULONG_TYPE): Likewise.
13386
13387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13388
13389 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13390 Add sigaltstack-offsets.sym.
13391 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13392 <sigaltstack-offsets.h>.
13393 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13394 longjmp_msg pointer.
13395 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13396 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13397 signal stack.
13398 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13399
13400 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13401
13402 * elf/stackguard-macros.h: Remove file.
13403 * sysdeps/generic/stackguard-macros.h: New file.
13404 * sysdeps/i386/stackguard-macros.h: Likewise.
13405 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13406 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13407 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13408 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13409 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13410 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13411 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13412 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13413 <elf/stackguard-macros.h>.
13414
13415 [BZ #14109]
13416 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13417 __aligned__ in attribute.
13418 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13419 (gregset_t): Likewise.
13420
13421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13422
13423 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13424 * sysdeps/x86_64/64/Implies-after: Here. New file.
13425 * sysdeps/x86_64/x32/Implies-after: New file.
13426
13427 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13428
13429 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13430 and access return value for _dl_profile_fixup. Use R10_LP to
13431 load frame size.
13432
13433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13434
13435 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13436
13437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13438
13439 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13440 * sysdeps/x86_64/x32/sysdep.h: New file.
13441
13442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13443
13444 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13445 * sysdeps/x86_64/setjmp.S: Likewise.
13446
13447 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13448
13449 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13450 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13451 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13452 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13453 remove unused global constant.
13454
13455 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13456
13457 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13458 include of <not-cancel.h>.
13459
13460 2012-05-15 Roland McGrath <roland@hack.frob.com>
13461
13462 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13463
13464 2012-05-15 Jeff Law <law@redhat.com>
13465 Andreas Jaeger <aj@suse.de>
13466
13467 [BZ #13594]
13468 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13469 out from...
13470 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13471 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13472 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13473 code changing __hst_map_handle.map.
13474
13475 2012-05-15 Roland McGrath <roland@hack.frob.com>
13476
13477 * configure.in (sysnames): Look for Implies-before and Implies-after
13478 files.
13479 * configure: Regenerated.
13480
13481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13482
13483 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13484 8-byte data alignment with LP_SIZE alignment.
13485
13486 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13487
13488 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13489 into R10_LP.
13490
13491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13492
13493 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13494
13495 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13496
13497 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13498 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13499 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13500 Likewise.
13501 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13502
13503 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13504
13505 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13506 (stackinfo_sub_sp): Likewise.
13507
13508 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13509
13510 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13511 RAX_LP.
13512
13513 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13514
13515 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13516 into R*_LP.
13517
13518 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13519
13520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13521 sizes into R*_LP.
13522
13523 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13524
13525 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13526
13527 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13528
13529 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13530 into R11_LP and load __x86_64_shared_cache_size_half into
13531 R8_LP.
13532
13533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13534
13535 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13536 R8_LP.
13537
13538 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13539
13540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13541 logb for POWER7.
13542 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13543 logbf for POWER7.
13544 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13545 logbl for POWER7.
13546 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13547 powerpc32/power7/fpu/s_logb.c via #include.
13548 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13549 powerpc32/power7/fpu/s_logbf.c via #include.
13550 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13551 powerpc32/power7/fpu/s_logbl.c via #include.
13552
13553 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13554
13555 * README.libm: Remove file.
13556
13557 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13558
13559 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13560 count for x32. Use R*_LP and omit operand-size suffix.
13561
13562 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13563
13564 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13565 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13566 * sysdeps/x86_64/x32/shlib-versions: New file.
13567
13568 2012-05-14 Roland McGrath <roland@hack.frob.com>
13569
13570 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13571 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13572 Use _dl_fatal_printf instead.
13573
13574 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13575
13576 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13577 set if not set by the user. Do not allow for being unset.
13578 * sysdeps/unix/sysv/linux/configure: Regenerated.
13579
13580 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13581
13582 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13583 the `q' suffix from lea and replace .quad with ASM_ADDR.
13584
13585 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13586
13587 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13588 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13589 instead of $17.
13590 (PTR_DEMANGLE): Likewise.
13591
13592 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13593
13594 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13595 (LP_OP): Likewise.
13596 (ASM_ADDR): Likewise.
13597 (RAX_LP): Likewise.
13598 (RBP_LP): Likewise.
13599 (RBX_LP): Likewise.
13600 (RCX_LP): Likewise.
13601 (RDI_LP): Likewise.
13602 (RSI_LP): Likewise.
13603 (RSP_LP): Likewise.
13604 (R8_LP): Likewise.
13605 (R9_LP): Likewise.
13606 (R10_LP): Likewise.
13607 (R10_LP): Likewise.
13608 (R11_LP): Likewise.
13609 (R12_LP): Likewise.
13610 (R13_LP): Likewise.
13611 (R14_LP): Likewise.
13612 (R15_LP): Likewise.
13613
13614 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13615
13616 * sysdeps/x86_64/x32/dl-machine.h: New file.
13617
13618 2012-05-14 Andreas Jaeger <aj@suse.de>
13619
13620 * manual/Makefile (subdir): Remove export of subdir.
13621 (all): Remove target.
13622 (.PHONY): Remove all from list.
13623 (mkinstalldirs): Remove.
13624 (.PHONY): Remove installdirs from list.
13625 ($(inst_infodir)/libc.info): Use make-target-directory.
13626 (installdirs): Remove.
13627 (subdir_%): Remove.
13628 (glibc-targets): Remove.
13629 (lib): Remove.
13630 (stubs): Remove.
13631 ($(objpfx)stubs ../po/manual.pot): Remove.
13632 ($(objpfx)stamp%): Remove.
13633 (make-target-directory): Remove.
13634 (subdir_install): Remove.
13635 (routines): Remove.
13636 (aux): Remove.
13637 (sources): Remove.
13638 (objects): Remove.
13639 (headers): Remove.
13640
13641 [BZ #13750]
13642 * manual/.gitignore: Remove, it's not needed anymore.
13643 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13644 all files in it.
13645 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13646 directory.
13647 (texis): Renamed to $(objpfx)texis.
13648 (texis-path): New, contains path to generated files.
13649 (chapters.%): Use texis-path for complete path, add extra argument
13650 libc-texinfo.sh.
13651 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13652 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13653 (summary,texi, stamp-summary): Use complete path of
13654 files. Generate files in build dir.
13655 (dir-add.texi): Build in build dir.
13656 (libm-err.texi,stamp-libm-err): Likewise.
13657 (version.texi, stamp-version): Likewise.
13658 (.%c.texi): Likewise.
13659 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13660 (mostlyclean): Remove target.
13661 (realclean): Remove target.
13662 (generated): Add new variable with contents from mostlyclean and
13663 realclean, remove entries duplicated in common-mostlyclean, add
13664 stamp-libm-err and stamp-version.
13665 (generated-dirs): Add libc directory.
13666 ($(inst_infodir)/libc.info): Install files from build dir.
13667
13668 * manual/install.texi (Configuring and compiling): Adjust since
13669 the info files are not part of the tar ball anymore.
13670
13671 2012-05-14 Andreas Jaeger <aj@suse.de>
13672
13673 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13674 variable.
13675
13676 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13677
13678 [BZ #13717]
13679 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13680 to 2.2.0 where earlier.
13681 * sysdeps/unix/sysv/linux/configure: Regenerated.
13682 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13683 Remove conditional code.
13684 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13685 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13686 Remove conditional code.
13687 [!__NR_lchown]: Likewise.
13688 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13689 [__NR_lchown]: Likewise.
13690 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13691 comment referencing __ASSUME_LCHOWN_SYSCALL.
13692 * sysdeps/unix/sysv/linux/i386/sigaction.c
13693 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13694 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13695 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13696 Remove conditional code.
13697 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13698 (__protocol_available): Remove #if 0 code.
13699 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13700 conditional code.
13701 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13702 * sysdeps/unix/sysv/linux/kernel-features.h
13703 (__ASSUME_GETCWD_SYSCALL): Don't define.
13704 (__ASSUME_REALTIME_SIGNALS): Likewise.
13705 (__ASSUME_PREAD_SYSCALL): Likewise.
13706 (__ASSUME_PWRITE_SYSCALL): Likewise.
13707 (__ASSUME_POLL_SYSCALL): Likewise.
13708 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13709 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13710 non-SPARC.
13711 (__ASSUME_SIOCGIFNAME): Don't define.
13712 (__ASSUME_MSG_NOSIGNAL): Likewise.
13713 (__ASSUME_SENDFILE): Define unconditionally.
13714 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13715 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13716 conditional code.
13717 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13718 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13719 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13720 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13721 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13722 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13723 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13725 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13728 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13729 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13731 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13732 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13734 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13735 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13737 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13738 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13740 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13741 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13743 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13744 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13746 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13748 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13749 Remove conditional code.
13750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13751 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13752 Remove conditional code.
13753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13754 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13755 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13756 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13757 Remove conditional code.
13758 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13759 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13760 Remove conditional code.
13761 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13762 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13763 Remove conditional code.
13764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13765 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13766 Remove conditional code.
13767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13768 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13769 Remove conditional code.
13770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13771 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13772 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13774 * sysdeps/unix/sysv/linux/sigaction.c
13775 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13776 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13777 * sysdeps/unix/sysv/linux/sigpending.c
13778 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13779 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13780 * sysdeps/unix/sysv/linux/sigprocmask.c
13781 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13782 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13783 * sysdeps/unix/sysv/linux/sigsuspend.c
13784 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13785 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13786 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13787 (__libc_missing_rt_sigs): Remove.
13788 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13789 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13790 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13791 Remove conditional code.
13792 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13793 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13794 return 1.
13795 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13796 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13797 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13798 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13799
13800 2012-05-14 Andreas Jaeger <aj@suse.de>
13801
13802 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13803 it's not used in glibc.
13804 (__coshm1): Likewise.
13805 (__acosh1p): Likewise.
13806 (__sgn): Likewise.
13807
13808 * manual/string.texi (Copying and Concatenation): Add missing
13809 variable in concat example.
13810 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13811
13812 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13813
13814 [BZ #14103]
13815 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13816 __builtin_clzl with __builtin_clzll.
13817
13818 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13819
13820 [BZ #14104]
13821 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13822 libc_freeres_ptr.
13823
13824 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13825
13826 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13827 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13828 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13829 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13830
13831 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13832
13833 * NEWS: Update ia64 info.
13834
13835 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13836
13837 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13838 used as bcopy.
13839
13840 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13841
13842 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13843 * sysdeps/unix/syscalls.list (dup3): Likewise.
13844 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13845 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13846
13847 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13848
13849 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13850 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13851
13852 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13853
13854 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13855 thread pointer.
13856 (TLS_IE): Use mov/add instead of movq/addq to load thread
13857 pointer.
13858 (TLS_GD_PREFIX): New.
13859 (TLS_GD): Use it.
13860
13861 2012-05-11 David S. Miller <davem@davemloft.net>
13862
13863 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13864 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13865 (_FPU_SETCW): Likewise.
13866
13867 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13868
13869 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13870 is 32-byte aligned.
13871
13872 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13873
13874 [BZ #11837]
13875 * iconvdata/gb18030.c: Update tables.
13876 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13877 characters specially.
13878 (BODY for TO_LOOP): Add encoding of missing ranges.
13879
13880 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13881
13882 [BZ #13673]
13883 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13884 * sysdeps/mach/hurd/dup3.c: Likewise.
13885 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13886 * sysdeps/powerpc/memmove.c:: Likewise.
13887
13888 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13889
13890 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13891 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13892
13893 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13894
13895 * elf/elf.h (R_X86_64_RELATIVE64): New.
13896 (R_X86_64_NUM): Updated.
13897 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13898 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13899 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13900 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13901 tst-quad1pie tst-quad2pie
13902 (modules-names): Add tst-quadmod1 tst-quadmod2.
13903 ($(objpfx)tst-quad1): New dependency.
13904 ($(objpfx)tst-quad2): Likewise.
13905 ($(objpfx)tst-quad1pie): Likewise.
13906 ($(objpfx)tst-quad2pie): Likewise.
13907 * sysdeps/x86_64/tst-quad1.c: New file.
13908 * sysdeps/x86_64/tst-quad1pie.c: New file.
13909 * sysdeps/x86_64/tst-quad2.c: Likewise.
13910 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13911 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13912 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13913 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13914 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13915
13916 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13917
13918 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13919 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13920 * streams/stropts.h (t_scalar_t): Define type.
13921
13922 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13923 (_PATH_PRESERVE): Set to "/var/lib".
13924 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13925
13926 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13927 instead of int.
13928
13929 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13930 if __dir_mkfile succeeded.
13931
13932 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13933 checking for _hurd_dtablesize. Unlock it right after having
13934 finished _hurd_dtable allocation.
13935
13936 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13937
13938 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13939 * sysdeps/mach/hurd/configure: Regenerated.
13940 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13941 special-casing to...
13942 * sysdeps/gnu/configure.in: ... this new file.
13943 * sysdeps/unix/sysv/linux/configure: Regenerated.
13944 * sysdeps/gnu/configure: New generated file.
13945
13946 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13947 for Linux: use nsec instead of usec, as well as:
13948 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13949 members of type struct timespec.
13950 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13951 New macros.
13952 (struct stat64): Likewise.
13953 (_STATBUF_ST_NSEC): New macro.
13954 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13955
13956 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13957 __strtoul_internal rather than strtoul.
13958
13959 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13960
13961 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13962 and reject them.
13963
13964 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13965
13966 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13967 which preserves existing values.
13968 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13969
13970 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13971
13972 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13973 TIMEOUT values. Return EINVAL for NFDS values either negative or
13974 greater than FD_SETSIZE.
13975
13976 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13977
13978 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13979 allocated, call __vm_protect to finish enabling the existing space, and
13980 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13981 allocate the remainder.
13982
13983 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13984
13985 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13986 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13987
13988 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13989
13990 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13991 sysdeps/mach/hurd/readlink.c.
13992
13993 * posix/tst-sysconf.c (posix_options): Only use
13994 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13995 _POSIX_SYNCHRONIZED_IO when they are defined
13996 * sysdeps/mach/hurd/bits/posix_opt.h:
13997 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13998 (_XOPEN_REALTIME): Undefine macro.
13999 (_XOPEN_REALTIME_THREADS): Undefine macro.
14000 (_XOPEN_SHM): Undefine macro.
14001 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14002 macro to -1.
14003 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14004 macro to -1.
14005 (_POSIX_ASYNC_IO): Undefine macro.
14006 (_POSIX_PRIORITIZED_IO): Undefine macro.
14007 (_POSIX_SPIN_LOCKS): Define macro to -1.
14008
14009 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14010 SA_NODEFER, SA_RESETHAND.
14011 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14012 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14013 F_DUPFD_CLOEXEC.
14014
14015 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14016
14017 * elf/Makefile (pldd-modules): Define unconditionally.
14018
14019 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14020
14021 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14022
14023 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14024
14025 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14026 Return ENOENT when name is empty.
14027 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14028
14029 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14030
14031 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14032
14033 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14034
14035 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14036
14037 Fix mlock in all cases except non-readable pages.
14038 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14039 instead of VM_PROT_ALL as parameter to __vm_wire function.
14040
14041 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14042 (__mkdir): When path is `/', just fail with EEXIST.
14043 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14044
14045 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14046
14047 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14048 <sys/uio.h> (for writev).
14049 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14050 and <sys/param.h> (for MIN).
14051
14052 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14053
14054 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14055 REQUESTED_TIME. Properly set the remaining time and return EINTR
14056 if interrupted.
14057
14058 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14059
14060 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14061 Depend on against $(link-rpcuserlibs).
14062
14063 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14064
14065 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14066 (__libc_stack_end): Do not use attribute_relro.
14067 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14068 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14069 to libthread-provided value.
14070 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14071 attribute_relro.
14072
14073 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14074
14075 [BZ #3748]
14076 * bits/libc-lock.h (__libc_once_get): New macro.
14077 * sysdeps/mach/bits/libc-lock.h: Likewise.
14078 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14079 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14080 instead of using implementation details.
14081
14082 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14083 * libio/freopen.c: Likewise.
14084 * libio/freopen64.c: Likewise.
14085 * misc/syslog.c: Likewise.
14086 * nscd/connections.c: Likewise.
14087 * nscd/netgroupcache.c: Likewise.
14088 * sysdeps/posix/getcwd.c: Likewise.
14089
14090 2012-05-10 Roland McGrath <roland@hack.frob.com>
14091
14092 * math/w_ilogbf.c: Add #include <limits.h>.
14093
14094 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14095
14096 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14097 path instead of returning without unlocking.
14098
14099 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14100 immediate-write ioctls.
14101 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14102
14103 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14104
14105 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14106 __builtin_frame_address instead of making assumptions about the
14107 location of the return address relative to DATA. Force early load of
14108 the return address.
14109 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14110 __builtin_frame_address.
14111
14112 dup3 for GNU Hurd.
14113 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14114 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14115 implement dup3 and do some further code clean-ups.
14116 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14117 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14118
14119 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14120
14121 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14122
14123 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14124 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14125 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14126 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14127 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14128 d->port.lock.
14129
14130 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14131 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14132 when handler == SIG_ERR, not when handler != SIG_ERR.
14133
14134 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14135
14136 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14137 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14138 definitions.
14139
14140 accept4 for GNU Hurd.
14141 * include/sys/socket.h (__libc_accept4): New prototype.
14142 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14143 to implement __libc_accept4.
14144 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14145 __libc_accept4.
14146 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14147
14148 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14149 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14150 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14151 signal-defines.sym.
14152
14153 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14154
14155 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14156
14157 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14158
14159 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14160 assertion on O_CLOEXEC flag.
14161 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14162 * hurd/intern-fd.c: Likewise.
14163 * hurd/port2fd.c: Likewise.
14164
14165 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14166
14167 [BZ #3906]
14168 * bits/in.h (IPV6_PKTINFO): Define new macro.
14169 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14170
14171 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14172
14173 [BZ #13954]
14174 [BZ #13955]
14175 [BZ #13956]
14176 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14177 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14178 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14179 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14180 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14181 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14182 * math/libm-test.inc (logb_test) : Additional logb tests.
14183
14184 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14185 Andreas Jaeger <aj@suse.de>
14186
14187 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14188 * configure: Regenerated.
14189 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14190 * config.make.in (link-obsolete-rpc): New substituted variable.
14191 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14192 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14193 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14194 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14195 so that libc.a contains the symbols.
14196 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14197 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14198 * sunrpc/auth_none.c: Likewise.
14199 * sunrpc/auth_unix.c: Likewise.
14200 * sunrpc/authdes_prot.c: Likewise.
14201 * sunrpc/authuxprot.c: Likewise.
14202 * sunrpc/clnt_gen.c: Likewise.
14203 * sunrpc/clnt_perr.c: Likewise.
14204 * sunrpc/clnt_raw.c: Likewise.
14205 * sunrpc/clnt_simp.c: Likewise.
14206 * sunrpc/clnt_tcp.c: Likewise.
14207 * sunrpc/clnt_udp.c: Likewise.
14208 * sunrpc/clnt_unix.c: Likewise.
14209 * sunrpc/des_crypt.c: Likewise.
14210 * sunrpc/des_soft.c: Likewise.
14211 * sunrpc/get_myaddr.c: Likewise.
14212 * sunrpc/key_call.c: Likewise.
14213 * sunrpc/key_prot.c: Likewise.
14214 * sunrpc/netname.c: Likewise.
14215 * sunrpc/pm_getmaps.c: Likewise.
14216 * sunrpc/pm_getport.c: Likewise.
14217 * sunrpc/pmap_clnt.c: Likewise.
14218 * sunrpc/pmap_prot.c: Likewise.
14219 * sunrpc/pmap_prot2.c: Likewise.
14220 * sunrpc/pmap_rmt.c: Likewise.
14221 * sunrpc/publickey.c: Likewise.
14222 * sunrpc/rpc_cmsg.c: Likewise.
14223 * sunrpc/rpc_common.c: Likewise.
14224 * sunrpc/rpc_dtable.c: Likewise.
14225 * sunrpc/rpc_prot.c: Likewise.
14226 * sunrpc/rpc_thread.c: Likewise.
14227 * sunrpc/rtime.c: Likewise.
14228 * sunrpc/svc.c: Likewise.
14229 * sunrpc/svc_auth.c: Likewise.
14230 * sunrpc/svc_raw.c: Likewise.
14231 * sunrpc/svc_run.c: Likewise.
14232 * sunrpc/svc_tcp.c: Likewise.
14233 * sunrpc/svc_udp.c: Likewise.
14234 * sunrpc/svc_unix.c: Likewise.
14235 * sunrpc/svcauth_des.c: Likewise.
14236 * sunrpc/xcrypt.c: Likewise.
14237 * sunrpc/xdr.c: Likewise.
14238 * sunrpc/xdr_array.c: Likewise.
14239 * sunrpc/xdr_float.c: Likewise.
14240 * sunrpc/xdr_intXX_t.c: Likewise.
14241 * sunrpc/xdr_mem.c: Likewise.
14242 * sunrpc/xdr_rec.c: Likewise.
14243 * sunrpc/xdr_ref.c: Likewise.
14244 * sunrpc/xdr_sizeof.c: Likewise.
14245 * sunrpc/xdr_stdio.c: Likewise.
14246
14247 2012-05-10 Roland McGrath <roland@hack.frob.com>
14248
14249 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14250 change. Update copyright years.
14251
14252 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14253
14254 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14255
14256 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14257 Joseph Myers <joseph@codesourcery.com>
14258 Paul Pluzhnikov <ppluzhnikov@google.com>
14259
14260 [BZ #14012]
14261 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14262 requiring rpcgen.
14263 [cross-compiling] (extra-libs): Likewise.
14264 [cross-compiling] (extra-libs-others): Likewise.
14265 [cross-compiling] (librpcsvc-routines): Likewise.
14266 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14267 [cross-compiling] (omit-deps): Likewise.
14268 (sunrpc-CPPFLAGS): New variable.
14269 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14270 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14271 (cross-rpcgen-objs): New variable.
14272 (extra-objs): Append $(cross-rpcgen-objs).
14273 ($(cross-rpcgen-objs)): New rule.
14274 ($(objpfx)cross-rpcgen): Likewise.
14275 (rpcgen-cmd): Define to use $(built-program-file). Expand
14276 comment.
14277 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14278 ($(objpfx)x%.stmp): Likewise.
14279 * sunrpc/proto.h [IS_IN_build] (_): Define.
14280 [IS_IN_build] (_libc_intl_domainname): Likewise.
14281
14282 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14283
14284 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14285 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14286 and R_X86_64_TPOFF64.
14287
14288 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14289
14290 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14291 sysdeps/unix/sysv/syscalls.list.
14292 (stime): Likewise.
14293 (utime): Likewise.
14294 * sysdeps/unix/sysv/syscalls.list: Remove file.
14295
14296 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14297
14298 [BZ #3440]
14299 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14300 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14301 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14302 (__LC_IDENTIFICATION): Make these macros useful in #if
14303 expressions, as required by C99.
14304
14305 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14306
14307 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14308 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14309 after this.
14310
14311 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14312
14313 * stdlib/longlong.h: Updated from GCC.
14314
14315 2012-05-09 Andreas Jaeger <aj@suse.de>
14316
14317 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14318 default is first entry.
14319 (run_mode): Set type.
14320 (main): Remove informal message about syslog.
14321 (options): Fix typo.
14322
14323 [BZ #14053]
14324 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14325 to asm.
14326 (lrint): Likewise.
14327 (llrintf): Likewise.
14328 (llrint): Likewise.
14329 (rint): Likewise.
14330 (rintf): Likewise.
14331 (nearbyint): Likewise.
14332 (nearbyintf): Likewise.
14333
14334 2012-05-09 Andreas Jaeger <aj@suse.de>
14335 Pedro Alves <palves@redhat.com>
14336
14337 * nscd/nscd.c (run_mode): Use enum.
14338 (main): Cleanup coding style issue.
14339
14340 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14341 Andreas Jaeger <aj@suse.de>
14342
14343 * nscd/nscd.c (go_background): Replaced with...
14344 (run_mode): ... this.
14345 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14346 (options): Add -F --foreground.
14347 (main): Implement it.
14348 (parse_opt): Parse it.
14349
14350 2012-05-09 Andreas Jaeger <aj@suse.de>
14351
14352 [BZ #14083]
14353 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14354 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14355 -Wconversion warning.
14356 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14357 Likewise.
14358
14359 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14360
14361 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14362 == 0.
14363 (LC_ALL): Use macro-int-constant.
14364 (LC_COLLATE): Likewise.
14365 (LC_CTYPE): Likewise.
14366 (LC_MESSAGES): Likewise.
14367 (LC_MONETARY): Likewise.
14368 (LC_NUMERIC): Likewise.
14369 (LC_TIME): Likewise.
14370 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14371 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14372 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14373 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14374 Specify type.
14375 [C99-based standards] (float_t): Expect type.
14376 [C99-based standards] (double_t): Expect type.
14377 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14378 type.
14379 [C99-based standards] (HUGE_VALL): Likewise.
14380 [C99-based standards] (INFINITY): Likewise.
14381 [C99-based standards] (NAN): Likewise.
14382 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14383 [C99-based standards] (FP_NAN): Likewise.
14384 [C99-based standards] (FP_NORMAL): Likewise.
14385 [C99-based standards] (FP_SUBNORMAL): Likewise.
14386 [C99-based standards] (FP_ZERO): Likewise.
14387 [C99-based standards] (FP_FAST_FMA): Use
14388 optional-macro-int-constant. Specify type. Require == 1.
14389 [C99-based standards] (FP_FAST_FMAF): Likewise.
14390 [C99-based standards] (FP_FAST_FMAL): Likewise.
14391 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14392 [C99-based standards] (FP_ILOGBNAN): Likewise.
14393 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14394 Specify type.
14395 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14396 [C99-based standards] (math_errhandling): Specify type.
14397 [ISO99 || ISO11] (signgam): Do not allow.
14398 [non-C99-based standards] (copysignf): Do not allow.
14399 [non-C99-based standards] (exp2f): Likewise.
14400 [non-C99-based standards] (log2f): Likewise.
14401 [non-C99-based standards] (modff): Allow.
14402 [non-C99-based standards] (erff): Do not allow.
14403 [non-C99-based standards] (erfcf): Likewise.
14404 [non-C99-based standards] (gammaf): Likewise.
14405 [non-C99-based standards] (hypotf): Likewise.
14406 [non-C99-based standards] (j0f): Likewise.
14407 [non-C99-based standards] (j1f): Likewise.
14408 [non-C99-based standards] (jnf): Likewise.
14409 [non-C99-based standards] (lgammaf): Likewise.
14410 [non-C99-based standards] (tgammaf): Likewise.
14411 [non-C99-based standards] (y0f): Likewise.
14412 [non-C99-based standards] (y1f): Likewise.
14413 [non-C99-based standards] (ynf): Likewise.
14414 [non-C99-based standards] (isnanf): Likewise.
14415 [non-C99-based standards] (acoshf): Likewise.
14416 [non-C99-based standards] (asinhf): Likewise.
14417 [non-C99-based standards] (atanhf): Likewise.
14418 [non-C99-based standards] (cbrtf): Likewise.
14419 [non-C99-based standards] (expm1f): Likewise.
14420 [non-C99-based standards] (ilogbf): Likewise.
14421 [non-C99-based standards] (log1pf): Likewise.
14422 [non-C99-based standards] (logbf): Likewise.
14423 [non-C99-based standards] (nextafterf): Likewise.
14424 [non-C99-based standards] (remainderf): Likewise.
14425 [non-C99-based standards] (rintf): Likewise.
14426 [non-C99-based standards] (scalbf): Likewise.
14427 [non-C99-based standards] (copysignl): Likewise.
14428 [non-C99-based standards] (exp2l): Likewise.
14429 [non-C99-based standards] (log2l): Likewise.
14430 [non-C99-based standards] (modfl): Allow.
14431 [non-C99-based standards] (erfl): Do not allow.
14432 [non-C99-based standards] (erfcl): Likewise.
14433 [non-C99-based standards] (gammal): Likewise.
14434 [non-C99-based standards] (hypotl): Likewise.
14435 [non-C99-based standards] (j0l): Likewise.
14436 [non-C99-based standards] (j1l): Likewise.
14437 [non-C99-based standards] (jnl): Likewise.
14438 [non-C99-based standards] (lgammal): Likewise.
14439 [non-C99-based standards] (tgammal): Likewise.
14440 [non-C99-based standards] (y0l): Likewise.
14441 [non-C99-based standards] (y1l): Likewise.
14442 [non-C99-based standards] (ynl): Likewise.
14443 [non-C99-based standards] (isnanl): Likewise.
14444 [non-C99-based standards] (acoshl): Likewise.
14445 [non-C99-based standards] (asinhl): Likewise.
14446 [non-C99-based standards] (atanhl): Likewise.
14447 [non-C99-based standards] (cbrtl): Likewise.
14448 [non-C99-based standards] (expm1l): Likewise.
14449 [non-C99-based standards] (ilogbl): Likewise.
14450 [non-C99-based standards] (log1pl): Likewise.
14451 [non-C99-based standards] (logbl): Likewise.
14452 [non-C99-based standards] (nextafterl): Likewise.
14453 [non-C99-based standards] (remainderl): Likewise.
14454 [non-C99-based standards] (rintl): Likewise.
14455 [non-C99-based standards] (scalbl): Likewise.
14456 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14457 [non-C99-based standards] (FP_*): Do not allow.
14458 [C99-based standards] (FP_*): Change to
14459 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14460 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14461 allow.
14462 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14463 (SIG_ERR): Likewise.
14464 [X/Open-based standards] (SIG_HOLD): Likewise.
14465 (SIG_IGN): Likewise.
14466 (SIGABRT): Use macro-int-constant. Specify type. Require
14467 positive value.
14468 (SIGFPE): Likewise.
14469 (SIGILL): Likewise.
14470 (SIGINT): Likewise.
14471 (SIGSEGV): Likewise.
14472 (SIGTER): Likewise.
14473 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14474 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14475 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14476 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14477 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14478 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14479 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14480 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14481 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14482 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14483 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14484 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14485 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14486 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14487 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14488 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14489 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14490 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14491 [X/Open-based standards] (SIGTRAP): Likewise.
14492 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14493 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14494 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14495 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14496 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14497 allow.
14498
14499 2012-05-08 Ian Wienand <ianw@vmware.com>
14500
14501 [BZ #14080]
14502 * time/tzset.c (__tzset_parse_tz): Update default rules for
14503 daylight time changes in the Energy Policy Act of 2005.
14504
14505 2012-05-09 Andreas Jaeger <aj@suse.de>
14506
14507 [BZ #13983]
14508 * elf/ldconfig.c (parse_conf): Change string to make clear that
14509 ldconfig only issued a warning if ld.so.conf does not exist.
14510
14511 2012-05-08 David S. Miller <davem@davemloft.net>
14512
14513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14514 movxtod instead of popping the value on the stack.
14515
14516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14517
14518 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14519
14520 * config.h.in: Add HAVE_ARM_PCS_VFP.
14521
14522 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
14523
14524 [BZ #13979]
14525 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14526 checking but the checks are disabled for any reason.
14527
14528 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14529
14530 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14531 and ELF64_R_TYPE with ELFW(R_TYPE).
14532
14533 2012-05-08 Joseph Myers <joseph@codesourcery.com>
14534
14535 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14536 (ulimit): Likewise.
14537
14538 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14539 (settimeofday): Likewise.
14540
14541 2012-05-08 Mike Frysinger <vapier@gentoo.org>
14542
14543 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14544 a struct th_u2 inside the union, and move tu_block/tu_code into
14545 a new th_u3 union of tu_block/tu_code inside of that. Move
14546 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14547 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14548 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14549 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14550 (th_stuff): Change to th_u1.tu_stuff.
14551 (th_data): Define.
14552 (th_msg): Change to th_u1.th_u2.tu_data.
14553
14554 2012-05-07 David S. Miller <davem@davemloft.net>
14555
14556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14557
14558 [BZ #14074]
14559 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14560 (SETUP_PIC_REG): Use it.
14561 (SETUP_PIC_REG_LEAF): Use it.
14562
14563 2012-05-07 Joseph Myers <joseph@codesourcery.com>
14564
14565 [BZ #13885]
14566 [BZ #13923]
14567 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14568 USE_AS_EXPM1L.
14569 (EXPL_FINITE): Likewise.
14570 (FLDLOG): Likewise.
14571 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14572 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14573 e_expl.S.
14574 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14575 USE_AS_EXPM1L.
14576 (EXPL_FINITE): Likewise.
14577 (FLDLOG): Likewise.
14578 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14579 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14580 e_expl.S.
14581 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14582 test of -max_value argument for long double.
14583 * sysdeps/i386/fpu/libm-test-ulps: Update.
14584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14585
14586 2012-05-06 David S. Miller <davem@davemloft.net>
14587
14588 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14589 quad soft-float symbols whose references which are compiler
14590 generated.
14591 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14592
14593 2012-05-06 Joseph Myers <joseph@codesourcery.com>
14594
14595 [BZ #13884]
14596 [BZ #13914]
14597 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14598 USE_AS_EXP10L.
14599 (EXPL_FINITE): Likewise.
14600 (FLDLOG): Likewise.
14601 (c0): Likewise.
14602 (c1): Likewise.
14603 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14604 Adjust comments for base varying.
14605 (__expl_finite): Change alias to EXPL_FINITE.
14606 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14607 e_expl.S.
14608 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14609 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14610 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14611 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14612 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14613 USE_AS_EXP10L.
14614 (EXPL_FINITE): Likewise.
14615 (FLDLOG): Likewise.
14616 (c0): Likewise.
14617 (c1): Likewise.
14618 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14619 Adjust comments for base varying.
14620 (__expl_finite): Change alias to EXPL_FINITE.
14621 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14622 tests for bugs.
14623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14624
14625 [BZ #14064]
14626 * math/libm-test.inc (check_float_internal): Correct ulp
14627 calculation for subnormal expected results.
14628
14629 2012-05-06 Andreas Jaeger <aj@suse.de>
14630
14631 * Makeconfig (+math-flags): New, set to -frounding-math.
14632 (+cflags): Add +math-flags so that all of glibc gets compiled with
14633 it.
14634
14635 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14636
14637 2012-05-05 Joseph Myers <joseph@codesourcery.com>
14638
14639 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14640 Disable one test.
14641
14642 [BZ #13787]
14643 [BZ #13922]
14644 [BZ #14036]
14645 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14646 (__ieee754_expl): Allow for and saturate large arguments.
14647 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14648 (u_threshold): Likewise.
14649 (__exp): Call __ieee754_exp before checking for overflow and
14650 underflow.
14651 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14652 (u_threshold): Likewise.
14653 (__expf): Call __ieee754_expf before checking for overflow and
14654 underflow.
14655 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14656 (u_threshold): Likewise.
14657 (__expl): Call __ieee754_expl before checking for overflow and
14658 underflow.
14659 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14660 (__ieee754_expl): Allow for and saturate large arguments.
14661 * math/libm-test.inc (exp_test): Add another test. Do not allow
14662 missing overflow exception on overflow.
14663 (expm1_test): Do not allow missing overflow exception on overflow.
14664
14665 * sysdeps/i386/fpu/e_expl.c: Move to ...
14666 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14667 rather than using inline asm.
14668 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14669 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14670 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14671
14672 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14673 (nice): Likewise.
14674 (poll): Likewise.
14675 (signal): Likewise.
14676 (time): Likewise.
14677 (times): Likewise.
14678
14679 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14680
14681 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14682 sysdeps/unix/common/syscalls.list.
14683 (fchmod): Likewise.
14684 (fchown): Likewise.
14685 (ftruncate): Likewise.
14686 (getrusage): Likewise.
14687 (gettimeofday): Likewise.
14688 (setpgid): Likewise.
14689 (setregid): Likewise.
14690 (setreuid): Likewise.
14691 (sigaction): Likewise.
14692 (truncate): Likewise.
14693 (vhangup): Likewise.
14694 * sysdeps/unix/common/syscalls.list: Remove file.
14695 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14696 * sysdeps/unix/sysv/linux/Implies: Likewise.
14697
14698 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14699
14700 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14702 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14703 Moved to ...
14704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14705 Here.
14706 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14707 to ...
14708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14709 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14710 to ...
14711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14712 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14713 to ...
14714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14715 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14716 to ...
14717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14718 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14719 to ...
14720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14721 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14722 to ...
14723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14724 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14725 to ...
14726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14727 Here.
14728 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14729 to ...
14730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14731 Here.
14732 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14733 to ...
14734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14735 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14736 Moved to ...
14737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14738 Here.
14739 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14740 to ...
14741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14742
14743 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14744
14745 * sysdeps/unix/common/bits/dirent.h: Remove file.
14746 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14747
14748 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14749 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14750 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14751 * sysdeps/unix/bsd/isatty.c: Likewise.
14752 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14753 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14754 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14755
14756 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14757
14758 [BZ #13563]
14759 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14760 long double comparison inaccuracies.
14761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14763
14764 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14765
14766 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14767 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14768
14769 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14770
14771 [BZ #14049]
14772 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14773 nonzero digits before rounding a hex value.
14774 * stdlib/tst-strtod.c (tests): Add another test.
14775
14776 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14777
14778 * sysdeps/s390/fpu/libm-test-ulps: Update.
14779
14780 2012-05-03 Andreas Jaeger <aj@suse.de>
14781
14782 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14783 does not get optimized out.
14784 (malloc_opt_barrier): New.
14785
14786 2012-05-03 Andreas Jaeger <aj@suse.de>
14787 Roland McGrath <roland@hack.frob.com>
14788
14789 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14790 intermediate file deletion.
14791 (generated): Add .symlist files.
14792
14793 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14794
14795 [BZ #13775]
14796 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14797 Redirect under this condition.
14798 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14799 [__USE_GNU] (__dprintf_chk): Not under this condition.
14800 [__USE_GNU] (__vdprintf_chk): Likewise.
14801 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14802 under this condition.
14803 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14804 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14805 [__USE_XOPEN2K8] (vdprintf): Likewise.
14806 [__USE_GNU] (__dprintf_chk): Not under this condition.
14807 [__USE_GNU] (__vdprintf_chk): Likewise.
14808 [__USE_GNU] (dprintf): Likewise.
14809 [__USE_GNU] (vdprintf): Likewise.
14810
14811 2012-05-03 Roland McGrath <roland@hack.frob.com>
14812
14813 * elf/Makefile (common-generated): Set this instead of generated for
14814 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14815 $(all-built-dso)-derived lists.
14816
14817 2012-05-03 Andreas Jaeger <aj@suse.de>
14818
14819 * sysdeps/i386/fpu/libm-test-ulps: Update.
14820
14821 * FAQ: Removed.
14822 * FAQ.in: Likewise.
14823 * scripts/gen-FAQ.pl: Likewise.
14824 * manual/install.texi (Installation): Point to online location of
14825 FAQ.
14826 * Makefile (files-for-dist): Remove FAQ.
14827 (FAQ): Remove.
14828
14829 2012-05-02 Allan McRae <allan@archlinux.org>
14830
14831 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14832 (LDFLAGS-reldepmod5.so): Likewise.
14833 (LDFLAGS-reldep6mod1.so): Likewise.
14834 (LDFLAGS-reldep6mod4.so): Likewise.
14835 (LDFLAGS-reldep8mod3.so): Likewise.
14836 (LDFLAGS-unload4mod1.so): Likewise.
14837 (LDFLAGS-unload4mod2.so): Likewise.
14838 (LDFLAGS-tst-initorder): Likewise.
14839 (LDFLAGS-tst-initordera2.so): Likewise.
14840 (LDFLAGS-tst-initordera3.so): Likewise.
14841 (LDFLAGS-tst-initordera4.so): Likewise.
14842 (LDFLAGS-tst-initorderb2.so): Likewise.
14843 (LDFLAGS-noload): Likewise.
14844 (LDFLAGS-next): Likewise.
14845 (LDFLAGS-order2mod1.so): Likewise.
14846 (LDFLAGS-order2mod2.so): Likewise.
14847 (LDFLAGS-tst-initorder2): Likewise.
14848 (LDFLAGS-tst-initorder2a.so): Likewise.
14849 (LDFLAGS-tst-initorder2b.so): Likewise.
14850 (LDFLAGS-tst-initorder2c.so): Likewise.
14851 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14852
14853 2012-05-02 David S. Miller <davem@davemloft.net>
14854
14855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14856
14857 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14858
14859 [BZ #14055]
14860 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14861
14862 2012-05-02 Andreas Jaeger <aj@suse.de>
14863
14864 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14865 since we manipulate rounding mode.
14866 (CPPFLAGS-test-idouble.c): Likewise.
14867 (CPPFLAGS-test-ifloat.c): Likewise.
14868 (CFLAGS-test-ldouble.c): Likewise.
14869 (CFLAGS-test-double.c): Likewise.
14870 (CFLAGS-test-float.c): Likewise.
14871 (CFLAGS-test-misc.c): Likewise.
14872 (CFLAGS-test-test-fenv.c): Likewise.
14873
14874 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14875
14876 [BZ #2550]
14877 [BZ #2570]
14878 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14879 comparisons to determine direction to adjust input.
14880
14881 2012-05-01 Roland McGrath <roland@hack.frob.com>
14882
14883 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14884 output to the target.
14885
14886 * scripts/localplt.awk: New file.
14887 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14888 (check-localplt-CFLAGS): Variable removed.
14889 ($(all-built-dso:=.jmprel)): New static pattern rule.
14890 (generated): Add those targets.
14891 (localplt-built-dso): New variable.
14892 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14893
14894 * elf/check-localplt.c: File removed.
14895
14896 * scripts/check-execstack.awk: New file.
14897 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14898 (check-execstack-CFLAGS): Variable removed.
14899 ($(objpfx)check-execstack.h): Target removed.
14900 ($(objpfx)execstack-default): New target.
14901 (generated): Add that instead of check-execstack.h.
14902 ($(all-built-dso:=.phdr)): New static pattern rule.
14903 (generated): Add those targets.
14904 * elf/check-execstack.c: File removed.
14905
14906 * scripts/check-textrel.awk: New file.
14907 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14908 (check-textrel-CFLAGS): Variable removed.
14909 (all-built-dso): Use := to define.o
14910 ($(all-built-dso:=.dyn)): New static pattern rule.
14911 (generated): Add those targets.
14912 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14913 * config.make.in (READELF): New substituted variable.
14914 * elf/check-textrel.c: File removed.
14915
14916 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14917
14918 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14919 allow.
14920 * conform/data/ctype.h-data [C99-based standards] (isblank):
14921 Expect function.
14922 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14923 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14924 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14925 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14926 Specify type. Require positive value.
14927 (EILSEQ): Likewise.
14928 (ERANGE): Likewise.
14929 [ISO || POSIX] (EILSEQ): Do not expect.
14930 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14931 Specify type. Require positive value.
14932 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14933 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14934 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14935 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14936 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14937 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14938 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14939 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14940 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14941 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14942 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14943 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14944 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14945 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14946 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14947 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14948 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14949 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14950 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14951 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14952 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14953 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14954 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14955 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14956 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14957 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14958 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14959 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14960 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14961 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14962 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14963 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14964 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14965 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14966 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14967 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14968 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14969 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14970 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14971 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14972 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14973 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14974 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14975 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14976 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14977 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14978 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14979 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14980 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14981 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14982 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14983 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14984 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14985 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14986 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14987 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14988 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14989 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14990 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14991 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14992 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14993 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14994 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14995 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14996 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14997 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14998 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14999 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15000 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15001 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15002 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15003 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15004 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15005 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15006 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15007 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15008 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15009 Require >= 2.
15010 (FLT_ROUNDS): Expect as macro, not constant.
15011 (FLT_MANT_DIG): Use macro-int-constant.
15012 (DBL_MANT_DIG): Likewise.
15013 (LDBL_MANT_DIG): Likewise.
15014 (FLT_DIG): Likewise.
15015 (DBL_DIG): Likewise.
15016 (LDBL_DIG): Likewise.
15017 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15018 (DBL_MIN_EXP): Likewise.
15019 (LDBL_MIN_EXP): Likewise.
15020 (FLT_MAX_EXP): Use macro-int-constant.
15021 (DBL_MAX_EXP): Likewise.
15022 (LDBL_MAX_EXP): Likewise.
15023 (FLT_MAX_10_EXP): Likewise.
15024 (DBL_MAX_10_EXP): Likewise.
15025 (LDBL_MAX_10_EXP): Likewise.
15026 (FLT_MAX): Use macro-constant.
15027 (DBL_MAX): Likewise.
15028 (LDBL_MAX): Likewise.
15029 (FLT_EPSILON): Use macro-constant. Give upper bound.
15030 (DBL_EPSILON): Likewise.
15031 (LDBL_EPSILON): Likewise.
15032 (FLT_MIN): Likewise.
15033 (DBL_MIN): Likewise.
15034 (LDBL_MIN): Likewise.
15035 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15036 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15037 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15038 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15039 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15040 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15041 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15042 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15043 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15044 [ISO11] (FLT_TRUE_MIN): Likewise.
15045 [ISO11] (LDBL_TRUE_MIN): Likewise.
15046 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15047 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15048 (SCHAR_MIN): Use macro-int-constant. Specify type.
15049 (SCHAR_MAX): Likewise.
15050 (UCHAR_MAX): Likewise.
15051 (CHAR_MIN): Likewise.
15052 (CHAR_MAX): Likewise.
15053 (MB_LEN_MAX): Use macro-int-constant.
15054 (SHRT_MIN): Use macro-int-constant. Specify type.
15055 (SHRT_MAX): Likewise.
15056 (USHRT_MAX): Likewise.
15057 (INT_MAX): Likewise.
15058 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15059 bound negative.
15060 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15061 bound with "U".
15062 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15063 bound with "L".
15064 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15065 bound negative. Suffix upper bound with "L".
15066 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15067 bound with "UL".
15068 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15069 Specify type.
15070 [C99-based standards] (LLONG_MAX): Likewise.
15071 [C99-based standards] (ULLONG_MAX): Likewise.
15072 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15073 == 0.
15074 [ISO11] (max_align_t): Require type.
15075 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15076
15077 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15078 from $CFLAGS, without defining away __attribute__ calls.
15079 (checknamespace): Use $CFLAGS_namespace.
15080
15081 * conform/conformtest.pl (@keywords): Only include C99 keywords
15082 for standards based on C99 or C11.
15083
15084 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15085 Disable tests.
15086 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15087 UNIX98]: Likewise.
15088
15089 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15090 usability of symbols in #if.
15091
15092 * conform/conformtest.pl: If macro or constant types start
15093 "promoted:", expect the symbol to be of the following type
15094 promoted by the integer promotions.
15095
15096 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15097 in one place. Also handle "macro-constant".
15098
15099 * conform/conformtest.pl: Only accept expected macro values with
15100 "==". Parse all "macro" lines in one place.
15101 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15102
15103 * conform/conformtest.pl: Handle braced types on "constant" lines
15104 instead of handling "typed-constant".
15105 * conform/data/signal.h-data: Use "constant" instead of
15106 "typed-constant".
15107
15108 * conform/conformtest.pl: Handle "optional-" at start of lines in
15109 one place rather than duplicating several cases. Handle each
15110 format of "macro" line with initial "optional-".
15111
15112 * conform/conformtest.pl: Only accept expected constant or
15113 optional-constant values with "==". Parse all "constant" lines in
15114 one place. Parse all "optional-constant" lines in one place.
15115 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15116 * conform/data/fmtmsg.h-data: Likewise.
15117 * conform/data/netinet/in.h-data: Likewise.
15118 * conform/data/tar.h-data: Likewise.
15119 * conform/data/limits.h-data: Use "==" form on "constant" and
15120 "optional-constant" lines.
15121
15122 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15123 Use -std=c99 for XOPEN2K.
15124 (@knownproblems): Remove.
15125 (newtoken): Don't check %isknown.
15126
15127 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15128 Do not expect macro.
15129 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15133 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15134 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15135 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15136 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15137 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15138 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15139 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15140 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15141 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15142 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15143 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15144 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15146 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15147 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15152 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15153 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15155 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15156 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15157 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15159 [XPG3] (acosh): Likewise.
15160 [XPG3] (asinh): Likewise.
15161 [XPG3] (atanh): Likewise.
15162 [XPG3] (cbrt): Likewise.
15163 [XPG3] (expm1): Likewise.
15164 [XPG3] (ilogb): Likewise.
15165 [XPG3] (log1p): Likewise.
15166 [XPG3] (logb): Likewise.
15167 [XPG3] (nextafter): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15170 [XPG3] (remainder): Likewise.
15171 [XPG3] (rint): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15179 [UNIX98 || XOPEN2K] (scalb): Expect.
15180 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15181 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15212 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15213 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15220 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15221 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15225 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15226 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15227 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15228 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15229 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15230 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15231 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15232 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15233 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15234 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15235 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15236 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15237 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15238 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15240 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15241 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15242 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15243 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15244 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15245 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15246 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15247 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15248 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15249 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15250 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15251 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15252 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15253 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15254 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15255 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15256 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15257 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15258 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15259 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15260 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15261 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15262 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15263 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15264 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15265 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15266 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15267 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15268 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15269 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15270 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15271 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15272 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15273 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15274 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15275 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15276 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15277 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15278 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15279 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15280 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15281 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15282 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15283 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15284 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15285 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15286 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15287 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15288 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15289 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15290 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15291 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15292 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15293 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15294 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15295 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15296 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15297 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15298 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15299 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15300 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15301 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15302 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15303 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15304 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15305 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15306 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15307 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15308 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15309 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15310 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15311 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15312 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15313 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15314 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15315 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15316 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15317
15318 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15319 _XOPEN_SOURCE_EXTENDED for XPG4.
15320
15321 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15322
15323 * Makeconfig (localtime): Remove variable.
15324 (inst_localtime-file): Likewise.
15325
15326 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15327
15328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15329 Update.
15330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15331 Update.
15332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15333 Update.
15334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15335 Update.
15336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15337 Update.
15338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15339 Update.
15340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15341 Update.
15342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15343 Update.
15344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15345 Update.
15346
15347 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15348
15349 [BZ #2550]
15350 [BZ #2570]
15351 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15352 comparisons to determine direction to adjust input.
15353 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15354 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15355 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15356 Likewise.
15357 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15358 Likewise.
15359 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15360 Likewise.
15361 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15362 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15363 Likewise.
15364 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15365 Likewise.
15366 * math/libm-test.inc (nexttoward_test): Add more tests.
15367
15368 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15369
15370 [BZ #14040]
15371 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15372 in version GLIBC_2.1, not GLIBC_2.0.
15373 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15374 Likewise.
15375
15376 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15377
15378 [BZ #13942]
15379 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15380 (1 - x) * (1 + x).
15381 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15382 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15383 * math/libm-test.inc (acos_test): Add more tests.
15384 (asin_test): Likewise.
15385 * sysdeps/i386/fpu/libm-test-ulps: Update.
15386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15387
15388 [BZ #14034]
15389 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15390 of square root.
15391 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15392 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15393 * math/libm-test.inc (acos_test_tonearest): New function.
15394 (acos_test_towardzero): Likewise.
15395 (acos_test_downward): Likewise.
15396 (acos_test_upward): Likewise.
15397 (asin_test_tonearest): Likewise.
15398 (asin_test_towardzero): Likewise.
15399 (asin_test_downward): Likewise.
15400 (asin_test_upward): Likewise.
15401 (main): Call the new functions.
15402 * sysdeps/i386/fpu/libm-test-ulps: Update.
15403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15404
15405 [BZ #13884]
15406 [BZ #13924]
15407 * math/e_exp10.c: Include <float.h>.
15408 (__ieee754_exp10): Handle underflow here rather than multiplying
15409 large negative argument by M_LN10.
15410 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15411 of __ieee754_expf.
15412 * math/e_exp10l.c: Include <float.h>.
15413 (__ieee754_exp10l): Handle underflow here rather than multiplying
15414 large negative argument by M_LN10l.
15415 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15416 spurious overflow exception on underflow.
15417
15418 2012-04-29 Marek Polacek <polacek@redhat.com>
15419
15420 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15421 (__fortify_function): New macro.
15422 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15423 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15424 __extern_always_inline.
15425 * libio/bits/stdio2.h: Likewise.
15426 * libio/bits/stdio.h: Likewise.
15427 * string/string.h: Likewise.
15428 * string/bits/string3.h: Likewise.
15429 * include/stdio.h: Likewise.
15430 * stdlib/bits/stdlib.h: Likewise.
15431 * stdlib/stdlib.h: Likewise.
15432 * rt/bits/mqueue2.h: Likewise.
15433 * rt/mqueue.h: Likewise.
15434 * posix/bits/unistd.h: Likewise.
15435 * posix/unistd.h: Likewise.
15436 * io/bits/poll2.h: Likewise.
15437 * io/bits/fcntl2.h: Likewise.
15438 * io/fcntl.h: Likewise.
15439 * io/sys/poll.h: Likewise.
15440 * misc/bits/syslog.h: Likewise.
15441 * misc/bits/syslog-ldbl.h: Likewise.
15442 * misc/sys/syslog.h: Likewise.
15443 * socket/bits/socket2.h: Likewise.
15444 * socket/sys/socket.h: Likewise.
15445 * debug/tst-chk1.c: Likewise.
15446 * wcsmbs/bits/wchar2.h: Likewise.
15447 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15448 * wcsmbs/wchar.h: Likewise.
15449
15450 2012-04-29 Andreas Jaeger <aj@suse.de>
15451
15452 * Makerules (tests): Remove enable-check-abi protection.
15453 (check-abi-warn): Remove.
15454 (check-abi-%): Remove check-abi-warn usage.
15455
15456 * configure.in: Remove check-abi configure option.
15457 * configure: Regenerated.
15458 * config.make.in (enable-check-abi): Remove.
15459
15460 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15461
15462 [BZ #14033]
15463 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15464 double functions to double *_finite functions.
15465
15466 [BZ #13941]
15467 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15468 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15469 LDBL_MIN_EXP.
15470 * stdio-common/Makefile (tests): Add tst-sprintf3.
15471 * stdio-common/tst-sprintf3.c: New file.
15472
15473 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15474 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15475
15476 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15477
15478 * conform/conformtest.pl: Remove duplicate typed-constant
15479 handling.
15480
15481 2012-04-28 David S. Miller <davem@davemloft.net>
15482
15483 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15484 (check-abi-%): Remove AWK script prerequisite and explicit
15485 abilist directory.
15486 (check-abi): Rewrite to just diff the symlist with the abilist.
15487 (config-tls, config-abi-config): Delete, no longer used.
15488 (update-abi-%): Remove AWK script and explicit abilist directory.
15489 (update-abi): Rewrite to simply compare and conditionally copy the
15490 symlist and the sysdep abilist file. Remove update-abi-config
15491 checks.
15492 * abilist/ld.abilist: Remove.
15493 * abilist/libBrokenLocale.abilist: Remove.
15494 * abilist/libanl.abilist: Remove.
15495 * abilist/libcrypt.abilist: Remove.
15496 * abilist/libdl.abilist: Remove.
15497 * abilist/librt.abilist: Remove.
15498 * abilist/libthread_db.abilist: Remove.
15499 * abilist/libutil.abilist: Remove.
15500 * scripts/extract-abilist.awk: Remove.
15501 * scripts/merge-abilist.awk: Remove.
15502 * sysdeps/generic/libcidn.abilist: New file.
15503 * sysdeps/generic/libnss_compat.abilist: New file.
15504 * sysdeps/generic/libnss_db.abilist: New file.
15505 * sysdeps/generic/libnss_dns.abilist: New file.
15506 * sysdeps/generic/libnss_files.abilist: New file.
15507 * sysdeps/generic/libnss_hesiod.abilist: New file.
15508 * sysdeps/generic/libnss_nis.abilist: New file.
15509 * sysdeps/generic/libnss_nisplus.abilist: New file.
15510 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15511 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15512 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15513 file.
15514 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15515 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15516 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15517 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15518 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15519 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15520 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15521 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15522 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15523 file.
15524 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15525 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15526 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15527 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15528 file.
15529 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15530 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15531 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15532 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15533 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15534 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15535 file.
15536 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15537 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15538 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15539 file.
15540 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15542 New file.
15543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15544 New file.
15545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15546 New file.
15547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15548 New file.
15549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15550 New file.
15551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15552 New file.
15553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15554 New file.
15555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15556 New file.
15557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15558 New file.
15559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15560 New file.
15561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15562 New file.
15563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15564 New file.
15565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15566 New file.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15568 file.
15569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15570 New file.
15571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15572 New file.
15573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15574 file.
15575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15576 New file.
15577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15578 New file.
15579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15580 file.
15581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15582 New file.
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15584 New file.
15585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15586 New file.
15587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15588 New file.
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15590 New file.
15591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15592 New file.
15593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15595 file.
15596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15597 New file.
15598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15599 file.
15600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15601 file.
15602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15603 file.
15604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15605 file.
15606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15607 file.
15608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15609 New file.
15610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15611 file.
15612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15613 file.
15614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15615 New file.
15616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15617 file.
15618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15620 file.
15621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15622 New file.
15623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15624 file.
15625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15626 file.
15627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15628 file.
15629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15630 file.
15631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15632 file.
15633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15634 New file.
15635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15636 file.
15637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15638 file.
15639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15640 New file.
15641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15642 file.
15643 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15644 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15645 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15646 file.
15647 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15648 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15649 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15650 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15651 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15652 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15653 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15654 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15655 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15656 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15659 file.
15660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15661 New file.
15662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15663 file.
15664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15665 file.
15666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15667 file.
15668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15669 file.
15670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15671 file.
15672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15673 New file.
15674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15675 New file.
15676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15677 file.
15678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15679 New file.
15680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15681 file.
15682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15684 file.
15685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15686 New file.
15687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15688 file.
15689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15690 file.
15691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15692 file.
15693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15694 file.
15695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15696 file.
15697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15698 New file.
15699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15700 New file.
15701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15702 file.
15703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15704 New file.
15705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15706 file.
15707
15708 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15709
15710 * conform/conformtest.pl: Fix typo in handling typed-constant from
15711 allow-header.
15712
15713 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15714
15715 * README: Cut down references to pre-2.6 Linux kernels and
15716 Linuxthreads. Update lists of configurations in libc and ports
15717 and sort alphabetically. Say "or newer" with Linux kernel version
15718 requirements.
15719
15720 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15721
15722 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15723
15724 [BZ #887]
15725 * math/libm-test.inc (logb_test_downward): New test to expose
15726 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15727 rounding mode.
15728
15729 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15730
15731 [BZ #14027]
15732 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15733 to be done.
15734 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15735 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15736
15737 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15738
15739 * sysdeps/unix/i386/brk.S: Remove file.
15740 * sysdeps/unix/i386/dl-brk.S: Likewise.
15741 * sysdeps/unix/i386/pipe.S: Likewise.
15742 * sysdeps/unix/i386/sigreturn.S: Likewise.
15743 * sysdeps/unix/i386/syscall.S: Likewise.
15744 * sysdeps/unix/i386/vfork.S: Likewise.
15745 * sysdeps/unix/i386/wait.S: Likewise.
15746
15747 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15748 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15749
15750 * configure.in (arm*-none*): Do not allow without
15751 --enable-hacker-mode.
15752 (netbsd*): Remove case setting base_os.
15753 (386bsd*): Likewise.
15754 (freebsd*): Likewise.
15755 (bsdi*): Likewise.
15756 (osf*): Likewise.
15757 (sunos*): Likewise.
15758 (ultrix*): Likewise.
15759 (newsos*): Likewise.
15760 (dynix*): Likewise.
15761 (*bsd*): Likewise.
15762 (sysv*): Likewise.
15763 (isc*): Likewise.
15764 (esix*): Likewise.
15765 (sco*): Likewise.
15766 (minix*): Likewise.
15767 (irix4*): Likewise.
15768 (irix6*): Likewise.
15769 (solaris[2-9]*): Likewise.
15770 (none): Likewise.
15771 * configure: Regenerated.
15772
15773 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15774
15775 [BZ #11521]
15776 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15777 overflow or cancellation in calculating denominator.
15778 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15779 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15780 down expression to avoid unexpected rounding in newer GCCs.
15781 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15782
15783 2012-04-26 David S. Miller <davem@davemloft.net>
15784
15785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15786 long-double compat symbols.
15787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15800
15801 2012-04-25 David S. Miller <davem@davemloft.net>
15802
15803 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15804 HWCAP_* values only after the memory barriers have been defined.
15805 (atomic_full_barrier): Define.
15806 (atomic_read_barrier): Define.
15807 (atomic_write_barrier): Define.
15808
15809 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15810
15811 * shlib-versions: Add libgcc_s version information.
15812 * sysdeps/generic/libgcc_s.h: Remove.
15813 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15814 libgcc_s.h.
15815 * sysdeps/gnu/unwind-resume.c: Likewise.
15816 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15817
15818 2012-04-25 David S. Miller <davem@davemloft.net>
15819
15820 * sysdeps/unix/sparc/brk.S: Delete.
15821 * sysdeps/unix/sparc/dl-brk.S: Delete.
15822 * sysdeps/unix/sparc/pipe.S: Delete.
15823 * sysdeps/unix/sparc/sysdep.S: Delete.
15824 * sysdeps/unix/sparc/sysdep.h: Delete.
15825 * sysdeps/unix/sparc/vfork.S: Delete.
15826 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15827 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15828 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15829 ret_ERRVAL, r0, r1, MOVE): Define.
15830 (JUMPTARGET): Remove.
15831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15832 sysdeps/unix/sparc/sysdep.h
15833 (ENTRY, END): Remove.
15834 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15835
15836 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15837
15838 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15839 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15840 -DIS_IN_build.
15841
15842 * timezone/README: Update upstream location and email address for
15843 tzcode and tzdata.
15844 * timezone/zdump.c: Update from tzcode 2012b.
15845 * timezone/zic.c: Likewise.
15846
15847 * configure.in (libc_cv_as_needed): Remove test.
15848 * configure: Regenerated.
15849 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15850 conditional definition.
15851 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15852 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15853 * config.make.in (have-as-needed): Remove variable.
15854
15855 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15856 Paul Pluzhnikov <ppluzhnikov@google.com>
15857
15858 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15859 strings correctly.
15860
15861 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15862
15863 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15864 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15865 * sysdeps/sh/strlen.S: Likewise.
15866
15867 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15868
15869 * sysdeps/unix/fork.S: Remove file.
15870 * sysdeps/unix/i386/fork.S: Likewise.
15871 * sysdeps/unix/sparc/fork.S: Likewise.
15872
15873 * sysdeps/unix/system.c: Remove file.
15874 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15875
15876 * sysdeps/unix/getegid.S: Remove file.
15877 * sysdeps/unix/geteuid.S: Likewise.
15878
15879 2012-04-24 Roland McGrath <roland@hack.frob.com>
15880
15881 * scripts/check-localplt.awk: New file.
15882 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15883 of diff.
15884 * scripts/data/localplt-generic.data: Add a comment.
15885
15886 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15887 NODE when __dir_mkfile failed.
15888 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15889 Reported by Ludovic Courtès <ludo@gnu.org>.
15890
15891 2012-04-24 Andreas Jaeger <aj@suse.de>
15892
15893 * Makerules (common-clean): Also remove gen-as-const-headers
15894 files.
15895
15896 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15897
15898 * Makerules (native-compile): Do not change working directory for
15899 build. Use $(OUTPUT_OPTION) in command.
15900 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15901
15902 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15903
15904 [BZ #13886]
15905 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15906 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15907 * math/libm-test.inc (floor_test): Add more tests.
15908 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15909
15910 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15911
15912 * sysdeps/unix/getdents.c: Remove file.
15913 * sysdeps/unix/sysv/getdents.c: Likewise.
15914 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15915
15916 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15917 sysdeps/unix/mman/syscalls.list.
15918 (mmap): Likewise.
15919 (mprotect): Likewise.
15920 (msync): Likewise.
15921 (munmap): Likewise.
15922 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15923 * sysdeps/unix/mman/syscalls.list: Remove.
15924 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15925
15926 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15927 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15928 * configure: Regenerated.
15929 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15930 $(libgcc_s_suffix).
15931 * config.make.in (libgcc_s_suffix): Remove variable.
15932
15933 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15934
15935 * sysdeps/unix/sysv/gethostname.c: Move to ...
15936 * sysdeps/posix/gethostname.c: ... here.
15937
15938 * sysdeps/unix/execve.S: Remove file.
15939
15940 * sysdeps/unix/_exit.S: Remove file.
15941
15942 2012-04-23 Andreas Jaeger <aj@suse.de>
15943
15944 [BZ #13739]
15945 * manual/Makefile: Remove make dist support, there's no
15946 need for a stand-alone documentation tar ball.
15947 (TEXI2DVI): Define always, it's not in Makeconfig.
15948 (dist): Removed.
15949 (tar-it): Removed.
15950 (edition): Removed.
15951 (glibc-doc-$(edition).tar): Removed
15952 (%.Z): Removed.
15953 (%.gz): Removed.
15954 (%.uu): Removed.
15955 (ETAGS): Remove, it's in Makeconfig.
15956 (move-if-change): Remove, it's in Makeconfig.
15957
15958 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15959
15960 [BZ #13970]
15961 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15962 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15963 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15964 (strtod_l, strtof_l, strtold_l): Remove __wur.
15965 It is not necessarily an error to ignore strtol's return value.
15966 One can reliably look at the stored endptr to decide whether
15967 the number had valid syntax.
15968
15969 2012-04-21 Andreas Jaeger <aj@suse.de>
15970
15971 [BZ #13739]
15972 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15973
15974 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15975
15976 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15977 * sysdeps/unix/sysv/Versions: Remove file.
15978
15979 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15980
15981 [BZ #13927]
15982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15983
15984 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15985
15986 [BZ #7064]
15987 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15988 version from __vm86.
15989
15990 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15991
15992 * sysdeps/unix/common/lxstat.c: Remove file.
15993 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15994
15995 * sysdeps/unix/sysv/Makefile: Remove file.
15996
15997 * sysdeps/unix/sysv/direct.h: Remove file.
15998
15999 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16000 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16001 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16002 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16003 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16004 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16005 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16006
16007 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16008
16009 * sysdeps/unix/xmknod.c: Remove file.
16010 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16011
16012 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16013
16014 * sysdeps/unix/sysv/i386/time.S: Remove file.
16015
16016 * sysdeps/unix/fxstat.c: Remove file.
16017 * sysdeps/unix/xstat.c: Likewise.
16018 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16019
16020 * sysdeps/unix/sysv/sigaction.c: Remove file.
16021
16022 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16023 (sysdep_headers): Remove variable.
16024 [termio.h not in sysdep_headers] (generated): Likewise.
16025 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16026 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16027 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16028 * sysdeps/unix/sysv/tcflow.c: Likewise.
16029 * sysdeps/unix/sysv/tcflush.c: Likewise.
16030 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16031 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16032 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16033 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16034 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16035
16036 * sysdeps/unix/siglist.c: Remove file.
16037
16038 * sysdeps/unix/getppid.S: Remove file.
16039
16040 * sysdeps/unix/mkdir.c: Remove file.
16041 * sysdeps/unix/rmdir.c: Likewise.
16042
16043 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16044
16045 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16046 ERR_MAX value.
16047 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16048 errlist-compat value.
16049
16050 2012-04-18 David S. Miller <davem@davemloft.net>
16051
16052 * sysdeps/generic/memcopy.h (reg_char): Delete.
16053 * debug/strcat_chk.c: Use char, not reg_char.
16054 * debug/strcpy_chk.c: Likewise.
16055 * debug/strncat_chk.c: Likewise.
16056 * debug/strncpy_chk.c: Likewise.
16057 * string/memchr.c: Likewise.
16058 * string/memrchr.c: Likewise.
16059 * string/rawmemchr.c: Likewise.
16060 * string/strcat.c: Likewise.
16061 * string/strchr.c: Likewise.
16062 * string/strchrnul.c: Likewise.
16063 * string/strcmp.c: Likewise.
16064 * string/strcpy.c: Likewise.
16065 * string/strncat.c: Likewise.
16066 * string/strncmp.c: Likewise.
16067 * string/strncpy.c: Likewise.
16068
16069 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16070
16071 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16072 __builtin_memcopy is called when src and dest ranges are known to not
16073 overlap.
16074
16075 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16076
16077 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16078 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16079 fwd_align_merge macro call.
16080 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16081 bwd_align_merge macro call.
16082 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16083
16084 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16085
16086 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16087 bwd_align_merge macros.
16088 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16089 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16090 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16091
16092 2012-04-18 David S. Miller <davem@davemloft.net>
16093
16094 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16095
16096 2012-04-18 Andreas Jaeger <aj@suse.de>
16097
16098 [BZ# 6794]
16099 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16100 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16101 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16102
16103 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16104 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16105 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16106
16107 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16108 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16109 Adjust for changed ldbl-128 files.
16110
16111 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16112 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16113 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16114
16115 2012-04-17 David S. Miller <davem@davemloft.net>
16116
16117 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16118
16119 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16120
16121 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16122 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16123 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16124 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16125 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16126 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16127
16128 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16129
16130 [BZ #6794]
16131 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16132 * math/libm-test.inc: Add ilogb errno and exception tests.
16133 * math/w_ilogb.c: New file: ilogb wrapper.
16134 * math/w_ilogbf.c: New file: ilogbf wrapper.
16135 * math/w_ilogbl.c: New file: ilogbl wrapper.
16136 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16137 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16138 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16139 exception being thrown with 0.0 as argument.
16140 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16141 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16142 exception being thrown with 0.0 as argument.
16143 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16144 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16145 exception being thrown with 0.0 as argument.
16146 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16147 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16148 exception being thrown with 0.0 as argument.
16149 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16150 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16151 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16152 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16153 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16154 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16155 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16156 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16157 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16158
16159 2012-04-17 Petr Baudis <pasky@ucw.cz>
16160
16161 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16162 with altivec.
16163
16164 2012-04-16 Marek Polacek <polacek@redhat.com>
16165
16166 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16167
16168 2012-04-16 Marek Polacek <polacek@redhat.com>
16169
16170 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16171 operands of fdivp instruction.
16172
16173 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16174
16175 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16176 * elf/tst-auditmod3b.c: Likewise.
16177 * elf/tst-auditmod4b.c: Likewise.
16178 * elf/tst-auditmod5b.c: Likewise.
16179 * elf/tst-auditmod6b.c: Likewise.
16180 * elf/tst-auditmod6c.c: Likewise.
16181 * elf/tst-auditmod7b.c: Likewise.
16182 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16183 * sysdeps/x86_64/preconfigure.in: Likewise.
16184 * sysdeps/x86_64/preconfigure: Regenerated.
16185
16186 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16187
16188 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16189 __ILP32__.
16190
16191 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16192
16193 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16194 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16195
16196 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16197
16198 [BZ #13973]
16199 * locale/iso-639.def: Fix gl language name. Spotted by
16200 Yaron Shahrabani.
16201
16202 2012-04-12 Roland McGrath <roland@hack.frob.com>
16203
16204 [BZ #2074]
16205 * libio/libio.h (__io_write_fn): Update comment.
16206
16207 2012-04-12 Petr Baudis <pasky@ucw.cz>
16208
16209 [BZ #2074]
16210 * stdio.texi (Hook Functions): The user provided writer function
16211 is not allowed to return -1.
16212
16213 2012-04-11 David S. Miller <davem@davemloft.net>
16214
16215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16216
16217 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16218
16219 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16220 Add a leading slash to rtkaio.
16221
16222 2012-04-11 Jim Meyering <meyering@redhat.com>
16223
16224 [BZ #11959]
16225 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16226 It is not necessarily an error to ignore fwrite's return
16227 value. One can reliably use ferror to test for errors after
16228 the fact.
16229
16230 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16231
16232 * bits/types.h (__snseconds_t): New type.
16233 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16234
16235 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16237 (__SNSECONDS_T_TYPE): Likewise.
16238 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16239 (__SNSECONDS_T_TYPE): Likewise.
16240 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16241 (__SNSECONDS_T_TYPE): Likewise.
16242
16243 2012-04-10 Andreas Jaeger <aj@suse.de>
16244
16245 [BZ #2636]
16246 * manual/time.texi (Processor Time): Return type of times is
16247 elapsed real time since an arbitrary point in the past.
16248 (CPU Time): Move CLK_TCK from here...
16249 (Processor Time): ...to here. Correct description.
16250 * manual/conf.texi (Constants for Sysconf): Correct description of
16251 _SC_CLK_TCK.
16252
16253 2012-04-10 David S. Miller <davem@davemloft.net>
16254
16255 [BZ #13967]
16256 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16257 where the is a gap between DT_REL(A) and DT_JMPREL.
16258
16259 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16260
16261 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16262 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16263 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16264
16265 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16266
16267 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16268 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16269 (dl_main): Handle --inhibit-cache.
16270 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16271 _dl_inhibit_cache.
16272 * elf/dl-load.c (_dl_map_object): Use it.
16273 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16274
16275 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16276
16277 [BZ #13872]
16278 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16279 (__ieee754_powl): Saturate large exponents rather than testing for
16280 overflow of y*log2(x).
16281 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16282 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16283 exceptions.
16284
16285 [BZ #11521]
16286 * math/s_ctan.c: Include <float.h>.
16287 (__ctan): Avoid internal overflow or cancellation in calculating
16288 denominator.
16289 * math/s_ctanf.c: Likewise.
16290 * math/s_ctanl.c: Likewise.
16291 * math/s_ctanh.c: Likewise.
16292 * math/s_ctanhf.c: Likewise.
16293 * math/s_ctanhl.c: Likewise.
16294 * math/libm-test.inc (ctan_test): Add more tests.
16295 (ctanh_test): Likewise.
16296 * sysdeps/i386/fpu/libm-test-ulps: Update.
16297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16298
16299 2012-04-09 Andreas Jaeger <aj@suse.de>
16300
16301 [BZ #6894]
16302 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16303 is an optional BSD extension.
16304
16305 [BZ #10254]
16306 * manual/stdio.texi (Opening Streams): Document additional fopen
16307 parameters.
16308
16309 2012-04-09 Roland McGrath <roland@hack.frob.com>
16310
16311 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16312 %eax without telling the compiler.
16313
16314 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16315
16316 [BZ # 13963]
16317 * manual/install.texi: Use sourceware.org.
16318
16319 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16320
16321 [BZ #13873]
16322 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16323 (__ieee754_pow): Generate overflow and underflow using huge*huge
16324 and tiny*tiny rather than just returning constant infinity or zero
16325 for large exponents.
16326 * math/libm-test.inc (pow_test): Require overflow exceptions for
16327 applicable cases of large exponents.
16328
16329 [BZ #706]
16330 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16331 (__ieee754_pow): Use iterative multiplication algorithm only for
16332 integer exponents with absolute value below 1024. Check for odd
16333 integer exponents when using algorithm for real exponents.
16334 * math/libm-test.inc (pow_test): Add more tests.
16335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16336
16337 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16338
16339 [BZ #13705]
16340 * math/libm-test.inc (exp_test): Do not allow overflow exception
16341 on underflow test.
16342
16343 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16344
16345 [BZ #13705]
16346 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16347 instead of __kernel_standard_f.
16348
16349 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16350
16351 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16352 * sysdeps/x86_64/memset_chk.S: Likewise.
16353
16354 2012-04-08 Andreas Jaeger <aj@suse.de>
16355
16356 [BZ #10153]
16357 * manual/startup.texi (Environment Access): Describe return value
16358 for putenv and setenv.
16359
16360 [BZ #6895]
16361 * manual/filesys.texi (Directory Entries): Add description for
16362 DT_LNK.
16363
16364 [BZ #6890]
16365 * manual/filesys.texi (Directory Entries): Clarify that it's file
16366 system not operating system in the description of DT_UNKNOWN.
16367
16368 [BZ #6578]
16369 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16370
16371 2012-04-08 Stephen Compall <s11@member.fsf.org>
16372
16373 [BZ #6649]
16374 * manual/llio.texi (Opening and Closing Files): Add cross
16375 reference to explain mode argument.
16376
16377 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16378
16379 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16380 * sysdeps/x86_64/memset_chk.S: Likewise.
16381
16382 2012-04-07 David S. Miller <davem@davemloft.net>
16383
16384 * elf/elf.h (R_SPARC_WDISP10): Define.
16385 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16386 R_SPARC_SIZE32.
16387 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16388 R_SPARC_SIZE64 and R_SPARC_H34.
16389
16390 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16391
16392 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16393 conditions and remove no longer applicable assertion.
16394
16395 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16396
16397 * bits/byteswap.h: Include <features.h>.
16398 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16399 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16400
16401 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16402
16403 * bits/byteswap.h (__bswap_16): Removed.
16404 Include <bits/byteswap-16.h> to get __bswap_16.
16405 * sysdeps/i386/bits/byteswap.h: Likewise.
16406 * sysdeps/s390/bits/byteswap.h: Likewise.
16407 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16408 * bits/byteswap-16.h: New file.
16409 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16410 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16411 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16412 * string/Makefile (headers): Add bits/byteswap-16.h.
16413
16414 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16415
16416 [BZ #13895]
16417 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16418 extra indirection.
16419 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16420 * nss/tst-nss-static.c: New.
16421
16422 2012-04-06 Robert Millan <rmh@gnu.org>
16423
16424 [BZ #6486]
16425 * manual/llio.texi (File Position Primitive): lseek
16426 refers to WHENCE when it really means OFFSET.
16427
16428 2012-04-06 Andreas Jaeger <aj@suse.de>
16429
16430 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16431 strncmp declarations.
16432
16433 * abilist/libc.abilist: Add __poll and __ppoll.
16434
16435 2012-04-05 David S. Miller <davem@davemloft.net>
16436
16437 * scripts/check-local-headers.sh: Accept a host triplet in the
16438 path matched by the exclude regexp.
16439
16440 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16441 definition.
16442 * sysdeps/powerpc/powerpc32/dl-machine.h
16443 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16444 * sysdeps/s390/s390-32/dl-machine.h
16445 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16446 * sysdeps/sparc/sparc32/dl-machine.h
16447 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16448 * sysdeps/sparc/sparc64/dl-machine.h
16449 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16450
16451 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16452 lazy binding.
16453 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16454 undefined symbol errors.
16455
16456 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16457 DT_NEEDED entries.
16458
16459 2012-04-05 Michael Matz <matz@suse.de>
16460
16461 [BZ #13592]
16462 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16463
16464 2012-04-05 Andreas Jaeger <aj@suse.de>
16465
16466 [BZ #13908]
16467 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16468 comment.
16469
16470 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16471
16472 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16473 which ROUND is no valid rounding mode.
16474
16475 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16476
16477 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16478 read again.
16479 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16480
16481 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16482
16483 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16484 an exception using FPU order intentionally.
16485
16486 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16487
16488 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16489 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16490 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16491 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16492
16493 2012-04-05 Simon Josefsson <simon@josefsson.org>
16494
16495 [BZ #12340]
16496 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16497 EINVAL when BUFLEN is too smal.
16498
16499 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16500
16501 [BZ #13553]
16502 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16503 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16504
16505 2012-04-03 Andreas Jaeger <aj@suse.de>
16506
16507 [BZ #13938]
16508 * manual/setjmp.texi (System V contexts): Fix sentence.
16509
16510 [BZ #13926]
16511 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16512 New macro for this case.
16513 [!__GNUC__] (__bswap_64): New inline function for this case.
16514 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16515 * bits/byteswap.h: Likewise.
16516 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16517 ull, guard with __GLIBC_HAVE_LONG_LONG.
16518
16519 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16520 __GLIBC_HAVE_LONG_LONG.
16521
16522 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16523 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16524
16525 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16526
16527 [BZ #13691]
16528 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16529 inptr and inend, rather than using last_ch.
16530
16531 2012-04-02 David S. Miller <davem@davemloft.net>
16532
16533 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16534 * stdio-common/printf-parse.h (read_int): Change return type to
16535 'int', return -1 on INT_MAX overflow.
16536 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16537 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16538 overflows INT_MAX. Check for overflow of in-format-string precision
16539 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16540 SIZE_MAX not INT_MAX for integer overflow test.
16541 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16542 skip the construct in the format string but do not record anything.
16543 * stdio-common/bug22.c: Adjust to test both width/prevision
16544 INT_MAX overflow as well as total length INT_MAX overflow. Check
16545 explicitly for proper errno values.
16546
16547 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16548
16549 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16550 CHAR_MAX.
16551 * string/test-strcmp.c [! WIDE]: Likewise.
16552 * time/tst-mktime2.c: Likewise for INT_MAX.
16553 * string/test-string.h: #include <sys/param.h> for MIN.
16554
16555 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16556 * sysdeps/i386/init-first.c (init): Likewise.
16557 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16558 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16559 * sysdeps/sh/init-first.c (init): Likewise.
16560
16561 2012-04-01 Ulrich Drepper <drepper@gmail.com>
16562
16563 * po/ru.po: Update from translation team.
16564 * po/vi.po: Likewise.
16565
16566 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16567
16568 * resolv/nss_dns/dns-host.c: Merge copyright years.
16569
16570 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16571
16572 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16573 Optimize memcpy with prefetch if
16574 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16575 src, dst pointers have unequal 16 byte alignments.
16576
16577 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16578
16579 [BZ #13928]
16580 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16581 from a CNAME entry and return the minimum ttl for the query.
16582 (gaih_getanswer_slice): Likewise.
16583
16584 2012-03-30 Jeff Law <law@redhat.com>
16585
16586 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16587 due to long keys.
16588 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16589 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16590
16591 * resolv/nss_dns/dns-host.c: Update copyright year.
16592
16593 2012-03-30 Ulrich Drepper <drepper@gmail.com>
16594
16595 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16596 requests to save a system call. Fix check that all bytes are sent.
16597
16598 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16599 comments for sendmmsg.
16600
16601 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16602
16603 [BZ #13691]
16604 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16605 with only 1 character between 0x0041 and 0x01b0.
16606 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16607 * wcsmbs/tst-mbsnrtowcs.c: New file.
16608
16609 2012-03-29 David S. Miller <davem@davemloft.net>
16610
16611 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16612 small copies by hand.
16613
16614 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16615
16616 [BZ #13761]
16617 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16618 _nss_compat_initgroups_dyn): Fall back to malloc/free
16619 for large group memberships.
16620
16621 2012-03-28 David S. Miller <davem@davemloft.net>
16622
16623 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16624 that branches into memcpy.
16625 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16626 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16627 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16628 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16630 bits.
16631 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16632 implementation too.
16633 * sysdeps/sparc/mempcpy.S: New file.
16634
16635 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16636 the IFUNC routine in the libc case.
16637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16638
16639 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16640 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16641 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16642 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16643 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16644 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16645 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16646 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16647
16648 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16649 loop to 256 bytes instead of 64 bytes and fix test signedness.
16650
16651 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16652 * sysdeps/sparc/sparc32/Makefile: rather than here...
16653 * sysdeps/sparc/sparc64/Makefile: and here.
16654
16655 2012-03-28 Ulrich Drepper <drepper@gmail.com>
16656
16657 * malloc/mallocbug.c: Avoid warnings about unused variables.
16658
16659 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16660
16661 [BZ #13760]
16662 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16663 in the right place. Discard and retry query if response is
16664 larger than input buffer size.
16665
16666 2012-03-28 Joseph Myers <joseph@codesourcery.com>
16667
16668 [BZ #369]
16669 [BZ #2678]
16670 [BZ #3866]
16671 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16672 x for large integer exponent.
16673 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16674 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16675 sign of result as needed afterwards.
16676 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16677 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16678 result for underflowing pow the same as for overflow.
16679 (__kernel_standard_l): Handle powl overflow and underflow here
16680 rather than calling __kernel_standard.
16681 * math/libm-test.inc (pow_test): Add more tests.
16682
16683 [BZ #3868]
16684 [BZ #13879]
16685 [BZ #13910]
16686 [BZ #13911]
16687 [BZ #13912]
16688 [BZ #13913]
16689 [BZ #13915]
16690 [BZ #13916]
16691 [BZ #13917]
16692 [BZ #13918]
16693 [BZ #13919]
16694 [BZ #13920]
16695 [BZ #13921]
16696 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16697 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16698 (__kernel_standard_l): New function.
16699 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16700 __kernel_standard.
16701 * math/w_acosl.c (__acosl): Likewise.
16702 * math/w_asinl.c (__asinl): Likewise.
16703 * math/w_atan2l.c (__atan2l): Likewise.
16704 * math/w_atanhl.c (__atanhl): Likewise.
16705 * math/w_coshl.c (__coshl): Likewise.
16706 * math/w_exp10l.c (__exp10l): Likewise.
16707 * math/w_exp2l.c (__exp2l): Likewise.
16708 * math/w_fmodl.c (__fmodl): Likewise.
16709 * math/w_hypotl.c (__hypotl): Likewise.
16710 * math/w_j0l.c (__j0l, __y0l): Likewise.
16711 * math/w_j1l.c (__j1l, __y1l): Likewise.
16712 * math/w_jnl.c (__jnl, __ynl): Likewise.
16713 * math/w_lgammal.c (__lgammal): Likewise.
16714 * math/w_log10l.c (__log10l): Likewise.
16715 * math/w_log2l.c (__log2l): Likewise.
16716 * math/w_logl.c (__logl): Likewise.
16717 * math/w_powl.c (__powl): Likewise.
16718 * math/w_remainderl.c (__remainderl): Likewise.
16719 * math/w_scalbl.c (sysv_scalbl): Likewise.
16720 * math/w_sinhl.c (__sinhl): Likewise.
16721 * math/w_sqrtl.c (__sqrtl): Likewise.
16722 * math/w_tgammal.c (__tgammal): Likewise.
16723 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16724 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16725 * math/libm-test.inc (acos_test): Add more tests.
16726 (acosh_test): Likewise.
16727 (asin_test): Likewise.
16728 (atanh_test): Likewise.
16729 (exp_test): Likewise.
16730 (exp10_test): Likewise.
16731 (exp2_test): Likewise.
16732 (expm1_test): Likewise.
16733 (lgamma_test): Likewise.
16734 (log_test): Likewise.
16735 (log10_test): Likewise.
16736 (log1p_test): Likewise.
16737 (log2_test): Likewise.
16738 (pow_test): Do not allow some spurious overflow exceptions.
16739 (sqrt_test): Add more tests.
16740 (tgamma_test): Likewise.
16741 (y0_test): Likewise.
16742 (y1_test): Likewise.
16743 (yn_test): Likewise.
16744
16745 2012-03-27 Anton Blanchard <anton@samba.org>
16746
16747 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16748 MAP_HUGETLB.
16749 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16750 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16751 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16752
16753 2012-03-27 David S. Miller <davem@davemloft.net>
16754
16755 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16756
16757 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16758 have-as-vis3 check.
16759
16760 2012-03-27 Andreas Jaeger <aj@suse.de>
16761
16762 * sysdeps/x86_64/elf/configure.in: Moved to ...
16763 * sysdeps/x86_64/configure.in: ... here.
16764 * sysdeps/x86_64/elf/start.S: Moved to ...
16765 * sysdeps/x86_64/start.S: ... here.
16766 * sysdeps/x86_64/elf/configure: Delete.
16767
16768 * sysdeps/x86_64/configure.in: Merge contents from
16769 sysdeps/i386/configure.in (without i686 check).
16770
16771 * sysdeps/i386/elf/Versions: Merge into ...
16772 * sysdeps/i386/Versions: ... this.
16773 * sysdeps/i386/elf/Versions: Delete file.
16774 * sysdeps/i386/elf/start.S: Moved to ...
16775 * sysdeps/i386/start.S: ...here.
16776 * sysdeps/i386/elf/configure.in: Merge into...
16777 * sysdeps/i386/configure.in: ...here.
16778 * sysdeps/i386/elf/configure.in: Delete file.
16779 * sysdeps/i386/elf/configure: Delete file.
16780
16781 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16782 * debug/backtracesyms.c: ... here.
16783 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16784 * debug/backtracesymsfd.c: ... here.
16785 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16786 * sysdeps/generic/ifunc-sel.h: ... here.
16787
16788 * sysdeps/unix/i386/start.c: Delete file.
16789 * sysdeps/unix/sparc/start.c: Delete file.
16790 * sysdeps/unix/start.c: Delete file.
16791
16792 * sysdeps/sh/elf/configure.in: Moved to ...
16793 * sysdeps/sh/configure.in: ... here.
16794 * sysdeps/sh/elf/start.S: Moved to ...
16795 * sysdeps/sh/start.S: ... here.
16796 * sysdeps/sh/elf/configure: Delete file.
16797
16798 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16799 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16800 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16801 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16802 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16803 * sysdeps/powerpc/powerpc64/start.S: here.
16804 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16805 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16806 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16807 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16808 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16809
16810 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16811 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16812 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16813 * sysdeps/powerpc/powerpc32/start.S: ... here.
16814 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16815 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16816 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16817
16818 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16819 * sysdeps/powerpc/ifunc-sel.h: ... here.
16820 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16821 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16822
16823 * sysdeps/sparc/elf/configure.in: Moved to ...
16824 * sysdeps/sparc/configure.in: ... here.
16825 * sysdeps/sparc/elf/configure: Delete file.
16826 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16827 * sysdeps/sparc/sparc32/start.S: ... here.
16828 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16829 * sysdeps/sparc/sparc64/start.S: ... here.
16830 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16831 * sysdeps/sparc/sparc32/Makefile: ... this.
16832 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16833 * sysdeps/sparc/sparc64/Makefile: ... this.
16834
16835 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16836 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16837 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16838 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16839 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16840 * sysdeps/s390/s390-32/setjmp.S: ... here.
16841 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16842 * sysdeps/s390/s390-32/configure.in: ... here.
16843 * sysdeps/s390/s390-32/elf/configure: Delete file.
16844 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16845 * sysdeps/s390/s390-32/start.S: ... here.
16846
16847 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16848 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16849 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16850 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16851 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16852 * sysdeps/s390/s390-64/setjmp.S: ... here.
16853 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16854 * sysdeps/s390/s390-64/configure.in: ... here
16855 * sysdeps/s390/s390-64/elf/configure: Delete file.
16856 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16857 * sysdeps/s390/s390-64/start.S: ... here.
16858 * sysdeps/s390/s390-64/elf/configure: Delete.
16859
16860 * configure.in: Remove support for elf directories in sysdeps.
16861
16862 * configure: Regenerated.
16863 * sysdeps/i386/configure: Regenerated.
16864 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16865 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16866 * sysdeps/s390/s390-32/configure: Regenerated.
16867 * sysdeps/s390/s390-64/configure: Regenerated.
16868 * sysdeps/sh/configure: Regenerated.
16869 * sysdeps/sparc/configure: Regenerated.
16870 * sysdeps/x86_64/configure: Regenerated.
16871
16872 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16873
16874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16875
16876 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16877 denormal result into account.
16878
16879 2012-03-25 Roland McGrath <roland@hack.frob.com>
16880
16881 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16882 Reported by Allan McRae <allan@archlinux.org>.
16883
16884 2012-03-23 Jeff Law <law@redhat.com>
16885
16886 * nss/getnssent.c (__nss_getent): Fix typo.
16887
16888 2012-03-23 David S. Miller <davem@davemloft.net>
16889
16890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16891
16892 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16893
16894 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16895 to pad to uint64_t for each field.
16896 (dl_tls_index): Replace unsigned long with uint64_t.
16897
16898 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16899 Paul Pluzhnikov <ppluzhnikov@google.com>
16900
16901 [BZ #6528]
16902 * grp/Makefile (otherlibs): Don't set it.
16903 * inet/Makefile (otherlibs): Likewise.
16904 * login/Makefile (otherlibs): Likewise.
16905 * nscd/Makefile (otherlibs): Likewise.
16906 * posix/Makefile (otherlibs): Likewise.
16907 * pwd/Makefile (otherlibs): Likewise.
16908 * rt/Makefile (otherlibs): Likewise.
16909 * sunrpc/Makefile (otherlibs): Likewise.
16910 * nss/Makefile (otherlibs): Likewise.
16911 Add libnss_files to routines and static-only-routines.
16912 ($(objpfx)getent): Remove rule.
16913 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16914 static-only-routines.
16915
16916 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16917
16918 [BZ #13892]
16919 * math/s_cexp.c: Include <float.h>.
16920 (__cexp): Handle exp result overflowing not necessarily
16921 overflowing both real and imaginary parts of result.
16922 * math/s_cexpf.c: Likewise.
16923 * math/s_cexpl.c: Likewise.
16924 * math/libm-test.inc (cexp_test): Add more tests.
16925 * sysdeps/i386/fpu/libm-test-ulps: Update.
16926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16927
16928 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16929
16930 * include/link.h (ELFW): New macro.
16931 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16932 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16933
16934 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16935
16936 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16937 with uint64_t.
16938
16939 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16940
16941 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16942 declaration.
16943 (struct La_x32_retval): Likewise.
16944
16945 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16946
16947 * sysdeps/x86_64/preconfigure.in: New file.
16948 * sysdeps/x86_64/preconfigure: New generated file.
16949
16950 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16951
16952 [BZ #13824]
16953 * math/e_exp2l.c: Include <float.h>.
16954 (__ieee754_exp2l): Handle overflow and underflow cases
16955 separately. Only pass fractional part of argument to
16956 __ieee754_expl.
16957 * math/libm-test.inc (exp2_test): Add more tests.
16958
16959 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16960 negating x to take absolute value.
16961 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16962 Likewise.
16963 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16964 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16965 Likewise.
16966 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16967 computing low part if x was negated.
16968 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16969
16970 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16971
16972 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16973 la_x32_gnu_pltexit.
16974 (pltexit): Cast int_retval to ptrdiff_t.
16975 * elf/tst-auditmod3b.c: Likewise.
16976 * elf/tst-auditmod4b.c: Likewise.
16977 * elf/tst-auditmod5b.c: Likewise.
16978 * elf/tst-auditmod6b.c: Likewise.
16979 * elf/tst-auditmod6c.c: Likewise.
16980 * elf/tst-auditmod7b.c: Likewise.
16981
16982 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16983 and x32_gnu_pltexit.
16984
16985 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16986 __ELF_NATIVE_CLASS.
16987 (La_x32_regs): New macro.
16988 (La_x32_retval): Likewise.
16989 (la_x32_gnu_pltenter): New function prototype.
16990 (la_x32_gnu_pltexit): Likewise.
16991
16992 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16993
16994 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16995 exponent.
16996
16997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16998
16999 * configure.in (libc_cv_cc_nofma): Check for option to disable
17000 generation of FMA instructions.
17001 * configure: Regenerate.
17002 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17003 * sysdeps/ieee754/dbl-64/Makefile: New file.
17004 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17005 Remove brandred-fma4.
17006 (CFLAGS-brandred-fma4.c): Remove.
17007 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17008 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17009 define.
17010 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17011 define.
17012
17013 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17014
17015 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17016 LLONG_MAX != LONG_MAX.
17017 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17018 (_fitoa_word): Likewise.
17019 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17020 LLONG_MAX != LONG_MAX.
17021 * stdio-common/_itowa.h: Include <_itoa.h>.
17022 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17023 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17024 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17025 only if not defined.
17026 (_ITOA_WORD_TYPE): Likewise.
17027 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17028 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17029
17030 2012-03-21 David S. Miller <davem@davemloft.net>
17031
17032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17033
17034 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17035
17036 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17037 of x86_64 when setting libc_cv_slibdir, libdir and
17038 libc_cv_localedir.
17039 * sysdeps/unix/sysv/linux/configure: Regenerated.
17040
17041 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17042
17043 * manual/lang.texi (Old Varargs): Remove section.
17044 (How Variadic): Update menu.
17045 (va_start): Do not mention varargs.h.
17046
17047 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17048 Joseph Myers <joseph@codesourcery.com>
17049
17050 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17051 link test.
17052 * configure: Regenerated.
17053
17054 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17055
17056 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17057 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17058 conformtest.pl
17059
17060 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17061
17062 * NOTES: Remove.
17063 * Makefile (files-for-dist): Remove NOTES.
17064 (NOTES): Remove rule.
17065 * README: Don't refer to NOTES.
17066 * manual/creature.texi: Don't include macros.texi.
17067 * manual/intro.texi (creature.texi): Remove comment referring to
17068 NOTES.
17069
17070 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17071 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17072 * configure: Regenerated.
17073 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17074 LIBC_TRY_CC_OPTION.
17075 (libc_cv_as_i686): Likewise.
17076 (libc_cv_cc_avx): Likewise.
17077 (libc_cv_cc_sse2avx): Likewise.
17078 (libc_cv_cc_fma4): Likewise.
17079 (libc_cv_cc_novzeroupper): Likewise.
17080 * sysdeps/i386/configure: Regenerated.
17081
17082 [BZ #13883]
17083 * sysdeps/i386/fpu/s_cexp.S: Remove.
17084 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17085 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17086 * math/libm-test.inc (cexp_test): Add more tests.
17087 * sysdeps/i386/fpu/libm-test-ulps: Update.
17088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17089
17090 2012-03-21 Allan McRae <allan@archlinux.org>
17091
17092 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17093
17094 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17095
17096 [BZ #13871]
17097 * math/w_exp2.c: Do not include <float.h>.
17098 (o_threshold, u_threshold): Remove.
17099 (__exp2): Calculate result before checking finiteness and calling
17100 __kernel_standard.
17101 * math/w_exp2f.c: Likewise.
17102 * math/w_exp2l.c: Likewise.
17103 * math/libm-test.inc (exp2_test): Require overflow exception for
17104 1e6 input.
17105
17106 [BZ #3866]
17107 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17108 range of signed 64-bit integers before using fistpll. Remove
17109 checks for whether integers fit in mantissa bits.
17110 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17111 the range of signed 32-bit integers before using fistpl. Remove
17112 checks for whether integers fit in mantissa bits.
17113 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17114 (__ieee754_powl): Test for y outside the range of signed 64-bit
17115 integers before using fistpll. Reduce 64-bit values to 63-bit
17116 ones as needed.
17117 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17118 divide-by-zero is raised for zero to large negative powers.
17119 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17120 (__ieee754_powl): Test for y outside the range of signed 64-bit
17121 integers before using fistpll. Reduce 64-bit values to 63-bit
17122 ones as needed.
17123 * math/libm-test.inc (pow_test): Add more tests.
17124
17125 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17126
17127 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17128 <stdio-common/_itoa.h>.
17129 * debug/segfault.c: Likewise.
17130 * elf/dl-cache.c: Likewise.
17131 * elf/dl-minimal.c: Likewise.
17132 * elf/dl-misc.c: Likewise.
17133 * elf/dl-sysdep.c: Likewise.
17134 * elf/dl-version.c: Likewise.
17135 * elf/rtld.c: Likewise.
17136 * hurd/hurdsock.c: Likewise.
17137 * hurd/lookup-retry.c: Likewise.
17138 * malloc/malloc.c: Likewise.
17139 * malloc/mtrace.c: Likewise.
17140 * nscd/nscd_getgr_r.c: Likewise.
17141 * nscd/nscd_getpw_r.c: Likewise.
17142 * nscd/nscd_getserv_r.c: Likewise.
17143 * posix/getopt_init.c: Likewise.
17144 * posix/wordexp.c: Likewise.
17145 * stdio-common/_itoa.c: Likewise.
17146 * stdio-common/printf_fphex.c: Likewise.
17147 * stdio-common/vfprintf.c: Likewise.
17148 * string/_strerror.c: Likewise.
17149 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17150 * sysdeps/i386/i686/hp-timing.h: Likewise.
17151 * sysdeps/mach/_strerror.c: Likewise.
17152 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17153 * sysdeps/mach/hurd/sethostid.c: Likewise.
17154 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17155 * sysdeps/mach/xpg-strerror.c: Likewise.
17156 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17157 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17158 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17159 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17160 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17161 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17162 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17163 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17164 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17165 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17166 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17167 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17168 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17169 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17170 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17171 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17172 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17173 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17174 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17175 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17176 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17177
17178 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17179
17180 * stdio-common/_itoa.h: Moved to ...
17181 * sysdeps/generic/_itoa.h: Here.
17182
17183 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17184
17185 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17186 instead of "_itoa.h" and "_itowa.h".
17187 * stdio-common/vfprintf.: Likewise.
17188
17189 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17190
17191 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17192 <bits/wordsize.h>.
17193 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17194 (__signbit): Likwise.
17195 (llrintf): Likwise.
17196 (llrint): Likwise.
17197
17198 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17199
17200 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17201 __WORDSIZE != 64.
17202
17203 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17204
17205 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17206 OVERFLOW_EXCEPTION_OK.
17207 * math/libm-test.inc ("Philosophy"): Update comment about
17208 exception testing.
17209 (OVERFLOW_EXCEPTION): Define.
17210 (OVERFLOW_EXCEPTION_OK): Likewise.
17211 (INVALID_EXCEPTION_OK): Renumber.
17212 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17213 (IGNORE_ZERO_INF_SIGN): Likewise.
17214 (test_exceptions): Handle FE_OVERFLOW.
17215 (exp10_test): Expect overflow exceptions.
17216 (exp2_test): Likewise.
17217 (expm1_test): Likewise.
17218 (nextafter_test): Likewise.
17219 (pow_test): Likewise.
17220 (scalbn_test): Likewise.
17221 (scalbln_test): Likewise.
17222
17223 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17224
17225 * sysdeps/x86_64/bits/atomic.h
17226 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17227 64bit integer.
17228 (atomic_exchange_acq): Likewise.
17229 (__arch_exchange_and_add_body): Likewise.
17230 (__arch_add_body): Likewise.
17231 (atomic_add_negative): Likewise.
17232 (atomic_add_zero): Likewise.
17233
17234 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17235
17236 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17237 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17238
17239 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17240
17241 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17242 Check __x86_64__ instead of __WORDSIZE.
17243
17244 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17245
17246 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17247
17248 2012-03-19 David S. Miller <davem@davemloft.net>
17249
17250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17251
17252 * sysdeps/sparc/fpu/fenv_private.h: New file.
17253 * sysdeps/sparc/fpu/math_private.h: Use it.
17254 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17255 Remove.
17256 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17257 (libc_feholdexcept_setroundl): Remove.
17258 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17259 Remove.
17260 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17261 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17262
17263 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17264
17265 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17266 int64_t instead of long int.
17267 (INSERT_WORDS64): Likwise.
17268
17269 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17270
17271 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17272 _Unwind_GetCFA return to _Unwind_Ptr first.
17273
17274 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17275
17276 [BZ #13629]
17277 * math/s_clog.c: Include <float.h>.
17278 (__clog): Scale large or subnormal inputs.
17279 * math/s_clogf.c: Likewise.
17280 * math/s_clogl.c: Likewise.
17281 * math/s_clog10.c: Include <float.h>.
17282 (M_LOG10_2): Define.
17283 (__clog10): Scale large or subnormal inputs.
17284 * math/s_clog10f.c: Likewise.
17285 * math/s_clog10l.c: Likewise.
17286 * math/libm-test.inc (clog_test): Add more tests.
17287 (clog10_test): Likewise.
17288 * sysdeps/i386/fpu/libm-test-ulps: Update.
17289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17290
17291 [BZ #11451]
17292 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17293 x and y.
17294 * math/libm-test.inc (atan2_test): Add another test.
17295
17296 * Makerules (common-objdir-compile): Remove.
17297 * sysdeps/unix/Makefile (config-generated): Do not add
17298 $(unix-generated) to variable.
17299 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17300 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17301 Remove rule.
17302 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17303 Likewise.
17304 [generic bits/local_lim.h] (before-compile): Do not append to
17305 variable.
17306 [generic bits/local_lim.h] (common-generated): Likewise.
17307 [generic sys/param.h] (before-compile): Do not append to variable.
17308 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17309 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17310 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17311 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17312 include.
17313 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17314 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17315 [generic sys/param.h] ($(addprefix
17316 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17317 [generic sys/param.h] (common-generated): Do not append to
17318 variable.
17319 [generic sys/param.h] (sysdep_headers): Likewise.
17320 [generic bits/errno.h] (before-compile): Do not append to
17321 variable.
17322 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17323 rule.
17324 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17325 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17326 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17327 [generic bits/errno.h] (common-generated): Do not append to
17328 variable.
17329 [generic bits/ioctls.h] (before-compile): Do not append to
17330 variable.
17331 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17332 rule.
17333 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17334 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17335 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17336 rule.
17337 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17338 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17339 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17340 [generic bits/ioctls.h] (common-generated): Do not append to
17341 variable.
17342 [generic sys/syscall.h] (syscall.h): Remove variable.
17343 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17344 rule.
17345 [generic sys/syscall.h] (before-compile): Do not append to
17346 variable.
17347 [generic sys/syscall.h] (common-generated): Likewise.
17348 * sysdeps/unix/errnos-tmpl.c: Remove file.
17349 * sysdeps/unix/errnos.awk: Likewise.
17350 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17351 * sysdeps/unix/ioctls.awk: Likewise.
17352 * sysdeps/unix/mk-local_lim.c: Likewise.
17353 * sysdeps/unix/snarf-ioctls: Likewise.
17354
17355 2012-03-19 Richard Henderson <rth@twiddle.net>
17356
17357 * sysdeps/i386/fpu/fenv_private.h: New file.
17358 * sysdeps/i386/fpu/math_private.h: Use it.
17359 (math_opt_barrier, math_force_eval): Remove.
17360 (libc_feholdexcept_setround_53bit): Remove.
17361 (libc_feupdateenv_53bit): Remove.
17362 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17363 (math_opt_barrier, math_force_eval): Remove.
17364 (libc_feholdexcept): Remove.
17365 (libc_feholdexcept_setround): Remove.
17366 (libc_fetestexcept, libc_fesetenv): Remove.
17367 (libc_feupdateenv_test): Remove.
17368 (libc_feupdateenv, libc_feholdsetround): Remove.
17369 (libc_feresetround): Remove.
17370
17371 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17372 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17373
17374 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17375 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17376 (libc_feupdateenv_testl): New.
17377 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17378 (libc_feupdateenv_testf): New.
17379 (libc_feupdateenv): Use libc_feupdateenv_test.
17380 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17381 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17382
17383 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17384 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17385 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17386 (libc_feresetround_noex): New.
17387 (libc_feresetround_noexf): New.
17388 (libc_feresetround_noexl): New.
17389 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17390 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17391 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17392 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17393 SET_RESTORE_ROUND.
17394 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17395 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17396 (__cos): Likewise.
17397 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17398 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17399 SET_RESTORE_ROUND_NOEX.
17400 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17401 SET_RESTORE_ROUND_NOEXF.
17402 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17403 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17404 (libc_feholdsetroundf): New.
17405 (libc_feresetround, libc_feresetroundf): New.
17406
17407 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17408 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17409 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17410
17411 * sysdeps/generic/math_private.h: Include <fenv.h>.
17412 (default_libc_feholdexcept): New.
17413 (default_libc_feholdexcept_setround): New.
17414 (default_libc_fesetenv, default_libc_feupdateenv): New.
17415 (libc_feholdexcept): Only define if undefined.
17416 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17417 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17418 (libc_feholdexcept_setroundl): Likewise.
17419 (libc_feholdexcept_setround_53bit): Likewise.
17420 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17421 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17422 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17423 (libc_feupdateenv_53bit): Likewise.
17424 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17425 (libc_feholdexcept): Convert from macro to inline function.
17426 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17427 (libc_fesetenv, libc_feupdateenv): Likewise.
17428
17429 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17430 not previously defined.
17431 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17432 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17433 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17434 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17435 * sysdeps/ieee754/flt-32/math_private.h: New file.
17436 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17437 math_private.h below SET_FLOAT_WORD.
17438 (__isnan, __isinf_ns, __finite): Remove.
17439 (__isnanf, __isinf_nsf, __finitef): Remove.
17440
17441 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17442
17443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17444
17445 2012-03-17 David S. Miller <davem@davemloft.net>
17446
17447 [BZ #6471]
17448 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17449 for 2.16.
17450
17451 2012-03-16 David S. Miller <davem@davemloft.net>
17452
17453 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17454 warnings.
17455
17456 [BZ #6471]
17457 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17458 properly.
17459 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17460 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17461 sysdep_routines when subdir is sysvipc.
17462 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17463 __getshmlba helper.
17464
17465 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17466
17467 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17468
17469 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17470 [__LP64__].
17471
17472 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17473
17474 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17475 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17476 (__lround): Renamed to ...
17477 (__llround): This. Replace long int with long long int.
17478 Define lround functions as aliases of llround functions.
17479 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17480
17481 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17482
17483 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17484 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17485 adresses to uintptr_t. Replace "long int" and "unsigned long
17486 int" with "greg_t" on va_arg.
17487
17488 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17489
17490 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17491 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17492
17493 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17494 Move e_machine check before EI_CLASS check. Handle x32
17495 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17496 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17497 SKIP_EM_IA_64 and include
17498 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17499
17500 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17501 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17502 (add_system_dir): New macro.
17503
17504 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17505 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17506
17507 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17508
17509 [BZ #2551]
17510 [BZ #2552]
17511 [BZ #2553]
17512 [BZ #2554]
17513 [BZ #2562]
17514 [BZ #2563]
17515 [BZ #2565]
17516 [BZ #2566]
17517 [BZ #2576]
17518 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17519 (y0): Likewise.
17520 * math/w_j0f.c (j0f): Likewise.
17521 (y0f): Likewise.
17522 * math/w_j0l.c (__j0l): Likewise.
17523 (__y0l): Likewise.
17524 * math/w_j1.c (j1): Likewise.
17525 (y1): Likewise.
17526 * math/w_j1f.c (j1f): Likewise.
17527 (y1f): Likewise.
17528 * math/w_j1l.c (__j1l): Likewise.
17529 (__y1l): Likewise.
17530 * math/w_jn.c (jn): Likewise.
17531 (yn): Likewise.
17532 * math/w_jnf.c (jnf): Likewise.
17533 (ynf): Likewise.
17534 * math/w_jnl.c (__jnl): Likewise.
17535 (__ynl): Likewise.
17536 * math/libm-test.inc (j0_test): Add more tests.
17537 (j1_test): Likewise.
17538 (jn_test): Likewise. Add trailing semicolon to existing test.
17539 (y0_test): Likewise.
17540 (y1_test): Likewise.
17541 * sysdeps/i386/fpu/libm-test-ulps: Update.
17542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17543
17544 [BZ #13851]
17545 [BZ #13854]
17546 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17547 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17548 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17549 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17550 (__tanl): Set errno for infinite argument.
17551 * sysdeps/i386/fpu/mptan.c: Remove.
17552 * sysdeps/i386/fpu/s_tan.S: Likewise.
17553 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17554 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17555 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17556 * math/libm-test.inc (tan_test): Add more tests and enable more
17557 tests for double and long double.
17558 * sysdeps/i386/fpu/libm-test-ulps: Update.
17559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17560
17561 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17562
17563 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17564 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17565
17566 2012-03-16 Roland McGrath <roland@hack.frob.com>
17567
17568 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17569 * configure.in: Use it for both main tree and add-ons.
17570 * configure: Regenerated.
17571
17572 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17573
17574 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17575
17576 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17577
17578 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17579 in comment.
17580
17581 [BZ #13851]
17582 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17583 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17584 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17585 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17586 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17587 infinite argument.
17588 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17589 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17590 != 0 for prec == 2.
17591 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17592 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17593 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17594 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17595 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17596 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17597 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17598 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17599 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17600 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17601 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17602 * math/libm-test.inc (cos_test): Add more tests and enable more
17603 tests for long double.
17604 (sin_test): Likewise.
17605 (sincos_test): Likewise.
17606 * sysdeps/i386/fpu/libm-test-ulps: Update.
17607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17608
17609 2012-03-16 David S. Miller <davem@davemloft.net>
17610
17611 * sysdeps/sparc/fpu/math_private.h: New file.
17612
17613 2012-03-15 David S. Miller <davem@davemloft.net>
17614
17615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17616 file.
17617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17619 file.
17620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17625 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17626 sysdep routines.
17627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17628
17629 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17630 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17631
17632 * sysdeps/sparc/sparc-ifunc.h: New file.
17633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17634 sparc-ifunc.h
17635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17637 Likewise.
17638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17639 Likewise.
17640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17644 Likewise.
17645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17650 Likewise.
17651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17652 Likewise.
17653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17657 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17659 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17660 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17671 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17672 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17673 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17674 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17675 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17676 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17677
17678 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17679
17680 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17681 scaling.
17682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17683
17684 2012-03-15 Andreas Jaeger <aj@suse.de>
17685
17686 [BZ #13852]
17687 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17688 ieee754/flt-32 implementation for sin, cos and sincos.
17689 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17690 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17691 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17692 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17693 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17694 ieee754/flt-32 implementation for tan.
17695
17696 * math/libm-test.inc (cos_test): Enable some large input tests for
17697 float as well
17698 (sin_test): Likewise.
17699 (sincos_test): Likewise.
17700 (tan_test): Add tests for large input.
17701
17702 * sysdeps/i386/fpu/libm-test-ulps: Update.
17703
17704 2012-03-15 Andreas Jaeger <aj@suse.de>
17705
17706 [BZ #13658]
17707 * math/libm-test.inc (cos_test): Add more test cases.
17708 (sin_test): Likewise.
17709 (sincos_test): Likewise.
17710
17711 2012-03-15 Andreas Jaeger <aj@suse.de>
17712
17713 [BZ #13837]
17714 * math/libm-test.inc (cos_test): Add a test case for large input
17715 value.
17716 (sin_test): Likewise.
17717 (sincos_test): Likewise.
17718
17719 2012-03-15 Andreas Jaeger <aj@suse.de>,
17720 Joseph Myers <joseph@codesourcery.com>
17721
17722 [BZ #13658]
17723 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17724 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17725 * sysdeps/i386/fpu/branred.c: Likewise.
17726 * sysdeps/i386/fpu/dosincos.c: Likewise.
17727 * sysdeps/i386/fpu/mpa.c: Likewise.
17728 * sysdeps/i386/fpu/s_cos.S: Likewise.
17729 * sysdeps/i386/fpu/s_sin.S: Likewise.
17730 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17731 * sysdeps/i386/fpu/sincos32.c: Likewise.
17732
17733 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17734 Define.
17735 (libc_feupdateenv_53bit): Define.
17736 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17737 Define.
17738 (libc_feupdateenv_53bit): Define.
17739
17740 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17741 53 bit (without extend i386 double precision).
17742
17743 * math/libm-test.inc (sincos_test): Add tests for large input.
17744 (sin): Likewise.
17745 (cos): Likewise.
17746
17747 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17748
17749 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17750
17751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17752
17753 2012-03-15 David S. Miller <davem@davemloft.net>
17754
17755 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17756 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17757 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17758 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17771 file.
17772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17774 file.
17775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17777 file.
17778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17780 file.
17781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17782 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17783 fmin/fmax sysdep routines.
17784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17785
17786 2012-03-14 David S. Miller <davem@davemloft.net>
17787
17788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17792 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17793 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17794 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17795 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17808 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17809 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17810 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17812 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17813 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17814 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17817 routines.
17818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17819 file.
17820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17822 file.
17823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17825 file.
17826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17828 file.
17829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17831 file.
17832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17834 file.
17835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17836 file.
17837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17838 file.
17839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17840 file.
17841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17842 New file.
17843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17844 file.
17845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17846 file.
17847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17849 file.
17850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17852 file.
17853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17855 file.
17856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17858 VIS3 routines.
17859
17860 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17861 New file.
17862
17863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17864
17865 * sysdeps/sparc/configure.in: New file.
17866 * sysdeps/sparc/configure: Generate.
17867 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17868 * configure: Regenerate.
17869 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17870 * config.make.in (have-as-vis3): New.
17871 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17872 available use -Av9d instead of -Av9a.
17873 * sysdeps/sparc/sparc64/Makefile: Likewise.
17874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17876 New file.
17877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17878 file.
17879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17880 New file.
17881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17882 file.
17883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17884 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17885 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17886 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17887 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17888
17889 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17890 fzeros/fnegs to load 0x80000000 into a float register instead of
17891 using the stack.
17892 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17893
17894 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17895
17896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17897 bits/syscall.h.
17898 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17899 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17900 ($(inst_includedir)/bits/syscall.h): Remove rule.
17901 ($(objpfx)bits/syscall.d): Include instead of
17902 $(objpfx)syscall-list.d.
17903 (generated): Change syscall-list.h and syscall-list.d to
17904 bits/syscall.h and bits/syscall.d.
17905
17906 2012-03-14 Roland McGrath <roland@hack.frob.com>
17907
17908 [BZ #13846]
17909 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17910
17911 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17912
17913 [BZ #13841]
17914 * math/s_csqrt.c: Include <float.h>.
17915 (__csqrt): Scale large or subnormal inputs.
17916 * math/s_csqrtf.c: Likewise.
17917 * math/s_csqrtl.c: Likewise.
17918 * math/libm-test.inc (csqrt_test): Add more tests.
17919 * sysdeps/i386/fpu/libm-test-ulps: Update.
17920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17921
17922 [BZ #13840]
17923 * math/libm-test.inc (hypot_test): Add more tests.
17924
17925 2012-03-13 David S. Miller <davem@davemloft.net>
17926
17927 [BZ #13840]
17928 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17929 double-precision for the calculation instead of scaling.
17930
17931 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17932
17933 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17934 manipulate bits before adding and subtracting TWO52[sx].
17935 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17936 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17937 Likewise.
17938 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17939
17940 2012-03-13 David S. Miller <davem@davemloft.net>
17941
17942 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17943 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17944 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17945 rtld-global-offsets.h
17946 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17947
17948 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17949 large parameters.
17950
17951 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17952
17953 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17954 'err' in the ifdef scope in which it is actually used.
17955
17956 * nss/nss_db/db-init.c: Include string.h
17957
17958 2012-03-12 David S. Miller <davem@davemloft.net>
17959
17960 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17961 masking out of the most significant byte of random value used.
17962 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17963 Fix coding style in previous change.
17964
17965 * sysdeps/unix/sysv/linux/kernel-features.h
17966 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17967 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17968 expression.
17969 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17970 later.
17971
17972 2012-03-11 David S. Miller <davem@davemloft.net>
17973
17974 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17975 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17976 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17977 for 'resultvar' otherwise things get truncated on 64-bit.
17978
17979 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17980 Fix masking out of the most significant byte of random value used.
17981
17982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17983
17984 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17985
17986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17987
17988 2012-03-09 David S. Miller <davem@davemloft.net>
17989
17990 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17991 variables with appropriate CPP guards.
17992 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17993 frame pointer, not the stack pointer. Correct layout comments. Fix test
17994 on resulting framesize and the management of the outregs buffer for pltexit.
17995 Preserve floating point return values across _dl_call_pltexit call.
17996 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17997 framesize and the management of the outregs buffer for pltexit.
17998 Preserve floating point return values across _dl_call_pltexit
17999 call.
18000 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18001 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18002 (print_exit): Fix format string for return register value.
18003
18004 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18005
18006 * sunrpc/Makefile (others): Add rpcgen.
18007 ($(objpfx)rpcgen): Remove special build rule and dependency on
18008 libc.
18009 * sunrpc/rpcgen.c: New file.
18010
18011 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18012
18013 [BZ #13673]
18014 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18015 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18016 * sysdeps/i386/crti.S: Likewise.
18017 * sysdeps/i386/crtn.S: Likewise.
18018 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18019 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18020 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18021 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18022 * sysdeps/sh/crti.S: Likewise.
18023 * sysdeps/sh/crtn.S: Likewise.
18024 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18025
18026 [BZ #13673]
18027 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18028 with URL.
18029 * locale/programs/locfile-kw.gperf: Likewise.
18030 * locale/programs/charmap-kw.h: Regenerated.
18031 * locale/programs/locfile-kw.h: Likewise.
18032
18033 [BZ #13673]
18034 * intl/plural.y: Replace FSF snail mail address with URL.
18035 * intl/plural.c: Regenerated.
18036
18037 2012-03-09 Richard Henderson <rth@twiddle.net>
18038
18039 * include/math_private.h: Remove file.
18040 * math/math_private.h: Move file ...
18041 * sysdeps/generic/math_private.h: ... here.
18042
18043 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18044 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18045 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18046
18047 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18048 and <math_private.h>.
18049 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18050 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18051 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18052 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18053 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18070 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18071 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18074 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18075 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18077 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18078 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18079 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18081 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18083 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18084 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18103 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18104 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18105 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18106 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18107 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18108 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18109 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18110 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18111 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18112 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18113 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18114 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18115 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18116 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18117 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18118 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18119 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18120 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18121 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18122 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18123 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18129 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18132 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18133 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18134 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18135 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18136 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18137 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18138 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18139 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18140 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18141 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18142 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18143 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18144 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18145 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18146 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18147 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18148 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18149 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18150 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18151 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18152 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18153 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18154 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18155 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18156 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18157 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18158 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18159 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18160 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18161 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18162 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18163 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18164 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18165 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18166 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18167 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18168 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18169 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18170 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18171 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18172 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18173 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18174 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18175 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18176 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18177 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18178 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18179 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18180 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18181 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18182 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18183 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18184 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18185 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18186 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18187 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18188 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18189 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18190 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18191 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18192 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18193 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18194 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18195 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18196 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18197 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18198 * sysdeps/ieee754/k_standard.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18242 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18249 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18250 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18251 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18252 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18276 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18290 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18292 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18295 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18296 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18297 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18298 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18300 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18301 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18302 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18303 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18308 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18314 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18318 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18319 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18323 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18326 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18331 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18332 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18333 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18334 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18335 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18336 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18337 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18338 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18339 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18340 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18341 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18342 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18343 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18344 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18346 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18347 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18348 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18349 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18351 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18352 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18353 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18354 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18355 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18356 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18357 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18358 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18359 * sysdeps/ieee754/s_lib_version.c: Likewise.
18360 * sysdeps/ieee754/s_matherr.c: Likewise.
18361 * sysdeps/ieee754/s_signgam.c: Likewise.
18362 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18363 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18364 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18365 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18366 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18367 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18368 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18369 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18370 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18371 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18372 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18373 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18374 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18375 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18376 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18377 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18378 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18379 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18380 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18381 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18382 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18383
18384 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18385
18386 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18387 * sunrpc/rpc_main.c: Likewise.
18388 * sunrpc/rpc_svcout.c: Likewise.
18389
18390 2012-03-09 David S. Miller <davem@davemloft.net>
18391
18392 * include/math_private.h: New file.
18393
18394 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18395
18396 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18397 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18398 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18399 from <bits/socket_type.h>.
18400 (enum __socket_type): Don't define here.
18401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18403 bits/socket_type.h.
18404
18405 [BZ #13566]
18406 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18407 checking __USE_GNU.
18408
18409 * Makerules ($(inst_includedir)/%.h): New rule.
18410 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18411 (install-others): Remove variable setting.
18412 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18413
18414 2012-03-08 Richard Henderson <rth@twiddle.net>
18415
18416 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18417 from macro to inline function; merge with the
18418 !__LIBC_INTERNAL_MATH_INLINES version.
18419 (__ieee754_sqrtf): Likewise.
18420
18421 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18422 to inline function.
18423 (__rintf, __floor, __floorf): Likewise.
18424
18425 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18426 macro to inline function.
18427 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18428
18429 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18430 not <math/math_private.h>.
18431
18432 2012-03-08 David S. Miller <davem@davemloft.net>
18433
18434 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18435 copyright year.
18436 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18437
18438 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18439
18440 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18441 normalization.
18442 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18443 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18444
18445 2012-03-08 Ulrich Drepper <drepper@gmail.com>
18446
18447 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18448 be defined individually, they must be defined as a block. Define
18449 S for printing a string instead of hidint the different by using a
18450 macro for adding the 'l'.
18451 * stdio-common/tst-fphex-wide.c: Adjust.
18452
18453 2012-03-07 Marek Polacek <polacek@redhat.com>
18454
18455 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18456
18457 2012-03-08 Marek Polacek <polacek@redhat.com>
18458
18459 [BZ #13806]
18460 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18461 * stdio-common/tst-fphex.c: Define a few macros to make the
18462 test reusable. Use them.
18463 * stdio-common/tst-fphex-wide.c: New file.
18464
18465 2012-03-08 Joseph Myers <joseph@codesourcery.com>
18466
18467 [BZ #6911]
18468 * manual/macros.texi (gnusystems): New macro.
18469 (nongnusystems): Likewise.
18470 (gnulinuxhurdsystems): Likewise.
18471 (gnuhurdsystems): Likewise..
18472 (gnulinuxsystems): Likewise.
18473 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18474 variants of the GNU system, not "GNU system".
18475 * manual/conf.texi: Likewise.
18476 * manual/errno.texi: Likewise. Update example of errno macro
18477 expansion.
18478 * manual/filesys.texi: Likewise.
18479 (getumask): Document as specific to GNU/Hurd.
18480 * manual/install.texi: Likewise. Reword some references to
18481 GNU/Linux.
18482 * manual/intro.texi: Likewise.
18483 * manual/io.texi: Likewise.
18484 (File Name Portability): Detail which constraints are inapplicable
18485 to all GNU systems and which are only inapplicable to GNU/Hurd.
18486 * manual/job.texi: Likewise.
18487 * manual/llio.texi: Likewise.
18488 (O_NOCTTY): Document as present on GNU/Linux.
18489 * manual/maint.texi: Likewise.
18490 * manual/memory.texi: Likewise.
18491 * manual/pattern.texi: Likewise.
18492 * manual/pipe.texi: Likewise.
18493 * manual/process.texi: Likewise.
18494 * manual/resource.texi: Likewise.
18495 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18496 child on GNU/Hurd.
18497 * manual/setjmp.texi: Likewise.
18498 * manual/signal.texi: Likewise.
18499 * manual/startup.texi: Likewise.
18500 * manual/stdio.texi: Likewise.
18501 * manual/terminal.texi: Likewise.
18502 (ONLCR): Document as POSIX.
18503 (OXTABS): Document availability on GNU/Linux as XTABS.
18504 (ONOEOT): Document availability separately from other bits.
18505 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18506 * manual/time.texi: Likewise.
18507 * manual/users.texi: Likewise.
18508 * INSTALL: Regenerated.
18509 * sysdeps/gnu/errlist.c: Regenerated.
18510
18511 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18512 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18513 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18514 puts.
18515 * configure: Regenerated.
18516
18517 2012-03-07 Joseph Myers <joseph@codesourcery.com>
18518
18519 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18520 default includes instead of AC_HEADER_CHECK.
18521 * sysdeps/i386/configure: Regenerated.
18522
18523 [BZ #10716]
18524 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18525 * math/s_cacoshf.c (__cacoshf): Likewise.
18526 * math/s_cacoshl.c (__cacoshl): Likewise.
18527 * math/s_casinh.c (__casinh): Set signs of result from argument.
18528 * math/s_casinhf.c (__casinhf): Likewise.
18529 * math/s_casinhl.c (__casinhl): Likewise.
18530 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18531 (casinh_test): Add more tests.
18532 * sysdeps/i386/fpu/libm-test-ulps: Update.
18533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18534
18535 2012-03-07 Ulrich Drepper <drepper@gmail.com>
18536
18537 * po/zh_TW.po: Update from translation team.
18538
18539 * login/Makefile (distribute): Remove variable.
18540 * catgets/Makefile: Likewise.
18541 * mach/Makefile: Likewise.
18542 * malloc/Makefile: Likewise.
18543 * misc/Makefile: Likewise.
18544 * iconv/Makefile: Likewise.
18545 * nscd/Makefile: Likewise.
18546 * hurd/Makefile: Likewise.
18547 * manual/Makefile: Likewise.
18548 * locale/Makefile: Likewise.
18549 * intl/Makefile: Likewise.
18550 * conform/Makefile: Likewise.
18551 * nss/Makefile: Likewise.
18552 * time/Makefile: Likewise.
18553 * soft-fp/Makefile: Likewise.
18554 * dirent/Makefile: Likewise.
18555 * gmon/Makefile: Likewise.
18556 * po/Makefile: Likewise.
18557 * rt/Makefile: Likewise.
18558 * socket/Makefile: Likewise.
18559 * math/Makefile: Likewise.
18560 * signal/Makefile: Likewise.
18561 * debug/Makefile: Likewise.
18562 * elf/Makefile: Likewise.
18563 * timezone/Makefile: Likewise.
18564 * stdlib/Makefile: Likewise.
18565 * iconvdata/Makefile: Likewise.
18566 * sunrpc/Makefile: Likewise.
18567 * io/Makefile: Likewise.
18568 * argp/Makefile: Likewise.
18569 * inet/Makefile: Likewise.
18570 * hesiod/Makefile: Likewise.
18571 * grp/Makefile: Likewise.
18572 * csu/Makefile: Likewise.
18573 * wctype/Makefile: Likewise.
18574 * crypt/Makefile: Likewise.
18575 * libio/Makefile: Likewise.
18576 * string/Makefile: Likewise.
18577 * nis/Makefile: Likewise.
18578 * resolv/Makefile: Likewise.
18579 * stdio-common/Makefile: Likewise.
18580 * wcsmbs/Makefile: Likewise.
18581 * dlfcn/Makefile: Likewise.
18582 * posix/Makefile: Likewise.
18583
18584 [BZ #6959]
18585 * timezone/Makefile: Don't install timezone files, just the programs
18586 and scripts.
18587
18588 2012-03-06 Ulrich Drepper <drepper@gmail.com>
18589
18590 * nss/databases.def: Add missing gshadow entry.
18591
18592 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18593
18594 2012-03-06 Marek Polacek <polacek@redhat.com>
18595
18596 [BZ #13726]
18597 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18598 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18599 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18600 * stdio-common/tst-long-dbl-fphex.c: New file.
18601
18602 2012-03-06 David S. Miller <davem@davemloft.net>
18603
18604 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18605 (set_obp_int): New function.
18606 (get_obp_int): New function.
18607 (__get_clockfreq_via_dev_openprom): Likewise.
18608 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18609 Avoid unused variable warnings on 'val' and use builtin_expect.
18610 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18611 __builtin_expect.
18612 (INLINE_CLONE_SYSCALL): Likewise.
18613
18614 2012-03-05 David S. Miller <davem@davemloft.net>
18615
18616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18617
18618 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18619
18620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18621
18622 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18623 only for |x| >= 40.
18624 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18625
18626 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
18627
18628 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18629 Replace gettimeofday with __vdso_gettimeofday.
18630
18631 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18632 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18633 __vdso_clock_gettime and __vdso_getcpu.
18634
18635 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18636 time with __vdso_time.
18637
18638 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18639
18640 * manual/lang.texi (size_t): Note types to which size_t may be
18641 equivalent with the GNU C Library, but do not describe when
18642 differences between them are significant.
18643
18644 2012-03-05 Andreas Jaeger <aj@suse.de>
18645
18646 * sysdeps/i386/fpu/libm-test-ulps: Update.
18647
18648 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18649
18650 [BZ #3976]
18651 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18652 (__ieee754_pow): Save and restore rounding mode and use
18653 round-to-nearest for main computations.
18654 * math/libm-test.inc (pow_test_tonearest): New function.
18655 (pow_test_towardzero): Likewise.
18656 (pow_test_downward): Likewise.
18657 (pow_test_upward): Likewise.
18658 (main): Call the new functions.
18659 * sysdeps/i386/fpu/libm-test-ulps: Update.
18660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18661
18662 [BZ #3976]
18663 * math/libm-test.inc (cosh_test_tonearest): New function.
18664 (cosh_test_towardzero): Likewise.
18665 (cosh_test_downward): Likewise.
18666 (cosh_test_upward): Likewise.
18667 (sinh_test_tonearest): Likewise.
18668 (sinh_test_towardzero): Likewise.
18669 (sinh_test_downward): Likewise.
18670 (sinh_test_upward): Likewise.
18671 (main): Call the new functions.
18672 * sysdeps/i386/fpu/libm-test-ulps: Update.
18673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18674
18675 2012-03-05 Tom de Vries <tom@codesourcery.com>
18676
18677 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18678 default stack guard is set in last bytes.
18679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18680
18681 2012-03-05 Kees Cook <keescook@chromium.org>
18682
18683 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18684
18685 [BZ #13656]
18686 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18687 possibly allocate from heap instead of stack.
18688 * stdio-common/bug-vfprintf-nargs.c: New file.
18689 * stdio-common/Makefile (tests): Add nargs overflow test.
18690
18691 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18692
18693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18694
18695 2012-03-03 Marek Polacek <polacek@redhat.com>
18696
18697 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18698 * math/math_private.h: Likewise.
18699 * stdlib/tst-strtod.c: Likewise.
18700 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18701 * sysdeps/x86_64/bits/atomic.h: Likewise.
18702
18703 2012-03-02 David S. Miller <davem@davemloft.net>
18704
18705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18709 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18710 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18711 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18712 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18713
18714 2012-03-02 Roland McGrath <roland@hack.frob.com>
18715
18716 [BZ #13792]
18717 * manual/examples/README: New file, says the example source files
18718 can be used under GPL>=2.
18719 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18720 line containing just "*/".
18721 * manual/examples/add.c: Add copyright header (GPL>=2).
18722 * manual/examples/argp-ex1.c: Likewise.
18723 * manual/examples/argp-ex2.c: Likewise.
18724 * manual/examples/argp-ex3.c: Likewise.
18725 * manual/examples/argp-ex4.c: Likewise.
18726 * manual/examples/atexit.c: Likewise.
18727 * manual/examples/db.c: Likewise.
18728 * manual/examples/dir.c: Likewise.
18729 * manual/examples/dir2.c: Likewise.
18730 * manual/examples/execinfo.c: Likewise.
18731 * manual/examples/filecli.c: Likewise.
18732 * manual/examples/filesrv.c: Likewise.
18733 * manual/examples/fmtmsgexpl.c: Likewise.
18734 * manual/examples/genpass.c: Likewise.
18735 * manual/examples/inetcli.c: Likewise.
18736 * manual/examples/inetsrv.c: Likewise.
18737 * manual/examples/isockad.c: Likewise.
18738 * manual/examples/longopt.c: Likewise.
18739 * manual/examples/memopen.c: Likewise.
18740 * manual/examples/memstrm.c: Likewise.
18741 * manual/examples/mkfsock.c: Likewise.
18742 * manual/examples/mkisock.c: Likewise.
18743 * manual/examples/mygetpass.c: Likewise.
18744 * manual/examples/pipe.c: Likewise.
18745 * manual/examples/popen.c: Likewise.
18746 * manual/examples/rprintf.c: Likewise.
18747 * manual/examples/search.c: Likewise.
18748 * manual/examples/select.c: Likewise.
18749 * manual/examples/setjmp.c: Likewise.
18750 * manual/examples/sigh1.c: Likewise.
18751 * manual/examples/sigusr.c: Likewise.
18752 * manual/examples/stpcpy.c: Likewise.
18753 * manual/examples/strdupa.c: Likewise.
18754 * manual/examples/strftim.c: Likewise.
18755 * manual/examples/strncat.c: Likewise.
18756 * manual/examples/subopt.c: Likewise.
18757 * manual/examples/swapcontext.c: Likewise.
18758 * manual/examples/termios.c: Likewise.
18759 * manual/examples/testopt.c: Likewise.
18760 * manual/examples/testpass.c: Likewise.
18761 * manual/examples/timeval_subtract.c: Likewise.
18762
18763 [BZ #13792]
18764 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18765 function to ...
18766 * manual/timeval_subtract.c.texi: ... here, new file.
18767
18768 2012-03-02 David S. Miller <davem@davemloft.net>
18769
18770 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18771
18772 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18773
18774 [BZ #3976]
18775 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18776 (__sin): Save and restore rounding mode and use round-to-nearest
18777 for all computations.
18778 (__cos): Save and restore rounding mode and use round-to-nearest
18779 for all computations.
18780 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18781 <fenv.h>.
18782 (tan): Save and restore rounding mode and use round-to-nearest for
18783 all computations.
18784 * math/libm-test.inc (cos_test_tonearest): New function.
18785 (cos_test_towardzero): Likewise.
18786 (cos_test_downward): Likewise.
18787 (cos_test_upward): Likewise.
18788 (sin_test_tonearest): Likewise.
18789 (sin_test_towardzero): Likewise.
18790 (sin_test_downward): Likewise.
18791 (sin_test_upward): Likewise.
18792 (tan_test_tonearest): Likewise.
18793 (tan_test_towardzero): Likewise.
18794 (tan_test_downward): Likewise.
18795 (tan_test_upward): Likewise.
18796 (main): Call the new functions.
18797 * sysdeps/i386/fpu/libm-test-ulps: Update.
18798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18799
18800 [BZ #10135]
18801 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18802 small n, then large n, before computing and testing k+n.
18803 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18804 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18805 Likewise.
18806 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18807 Likewise.
18808 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18809 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18810 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18811 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18812 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18814 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18815 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18816 * math/libm-test.inc (scalbn_test): Add more tests.
18817 (scalbln_test): Likewise.
18818
18819 * manual/filesys.texi (mode_t): Describe constraints on size and
18820 signedness, not exact equivalence to a particular type.
18821 (ino_t): Likewise.
18822 (ino64_t): Likewise.
18823 (dev_t): Likewise.
18824 (nlink_t): Likewise.
18825 (blkcnt_t): Likewise.
18826 (blkcnt64_t): Likewise.
18827 * manual/llio.texi (off_t): Likewise.
18828
18829 [BZ #3976]
18830 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18831 (__ieee754_exp): Save and restore rounding mode and use
18832 round-to-nearest for all computations.
18833 * math/libm-test.inc (exp_test_tonearest): New function.
18834 (exp_test_towardzero): Likewise.
18835 (exp_test_downward): Likewise.
18836 (exp_test_upward): Likewise.
18837 (main): Call the new functions.
18838 * sysdeps/i386/fpu/libm-test-ulps: Update.
18839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18840
18841 2012-03-01 Chris Demetriou <cgd@google.com>
18842
18843 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18844 have predictable order.
18845
18846 2012-03-01 David S. Miller <davem@davemloft.net>
18847
18848 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18849
18850 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18851 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18852 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18853 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18854
18855 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18856 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18857 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18859 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18860 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18861 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18862 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18863 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18864
18865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18866
18867 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18868 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18869 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18870
18871 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18872 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18873 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18874 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18875 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18876 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18877 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18878 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18879 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18880 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18881 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18882 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18883 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18884 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18885 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18886 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18887 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18888 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18889 * sysdeps/sparc/elf/configure: Regenerated.
18890
18891 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18892
18893 * configure.in (AS, LD): Require binutils 2.20 or later.
18894 * configure: Regenerated.
18895 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18896 as required minimum version.
18897 * INSTALL: Regenerated.
18898
18899 [BZ #2541]
18900 [BZ #4108]
18901 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18902 before squaring exponent.
18903 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18904 bottom long double and 27 bits of top long double before squaring
18905 exponent.
18906 * math/libm-test.inc (erfc_test): Add more tests.
18907 * sysdeps/i386/fpu/libm-test-ulps: Update.
18908 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18910
18911 2012-03-01 Kai Tietz <ktietz@redhat.com>
18912
18913 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18914 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18915 containing bit-fields.
18916 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18917 * soft-fp/single.h (_FP_UNION_S): Likewise.
18918 * soft-fp/double.h (_FP_UNION_D): Likewise.
18919
18920 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18921
18922 [BZ #13786]
18923 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18924 not include ../strcmp.S.
18925 [USE_AS_STRNCASECMP_L]: Likewise.
18926 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18927 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18928 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18929 (__strncasecmp_l_ia32): Define as alias to
18930 __strncasecmp_l_nonascii.
18931
18932 [BZ #5794]
18933 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18934 * sysdeps/i386/fpu/libm-test-ulps: Update.
18935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18936
18937 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18939
18940 2012-02-29 Jeff Law <law@redhat.com>
18941
18942 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18943 out of bounds read.
18944
18945 2012-02-29 Marek Polacek <polacek@redhat.com>
18946
18947 [BZ #13706]
18948 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18949 * elf/Makefile: Add rules to run tst-unused-dep.out.
18950
18951 2012-02-28 David S. Miller <davem@davemloft.net>
18952
18953 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18954 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18955 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18956 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18957 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18958 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18959
18960 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18961
18962 * math/libm-test.inc (llround_test): Move one test from
18963 lround_test. Use TEST_f_L in moved test.
18964 (lround_test): Move misplaced test to llround_test. Add testcase
18965 from bug 2561.
18966
18967 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18968
18969 * sysdeps/x86_64/fpu/e_expf.S: New file.
18970 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18971
18972 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18973
18974 [BZ #13637]
18975 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18976 of remain_len that may cause incomplete multi-byte character and
18977 false match.
18978 * posix/bug-regex33.c: New file.
18979 * posix/Makefile (tests): Add bug-regex33.
18980
18981 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18982
18983 * manual/macros.texi: New file.
18984 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18985 * manual/libc.texinfo: Include macros.texi.
18986 * manual/creatute.texi: Likewise.
18987 * manual/install.texi: Likewise.
18988 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18989 @glibcadj{} in references to the GNU C Library.
18990 * manual/charset.texi: Likewise.
18991 * manual/conf.texi: Likewise.
18992 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18993 when not using those macros.
18994 * manual/creature.texi: Likewise.
18995 * manual/crypt.texi: Likewise.
18996 * manual/errno.texi: Likewise.
18997 * manual/filesys.texi: Likewise.
18998 * manual/header.texi: Likewise.
18999 * manual/install.texi: Likewise.
19000 * manual/intro.texi: Likewise.
19001 * manual/io.texi: Likewise.
19002 * manual/job.texi: Likewise.
19003 * manual/lang.texi: Likewise.
19004 * manual/libc.texiinfo: Likewise.
19005 * manual/llio.texi: Likewise.
19006 * manual/locale.texi: Likewise.
19007 * manual/maint.texi: Likewise.
19008 * manual/math.texi: Likewise.
19009 * manual/memory.texi: Likewise.
19010 * manual/message.texi: Likewise.
19011 * manual/nss.texi: Likewise.
19012 * manual/pattern.texi: Likewise.
19013 * manual/process.texi: Likewise.
19014 * manual/resource.texi: Likewise.
19015 * manual/search.texi: Likewise.
19016 * manual/setjmp.texi: Likewise.
19017 * manual/signal.texi: Likewise.
19018 * manual/socket.texi: Likewise.
19019 * manual/startup.texi: Likewise.
19020 * manual/stdio.texi: Likewise.
19021 * manual/string.texi: Likewise.
19022 * manual/sysinfo.texi: Likewise.
19023 * manual/syslog.texi: Likewise.
19024 * manual/terminal.texi: Likewise.
19025 * manual/time.texi: Likewise.
19026 * manual/users.texi: Likewise.
19027 * INSTALL: Regenerated.
19028 * NOTES: Regenerated.
19029 * sysdeps/gnu/errlist.c: Regenerated.
19030
19031 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19032
19033 * include/dirent.h: Include <dirstream.h> before
19034 <dirent/dirent.h>.
19035
19036 2012-02-28 David S. Miller <davem@davemloft.net>
19037
19038 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19039 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19040 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19041 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19042
19043 2012-02-27 David S. Miller <davem@davemloft.net>
19044
19045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19047 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19048 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19049
19050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19051 frame pointer instead of stack pointer relative arg slot.
19052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19053 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19054 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19055
19056 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19057
19058 [BZ #3992]
19059 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19060
19061 2012-02-27 David S. Miller <davem@davemloft.net>
19062
19063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19067 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19068 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19069 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19070 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19071
19072 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19073
19074 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19075 later. Allow versions 5-9.
19076 * configure: Regenerated.
19077 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19078 required minimum version and 4.6 as recommended version. Do not
19079 mention bugs in GCC 2.7 and 2.8.
19080 * INSTALL: Regenerated.
19081
19082 2012-02-27 David S. Miller <davem@davemloft.net>
19083
19084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19088 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19089 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19090 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19091 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19092
19093 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19094 manipulate bits before adding and subtracting TWO112[sx].
19095 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19096
19097 2012-02-27 Roland McGrath <roland@hack.frob.com>
19098
19099 [BZ #13775]
19100 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19101 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19102 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19103 being in POSIX, because they are in 1003.1-2008.
19104
19105 * rt/tst-aio.c: Include <fcntl.h>.
19106 * rt/tst-aio7.c: Likewise.
19107 * rt/tst-aio64.c: Likewise.
19108
19109 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19110
19111 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19112
19113 * manual/install.texi (--with-headers): Describe headers as
19114 interface headers, not private headers.
19115 (Specific advice for GNU/Linux systems): Describe use of headers
19116 from "make headers_install", not private headers from older
19117 kernels.
19118 * INSTALL: Regenerated.
19119 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19120 Change to 2.6.19.
19121 * sysdeps/unix/sysv/linux/configure: Regenerated.
19122
19123 * manual/llio.texi (fclean): Remove documentation.
19124
19125 * manual/Makefile (libc-texi-generated): New variable. Include
19126 version.texi.
19127 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19128 $(libc-texi-generated), not duplicated list of files.
19129 (version.texi, stamp-version): New rules.
19130 (realclean): Remove $(libc-texi-generated), not individual files
19131 from that list. Do not remove dir-add.texinfo.
19132 * manual/libc.texinfo: Comment out uses of edition numbers and
19133 references to printed manual. Remove last-updated dates.
19134 (EDITION): Comment out.
19135 (ISBN): Likewise.
19136 (VERSION, UPDATED): Remove.
19137 (version.texi): Include.
19138
19139 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19140
19141 * sysdeps/posix/spawni.c: Include <signal.h>.
19142 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19143 * sysdeps/pthread/aio_fsync.c: Likewise.
19144
19145 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19146
19147 * conform/Makefile (tests): Run only when not cross-compiling and
19148 when fast-check is not defined.
19149
19150 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19151 * conform/data/limits.h-data: Fixes for POSIX2008.
19152 * conform/run-conformtest.sh: Run all tests.
19153 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19154 headers.
19155 * include/bits/dlfcn.h: Likewise.
19156 * include/langinfo.h: Likewise.
19157 * include/monetary.h: Likewise.
19158 * include/sys/poll.h: Likewise.
19159
19160 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19161 for __USE_GNU.
19162 * posix/spawn.h: Define __need_sigset_t.
19163 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19164 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19165 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19166 to get sigevent_t only.
19167 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19168 only for __USE_GNU.
19169 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19170 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19171 process_vm_writev only for __USE_GNU.
19172 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19173
19174 * conform/Makefile: For now ignore errors from run-conformtest.
19175 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19176 POSIX to avoid namespace pollution. Don't prepend headers.
19177 * conform/data/aio.h-data: Fixes for POSIX testing.
19178 * conform/data/fcntl.h-data: Likewise.
19179 * conform/data/glob.h-data: Likewise.
19180 * conform/data/grp.h-data: Likewise.
19181 * conform/data/pthread.h-data: Likewise.
19182 * conform/data/pwd.h-data: Likewise.
19183 * conform/data/signal.h-data: Likewise.
19184 * conform/data/spawn.h-data: Likewise.
19185 * conform/data/stdio.h-data: Likewise.
19186 * conform/data/stdlib.h-data: Likewise.
19187 * conform/data/stropts.h-data: Likewise.
19188 * conform/data/sys/mman.h-data: Likewise.
19189 * conform/data/sys/stat.h-data: Likewise.
19190 * conform/data/sys/types.h-data: Likewise.
19191 * conform/data/sys/wait.h-data: Likewise.
19192 * conform/data/time.h-data: Likewise.
19193 * conform/data/unistd.h-data: Likewise.
19194 * conform/data/utime.h-data: Likewise.
19195
19196 * io/sys/stat.h: fchmod was always in POSIX.
19197 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19198 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19199 * rt/aio.h: Define __need_timespec before including <time.h>.
19200 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19201 struct. Add forward declaration of pthread_attr_t and use it in
19202 sigevent.
19203 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19204 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19205 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19206 always remove CLK_TCK definition.
19207
19208 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19209
19210 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19211
19212 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19213
19214 * conform/run-conformtest.sh: New file.
19215 * conform/Makefile: Run run-conformtest for tests.
19216 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19217 support.
19218
19219 * conform/data/uchar.h-data: New file.
19220 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19221 * conform/data/arpa/inet.h-data: Likewise.
19222 * conform/data/assert.h-data: Likewise.
19223 * conform/data/complex.h-data: Likewise.
19224 * conform/data/cpio.h-data: Likewise.
19225 * conform/data/ctype.h-data: Likewise.
19226 * conform/data/dirent.h-data: Likewise.
19227 * conform/data/dlfcn.h-data: Likewise.
19228 * conform/data/errno.h-data: Likewise.
19229 * conform/data/fcntl.h-data: Likewise.
19230 * conform/data/float.h-data: Likewise.
19231 * conform/data/fmtmsg.h-data: Likewise.
19232 * conform/data/fnmatch.h-data: Likewise.
19233 * conform/data/ftw.h-data: Likewise.
19234 * conform/data/glob.h-data: Likewise.
19235 * conform/data/grp.h-data: Likewise.
19236 * conform/data/iconv.h-data: Likewise.
19237 * conform/data/inttypes.h-data: Likewise.
19238 * conform/data/langinfo.h-data: Likewise.
19239 * conform/data/libgen.h-data: Likewise.
19240 * conform/data/limits.h-data: Likewise.
19241 * conform/data/locale.h-data: Likewise.
19242 * conform/data/math.h-data: Likewise.
19243 * conform/data/monetary.h-data: Likewise.
19244 * conform/data/mqueue.h-data: Likewise.
19245 * conform/data/ndbm.h-data: Likewise.
19246 * conform/data/net/if.h-data: Likewise.
19247 * conform/data/netdb.h-data: Likewise.
19248 * conform/data/netinet/in.h-data: Likewise.
19249 * conform/data/nl_types.h-data: Likewise.
19250 * conform/data/poll.h-data: Likewise.
19251 * conform/data/pthread.h-data: Likewise.
19252 * conform/data/pwd.h-data: Likewise.
19253 * conform/data/regex.h-data: Likewise.
19254 * conform/data/sched.h-data: Likewise.
19255 * conform/data/search.h-data: Likewise.
19256 * conform/data/semaphore.h-data: Likewise.
19257 * conform/data/setjmp.h-data: Likewise.
19258 * conform/data/signal.h-data: Likewise.
19259 * conform/data/spawn.h-data: Likewise.
19260 * conform/data/stdarg.h-data: Likewise.
19261 * conform/data/stdio.h-data: Likewise.
19262 * conform/data/stdlib.h-data: Likewise.
19263 * conform/data/string.h-data: Likewise.
19264 * conform/data/strings.h-data: Likewise.
19265 * conform/data/stropts.h-data: Likewise.
19266 * conform/data/sys/ipc.h-data: Likewise.
19267 * conform/data/sys/mman.h-data: Likewise.
19268 * conform/data/sys/msg.h-data: Likewise.
19269 * conform/data/sys/resource.h-data: Likewise.
19270 * conform/data/sys/select.h-data: Likewise.
19271 * conform/data/sys/sem.h-data: Likewise.
19272 * conform/data/sys/shm.h-data: Likewise.
19273 * conform/data/sys/socket.h-data: Likewise.
19274 * conform/data/sys/stat.h-data: Likewise.
19275 * conform/data/sys/statvfs.h-data: Likewise.
19276 * conform/data/sys/time.h-data: Likewise.
19277 * conform/data/sys/timeb.h-data: Likewise.
19278 * conform/data/sys/times.h-data: Likewise.
19279 * conform/data/sys/types.h-data: Likewise.
19280 * conform/data/sys/uio.h-data: Likewise.
19281 * conform/data/sys/un.h-data: Likewise.
19282 * conform/data/sys/utsname.h-data: Likewise.
19283 * conform/data/sys/wait.h-data: Likewise.
19284 * conform/data/syslog.h-data: Likewise.
19285 * conform/data/tar.h-data: Likewise.
19286 * conform/data/termios.h-data: Likewise.
19287 * conform/data/utime.h-data: Likewise.
19288 * conform/data/utmpx.h-data: Likewise.
19289 * conform/data/varargs.h-data: Likewise.
19290 * conform/data/wchar.h-data: Likewise.
19291 * conform/data/wctype.h-data: Likewise.
19292 * conform/data/wordexp.h-data: Likewise.
19293
19294 * include/stropts.h: New file.
19295 * include/uchar.h: New file.
19296 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19297 * include/assert.h: Likewise.
19298 * include/ctype.h: Likewise.
19299 * include/dirent.h: Likewise.
19300 * include/dlfcn.h: Likewise.
19301 * include/fcntl.h: Likewise.
19302 * include/fnmatch.h: Likewise.
19303 * include/glob.h: Likewise.
19304 * include/grp.h: Likewise.
19305 * include/libio.h: Likewise.
19306 * include/locale.h: Likewise.
19307 * include/math.h: Likewise.
19308 * include/net/if.h: Likewise.
19309 * include/netdb.h: Likewise.
19310 * include/netinet/in.h: Likewise.
19311 * include/pthread.h: Likewise.
19312 * include/pwd.h: Likewise.
19313 * include/regex.h: Likewise.
19314 * include/sched.h: Likewise.
19315 * include/search.h: Likewise.
19316 * include/setjmp.h: Likewise.
19317 * include/signal.h: Likewise.
19318 * include/stdio.h: Likewise.
19319 * include/stdlib.h: Likewise.
19320 * include/string.h: Likewise.
19321 * include/sys/cdefs.h: Likewise.
19322 * include/sys/mman.h: Likewise.
19323 * include/sys/msg.h: Likewise.
19324 * include/sys/resource.h: Likewise.
19325 * include/sys/select.h: Likewise.
19326 * include/sys/socket.h: Likewise.
19327 * include/sys/stat.h: Likewise.
19328 * include/sys/statvfs.h: Likewise.
19329 * include/sys/time.h: Likewise.
19330 * include/sys/times.h: Likewise.
19331 * include/sys/uio.h: Likewise.
19332 * include/sys/utsname.h: Likewise.
19333 * include/sys/wait.h: Likewise.
19334 * include/termios.h: Likewise.
19335 * include/time.h: Likewise.
19336 * include/ulimit.h: Likewise.
19337 * include/unistd.h: Likewise.
19338 * include/utime.h: Likewise.
19339 * include/wchar.h: Likewise.
19340 * include/wctype.h: Likewise.
19341 * include/wordexp.h: Likewise.
19342
19343 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19344
19345 * time/time.h: TIME_UTC must be a macro.
19346 Make timespec_get available for ISO C11 only as well.
19347
19348 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19349
19350 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19351 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19352
19353 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19354
19355 * configure.in: Use -o not -a in test for unsupported multi-arch.
19356
19357 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19358
19359 * manual/texinfo.tex: Update to version 2012-01-19.16.
19360
19361 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19362
19363 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19364
19365 2012-02-24 Roland McGrath <roland@hack.frob.com>
19366
19367 [BZ #13738]
19368 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19369 * manual/fdl-1.3.texi: New file.
19370 * manual/fdl-1.1.texi: File removed.
19371
19372 [BZ #13738]
19373 * manual/libc.texinfo (FDL_VERSION): New @set.
19374 Use it for mention of FDL in cover text.
19375 (Documentation License): Use it in @include file name.
19376
19377 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19378 Roland McGrath <roland@hack.frob.com>
19379
19380 [BZ #5461]
19381 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19382 not LONG_LONG_MAX and LONG_LONG_MIN.
19383 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19384 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19385 name.
19386 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19387
19388 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19389
19390 [BZ #2547]
19391 [BZ #11365]
19392 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19393 manipulate bits before adding and subtracting TWO23[sx].
19394 * math/libm-test.inc (nearbyint_test): Add more tests.
19395
19396 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19397
19398 [BZ #2548]
19399 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19400 bits before adding and subtracting TWO23[sx].
19401 * math/libm-test.inc (rint_test): Add more tests.
19402 (rint_test_tonearest): Likewise.
19403 (rint_test_towardzero): Likewise.
19404 (rint_test_downward): Likewise.
19405 (rint_test_upward: Likewise.
19406
19407 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19408
19409 [BZ #10110]
19410 * include/stdc-predef.h: New file. Extracted from features.h.
19411 * include/features.h: Include stdc-predef.h.
19412 * Makefile (headers): Add stdc-predef.h.
19413 * CONFORMANCE (Compiler limitations): Update.
19414
19415 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19416
19417 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19418
19419 2012-02-21 David S. Miller <davem@davemloft.net>
19420
19421 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19422 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19423
19424 2012-02-20 David S. Miller <davem@davemloft.net>
19425
19426 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19427 using a normal save/restore sequence, rather than allocating a
19428 dummy stack frame just to store a frame pointer and restore.
19429 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19430
19431 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19432
19433 * manual/install.texi: Fix stray word in line-wrapped comment.
19434
19435 2012-02-20 David S. Miller <davem@davemloft.net>
19436
19437 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19438 both binutils and gcc support GOTDATA.
19439
19440 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19441 "rd %pc" in the PIC register setup sequences.
19442
19443 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19444 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19445 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19446 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19447 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19448 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19449 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19450 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19452 (SYSCALL_ERROR_HANDLER): Likewise.
19453 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19454 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19456 (SYSCALL_ERROR_HANDLER): Likewise.
19457
19458 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19459 (HAVE_GCC_GOTDATA): New.
19460 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19461 relocation support in both binutils and gcc.
19462 * sysdeps/sparc/elf/configure: Regenerate.
19463
19464 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19465 * sysdeps/sparc/sparc32/elf/configure: Delete.
19466 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19467 * sysdeps/sparc/sparc64/elf/configure: Delete.
19468 * sysdeps/sparc/elf/configure.in: New file.
19469 * sysdeps/sparc/elf/configure: Generate.
19470
19471 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19472 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19473 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19474 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19475 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19476
19477 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19478
19479 * manual/install.texi: Do not mention specific glibc version
19480 numbers.
19481 * manual/libc.texinfo (VERSION, UPDATED): Update.
19482 (@copying): Use @copyright{} and range of years.
19483
19484 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19485
19486 [BZ #13695]
19487 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19488 [crti.S not in sysdirs] (generated): Do not append.
19489 [crti.S not in sysdirs] (omit-deps): Likewise.
19490 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19491 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19492 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19493 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19494 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19495 Likewise.
19496 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19497 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19498 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19499 * csu/defs.awk: Remove file.
19500 * sysdeps/generic/initfini.c: Likewise.
19501 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19502 variable.
19503 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19504 Likewise.
19505
19506 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19507
19508 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19509 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19510 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19511 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19512 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19513 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19514 <bits/epoll.h>.
19515 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19516 (__EPOLL_PACKED): Define to empty if not defined by
19517 <bits/epoll.h>.
19518 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19520 bits/epoll.h.
19521
19522 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19523
19524 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19525 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19526 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19527 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19528 <bits/timerfd.h>.
19529 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19531 bits/timerfd.h.
19532
19533 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19534
19535 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19536 in C locale.
19537 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19538 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19539 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19541
19542 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19543
19544 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19545 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19546
19547 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19548
19549 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19550 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19551 defined.
19552 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19553 Likewise.
19554 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19555 entry for 2.16.
19556
19557 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19558
19559 * math/w_acos.c: Use non-signaling floating-point comparisons.
19560 * math/w_acosf.c: Likewise.
19561 * math/w_acosh.c: Likewise.
19562 * math/w_acoshf.c: Likewise.
19563 * math/w_acoshl.c: Likewise.
19564 * math/w_acosl.c: Likewise.
19565 * math/w_asin.c: Likewise.
19566 * math/w_asinf.c: Likewise.
19567 * math/w_asinl.c: Likewise.
19568 * math/w_atanh.c: Likewise.
19569 * math/w_atanhf.c: Likewise.
19570 * math/w_atanhl.c: Likewise.
19571 * math/w_exp2.c: Likewise.
19572 * math/w_exp2f.c: Likewise.
19573 * math/w_exp2l.c: Likewise.
19574 * math/w_j0.c: Likewise.
19575 * math/w_j0f.c: Likewise.
19576 * math/w_j0l.c: Likewise.
19577 * math/w_j1.c: Likewise.
19578 * math/w_j1f.c: Likewise.
19579 * math/w_j1l.c: Likewise.
19580 * math/w_jn.c: Likewise.
19581 * math/w_jnf.c: Likewise.
19582 * math/w_log.c: Likewise.
19583 * math/w_log10.c: Likewise.
19584 * math/w_log10f.c: Likewise.
19585 * math/w_log10l.c: Likewise.
19586 * math/w_log2.c: Likewise.
19587 * math/w_log2f.c: Likewise.
19588 * math/w_log2l.c: Likewise.
19589 * math/w_logf.c: Likewise.
19590 * math/w_logl.c: Likewise.
19591 * math/w_sqrt.c: Likewise.
19592 * math/w_sqrtf.c: Likewise.
19593 * math/w_sqrtl.c: Likewise.
19594 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19595 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19596 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19597 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19598 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19599
19600 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19601
19602 [BZ #9739]
19603 * manual/string.texi (strnlen): Use correct parameter name in
19604 equivalent expression.
19605
19606 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19607
19608 [BZ #11174]
19609 * manual/users.texi (seteuid): Consistently use neweuid for
19610 argument name.
19611
19612 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19613
19614 [BZ #13704]
19615 * manual/nss.texi (Services in the NSS configuration): Correct
19616 list of services in example configuration file.
19617
19618 2012-02-19 Nick Bowler <nbowler@draconx.ca>
19619
19620 [BZ #11322]
19621 * manual/arith.texi: Remove statements about negative zero
19622 behaving identically to zero.
19623
19624 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19625
19626 [BZ #5993]
19627 * manual/install.texi: Do not document upgrading from libc5.
19628
19629 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19630
19631 [BZ #4596]
19632 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19633
19634 2012-02-18 David S. Miller <davem@davemloft.net>
19635
19636 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19637 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19638 %o7 across the call.
19639 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19640 instead.
19641 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19642 SETUP_PIC_REG_LEAF.
19643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19644 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19645 * sysdeps/sparc/crtn.S: Likewise.
19646
19647 2012-02-17 Ulrich Drepper <drepper@gmail.com>
19648
19649 * aout/Makefile: Remove.
19650
19651 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19652
19653 [BZ #13058]
19654 * manual/examples/argp-ex1.c (main): Format definition in GNU
19655 style.
19656 * manual/examples/argp-ex2.c (main): Likewise.
19657 * manual/examples/argp-ex3.c (main): Likewise.
19658 * manual/examples/argp-ex4.c (main): Likewise.
19659 * manual/examples/longopt.c (main): Use new-style prototype
19660 definition.
19661 * manual/examples/strncat.c (main): Specify return type and use
19662 (void) for arguments.
19663 * manual/examples/subopt.c (main): Use char **argv argument.
19664
19665 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19666
19667 [BZ #5077]
19668 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19669 rounding modes.
19670
19671 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19672
19673 [BZ #6907]
19674 * manual/string.texi (strchr): Change when strchrnul is
19675 recommended.
19676
19677 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19678
19679 [BZ #174]
19680 * manual/locale.texi (setlocale): Document LOCPATH.
19681
19682 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19683
19684 [BZ #10210]
19685 * manual/process.texi (execle): Move @dots{} before last argument.
19686
19687 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
19688
19689 [BZ #12047]
19690 * manual/charset.texi (Generic Charset Conversion): Fix typo
19691 (LC_TYPE -> LC_CTYPE).
19692
19693 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19694
19695 [BZ #5805]
19696 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19697 (scalbnf): Likewise.
19698 (scalbnl): Likewise.
19699 (scalbln): Likewise.
19700 (scalblnf): Likewise.
19701 (scalblnl): Likewise.
19702 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19703 (vwarnx): Likewise.
19704 (verr): Likewise.
19705 (verrx): Likewise.
19706 * manual/filesys.texi (telldir): Use braces around return type.
19707 * manual/llio.texi (mmap): Add space after comma.
19708 (mmap64): Likewise.
19709 * manual/math.texi (jn): Use @var{} on parameter names.
19710 (jnf): Likewise.
19711 (jnl): Likewise.
19712 (yn): Likewise.
19713 (ynf): Likewise.
19714 (ynl): Likewise.
19715 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19716 line.
19717 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19718 "...".
19719 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19720 (sched_get_priority_max): Likewise.
19721 * manual/signal.texi (sigvec): Add space after comma.
19722 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19723 names.
19724 (if_indextoname): Likewise.
19725 (if_freenameindex): Likewise.
19726 (sendto): Use ',' instead of '.' in prototype.
19727 * manual/startup.texi (syscall): Use @dots{} instead of literal
19728 "...".
19729 * manual/stdio.texi (__fpending): Separate initial words of
19730 paragraph from @deftypefun line.
19731 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19732 "...".
19733 (vsyslog): Use @var{} on parameter names.
19734 * manual/terminal.texi (stty): Use @var{} on parameter names.
19735 * manual/users.texi (getutmp): Use @var{} on parameter names.
19736 (getutmpx): Likewise.
19737
19738 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19739
19740 [BZ #6884]
19741 * manual/stdio.texi (fopen): Fix typos in description of
19742 ",ccs=STRING".
19743
19744 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19745
19746 [BZ #4026]
19747 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19748 get clock_id definition.
19749
19750 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19751
19752 [BZ #4822]
19753 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19754 (madvise): Cast every argument to void on its own.
19755
19756 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19757
19758 [BZ #9902]
19759 * manual/startup.texi (Exit Status): Fix typo.
19760
19761 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19762
19763 [BZ #10140]
19764 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19765 * manual/examples/argp-ex2.c: Likewise.
19766 * manual/examples/argp-ex3.c: Likewise.
19767
19768 2012-02-16 Richard Henderson <rth@redhat.com>
19769
19770 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19771 * sysdeps/s390/s390-32/initfini.c: Remove.
19772 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19773 * sysdeps/s390/s390-64/initfini.c: Remove.
19774
19775 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19776
19777 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19778 compiler output for sysdeps/generic/initfini.c.
19779 * sysdeps/sh/elf/initfini.c: Remove file.
19780
19781 2012-02-16 David S. Miller <davem@davemloft.net>
19782
19783 [BZ #11494]
19784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19785
19786 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19787 * sysdeps/sparc/crti.S: New file.
19788 * sysdeps/sparc/crtn.S: New file.
19789 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19790 * sysdeps/sparc/sparc64/Makefile: Likewise.
19791
19792 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19793
19794 [BZ #3335]
19795 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19796
19797 2012-02-15 Roland McGrath <roland@hack.frob.com>
19798
19799 [BZ #4822]
19800 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19801
19802 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19803 (write, read, close): Likewise.
19804 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19805
19806 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19807
19808 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19809 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19810 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19811 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19812 <bits/signalfd.h>.
19813 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19815 bits/signalfd.h.
19816
19817 2012-02-14 Marek Polacek <polacek@redhat.com>
19818
19819 * sysdeps/x86_64/crti.S: New file.
19820 * sysdeps/x86_64/crtn.S: New file.
19821 * sysdeps/x86_64/elf/initfini.c: Remove file.
19822
19823 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19824
19825 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19826 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19827 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19828 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19829 <bits/inotify.h>.
19830 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19832 bits/inotify.h.
19833
19834 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19835
19836 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19837 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19838 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19839 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19840 <bits/eventfd.h>.
19841 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19843 bits/eventfd.h.
19844
19845 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19846
19847 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19848 __feraiseexcept instead of feraiseexcept.
19849
19850 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19851 nanosleep invocations.
19852 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19853 strings, and add error checking for a nanosleep invocations.
19854
19855 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19856
19857 Replace FSF snail mail address with URLs, as per GNU coding standards.
19858 Most of the snail mail addresses were wrong anyway, and omitting
19859 them makes the source code easier to maintain. Almost all of the
19860 changes are to license notices and to locale LC_IDENTIFICATION
19861 addresses, except for this one:
19862 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19863 not its snail mail address.
19864
19865 2012-02-09 Richard Henderson <rth@twiddle.net>
19866
19867 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19868 of kernel-features.h.
19869
19870 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19871
19872 2012-02-08 Marek Polacek <polacek@redhat.com>
19873
19874 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19875 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19876 * sysdeps/gnu/_G_config.h: Likewise.
19877 * sysdeps/generic/_G_config.h: Likewise.
19878
19879 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19880
19881 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19882 tests.
19883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19884
19885 * sysdeps/powerpc/powerpc32/crti.S: New file.
19886 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19887 * sysdeps/powerpc/powerpc64/crti.S: New file.
19888 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19889
19890 * Makeconfig (have-initfini): Don't set.
19891 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19892 * configure.in (nopic_initfini): Don't substitute.
19893 * config.h.in (HAVE_INITFINI): Don't #undef.
19894 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19895 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19896
19897 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19898
19899 Support crti.S and crtn.S provided directly by architectures.
19900 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19901 [crti.S in sysdirs] (omit-deps): Likewise.
19902 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19903 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19904 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19905 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19906 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19907 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19908 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19909 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19910 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19911 compiler output for sysdeps/generic/initfini.c.
19912 * sysdeps/i386/elf/Makefile: Remove file.
19913 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19914
19915 2012-02-07 Marek Polacek <polacek@redhat.com>
19916
19917 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19918 * sysdeps/gnu/_G_config.h: Likewise.
19919 * sysdeps/mach/hurd/_G_config.h: Likewise.
19920
19921 2012-02-07 Marek Polacek <polacek@redhat.com>
19922
19923 * math/Makefile (tests): Add tst-CMPLX2.
19924 * math/tst-CMPLX2.c: New file.
19925
19926 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19927
19928 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19929
19930 * math/libm-test.inc (jn_test): Add missing L suffix.
19931
19932 2012-02-06 Marek Polacek <polacek@redhat.com>
19933
19934 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19935 * sysdeps/i386/fpu/e_powf.S: Likewise.
19936 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19937 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19938 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19939 * sysdeps/i386/fpu/e_pow.S: Likewise.
19940 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19941 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19942 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19943 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19944 * sysdeps/i386/fpu/e_log2.S: Likewise.
19945 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19946 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19947 * sysdeps/i386/fpu/e_powl.S: Likewise.
19948 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19949 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19950 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19951 * sysdeps/i386/fpu/e_logl.S: Likewise.
19952 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19953 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19954 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19955 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19956 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19957 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19958 * sysdeps/i386/fpu/e_log.S: Likewise.
19959 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19960 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19961 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19962 * sysdeps/i386/fpu/e_logf.S: Likewise.
19963 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19964 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19965 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19966 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19967 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19968 * sysdeps/i386/fpu/e_log10.S: Likewise.
19969 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19970 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19971 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19972 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19973 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19974 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19975 * sysdeps/i386/asm-syntax.h: Likewise.
19976 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19977 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19978 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19979 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19980 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19981 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19982 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19983 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19984 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19985 * sysdeps/powerpc/sysdep.h: Likewise.
19986 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19987 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19988
19989 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19990
19991 [BZ #411]
19992 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19993
19994 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19995
19996 * sysdeps/i386/sysdep.h: Include <features.h>.
19997 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19998 version.
19999
20000 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20001
20002 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20003 Define.
20004 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20005 LOAD_PIC_REG_STR.
20006
20007 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20008
20009 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20010 (SETUP_PIC_REG): Use GET_PC_THUNK.
20011 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20012 macro.
20013
20014 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20015
20016 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20017 for non-PIC compilation.
20018 (SETUP_PIC_REG): Add .p2align directive.
20019 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20020 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20021 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20022 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20023 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20024 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20025 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20026 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20027 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20028 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20029 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20030 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20031 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20032 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20033 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20034 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20035 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20036 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20037 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20038 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20039 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20040 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20041 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20042 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20043 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20045 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20046 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20047 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20048 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20049 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20050 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20051 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20052 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20053 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20054 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20055 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20056 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20057 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20058 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20059 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20060
20061 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20062
20063 * math/tst-CMPLX.c: Include <stdio.h>.
20064
20065 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20066
20067 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20068 float.
20069 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20070 * sysdeps/sparc/bits/mathdef.h: Likewise.
20071
20072 2012-01-31 Marek Polacek <polacek@redhat.com>
20073
20074 * libio/libio.h: Don't define _PARAMS.
20075 * locale/programs/config.h: Don't define PARAMS.
20076 * stdlib/strtol_l.c: Likewise.
20077 (__strtol_l): Remove PARAMS from the prototype.
20078
20079 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20080
20081 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20082 names. Just use the correct names. Remove unnecessary wrapper
20083 functions.
20084 * malloc/arena.c: Likewise.
20085 * malloc/hooks.c: Likewise.
20086
20087 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20088 ARENA_TEST says not to. Simplify test for creation of a new arena.
20089 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20090
20091 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20092
20093 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20094 into tail calls.
20095 (update_get_addr): New function.
20096 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20097 GET_ADDR_MODULE parameter.
20098
20099 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20100
20101 * crypt/cert.c: Remove __STDC__ conditionals.
20102 * crypt/crypt-entry.c: Likewise.
20103 * crypt/crypt_util.c: Likewise.
20104 * libio/filedoalloc.c: Likewise.
20105 * libio/fileops.c: Likewise.
20106 * libio/genops.c: Likewise.
20107 * libio/iofclose.c: Likewise.
20108 * libio/iofdopen.c: Likewise.
20109 * libio/iofopen.c: Likewise.
20110 * libio/iofopen64.c: Likewise.
20111 * libio/iogetdelim.c: Likewise.
20112 * libio/iopopen.c: Likewise.
20113 * libio/obprintf.c: Likewise.
20114 * libio/oldfileops.c: Likewise.
20115 * libio/oldiofclose.c: Likewise.
20116 * libio/oldiofdopen.c: Likewise.
20117 * libio/oldiofopen.c: Likewise.
20118 * libio/oldiopopen.c: Likewise.
20119 * libio/wfiledoalloc.c: Likewise.
20120 * libio/wgenops.c: Likewise.
20121 * locale/programs/xmalloc.c: Likewise.
20122 * misc/syslog.c: Likewise.
20123 * stdio-common/xbug.c: Likewise.
20124 * string/memchr.c: Likewise.
20125 * string/memcmp.c: Likewise.
20126 * string/memrchr.c: Likewise.
20127 * string/rawmemchr.c: Likewise.
20128 * sysdeps/posix/getcwd.c: Likewise.
20129 * time/strftime_l.c: Likewise.
20130
20131 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20132
20133 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20134 * config.make.in (config-cflags-sse2avx): Define.
20135 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20136 Fix typo.
20137
20138 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20139
20140 * scripts/config.guess: Update from upstream config git repository.
20141 * scripts/config.sub: Likewise.
20142
20143 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20144
20145 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20146 (EM_NUM): Update.
20147 (R_TILEPRO_*, R_TILEGX_*): New macros.
20148
20149 * scripts/firstversions.awk: Fix bug in version range handling.
20150
20151 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20152
20153 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20154
20155 * include/sys/epoll.h: New file.
20156 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20157 libc_hidden_def.
20158
20159 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20160
20161 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20162 Avoid unnecessary __WORDSIZE == 64 test.
20163 (fmaxf): Use VEX format if possible.
20164 (fmax): Likewise.
20165 (fminf): Likewise.
20166 (fmin): Likewise.
20167
20168 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20169 * math/math_private.h: Remove libc_fegetround* and
20170 libc_fesetround*.
20171 * sysdeps/i386/configure.in: Check for -msse2avx.
20172 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20173 also if SSE2AVX is defined.
20174 Remove libc_fegetround* and libc_fesetround*.
20175 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20176 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20177 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20178 of HAS_YMM_USABLE.
20179 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20180 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20181 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20182 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20183 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20184
20185 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20186
20187 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20188
20189 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20190 size is not set.
20191 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20192
20193 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20194
20195 [BZ #13618]
20196 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20197 relocation.
20198 * Makeconfig (libm): Define.
20199 * elf/Makefile: Add rules to build and run tst-relsort1.
20200 * elf/tst-relsort1.c: New file.
20201 * elf/tst-relsort1mod1.c: New file.
20202 * elf/tst-relsort1mod2.c: New file.
20203
20204 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20205
20206 * math/s_ldexp.c: Remove __STDC__ conditionals.
20207 * math/s_ldexpf.c: Likewise.
20208 * math/s_ldexpl.c: Likewise.
20209 * math/s_nextafter.c: Likewise.
20210 * math/s_nexttowardf.c: Likewise.
20211 * math/s_significand.c: Likewise.
20212 * math/s_significandf.c: Likewise.
20213 * math/s_significandl.c: Likewise.
20214 * math/w_jnl.c: Likewise.
20215 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20216 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20217 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20218 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20219 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20220 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20221 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20222 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20223 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20224 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20225 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20226 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20227 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20228 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20229 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20230 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20231 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20232 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20234 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20235 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20236 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20237 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20238 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20239 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20240 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20241 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20242 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20243 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20244 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20245 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20246 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20247 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20248 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20249 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20250 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20251 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20252 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20253 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20254 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20255 * sysdeps/ieee754/k_standard.c: Likewise.
20256 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20257 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20258 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20259 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20260 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20261 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20262 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20263 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20264 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20265 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20266 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20267 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20268 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20269 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20270 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20271 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20272 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20273 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20274 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20275 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20276 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20277 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20278 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20279 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20280 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20281 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20282 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20283 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20284 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20285 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20286 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20287 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20288 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20289 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20290 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20291 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20292 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20293 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20294 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20295 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20296 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20297 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20298 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20299 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20300 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20301 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20302 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20303 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20304 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20305 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20306 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20307 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20308 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20309 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20310 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20311 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20312 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20313 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20314 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20315 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20316 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20317 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20318 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20319 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20320 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20321 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20322 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20323 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20324 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20325 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20326 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20327 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20328 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20329 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20330 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20331 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20332 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20333 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20334 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20335 * sysdeps/ieee754/s_matherr.c: Likewise.
20336 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20337 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20338 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20339 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20340
20341 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20342
20343 * crypt/md5.h: Remove __STDC__ conditionals.
20344 * libio/libioP.h: Likewise.
20345 * locale/programs/config.h: Likewise.
20346 * sysdeps/generic/sysdep.h: Likewise.
20347 * sysdeps/i386/asm-syntax.h: Likewise.
20348 * sysdeps/s390/asm-syntax.h: Likewise.
20349 * sysdeps/unix/sysdep.h: Likewise.
20350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20352
20353 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20354
20355 * libio/libio.h: Remove __STDC__ conditionals.
20356 * malloc/obstack.h: Likewise.
20357 * math/complex.h: Likewise.
20358 * math/math.h: Likewise.
20359 * sysdeps/generic/_G_config.h: Likewise.
20360 * sysdeps/gnu/_G_config.h: Likewise.
20361 * sysdeps/mach/hurd/_G_config.h: Likewise.
20362 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20363 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20364 * sysdeps/sparc/bits/mathdef.h: Likewise.
20365
20366 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20367
20368 [BZ #13583]
20369 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20370 Clean up HAS_* macros.
20371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20372 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20373 possible.
20374 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20375 HAS_AVX.
20376 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20377 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20378 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20379 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20380 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20381
20382 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20383
20384 * elf/tst-unique3.cc (gets): Remove declaration.
20385 * elf/tst-unique3lib.cc (gets): Likewise.
20386 * elf/tst-unique3lib2.cc (gets): Likewise.
20387 * elf/tst-unique4.cc (gets): Likewise.
20388
20389 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20390
20391 * include/stdio.h: Add C++ protection. Add gets declarations and
20392 definitions.
20393 * debug/tst-chk1.c: Don't declare gets here.
20394 * stdio-common/tst-gets.c: Likewise.
20395
20396 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20397
20398 * posix/glob: Remove directory.
20399
20400 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20401
20402 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20403
20404 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20405
20406 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20407 of the non-standard EPFNOSUPPORT.
20408
20409 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20410
20411 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20412 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20413 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20414
20415 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20416
20417 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20418
20419 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20420
20421 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20422 transient errors.
20423 * nscd/grpcache.c (cache_addgr): Likewise.
20424 * nscd/hstcache.c (cache_addhst): Likewise.
20425 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20426 * nscd/pwdcache.c (cache_addpw): Likewise.
20427 * nscd/servicescache.c (cache_addserv): Likewise.
20428
20429 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20430
20431 * malloc/malloc.c: Various cleanups.
20432 * malloc/hooks.c: Likewise.
20433
20434 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20435 * stdlib/bug-fmtmsg1.c: New file.
20436
20437 * stdlib/fmtmsg.c (init): Add missing unlock.
20438 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20439
20440 2012-01-12 Marek Polacek <polacek@redhat.com>
20441
20442 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20443 and _GNU_SOURCE.
20444
20445 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20446
20447 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20448 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20449 macro to ensure uniqueness of label name.
20450 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20451 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20452
20453 2012-01-11 Ulrich Drepper <drepper@gmail.com>
20454
20455 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20456
20457 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20458 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20459 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20460 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20461
20462 2012-01-10 Ulrich Drepper <drepper@gmail.com>
20463
20464 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20465
20466 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20467 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20468 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20469
20470 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20471
20472 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20473 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20474 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20475 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20476
20477 * math/bits/math-finite.h: Add ldexp support.
20478
20479 2012-01-10 Marek Polacek <polacek@redhat.com>
20480
20481 * locale/programs/localedef.h (show_archive_content): Add noreturn
20482 attribute.
20483
20484 2012-01-09 Ulrich Drepper <drepper@gmail.com>
20485
20486 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20487
20488 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20489
20490 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20491
20492 * io/Makefile (headers): Add bits/poll2.h.
20493
20494 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20495
20496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20497 typo #include statement.
20498
20499 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20500
20501 * include/sys/cdefs.h: Define __attribute_alloc_size.
20502 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20503 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20504 * elf/pldd.c: Likewise.
20505 * iconv/iconv_charmap.c: Likewise.
20506 * iconv/iconvconfig.c: Likewise.
20507 * iconv/strtab.c: Likewise.
20508 * locale/programs/locale.c: Likewise.
20509 * locale/programs/localedef.h: Likewise.
20510 * locale/programs/simple-hash.c: Likewise.
20511 * nscd/nscd.h: Likewise.
20512 * nss/makedb.c: Likewise.
20513 * sysdeps/generic/ldconfig.h: Likewise.
20514 * locale/programs/localedef.c: Remove xmalloc prototype.
20515 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20516
20517 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20518
20519 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20520 appropriate.
20521
20522 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20523
20524 * math/Makefile (tests): Add tst-CMPLX.
20525 * math/tst-CMPLX.c: New file.
20526
20527 * math/complex.h (CMPLXL): Fix typo.
20528
20529 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20530 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20531 GLIBC_2.16.
20532 * debug/tst-chk1.c: Add poll and ppoll tests.
20533 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20534 * include/sys/poll.h: Add hidden proto for ppoll.
20535 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20536 * sysdeps/mach/hurd/ppoll.c: Likewise.
20537 * io/ppoll.c: Likewise.
20538 * debug/poll_chk.c: New file.
20539 * debug/ppoll_chk.c: New file.
20540 * include/bits/poll2.h: New file.
20541 * io/bits/poll2.h: New file.
20542
20543 [BZ #1350]
20544 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20545
20546 * configure.in: static is always set to yes. Remove.
20547 * config.make.in: Don't set build-static.
20548 * Makeconfig: Remove use of build-static.
20549 * dlfcn/Makefile: Likewise.
20550 * elf/Makefile: Likewise.
20551 * math/Makefile: Likewise.
20552 * misc/Makefile: Likewise.
20553 * nptl/Makefile: Likewise.
20554 * sysdeps/mach/hurd/Makefile: Likewise.
20555
20556 * configure.in: PWD_P is not used anymore.
20557 * config.make.in: Remove PWD_P entry.
20558
20559 * configure.in: Remove last remnants of RANLIB.
20560 No need to check for signed size_t anymore.
20561 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20562 and IA-64.
20563 Remove __builtin_expect test because we require at least gcc 3.4.
20564 * aclocal.m4: Likewise.
20565
20566 * wcsmbs/mbrtoc16.c: Implement using towc function.
20567 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20568 * wcsmbs/wcsmbsload.c: Likewise.
20569 * iconv/gconv_simple.c: Likewise.
20570 * iconv/gconv_int.h: Likewise.
20571 * iconv/gconv_builtin.h: Likewise.
20572 * iconv/iconv_prog.c: Remove CHAR16 handling.
20573
20574 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20575
20576 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20577
20578 * configure.in: Remove --with-elf and --enable-bounded options.
20579 Dont set base_machine for ia64. More non-ELF conditions removed.
20580 Remove testing and setting of leading underscore information.
20581 * config.make.in (build-bounded): Set to no.
20582 * config.h.in: Remove NO_UNDERSCORES entry.
20583 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20584 them.
20585 * csu/start.c: Remove !NO_UNDERSCORE code.
20586 * locale/localeinfo.h: Likewise.
20587 * sysdeps/generic/machine-gmon.h: Likewise.
20588 * sysdeps/generic/sysdep.h: Likewise.
20589 * sysdeps/i386/sysdep.h: Likewise.
20590 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20591 * sysdeps/mach/sysdep.h: Likewise.
20592 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20593 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20594 * sysdeps/sh/sysdep.h: Likewise.
20595 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20596 * sysdeps/unix/i386/sysdep.S: Likewise.
20597 * sysdeps/unix/sparc/start.c: Likewise.
20598 * sysdeps/unix/sparc/sysdep.S: Likewise.
20599 * sysdeps/unix/sparc/sysdep.h: Likewise.
20600 * sysdeps/unix/start.c: Likewise.
20601 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20602 * sysdeps/x86_64/sysdep.h: Likewise.
20603
20604 2012-01-07 Ulrich Drepper <drepper@gmail.com>
20605
20606 [BZ #13553]
20607 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20608 for non-gcc.
20609 * argp/argp-fmtstream.h: Use const instead __const.
20610 * argp/argp.h: Likewise.
20611 * assert/assert.h: Likewise.
20612 * bits/fenv.h: Likewise.
20613 * bits/sched.h: Likewise.
20614 * bits/sigset.h: Likewise.
20615 * bits/sigthread.h: Likewise.
20616 * catgets/nl_types.h: Likewise.
20617 * conform/data/pthread.h-data: Likewise.
20618 * crypt/crypt-private.h: Likewise.
20619 * crypt/crypt.h: Likewise.
20620 * crypt/crypt_util.c: Likewise.
20621 * ctype/ctype.h: Likewise.
20622 * debug/execinfo.h: Likewise.
20623 * debug/mbsnrtowcs_chk.c: Likewise.
20624 * debug/mbsrtowcs_chk.c: Likewise.
20625 * debug/wcsnrtombs_chk.c: Likewise.
20626 * debug/wcsrtombs_chk.c: Likewise.
20627 * debug/wcstombs_chk.c: Likewise.
20628 * dirent/dirent.h: Likewise.
20629 * dlfcn/dlfcn.h: Likewise.
20630 * elf/neededtest4.c: Likewise.
20631 * grp/grp.h: Likewise.
20632 * gshadow/gshadow.h: Likewise.
20633 * iconv/gconv.h: Likewise.
20634 * iconv/gconv_int.h: Likewise.
20635 * iconv/gconv_simple.c: Likewise.
20636 * iconv/iconv.h: Likewise.
20637 * iconv/loop.c: Likewise.
20638 * iconv/skeleton.c: Likewise.
20639 * include/aio.h: Likewise.
20640 * include/aliases.h: Likewise.
20641 * include/argz.h: Likewise.
20642 * include/arpa/inet.h: Likewise.
20643 * include/assert.h: Likewise.
20644 * include/dirent.h: Likewise.
20645 * include/dlfcn.h: Likewise.
20646 * include/execinfo.h: Likewise.
20647 * include/fcntl.h: Likewise.
20648 * include/fenv.h: Likewise.
20649 * include/glob.h: Likewise.
20650 * include/grp.h: Likewise.
20651 * include/libintl.h: Likewise.
20652 * include/mntent.h: Likewise.
20653 * include/netdb.h: Likewise.
20654 * include/pwd.h: Likewise.
20655 * include/rpc/netdb.h: Likewise.
20656 * include/sched.h: Likewise.
20657 * include/search.h: Likewise.
20658 * include/shadow.h: Likewise.
20659 * include/signal.h: Likewise.
20660 * include/stdio.h: Likewise.
20661 * include/stdlib.h: Likewise.
20662 * include/string.h: Likewise.
20663 * include/sys/socket.h: Likewise.
20664 * include/sys/stat.h: Likewise.
20665 * include/sys/statfs.h: Likewise.
20666 * include/sys/statvfs.h: Likewise.
20667 * include/sys/syslog.h: Likewise.
20668 * include/sys/time.h: Likewise.
20669 * include/sys/uio.h: Likewise.
20670 * include/time.h: Likewise.
20671 * include/unistd.h: Likewise.
20672 * include/utmp.h: Likewise.
20673 * include/wchar.h: Likewise.
20674 * include/wctype.h: Likewise.
20675 * inet/aliases.h: Likewise.
20676 * inet/arpa/inet.h: Likewise.
20677 * inet/netinet/ether.h: Likewise.
20678 * inet/netinet/in.h: Likewise.
20679 * intl/libintl.h: Likewise.
20680 * io/bits/fcntl2.h: Likewise.
20681 * io/fcntl.h: Likewise.
20682 * io/ftw.h: Likewise.
20683 * io/sys/poll.h: Likewise.
20684 * io/sys/stat.h: Likewise.
20685 * io/sys/statfs.h: Likewise.
20686 * io/sys/statvfs.h: Likewise.
20687 * io/utime.h: Likewise.
20688 * libio/bits/stdio.h: Likewise.
20689 * libio/bits/stdio2.h: Likewise.
20690 * libio/libio.h: Likewise.
20691 * libio/libioP.h: Likewise.
20692 * libio/stdio.h: Likewise.
20693 * locale/lc-ctype.c: Likewise.
20694 * locale/locale.h: Likewise.
20695 * login/utmp.h: Likewise.
20696 * malloc/arena.c: Likewise.
20697 * malloc/malloc.c: Likewise.
20698 * malloc/malloc.h: Likewise.
20699 * malloc/mcheck.c: Likewise.
20700 * malloc/mtrace.c: Likewise.
20701 * math/bits/mathcalls.h: Likewise.
20702 * math/fenv.h: Likewise.
20703 * math/math_private.h: Likewise.
20704 * misc/bits/error.h: Likewise.
20705 * misc/bits/syslog.h: Likewise.
20706 * misc/err.h: Likewise.
20707 * misc/error.h: Likewise.
20708 * misc/fstab.h: Likewise.
20709 * misc/mntent.h: Likewise.
20710 * misc/regexp.h: Likewise.
20711 * misc/search.h: Likewise.
20712 * misc/sgtty.h: Likewise.
20713 * misc/sys/mman.h: Likewise.
20714 * misc/sys/syslog.h: Likewise.
20715 * misc/sys/uio.h: Likewise.
20716 * misc/sys/xattr.h: Likewise.
20717 * misc/ttyent.h: Likewise.
20718 * nis/rpcsvc/ypclnt.h: Likewise.
20719 * nss/nss.h: Likewise.
20720 * posix/bits/unistd.h: Likewise.
20721 * posix/fnmatch.h: Likewise.
20722 * posix/glob.h: Likewise.
20723 * posix/sched.h: Likewise.
20724 * posix/spawn.h: Likewise.
20725 * posix/sys/wait.h: Likewise.
20726 * posix/unistd.h: Likewise.
20727 * posix/wordexp.h: Likewise.
20728 * pwd/pwd.h: Likewise.
20729 * resolv/netdb.h: Likewise.
20730 * resource/sys/resource.h: Likewise.
20731 * rt/aio.h: Likewise.
20732 * rt/bits/mqueue2.h: Likewise.
20733 * rt/mqueue.h: Likewise.
20734 * shadow/shadow.h: Likewise.
20735 * signal/signal.h: Likewise.
20736 * socket/send.c: Likewise.
20737 * socket/sendto.c: Likewise.
20738 * socket/sys/socket.h: Likewise.
20739 * stdio-common/printf.h: Likewise.
20740 * stdlib/bits/stdlib.h: Likewise.
20741 * stdlib/fmtmsg.h: Likewise.
20742 * stdlib/monetary.h: Likewise.
20743 * stdlib/stdlib.h: Likewise.
20744 * stdlib/ucontext.h: Likewise.
20745 * streams/stropts.h: Likewise.
20746 * string/argz.h: Likewise.
20747 * string/bits/string2.h: Likewise.
20748 * string/string.h: Likewise.
20749 * string/strings.h: Likewise.
20750 * sunrpc/rpc/auth.h: Likewise.
20751 * sunrpc/rpc/auth_des.h: Likewise.
20752 * sunrpc/rpc/clnt.h: Likewise.
20753 * sunrpc/rpc/netdb.h: Likewise.
20754 * sunrpc/rpc/pmap_clnt.h: Likewise.
20755 * sunrpc/rpc/xdr.h: Likewise.
20756 * sysdeps/generic/inttypes.h: Likewise.
20757 * sysdeps/generic/net/if.h: Likewise.
20758 * sysdeps/generic/sys/swap.h: Likewise.
20759 * sysdeps/gnu/net/if.h: Likewise.
20760 * sysdeps/gnu/utmpx.h: Likewise.
20761 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20762 * sysdeps/i386/i486/bits/string.h: Likewise.
20763 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20764 * sysdeps/s390/bits/string.h: Likewise.
20765 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20766 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20767 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20768 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20769 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20770 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20771 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20772 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20773 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20774 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20775 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20776 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20777 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20778 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20779 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20780 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20781 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20783 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20784 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20786 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20787 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20788 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20789 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20790 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20791 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20792 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20793 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20794 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20795 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20796 * sysvipc/sys/ipc.h: Likewise.
20797 * sysvipc/sys/msg.h: Likewise.
20798 * sysvipc/sys/sem.h: Likewise.
20799 * sysvipc/sys/shm.h: Likewise.
20800 * termios/termios.h: Likewise.
20801 * time/sys/time.h: Likewise.
20802 * time/time.h: Likewise.
20803 * wcsmbs/bits/wchar2.h: Likewise.
20804 * wcsmbs/uchar.h: Likewise.
20805 * wcsmbs/wchar.h: Likewise.
20806 * wctype/wctype.h: Likewise.
20807
20808 [BZ #13551]
20809 * Makeconfig: Remove all but ELF support including AIX support.
20810 * Makerules: Likewise.
20811 * config.h.in: Likewise.
20812 * config.make.in: Likewise.
20813 * configure: Likewise.
20814 * configure.in: Likewise.
20815 * csu/Makefile: Likewise.
20816 * csu/version.c: Likewise.
20817 * debug/Makefile: Likewise.
20818 * dlfcn/Makefile: Likewise.
20819 * elf/Makefile: Likewise.
20820 * extra-lib.mk: Likewise.
20821 * iconv/Makefile: Likewise.
20822 * include/libc-symbols.h: Likewise.
20823 * include/shlib-compat.h: Likewise.
20824 * resolv/Makefile: Likewise.
20825 * resolv/res_libc.c: Likewise.
20826 * rt/Makefile: Likewise.
20827 * sysdeps/i386/asm-syntax.h: Likewise.
20828 * sysdeps/i386/sysdep.h: Likewise.
20829 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20830 * sysdeps/mach/sysdep.h: Likewise.
20831 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20832 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20833 * sysdeps/s390/asm-syntax.h: Likewise.
20834 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20835 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20836 * sysdeps/sh/sysdep.h: Likewise.
20837 * sysdeps/unix/sparc/sysdep.h: Likewise.
20838 * sysdeps/wordsize-32/divdi3.c: Likewise.
20839 * sysdeps/x86_64/sysdep.h: Likewise.
20840
20841 * argp/Versions: Remove _argp_unlock_xxx.
20842
20843 [BZ #13559]
20844 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20845 * abilist/libBrokenLocale.abilist: Likewise.
20846 * abilist/libanl.abilist: Likewise.
20847 * abilist/libc.abilist: Likewise.
20848 * abilist/libcrypt.abilist: Likewise.
20849 * abilist/libdl.abilist: Likewise.
20850 * abilist/libm.abilist: Likewise.
20851 * abilist/libnsl.abilist: Likewise.
20852 * abilist/libpthread.abilist: Likewise.
20853 * abilist/libresolv.abilist: Likewise.
20854 * abilist/librt.abilist: Likewise.
20855 * abilist/libthread_db.abilist: Likewise.
20856 * abilist/libutil.abilist: Likewise.
20857 * abilist/libnss_db.abilist: New file.
20858
20859 * scripts/abilist.awk: Add support for indirect functions.
20860
20861 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20862
20863 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20864
20865 * shlib-versions: Remove entries for ports architectures.
20866
20867 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20868 files in ports.
20869 * elf/stackguard-macros.h: Remove support for IA-64.
20870 * elf/tst-auditmod1.c: Likewise.
20871 * sysdeps/generic/ldsodefs.h: Likewise.
20872
20873 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20874 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20875 configure files.
20876
20877 [BZ #13552]
20878 * configure.in: Remove --enable-omitfp support.
20879 * FAQ.in: Adjust.
20880 * config.make.in: Likewise.
20881 * Makeconfig: Likewise.
20882 * manual/install.texi: Likewise.
20883
20884 In case anyone cares, the IA-64 architecture could move to ports.
20885 * sysdeps/ia64/*: Removed.
20886 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20887 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20888
20889 [BZ #13555]
20890 * configure.in: Remove entries for unsupported architectures.
20891
20892 [BZ #13533]
20893 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20894 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20895 routines.
20896 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20897 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20898 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20899 fall back to using wcrtomb.
20900 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20901 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20902 renaming.
20903 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20904 * wcsmbs/tst-c16c32-1.c: New file.
20905
20906 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20907 local variable.
20908
20909 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20910
20911 * elf/tst-unique3.cc: Add explicit declaration of gets.
20912 * elf/tst-unique3lib.cc: Likewise.
20913 * elf/tst-unique3lib2.cc: Likewise.
20914 * elf/tst-unique4.cc: Likewise.
20915
20916 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20917
20918 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20919
20920 [BZ #13566]
20921 * assert/assert.h (static_assert): Don't define for C++.
20922 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20923 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20924
20925 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20926
20927 * iconv/loop.c (single loop): Fix assertion in storing of
20928 remaining bytes.
20929
20930 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20931
20932 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20933
20934 * posix/getconf.c: Update copyright year.
20935 * nss/getent.c: Likewise.
20936 * nss/makedb.c: Likewise.
20937 * iconv/iconvconfig.c: Likewise.
20938 * iconv/iconv_prog.c: Likewise.
20939 * elf/ldconfig.c: Likewise.
20940 * elf/pldd.c: Likewise.
20941 * elf/sotruss.ksh: Likewise.
20942 * catgets/gencat.c: Likewise.
20943 * csu/version.c: Likewise.
20944 * elf/ldd.bash.in: Likewise.
20945 * elf/sprof.c (print_version): Likewise.
20946 * locale/programs/locale.c: Likewise.
20947 * locale/programs/localedef.c: Likewise.
20948 * login/programs/pt_chown.c: Likewise.
20949 * nscd/nscd.c (print_version): Likewise.
20950 * debug/xtrace.sh: Likewise.
20951 * malloc/memusage.sh: Likewise.
20952 * malloc/mtrace.pl: Likewise.
20953 * debug/catchsegv.sh: Likewise.
20954
20955 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20956
20957 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20958 pure attribute.
20959
20960 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20961
20962 [BZ #13533]
20963 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20964 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20965 transformations.
20966 * iconv/gconv_int.h: Likewise.
20967 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20968 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20969 from libc for GLIBC_2.16.
20970 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20971 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20972 * wcsmbs/uchar.h: Really define mbstate_t.
20973 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20974 * wcsmbs/c16rtomb.c: New file.
20975 * wcsmbs/mbrtoc16.c: New file.
20976 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20977 for C/POSIX locale.
20978 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20979 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20980
20981 * wcsmbs/wchar.h: Add missing __restrict.
20982
20983 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20984
20985 [BZ #13532]
20986 * time/Makefile (routines): Add timespec_get.
20987 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20988 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20989 timespec for ISO C11.
20990 * time/timespec_get.c: New file.
20991 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20992 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20993
20994 [BZ #13531]
20995 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20996 * stdlib/stdlib.h: Declare aligned_alloc.
20997 * Versions.def: Add GLIBC_2.16 for libc.
20998 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20999
21000 [BZ 13527]
21001 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21002 ISO C11.
21003
21004 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21005 code.
21006
21007 [BZ #13528]
21008 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21009
21010 [BZ #13529]
21011 * assert/assert.h (static_assert): Define.
21012
21013 * version.h: Update for 2.16 development version.
21014
21015 [BZ #13526]
21016 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21017 _ISOC11_SOURCE.
21018
21019 * version.h (RELEASE): Bump for 2.15 release.
21020 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21021
21022 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21023 Patch by Marek Polacek <mpolacek@redhat.com>.
21024
21025 * bits/byteswap.h: Protect long long constants with __extension__.
21026 * sysdeps/i386/bits/byteswap.h: Likewise.
21027 * sysdeps/ia64/bits/byteswap.h: Likewise.
21028 * sysdeps/s390/bits/byteswap.h: Likewise.
21029 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21030
21031 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21032
21033 [BZ #13540]
21034 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21035 destination buffer.
21036 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21037
21038 2011-12-23 Marek Polacek <polacek@redhat.com>
21039
21040 * elf/dl-addr.c (determine_info): Add inline keyword.
21041 * elf/tst-auditmod4b.c (check_avx): Likewise.
21042 * elf/tst-auditmod6b.c (check_avx): Likewise.
21043 * elf/tst-auditmod6c.c (check_avx): Likewise.
21044 * elf/tst-auditmod7b.c (check_avx): Likewise.
21045
21046 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21047
21048 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21049 !__SSE_MATH__.
21050
21051 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21052
21053 [BZ #13540]
21054 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21055 processing for last bytes.
21056
21057 2011-08-06 Bruno Haible <bruno@clisp.org>
21058
21059 [BZ #13061]
21060 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21061 U+0385, not to U+1FEE.
21062
21063 [BZ #13062]
21064 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21065 entry for U+00A5 U+0301.
21066
21067 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21068
21069 [BZ #13166]
21070 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21071 buffer for the output is too small.
21072
21073 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21074 optimization.
21075
21076 [BZ #13185]
21077 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21078 SSE flags if possible.
21079
21080 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21081
21082 [BZ #13540]
21083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21084 processing for last bytes.
21085
21086 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21087
21088 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21089 (syscall-list-default-options, syscall-list-default-condition)
21090 (syscall-list-includes): Define.
21091 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21092 list of ABIs and options and #if conditions for each ABI. Do not
21093 handle common syscalls between ABIs specially.
21094 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21095 Remove.
21096 (syscall-list-variants, syscall-list-32bit-options)
21097 (syscall-list-32bit-condition, syscall-list-64bit-options)
21098 (syscall-list-64bit-condition): Define.
21099 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21100 (syscall-list-variants, syscall-list-32bit-options)
21101 (syscall-list-32bit-condition, syscall-list-64bit-options)
21102 (syscall-list-64bit-condition): Define.
21103 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21104 Remove.
21105 (syscall-list-variants, syscall-list-32bit-options)
21106 (syscall-list-32bit-condition, syscall-list-64bit-options)
21107 (syscall-list-64bit-condition): Define.
21108 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21109 Remove.
21110 (syscall-list-variants, syscall-list-32bit-options)
21111 (syscall-list-32bit-condition, syscall-list-64bit-options)
21112 (syscall-list-64bit-condition): Define.
21113
21114 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21115
21116 * locale/iso-639.def: Add brx entry.
21117
21118 [BZ #13328]
21119 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21120 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21121
21122 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21123 __feraiseexcept_renamed.
21124
21125 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21126
21127 [BZ #13538]
21128 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21129 EPOLLET with unsigned values.
21130 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21131 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21132
21133 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21134 to large cancellation.
21135 * math/s_cacoshf.c: Likewise.
21136 * math/s_cacoshl.c: Likewise.
21137
21138 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21139
21140 [BZ #13305]
21141 [BZ #12786]
21142 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21143 * math/s_cacoshf.c: Likewise.
21144 * math/s_cacoshl.c: Likewise.
21145
21146 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21147
21148 [BZ #13439]
21149 * iconv/gconv.h: Define __GCONV_SWAP.
21150 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21151 * iconvdata/utf-16.c: Likewise.
21152 * iconvdata/utf-32.c: Likewise.
21153
21154 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21155
21156 [BZ #13524]
21157 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21158 numerator after shifting it by one limb.
21159
21160 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21161
21162 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21163 under [__USE_EXTERN_INLINES].
21164
21165 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21166
21167 [BZ #13446]
21168 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21169
21170 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21171
21172 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21173 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21174 optimized code.
21175 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21176 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21177 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21178 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21179 for strncasecmp/strncasecmp_l compilation.
21180 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21181 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21182
21183 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21184
21185 [BZ #13484]
21186 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21187 of __asm__.
21188
21189 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21190
21191 [BZ #13506]
21192 * time/tzfile.c (__tzfile_read): Check values from file header.
21193
21194 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21195
21196 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21197 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21198 * powerpc/powerpc32/dl-start.S: Likewise.
21199 * powerpc/powerpc32/elf/start.S: Likewise.
21200 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21201 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21202 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21203 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21204 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21205 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21206 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21207 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21208 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21209 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21210 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21211 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21212 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21213 * powerpc/powerpc32/memset.S: Likewise.
21214 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21215 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21216 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21217 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21218 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21219 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21220 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21221 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21222 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21223 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21224 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21225 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21226 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21227
21228 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21229
21230 * math/libm-test.inc: Added more nearbyint tests.
21231 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21232 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21233 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21234 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21235
21236 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21237
21238 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21239 FD_CLOEXEC.
21240
21241 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21242
21243 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21244 Add wcscpy-ssse3 wcscpy-c.
21245 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21246 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21247 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21248 * sysdeps/x86_64/wcschr.S: New file.
21249 * sysdeps/x86_64/wcsrchr.S: New file.
21250 * string/test-strcmp.c: Remove checking of wcscmp function for
21251 wrong alignments.
21252 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21253 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21254 wcsrchr-sse2 wcsrchr-c.
21255 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21256 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21257 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21258 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21259 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21260 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21261 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21262 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21263 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21264 * wcsmbc/wcschr.c (WCSCHR): New macro.
21265
21266 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21267
21268 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21269 * wcsmbs/test-wcsrchr.c: New file.
21270 * string/test-strrchr.c: Add wcsrchr support.
21271 (WIDE): New macro.
21272 * wcsmbs/test-wcscpy.c: New file.
21273 * string/test-strcpy.c: Add wcscpy support.
21274 (WIDE): New macro.
21275
21276 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21277
21278 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21279 the inner loop.
21280
21281 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21282
21283 [BZ #13472]
21284 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21285
21286 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21287
21288 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21289 Minor optimizations.
21290
21291 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21292 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21293 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21294
21295 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21296
21297 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21298 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21299 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21300 for gcc to avoid warnings.
21301 * inet/Makefile (tests): Add tst-checks.
21302 * inet/tst-checks.c: New file.
21303
21304 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21305 warning.
21306
21307 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21308 __wmemcmp_sse2.
21309
21310 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21311 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21312
21313 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21314
21315 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21316
21317 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21318 problem.
21319
21320 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21321
21322 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21323
21324 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21325 conditional on GCC version.
21326 (__arch_compare_and_exchange_val_8_acq)
21327 (__arch_compare_and_exchange_val_16_acq)
21328 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21329 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21330 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21331
21332 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21333
21334 * sysdeps/sh/backtrace.c: New file.
21335
21336 2011-12-02 Andreas Schwab <schwab@redhat.com>
21337
21338 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21339 parenthesis.
21340
21341 2011-12-01 Andreas Schwab <schwab@redhat.com>
21342
21343 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21344 falling back to utime.
21345
21346 2011-11-30 Andreas Schwab <schwab@redhat.com>
21347
21348 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21349 expectations for float.
21350
21351 2011-11-29 Andreas Schwab <schwab@redhat.com>
21352
21353 * locale/weight.h (findidx): Add parameter len.
21354 * locale/weightwc.h (findidx): Likewise.
21355 * posix/fnmatch_loop.c (FCT): Adjust caller.
21356 * posix/regcomp.c (build_equiv_class): Likewise.
21357 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21358 * posix/regexec.c (check_node_accept_bytes): Likewise.
21359 * string/strcoll_l.c (STRCOLL): Likewise.
21360 * string/strxfrm_l.c (STRXFRM): Likewise.
21361
21362 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21363
21364 * Makefile.in: Remove CVSOPT handling.
21365 * configure.in: Remove use of AC_REVISION.
21366 * iconvdata/Makefile (distribute): No need to filter out CVS.
21367 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21368 handling.
21369
21370 2011-11-16 Andreas Schwab <schwab@redhat.com>
21371
21372 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21373 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21374 [USE_AS_STRNCASECMP_L]: Likewise.
21375 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21376 NO_TLS_DIRECT_SEG_REFS.
21377 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21378 Fix argument offsets for non-PIC.
21379 [USE_AS_STRNCASECMP_L]: Likewise.
21380 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21381 NO_TLS_DIRECT_SEG_REFS.
21382
21383 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21384
21385 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21386 O_CLOEXEC.
21387 * locale/loadlocale.c (_nl_load_locale): Likewise.
21388
21389 2011-11-15 Andreas Schwab <schwab@redhat.com>
21390
21391 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21392 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21393 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21394 (SYSCALL_GETTIME): Set errno on error.
21395
21396 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21397 count references to noai6ai_cached.
21398
21399 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21400
21401 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21402
21403 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21404 FD_CLOEXEC for /proc/self/maps.
21405
21406 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21407 FD_CLOEXEC for /proc/meminfo.
21408
21409 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21410 gai.conf.
21411
21412 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21413 FD_CLOEXEC for given file.
21414
21415 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21416
21417 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21418 FD_CLOEXEC for /etc/hosts.
21419 (_gethtent): Likewise.
21420
21421 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21422
21423 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21424 cancellation and set FD_CLOEXEC for /etc/netgroup.
21425
21426 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21427 reading /etc/publickey.
21428
21429 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21430 allow cancellation when reading /etc/group.
21431
21432 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21433 cancellation.
21434 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21435
21436 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21437 when using data file.
21438
21439 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21440
21441 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21442 (write_nis_obj): Use "c" and "e" in fopen.
21443
21444 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21445
21446 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21447
21448 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21449
21450 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21451
21452 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21453 locale.alias.
21454
21455 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21456
21457 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21458
21459 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21460
21461 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21462 file parsing and set FD_CLOEXEC.
21463
21464 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21465
21466 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21467
21468 2011-11-14 Andreas Schwab <schwab@redhat.com>
21469
21470 * malloc/arena.c (arena_get2): Don't call reused_arena when
21471 _int_new_arena failed.
21472
21473 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21474
21475 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21476 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21477 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21478 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21479 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21480 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21481 to compile strcasecmp and strncasecmp.
21482 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21483 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21484
21485 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21486
21487 2011-11-13 Ulrich Drepper <drepper@gmail.com>
21488
21489 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21490 locale-defines.sym to gen-as-const-headers.
21491 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21492 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21493 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21494 to compile strcasecmp and strncasecmp.
21495 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21496 strcasecmp_l and strncasecmp_l.
21497 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21498 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21499 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21500 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21501 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21502 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21503 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21504 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21505 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21506 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21507 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21508
21509 2011-11-12 Ulrich Drepper <drepper@gmail.com>
21510
21511 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21512 result of SYSDEP_GETTIME_CPU to retval.
21513 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21514 parameter list to macro. Remove trailing semicolon. Adjust users.
21515
21516 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21517 variable.
21518
21519 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21520 mantissa words.
21521 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21522
21523 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21524 from unused variable.
21525
21526 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21527 DWARF definitions.
21528 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21529 for assembling.
21530
21531 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21532 over namespaces.
21533
21534 * sunrpc/rpc_prot.c (rejected): Fix case value.
21535
21536 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21537 unsigned long long int to avoid warnings in shift.
21538
21539 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21540 of use of trans.
21541 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21542 variable tmp.
21543
21544 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21545 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21546 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21547
21548 * nis/nis_table.c (nis_list): Use variable of correct type for
21549 result of __follow_path call.
21550
21551 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21552
21553 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21554 of math functions ceil, trunc, floor, round, and sqrt, when
21555 avaliable on the platform.
21556 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21557 name clash.
21558 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21559 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21560 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21561
21562 2011-10-30 Marek Polacek <mpolacek@redhat.com>
21563
21564 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21565 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21566
21567 2011-11-11 Roland McGrath <roland@hack.frob.com>
21568
21569 * include/unistd.h: Fix __readlink return type.
21570 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21571
21572 2011-11-11 Ulrich Drepper <drepper@gmail.com>
21573
21574 * stdlib/ucontext.h: Undo last change for makecontext.
21575
21576 2011-11-11 Andreas Schwab <schwab@redhat.com>
21577
21578 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21579
21580 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21581 * setjmp/setjmp.h: Mark functions as non-leaf.
21582 * setjmp/bits/setjmp2.h: Likewise.
21583 * stdlib/ucontext.h: Likewise.
21584
21585 2011-11-10 Andreas Schwab <schwab@redhat.com>
21586
21587 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21588 (reused_arena): Don't check arena limit.
21589 (arena_get2): Atomically check arena limit.
21590
21591 2011-11-08 Ulrich Drepper <drepper@gmail.com>
21592
21593 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21594 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21595
21596 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21597 instructions.
21598
21599 2011-11-07 Andreas Schwab <schwab@redhat.com>
21600
21601 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21602 handler when locking.
21603
21604 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21605 Fix size of allocated buffer.
21606
21607 2011-11-04 Andreas Schwab <schwab@redhat.com>
21608
21609 [BZ #10103]
21610 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21611 declarations for long double functions.
21612 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21613
21614 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21615
21616 2011-11-03 Andreas Schwab <schwab@redhat.com>
21617
21618 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21619 installed.
21620
21621 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21622 is disabled.
21623
21624 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21625
21626 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21627
21628 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21629
21630 * include/alloca.h (stackinfo_alloca_round): Define.
21631 (extend_alloca): Use it.
21632 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21633 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21634 here.
21635
21636 * scripts/check-local-headers.sh: Ignore libaudit.h.
21637
21638 * nscd/Makefile (extra-objs): Make recursively expanded.
21639
21640 2011-11-01 Ulrich Drepper <drepper@gmail.com>
21641
21642 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21643 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21644
21645 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21646 * posix/tst-rfc3484-2.c: Likewise.
21647 * posix/tst-rfc3484-3.c: Likewise.
21648
21649 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21650 process_vm_writev.
21651 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21652 process_vm_writev.
21653 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21654 process_vm_writev from libc using GLIBC_2.15 version.
21655
21656 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21657
21658 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21659
21660 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21661 stack usage.
21662
21663 2011-10-31 Ulrich Drepper <drepper@gmail.com>
21664
21665 [BZ #13367]
21666 * nss/getent.c (initgroups_keys): Show error message in case no group
21667 names are given.
21668
21669 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21670 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21671 __bump_nl_timestamp.
21672 * nscd/connections (nscd_init): When host database is served open
21673 netlink socket and request notification about configuration changes.
21674 (main_loop_poll): Track netlink file descriptor and bump timestamp
21675 in case data becomes available.
21676 (main_loop_epoll): Likewise.
21677 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21678 (database_pers_head): Add extra_data fileds.
21679 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21680 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21681 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21682 Adjust caller.
21683 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21684 in6ai data, call __free_in6ai.
21685 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21686 Add -DHAVE_NETLINK.
21687 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21688 interface information. Reuse previous data if netlink timestamp
21689 is not changed.
21690 (__bump_nl_timestamp): New function.
21691 (__free_in6ai): New function.
21692
21693 2011-10-30 Ulrich Drepper <drepper@gmail.com>
21694
21695 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21696 close_not_cancel_no_status here.
21697 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21698
21699 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21700
21701 [BZ #13276]
21702 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21703 return value.
21704
21705 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21706 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21707 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21708
21709 2011-07-03 Andreas Jaeger <aj@suse.de>
21710
21711 [BZ #10709]
21712 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21713 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21714 * math/libm-test.inc (sin_test): Add test case.
21715
21716 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21717
21718 [BZ #13337]
21719 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21720 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21721
21722 * elf/chroot_canon.c (chroot_canon): Cleanups.
21723
21724 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21725
21726 [BZ #13335]
21727 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21728 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21729
21730 * string/test-strchr.c: Make usable for strchrnul testing.
21731 * string/test-strchrnul.c: New file.
21732 * string/Makefile (strop-tests): Add strchrnul.
21733
21734 * po/it.po: Update from translation team.
21735 * po/es.po: Likewise.
21736
21737 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21738
21739 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21740 the three constants needed as parameters. Drop the others.
21741 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21742 __m128i_strloadu_tolower.
21743 Create and initialize variable zero and use it in all the places
21744 where _mm_setzero_si128 was used.
21745
21746 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21747 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21748 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21749 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21750 anymore.
21751 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21752 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21753 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21754 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21755 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21756 __mpranred, __mptan.
21757 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21758 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21759 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21760 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21761 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21762 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21763 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21764 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21765 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21766
21767 2011-10-28 Andreas Schwab <schwab@redhat.com>
21768
21769 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21770 redefine if SHARED.
21771 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21772
21773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21774 wide char related routines to wcsmbs subdir.
21775
21776 2011-10-27 Andreas Schwab <schwab@redhat.com>
21777
21778 [BZ #13344]
21779 * misc/sys/cdefs.h (__THROWNL): Define.
21780 * posix/unistd.h: Use __THREADNL instead of __THREAD
21781 for memory synchronization functions.
21782
21783 2011-10-26 Roland McGrath <roland@hack.frob.com>
21784
21785 [BZ #13349]
21786 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21787 doesn't exist.
21788 * manual/stdio.texi (Obstack Streams): Node removed.
21789
21790 2011-10-26 Andreas Schwab <schwab@redhat.com>
21791
21792 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21793 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21794 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21795
21796 * math/math_private.h (math_force_eval): Allow non-addressable
21797 arguments.
21798 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21799
21800 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21801
21802 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21803 file is not needed.
21804
21805 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21806 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21807 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21808 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21809 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21810 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21811 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21812 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21813 Add AVX variants.
21814 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21815 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21816 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21817 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21818 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21819 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21820 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21821 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21822 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21823 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21824 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21825 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21826 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21827 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21828 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21829 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21830 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21831 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21832 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21833
21834 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21835 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21836
21837 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21838 place. Use VEX encoding when compiling for AVX.
21839
21840 2011-10-25 Andreas Schwab <schwab@redhat.com>
21841
21842 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21843 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21844
21845 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21846
21847 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21848
21849 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21850 useless if() expression.
21851 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21852 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21853 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21854 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21855 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21856 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21857 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21858 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21859 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21860 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21861 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21862 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21863 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21864 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21865 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21866 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21867 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21868 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21869 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21870
21871 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21872
21873 2011-10-25 Andreas Schwab <schwab@redhat.com>
21874
21875 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21876 condition.
21877 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21878
21879 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21880
21881 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21882 .text section. Avoid duplicate constants.
21883 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21884 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21885 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21887 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21888 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21889 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21890 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21891 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21892 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21893 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21894 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21895 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21896 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21897 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21898 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21899 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21900 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21901 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21902 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21903 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21904 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21905 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21906 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21907 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21908 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21909 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21910 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21911 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21912 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21913 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21914 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21915 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21916 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21917 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21918 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21919 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21920 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21921 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21922 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21923 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21924 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21925 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21926 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21927 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21928
21929 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21930
21931 * sysdeps/x86_64/dla.h: Move to ...
21932 * sysdeps/x86_64/fpu/dla.h: ...here.
21933 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21934 situations. Use __builtin_fma only for gcc 4.6 and up.
21935
21936 * config.make.in: Add have-mfma4 entry.
21937 * configure.in: Substitute libc_cv_cc_fma4.
21938 * math/Makefile (dbl-only-routines): Add sincostab.
21939 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21940 Use __sincostab not sincos.
21941 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21942 name is a macro.
21943 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21944 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21946 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21947 using __copysign.
21948 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21949 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21950 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21951 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21952 and __inv.
21953 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21954 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21955 __copysign.
21956 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21957 define aliases when function name is a macro.
21958 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21959 sysdeps/ieee754/dbl-64/sincos.tbl.
21960 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21961 fma4-enabled routines.
21962 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21963 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21964 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21965 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21966 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21967 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21968 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21969 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21970 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21971 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21972 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21973 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21974 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21975 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21976 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21977 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21978 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21979 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21980 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21981 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21982 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21983 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21984 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21985 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21986 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21987 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21988 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21989 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21990 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21991 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21992
21993 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21994 rename.
21995 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21996 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22000 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22003
22004 2011-10-24 Andreas Schwab <schwab@redhat.com>
22005
22006 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22007
22008 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22009
22010 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22011
22012 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22013 prediction.
22014 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22015
22016 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22017 Remove unused variable magic_bits.
22018 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22019
22020 * string/strnlen.c: Define and use STRNLEN macro.
22021 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22022 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22023 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22024 * wcsmbs/wcslen.c: Define and use WCSLEN.
22025 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22026 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22027 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22028 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22029 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22030 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22031 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22032
22033 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22034
22035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22036 strnlen-sse2-no-bsf.
22037 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22039 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22040 Add strnlen support.
22041 (USE_AS_STRNLEN): New macro.
22042 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22043 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22044 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22045 * sysdeps/x86_64/wcslen.S: New file.
22046
22047 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22048
22049 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22050 XMM-moves are used for copying on small sizes.
22051
22052 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22053
22054 * wcsmbs/Makefile (strop-tests): Add wcschr.
22055 * wcsmbs/test-wcschr.c: New file.
22056 * string/test-strchr.c: Update.
22057 Add wcschr support.
22058 (WIDE): New macro.
22059
22060 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22061
22062 * wcsmbs/Makefile (strop-tests): Add wcslen.
22063 * wcsmbs/test-wcslen.c: New file.
22064 * string/test-strlen.c: Update.
22065 Add wcslen support.
22066 (WIDE): New macro.
22067
22068 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22069
22070 * po/it.po: Update from translation team.
22071
22072 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22073
22074 * sysdeps/x86_64/wcscmp.S: Update.
22075 Fix wrong comparison semantics.
22076 wcscmp shall use signed comparison not unsigned.
22077 Don't use substraction to avoid overflow bug.
22078 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22079 * wcsmbc/wcscmp.c: Likewise.
22080 * string/test-strcmp.c: Likewise.
22081 Add new tests to check cases with negative values.
22082
22083 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22084
22085 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22086 * sysdeps/x86_64/dla.h: ...here. New file.
22087 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22088 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22089 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22092 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22094 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22096
22097 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22098
22099 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22100 __ynl_finite aliases.
22101
22102 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22103
22104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22105
22106 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22107 define DLA_FMA.
22108 [DLA_FMA] (EMULV): Use DLA_FMA.
22109 [DLA_FMA] (MUL12): Use EMULV.
22110 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22111 that are not needed.
22112 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22116 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22117 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22118 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22119
22120 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22121
22122 * math/s_nan.c: Undef __nan.
22123 * math/s_nanf.c: Undef __nanf.
22124 * math/s_nanl.c: Undef __nanl.
22125 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22126 "math_private.h".
22127
22128 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22129
22130 * math/s_catan.c: Add branch predictions.
22131 * math/s_catanf.c: Likewise.
22132 * math/s_catanh.c: Likewise.
22133 * math/s_catanhf.c: Likewise.
22134 * math/s_catanhl.c: Likewise.
22135 * math/s_catanl.c: Likewise.
22136 * math/s_cexp.c: Likewise.
22137 * math/s_cexpf.c: Likewise.
22138 * math/s_cexpl.c: Likewise.
22139 * math/s_clog.c: Likewise.
22140 * math/s_clog10.c: Likewise.
22141 * math/s_clog10f.c: Likewise.
22142 * math/s_clog10l.c: Likewise.
22143 * math/s_clogf.c: Likewise.
22144 * math/s_clogl.c: Likewise.
22145 * math/s_csqrt.c: Likewise.
22146 * math/s_csqrtf.c: Likewise.
22147 * math/s_csqrtl.c: Likewise.
22148 * math/s_ctanf.c: Likewise.
22149 * math/s_ctanh.c: Likewise.
22150 * math/s_ctanhf.c: Likewise.
22151 * math/s_ctanhl.c: Likewise.
22152 * math/s_ctanl.c: Likewise.
22153
22154 * math/math_private.h: Define __nan, __nanf, __nanl.
22155 * math/s_cacosh.c: Include <math_private.h>.
22156 * math/s_cacoshl.c: Likewise.
22157 * math/s_casinh.c: Likewise.
22158 * math/s_casinhf.c: Likewise.
22159 * math/s_casinhl.c: Likewise.
22160 * math/s_ccos.c: Rely entire on ccosh.
22161 * math/s_ccosf.c: Rely entire on ccoshf.
22162 * math/s_ccosl.c: Rely entirely on ccoshl.
22163 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22164 Remove tests for FE_INVALID.
22165 * math/s_ccoshf.c: Likewise.
22166 * math/s_ccoshl.c: Likewise.
22167 * math/s_csin.c: Likewise.
22168 * math/s_csinf.c: Likewise.
22169 * math/s_csinh.c Likewise.
22170 * math/s_csinhf.c: Likewise.
22171 * math/s_csinhl.c: Likewise.
22172 * math/s_csinl.c: Likewise.
22173 * math/s_ctan.c: Likewise.
22174 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22175 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22176 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22177
22178 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22179
22180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22181 compilation problems.
22182
22183 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22184 __builtin_expect.
22185
22186 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22187
22188 * sysdeps/i386/configure.in: Test for -mfma4 option.
22189 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22190 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22191 COMMON_CPUID_INDEX_80000001.
22192 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22193 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22194 use it if FMA3 is not supported.
22195 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22196
22197 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22198 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22199
22200 2011-10-20 Andreas Schwab <schwab@redhat.com>
22201
22202 [BZ #12892]
22203 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22204 it would create a cycle with a link time dependency.
22205
22206 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22207
22208 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22209 instruction.
22210 * string/Makefile (strop-tests): Add rawmemchr.
22211 * string/test-rawmemchr.c: New file.
22212
22213 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22214 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22215 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22216 when compiling str{,n}casecmp and when AVX is available. Hook up
22217 new optimized code in initializers.
22218
22219 2011-10-19 Andreas Schwab <schwab@redhat.com>
22220
22221 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22222 __feraiseexcept instead of feraiseexcept.
22223
22224 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22225
22226 * math/math_private.h: Define defaults for libc_fetestexcept and
22227 libc_feupdateenv.
22228 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22229 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22230 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22231 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22232 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22233 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22234 libc_fetestexcept and libc_feupdateenv.
22235
22236 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22237 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22238 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22239 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22240 libc_feholdexcept_setround.
22241
22242 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22243 Add s_nearbyint-c and s_nearbyintf-c.
22244 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22245 nearbyintf inlines.
22246 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22247 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22248 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22249 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22250
22251 * math/math_private.h: Define defaults for libc_fegetround,
22252 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22253 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22254 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22255 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22256 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22257 standard functions.
22258 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22259 Remove comments and hacks for old compiler versions.
22260 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22261 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22262 libc_feholdexceptl.
22263
22264 2011-10-18 Andreas Schwab <schwab@redhat.com>
22265
22266 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22267 (__feraiseexcept_renamed): Add __NTH.
22268 (feraiseexcept): Add __NTH. Rename local variables to fix
22269 namespace violations.
22270
22271 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22272
22273 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22274
22275 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22276
22277 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22278 recently added interfaces.
22279 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22280
22281 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22282 about macro parameter expansion.
22283
22284 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22285 __NO_MATH_INLINES is defined. Cleanups.
22286
22287 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22288 and __floorf is target has SSE4.1.
22289 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22290 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22291 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22292 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22293
22294 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22295 name.
22296 (floorf): Likewise.
22297
22298 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22299
22300 2011-10-17 Andreas Schwab <schwab@redhat.com>
22301
22302 * misc/sys/cdefs.h: Fix last change.
22303
22304 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22305 database lookup.
22306
22307 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22308
22309 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22310
22311 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22312 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22313 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22314 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22315 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22316 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22317 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22318 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22319 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22320 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22321 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22322 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22323 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22324 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22325 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22326 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22327 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22328 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22329 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22330 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22331 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22332 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22333
22334 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22335 ceil, ceilf, floor, floorf.
22336
22337 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22338 Perform IRELATIVE relocations last.
22339
22340 * elf/do-rel.h: Add another parameter nrelative, replacing the
22341 local variable with the same name. Change name of the function
22342 to end in Rel or Rela (uppercase).
22343 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22344 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22345 elf_dynamic_do_##reloc function.
22346
22347 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22348
22349 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22350 is sufficient, at least on modern CPUs.
22351
22352 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22353
22354 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22355 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22356
22357 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22358 __expl_finite.
22359 * math/bits/math-finite.h: Add entries for exp.
22360 * math/e_expl.c: Add __*_finite alias.
22361 * sysdeps/i386/fpu/e_exp.S: Likewise.
22362 * sysdeps/i386/fpu/e_expf.S: Likewise.
22363 * sysdeps/i386/fpu/e_expl.c: Likewise.
22364 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22365 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22366 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22367 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22368 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22369 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22370 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22371
22372 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22373 is sufficient, at least on modern CPUs.
22374
22375 * ctype/ctype-info.c (__ctype_init): Define.
22376 * include/ctype.h (__ctype_init): Declare.
22377 (__ctype_b_loc): The variable is always initialized.
22378 (__ctype_toupper_loc): Likewise.
22379 (__ctype_tolower_loc): Likewise.
22380 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22381 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22382
22383 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22384
22385 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22386
22387 * configure.in: Also look in $cxxmachine/include for C++ system
22388 headers.
22389
22390 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22391
22392 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22393 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22394 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22395 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22396 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22397 (USE_AS_WMEMCMP): New macro.
22398 Fixing indents.
22399 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22400 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22401 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22402 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22403 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22404 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22405 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22406 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22407 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22408 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22409 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22410 (USE_AS_WMEMCMP): New macro.
22411 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22412 * sysdeps/string/test-memcmp.c: Update.
22413 Fix simple_wmemcmp.
22414 Add new tests.
22415 * wcsmbs/wmemcmp.c: Update.
22416 (WMEMCMP): New macro.
22417 Fix overflow bug.
22418
22419 2011-10-12 Andreas Jaeger <aj@suse.de>
22420
22421 [BZ #13268]
22422 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22423
22424 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22425
22426 * libio/iofwide.c (do_length): Avoid warning.
22427
22428 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22429
22430 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22431
22432 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22433
22434 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22435 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22436 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22437 * sysdeps/i386/i686/fpu/e_log.S: New file.
22438 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22439 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22440
22441 * ctype/ctype.h: Add support for inlined isXXX functions when
22442 compiling C++ code.
22443
22444 2011-10-14 Andreas Schwab <schwab@redhat.com>
22445
22446 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22447
22448 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22449
22450 2011-10-13 Roland McGrath <roland@hack.frob.com>
22451
22452 [BZ #13291]
22453 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22454
22455 2011-10-13 Andreas Schwab <schwab@redhat.com>
22456
22457 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22458 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22459 feraiseexcept.
22460
22461 * sysdeps/x86_64/memrchr.S: Check for zero size.
22462
22463 * string/stratcliff.c: Add memrchr tests.
22464
22465 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22466
22467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22468 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22469 rawmemchr-sse2 rawmemchr-sse2-bsf.
22470 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22471 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22472 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22473 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22474 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22475 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22476 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22477 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22478 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22479 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22480 * string/memrchr.c (MEMRCHR): New macro.
22481
22482 2011-10-12 Ulrich Drepper <drepper@gmail.com>
22483
22484 Add integration with gcc's -ffinite-math-only and optimize wrapper
22485 functions in libm.
22486 * Versions.def: Define GLIBC_2.15 version for libm.
22487 * math/Makefile (headers): Add bits/math-finite.h.
22488 * math/bits/math-finite.h: New file.
22489 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22490 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22491 * math/e_acoshl.c: Add __*_finite alias.
22492 * math/e_acosl.c: Likewise.
22493 * math/e_asinl.c: Likewise.
22494 * math/e_atan2l.c: Likewise.
22495 * math/e_atanhl.c: Likewise.
22496 * math/e_coshl.c: Likewise.
22497 * math/e_exp10.c: Likewise.
22498 * math/e_exp10f.c: Likewise.
22499 * math/e_exp10l.c: Likewise.
22500 * math/e_exp2l.c: Likewise.
22501 * math/e_fmodl.c: Likewise.
22502 * math/e_gammal_r.c: Likewise.
22503 * math/e_hypotl.c: Likewise.
22504 * math/e_j0l.c: Likewise.
22505 * math/e_j1l.c: Likewise.
22506 * math/e_jnl.c: Likewise.
22507 * math/e_lgammal_r.c: Likewise.
22508 * math/e_log10l.c: Likewise.
22509 * math/e_log2l.c: Likewise.
22510 * math/e_logl.c: Likewise.
22511 * math/e_powl.c: Likewise.
22512 * math/e_sinhl.c: Likewise.
22513 * math/e_sqrtl.c: Likewise.
22514 * math/e_scalb.c: Completely rewritten and optimized.
22515 * math/e_scalbf.c: Likewise.
22516 * math/e_scalbl.c: Likewise.
22517 * math/w_acos.c: Likewise.
22518 * math/w_acosf.c: Likewise.
22519 * math/w_acosl.c: Likewise.
22520 * math/w_acosh.c: Likewise.
22521 * math/w_acoshf.c: Likewise.
22522 * math/w_acoshl.c: Likewise.
22523 * math/w_asin.c: Likewise.
22524 * math/w_asinf.c: Likewise.
22525 * math/w_asinl.c: Likewise.
22526 * math/w_atan2.c: Likewise.
22527 * math/w_atan2f.c: Likewise.
22528 * math/w_atan2l.c: Likewise.
22529 * math/w_atanh.c: Likewise.
22530 * math/w_atanhf.c: Likewise.
22531 * math/w_atanhl.c: Likewise.
22532 * math/w_exp10.c: Likewise.
22533 * math/w_exp10f.c: Likewise.
22534 * math/w_exp10l.c: Likewise.
22535 * math/w_fmod.c: Likewise.
22536 * math/w_fmodf.c: Likewise.
22537 * math/w_fmodl.c: Likewise.
22538 * math/w_j0.c: Likewise.
22539 * math/w_j0f.c: Likewise.
22540 * math/w_j0l.c: Likewise.
22541 * math/w_j1.c: Likewise.
22542 * math/w_j1f.c: Likewise.
22543 * math/w_j1l.c: Likewise.
22544 * math/w_jn.c: Likewise.
22545 * math/w_jnf.c: Likewise.
22546 * math/w_log.c: Likewise.
22547 * math/w_logf.c: Likewise.
22548 * math/w_logl.c: Likewise.
22549 * math/w_log10.c: Likewise.
22550 * math/w_log10f.c: Likewise.
22551 * math/w_log10l.c: Likewise.
22552 * math/w_log2.c: Likewise.
22553 * math/w_log2f.c: Likewise.
22554 * math/w_log2l.c: Likewise.
22555 * math/w_pow.c: Likewise.
22556 * math/w_powf.c: Likewise.
22557 * math/w_powl.c: Likewise.
22558 * math/w_remainder.c: Likewise.
22559 * math/w_remainderf.c: Likewise.
22560 * math/w_remainderl.c: Likewise.
22561 * math/w_scalb.c: Likewise.
22562 * math/w_scalbf.c: Likewise.
22563 * math/w_scalbl.c: Likewise.
22564 * math/w_sqrt.c: Likewise.
22565 * math/w_sqrtf.c: Likewise.
22566 * math/w_sqrtl.c: Likewise.
22567 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22568 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22569 used.
22570 * math/math_private.h: Declare __kernel_standard_f.
22571 * math/w_cosh.c: Remove cruft and optimize a bit.
22572 * math/w_coshf.c: Likewise.
22573 * math/w_coshl.c: Likewise.
22574 * math/w_exp2.c: Likewise.
22575 * math/w_exp2f.c: Likewise.
22576 * math/w_exp2l.c: Likewise.
22577 * math/w_hypot.c: Likewise.
22578 * math/w_hypotf.c: Likewise.
22579 * math/w_hypotl.c: Likewise.
22580 * math/w_lgamma.c: Likewise.
22581 * math/w_lgamma_r.c: Likewise.
22582 * math/w_lgammaf.c: Likewise.
22583 * math/w_lgammaf_r.c: Likewise.
22584 * math/w_lgammal.c: Likewise.
22585 * math/w_lgammal_r.c: Likewise.
22586 * math/w_sinh.c: Likewise.
22587 * math/w_sinhf.c: Likewise.
22588 * math/w_sinhl.c: Likewise.
22589 * math/w_tgamma.c: Likewise.
22590 * math/w_tgammaf.c: Likewise.
22591 * math/w_tgammal.c: Likewise.
22592 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22593 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22594 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22595 Minor optimizations. Pretty printing. Remove cruft.
22596 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22597 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22598 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22599 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22600 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22601 * sysdeps/i386/fpu/e_asin.S: Likewise.
22602 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22603 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22604 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22605 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22606 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22607 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22608 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22609 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22610 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22611 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22612 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22613 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22614 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22615 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22616 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22617 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22618 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22619 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22620 * sysdeps/i386/fpu/e_log.S: Likewise.
22621 * sysdeps/i386/fpu/e_log10.S: Likewise.
22622 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22623 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22624 * sysdeps/i386/fpu/e_log2.S: Likewise.
22625 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22626 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22627 * sysdeps/i386/fpu/e_logf.S: Likewise.
22628 * sysdeps/i386/fpu/e_logl.S: Likewise.
22629 * sysdeps/i386/fpu/e_pow.S: Likewise.
22630 * sysdeps/i386/fpu/e_powf.S: Likewise.
22631 * sysdeps/i386/fpu/e_powl.S: Likewise.
22632 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22633 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22634 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22635 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22636 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22637 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22638 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22639 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22640 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22641 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22642 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22644 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22645 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22647 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22654 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22655 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22656 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22657 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22661 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22662 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22663 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22664 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22665 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22666 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22667 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22668 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22669 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22670 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22671 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22672 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22673 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22674 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22675 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22676 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22677 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22678 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22679 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22680 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22681 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22682 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22683 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22684 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22686 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22687 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22688 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22689 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22690 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22691 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22692 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22693 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22694 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22695 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22696 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22697 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22698 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22699 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22700 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22701 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22702 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22703 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22704 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22705 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22706 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22707 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22708 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22709 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22710 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22711 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22712 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22713 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22714 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22715 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22717 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22718 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22719 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22720 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22721 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22722 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22723 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22724 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22725 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22726 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22727 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22728 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22729 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22730 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22731 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22732 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22733 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22734 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22735 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22736 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22737 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22738 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22739 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22740 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22741 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22742 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22743 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22744 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22745 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22746 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22747 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22748 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22749 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22750 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22751 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22752 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22753 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22754 (__isnanf): Likewise.
22755 (__isinf_ns): Likewise.
22756 (__isinf_nsf): Likewise.
22757 (__finite): Likewise.
22758 (__finitef): Likewise.
22759 (__ieee754_sqrt): Define as macro.
22760 (__ieee754_sqrtf): Define as macro.
22761 (__ieee754_sqrtl): Define as macro.
22762 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22763 inlined copy.
22764 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22765 __FINITE_MATH_ONLY__ consistent.
22766 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22767
22768 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22769
22770 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22771 of rawmemchr.
22772
22773 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22774
22775 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22776
22777 * po/ja.po: Update from translation team.
22778
22779 2011-10-08 Roland McGrath <roland@hack.frob.com>
22780
22781 * locale/programs/locarchive.c (prepare_address_space): New function.
22782 (create_archive, enlarge_archive, open_archive): Use it.
22783
22784 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22785 inside [SHARED], where it is used.
22786
22787 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22788
22789 * nss/getent.c (netgroup_keys): Remove unused variable.
22790 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22791
22792 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22793
22794 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22795 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22796 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22797 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22798 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22799 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22800 * math/Makefile (libm-calls): Add s_isinf_ns.
22801 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22802 * math/multc3.c: Likewise.
22803 * math/s_casin.c: Likewise.
22804 * math/s_casinf.c: Likewise.
22805 * math/s_casinl.c: Likewise.
22806 * math/s_ccos.c: Likewise.
22807 * math/s_ccosf.c: Likewise.
22808 * math/s_ccosl.c: Likewise.
22809 * math/s_ctan.c: Likewise.
22810 * math/s_ctanf.c: Likewise.
22811 * math/s_ctanh.c: Likewise.
22812 * math/s_ctanhf.c: Likewise.
22813 * math/s_ctanhl.c: Likewise.
22814 * math/s_ctanl.c: Likewise.
22815 * math/w_fmod.c: Likewise.
22816 * math/w_fmodf.c: Likewise.
22817 * math/w_fmodl.c: Likewise.
22818 * math/w_remainder.c: Likewise.
22819 * math/w_remainderf.c: Likewise.
22820 * math/w_remainderl.c: Likewise.
22821 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22822 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22823 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22824 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22825 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22826 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22827 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22828 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22829
22830 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22831 of the number.
22832 * stdio-common/printf_fphex.c: Likewise.
22833 * stdio-common/printf_size.c: Likewise.
22834
22835 * math/e_exp10.c: Include math_private.h using <...> not "...".
22836 * math/e_exp10f.c: Likewise.
22837 * math/e_exp10l.c: Likewise.
22838 * math/e_exp2l.c: Likewise.
22839 * math/e_j0l.c: Likewise.
22840 * math/e_j1l.c: Likewise.
22841 * math/e_jnl.c: Likewise.
22842 * math/e_lgammal_r.c: Likewise.
22843 * math/e_rem_pio2l.c: Likewise.
22844 * math/e_scalb.c: Likewise.
22845 * math/e_scalbf.c: Likewise.
22846 * math/e_scalbl.c: Likewise.
22847 * math/k_cosl.c: Likewise.
22848 * math/k_sinl.c: Likewise.
22849 * math/k_tanl.c: Likewise.
22850 * math/s_cacoshf.c: Likewise.
22851 * math/s_catan.c: Likewise.
22852 * math/s_catanf.c: Likewise.
22853 * math/s_catanh.c: Likewise.
22854 * math/s_catanhf.c: Likewise.
22855 * math/s_catanhl.c: Likewise.
22856 * math/s_catanl.c: Likewise.
22857 * math/s_ccosh.c: Likewise.
22858 * math/s_ccoshf.c: Likewise.
22859 * math/s_ccoshl.c: Likewise.
22860 * math/s_cexp.c: Likewise.
22861 * math/s_cexpf.c: Likewise.
22862 * math/s_cexpl.c: Likewise.
22863 * math/s_clog.c: Likewise.
22864 * math/s_clog10.c: Likewise.
22865 * math/s_clog10f.c: Likewise.
22866 * math/s_clog10l.c: Likewise.
22867 * math/s_clogf.c: Likewise.
22868 * math/s_clogl.c: Likewise.
22869 * math/s_csin.c: Likewise.
22870 * math/s_csinf.c: Likewise.
22871 * math/s_csinh.c: Likewise.
22872 * math/s_csinhf.c: Likewise.
22873 * math/s_csinhl.c: Likewise.
22874 * math/s_csinl.c: Likewise.
22875 * math/s_csqrt.c: Likewise.
22876 * math/s_csqrtf.c: Likewise.
22877 * math/s_csqrtl.c: Likewise.
22878 * math/s_ctan.c: Likewise.
22879 * math/s_ctanf.c: Likewise.
22880 * math/s_ctanh.c: Likewise.
22881 * math/s_ctanhf.c: Likewise.
22882 * math/s_ctanhl.c: Likewise.
22883 * math/s_ctanl.c: Likewise.
22884 * math/s_ldexp.c: Likewise.
22885 * math/s_ldexpf.c: Likewise.
22886 * math/s_ldexpl.c: Likewise.
22887 * math/s_significand.c: Likewise.
22888 * math/s_significandf.c: Likewise.
22889 * math/s_significandl.c: Likewise.
22890 * math/w_acos.c: Likewise.
22891 * math/w_acosf.c: Likewise.
22892 * math/w_acosh.c: Likewise.
22893 * math/w_acoshf.c: Likewise.
22894 * math/w_acoshl.c: Likewise.
22895 * math/w_acosl.c: Likewise.
22896 * math/w_asin.c: Likewise.
22897 * math/w_asinf.c: Likewise.
22898 * math/w_asinl.c: Likewise.
22899 * math/w_atan2.c: Likewise.
22900 * math/w_atan2f.c: Likewise.
22901 * math/w_atan2l.c: Likewise.
22902 * math/w_atanh.c: Likewise.
22903 * math/w_atanhf.c: Likewise.
22904 * math/w_atanhl.c: Likewise.
22905 * math/w_cosh.c: Likewise.
22906 * math/w_coshf.c: Likewise.
22907 * math/w_coshl.c: Likewise.
22908 * math/w_dremf.c: Likewise.
22909 * math/w_exp10.c: Likewise.
22910 * math/w_exp10f.c: Likewise.
22911 * math/w_exp10l.c: Likewise.
22912 * math/w_exp2.c: Likewise.
22913 * math/w_exp2f.c: Likewise.
22914 * math/w_fmod.c: Likewise.
22915 * math/w_fmodf.c: Likewise.
22916 * math/w_fmodl.c: Likewise.
22917 * math/w_hypot.c: Likewise.
22918 * math/w_hypotf.c: Likewise.
22919 * math/w_hypotl.c: Likewise.
22920 * math/w_j0.c: Likewise.
22921 * math/w_j0f.c: Likewise.
22922 * math/w_j0l.c: Likewise.
22923 * math/w_j1.c: Likewise.
22924 * math/w_j1f.c: Likewise.
22925 * math/w_j1l.c: Likewise.
22926 * math/w_jn.c: Likewise.
22927 * math/w_jnf.c: Likewise.
22928 * math/w_jnl.c: Likewise.
22929 * math/w_lgamma.c: Likewise.
22930 * math/w_lgamma_r.c: Likewise.
22931 * math/w_lgammaf.c: Likewise.
22932 * math/w_lgammaf_r.c: Likewise.
22933 * math/w_lgammal.c: Likewise.
22934 * math/w_lgammal_r.c: Likewise.
22935 * math/w_log.c: Likewise.
22936 * math/w_log10.c: Likewise.
22937 * math/w_log10f.c: Likewise.
22938 * math/w_log10l.c: Likewise.
22939 * math/w_log2.c: Likewise.
22940 * math/w_log2f.c: Likewise.
22941 * math/w_log2l.c: Likewise.
22942 * math/w_logf.c: Likewise.
22943 * math/w_logl.c: Likewise.
22944 * math/w_pow.c: Likewise.
22945 * math/w_powf.c: Likewise.
22946 * math/w_powl.c: Likewise.
22947 * math/w_remainder.c: Likewise.
22948 * math/w_remainderf.c: Likewise.
22949 * math/w_remainderl.c: Likewise.
22950 * math/w_scalb.c: Likewise.
22951 * math/w_scalbf.c: Likewise.
22952 * math/w_scalbl.c: Likewise.
22953 * math/w_sinh.c: Likewise.
22954 * math/w_sinhf.c: Likewise.
22955 * math/w_sinhl.c: Likewise.
22956 * math/w_sqrt.c: Likewise.
22957 * math/w_sqrtf.c: Likewise.
22958 * math/w_sqrtl.c: Likewise.
22959 * math/w_tgamma.c: Likewise.
22960 * math/w_tgammaf.c: Likewise.
22961 * math/w_tgammal.c: Likewise.
22962
22963 * po/ja.po: Update from translation team.
22964
22965 2011-09-29 Andreas Jaeger <aj@suse.de>
22966
22967 [BZ #13179]
22968 * sunrpc/netname.c (netname2host): Fix logic.
22969
22970 [BZ #6779]
22971 [BZ #6783]
22972 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22973 correctly.
22974 * math/w_remainder.c (__remainder): Likewise.
22975 * math/w_remainderf.c (__remainderf): Likewise.
22976 * math/libm-test.inc (remainder_test): Add test cases.
22977
22978 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22979
22980 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22981 sdiv_qrnnd.
22982
22983 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22984
22985 * string/test-memcmp.c: Avoid unncessary #defines.
22986 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22987
22988 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22989
22990 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22991 Use new sse2 version for core i3 - i7 as it's faster
22992 than sse42 version.
22993 (bit_Prefer_PMINUB_for_stringop): New.
22994 * sysdeps/x86_64/rawmemchr.S: Update.
22995 Replace with faster SSE2 version.
22996 * sysdeps/x86_64/memrchr.S: New file.
22997 * sysdeps/x86_64/memchr.S: Update.
22998 Replace with faster SSE2 version.
22999
23000 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23001
23002 * elf/dl-load.c (lose): Add cast to avoid warning.
23003
23004 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23005
23006 * po/ca.po: Update from translation team.
23007
23008 * inet/getnetgrent_r.c: Hook up nscd.
23009 * nscd/Makefile (routines): Add nscd_netgroup.
23010 (nscd-modules): Add netgroupcache.
23011 (CFLAGS-netgroupcache.c): Define.
23012 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23013 (cache_search): Add const to second parameter.
23014 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23015 INNETGR.
23016 (dbs): Add netgrdb entry.
23017 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23018 (verify_persistent_db): Handle netgrdb.
23019 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23020 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23021 GETFDNETGR.
23022 (netgroup_response_header): Define.
23023 (innetgroup_response_header): Define.
23024 (datahead): Add netgroup_response_header and innetgroup_response_header
23025 elements.
23026 * nscd/nscd.conf: Add entries for netgroup cache.
23027 * nscd/nscd.h (dbtype): Add netgrdb.
23028 (_PATH_NSCD_NETGROUP_DB): Define.
23029 (netgroup_iov_disabled): Declare.
23030 (xmalloc, xcalloc, xrealloc): Move declarations here.
23031 (cache_search): Adjust prototype.
23032 Add netgroup-related prototypes.
23033 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23034 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23035 (__nscd_innetgr): Declare.
23036 * nscd/selinux.c (perms): Use access_vector_t as element type and
23037 add netgroup-related initializers.
23038 * nscd/netgroupcache.c: New file.
23039 * nscd/nscd_netgroup.c: New file.
23040 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23041 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23042 For four parameters use innetgr.
23043 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23044 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23045 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23046 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23047
23048 * nscd/connections.c (register_traced_file): Don't register file
23049 for disabled databases.
23050
23051 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23052
23053 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23054
23055 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23056 from tree and freeing node.
23057
23058 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23059
23060 * nss/nsswitch.c (__nss_database_lookup): Handle
23061 nss_parse_service_list out of memory case.
23062
23063 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23064
23065 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23066 out of memory case.
23067
23068 2011-10-04 Andreas Schwab <schwab@redhat.com>
23069
23070 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23071 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23072 pass it down.
23073 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23074 elf_machine_rela, elf_machine_lazy_rel.
23075 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23076 (ELF_DYNAMIC_DO_REL): Likewise.
23077 (ELF_DYNAMIC_DO_RELA): Likewise.
23078 (ELF_DYNAMIC_RELOCATE): Likewise.
23079 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23080 to ELF_DYNAMIC_DO_REL.
23081 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23082 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23083 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23084 elf_machine_rela.
23085 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23086 skip_ifunc, don't call ifunc function if non-zero.
23087 (elf_machine_rela): Likewise.
23088 (elf_machine_lazy_rel): Likewise.
23089 (elf_machine_lazy_rela): Likewise.
23090 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23091 (elf_machine_lazy_rel): Likewise.
23092 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23093 Likewise.
23094 (elf_machine_lazy_rel): Likewise.
23095 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23096 Likewise.
23097 (elf_machine_lazy_rel): Likewise.
23098 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23099 (elf_machine_lazy_rel): Likewise.
23100 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23101 (elf_machine_lazy_rel): Likewise.
23102 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23103 (elf_machine_lazy_rel): Likewise.
23104 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23105 (elf_machine_lazy_rel): Likewise.
23106 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23107 (elf_machine_lazy_rel): Likewise.
23108 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23109 (elf_machine_lazy_rel): Likewise.
23110
23111 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23112
23113 * nss/nss_files/files-init.c (_nss_files_init): Use static
23114 initialization for all the *_traced_file variables.
23115
23116 2011-09-28 Andreas Schwab <schwab@redhat.com>
23117
23118 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23119
23120 2011-09-27 Roland McGrath <roland@hack.frob.com>
23121
23122 [BZ #13226]
23123 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23124
23125 2011-09-27 Andreas Schwab <schwab@redhat.com>
23126
23127 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23128 Reread the line before reparsing it.
23129
23130 2011-09-26 Andreas Schwab <schwab@redhat.com>
23131
23132 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23133
23134 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23135 Maxim Kuvyrkov <maxim@codesourcery.com>
23136 Joseph Myers <joseph@codesourcery.com>
23137
23138 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23139 if needed for __stack_chk_guard.
23140
23141 2011-09-19 Roland McGrath <roland@hack.frob.com>
23142
23143 * sysdeps/posix/spawni.c (script_execute): Always define it.
23144 It will be optimized away if unused.
23145 (maybe_script_execute): New function.
23146 (__spawni): Call it.
23147
23148 * Makerules: Don't include tls.make.
23149 (config-tls): Always set to thread.
23150 * tls.make.c: File removed.
23151
23152 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23153
23154 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23155 * config.make.in (CPPFLAGS-config): New substituted variable.
23156
23157 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23158
23159 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23160
23161 [BZ #13192]
23162 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23163 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23164
23165 2011-09-15 Roland McGrath <roland@hack.frob.com>
23166
23167 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23168 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23170 (CALL_FAIL): Likewise.
23171 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23172 (CALL_FAIL): Macro removed.
23173 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23174
23175 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23176
23177 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23178 for __FINITE_MATH_ONLY__ == 1.
23179
23180 2011-09-15 Andreas Schwab <schwab@redhat.com>
23181
23182 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23183 __ieee754_sqrt instead of sqrt.
23184 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23185 __ieee754_sqrtf instead of sqrtf.
23186 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23187 __floorf instead of floorf.
23188 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23189 __floorf, __truncf instead of floorf, truncf.
23190
23191 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23192
23193 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23194
23195 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23196 __extern_always_inline.
23197 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23198 32-bit.
23199
23200 2011-09-14 Andreas Schwab <schwab@redhat.com>
23201
23202 * elf/rtld.c (dl_main): Also relocate in dependency order when
23203 doing symbol dependency testing.
23204
23205 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23206
23207 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23208 Always define `refsym'.
23209
23210 2011-09-13 Andreas Schwab <schwab@redhat.com>
23211
23212 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23213 (__FD_ELT): Renamed from __FDELT.
23214 * misc/bits/select2.h (__FD_ELT): Likewise.
23215 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23216 __FD_MASK instead of __FDELT, __FDMASK.
23217 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23218 Likewise.
23219 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23220 Likewise.
23221
23222 * elf/Makefile (gen-ldd): Fix pattern.
23223
23224 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23225 (init_tls): Likewise.
23226
23227 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23228
23229 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23230
23231 2011-09-12 Andreas Schwab <schwab@redhat.com>
23232
23233 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23234 `struct cmsghdr *' instead of `void *'.
23235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23236 Likewise.
23237
23238 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23239
23240 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23241 if non-absolute.
23242 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23243 ldd_rewrite_script.
23244
23245 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23246
23247 * configure.in: Remove --with-tls option.
23248 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23249 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23250 out in case it is missing.
23251 * sysdeps/ia64/elf/configure.in: Likewise.
23252 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23253 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23254 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23255 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23256 * sysdeps/sh/elf/configure.in: Likewise.
23257 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23258 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23259 * sysdeps/x86_64/elf/configure.in: Likewise.
23260 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23261 * sysdeps/mach/hurd/tls.h: Likewise.
23262
23263 [BZ #13067]
23264 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23265
23266 [BZ #13090]
23267 * configure.in: Fix use of AC_INIT.
23268
23269 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23270
23271 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23272
23273 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23274 __set_errno.
23275 * malloc/hooks.c: Likewise.
23276
23277 [BZ #11929]
23278 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23279 variables statically.
23280 (narenas): Initialize.
23281 (list_lock): Initialize.
23282 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23283 initializtion of main_arena and list_lock. Small cleanups.
23284 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23285 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23286 Add initializers to main_arena and mp_.
23287 (malloc_state): Remove pagesize member. Change all users to use
23288 GLRO(dl_pagesize).
23289
23290 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23291 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23292 is always initialized.
23293
23294 * malloc/malloc.c: Removed unused configurations and dead code.
23295 * malloc/arena.c: Likewise.
23296 * malloc/hooks.c: Likewise.
23297 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23298
23299 * include/tls.h: Removed. USE___THREAD must always be defined.
23300 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23301 * elf/dl-libc.c: Likewise.
23302 * elf/dl-tsd.c: Likewise.
23303 * include/errno.h: Likewise.
23304 * include/netdb.h: Likewise.
23305 * include/resolv.h: Likewise.
23306 * inet/herrno-loc.c: Likewise.
23307 * inet/herrno.c: Likewise.
23308 * malloc/arena.c: Likewise.
23309 * malloc/hooks.c: Likewise.
23310 * malloc/malloc.c: Likewise.
23311 * resolv/res-state.c: Likewise.
23312 * resolv/res_libc.c: Likewise.
23313 * sysdeps/i386/dl-machine.h: Likewise.
23314 * sysdeps/ia64/dl-machine.h: Likewise.
23315 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23316 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23317 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23318 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23319 * sysdeps/sh/dl-machine.h: Likewise.
23320 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23321 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23322 * sysdeps/unix/i386/sysdep.S: Likewise.
23323 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23324 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23325 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23326 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23327 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23328 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23329 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23333 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23334 * sysdeps/x86_64/dl-machine.h: Likewise.
23335 * tls.make.c: Likewise.
23336
23337 * configure.in: Remove --with-__thread option. Make tests for
23338 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23339 tls_model attribute fail if no support is available. Remove
23340 USE_IN_LIBIO.
23341 * Makeconfig: Adjust for dropped configure option. All features are
23342 now mandatory.
23343 * Makerules: Likewise.
23344 * Versions.def: Likewise.
23345 * argp/argp-fmtstream.c: Likewise.
23346 * argp/argp-fmtstream.h: Likewise.
23347 * argp/argp-help.c: Likewise.
23348 * assert/assert.c: Likewise.
23349 * config.h.in: Likewise.
23350 * config.make.in: Likewise.
23351 * configure: Likewise.
23352 * configure.in: Likewise.
23353 * csu/Versions: Likewise.
23354 * csu/init.c: Likewise.
23355 * elf/tst-audit2.c: Likewise.
23356 * elf/tst-tls10.c: Likewise.
23357 * elf/tst-tls10.h: Likewise.
23358 * elf/tst-tls11.c: Likewise.
23359 * elf/tst-tls12.c: Likewise.
23360 * elf/tst-tls14.c: Likewise.
23361 * elf/tst-tlsmod11.c: Likewise.
23362 * elf/tst-tlsmod12.c: Likewise.
23363 * elf/tst-tlsmod13.c: Likewise.
23364 * elf/tst-tlsmod13a.c: Likewise.
23365 * elf/tst-tlsmod14a.c: Likewise.
23366 * elf/tst-tlsmod15b.c: Likewise.
23367 * elf/tst-tlsmod16a.c: Likewise.
23368 * elf/tst-tlsmod16b.c: Likewise.
23369 * elf/tst-tlsmod7.c: Likewise.
23370 * elf/tst-tlsmod8.c: Likewise.
23371 * elf/tst-tlsmod9.c: Likewise.
23372 * gmon/gmon.c: Likewise.
23373 * grp/fgetgrent_r.c: Likewise.
23374 * grp/putgrent.c: Likewise.
23375 * hurd/fopenport.c: Likewise.
23376 * include/libc-symbols.h: Likewise.
23377 * include/tls.h: Likewise.
23378 * intl/gettextP.h: Likewise.
23379 * intl/loadinfo.h: Likewise.
23380 * locale/global-locale.c: Likewise.
23381 * locale/localeinfo.h: Likewise.
23382 * mach/devstream.c: Likewise.
23383 * malloc/arena.c: Likewise.
23384 * malloc/set-freeres.c: Likewise.
23385 * misc/err.c: Likewise.
23386 * misc/getttyent.c: Likewise.
23387 * misc/mntent_r.c: Likewise.
23388 * posix/getopt.c: Likewise.
23389 * posix/wordexp.c: Likewise.
23390 * pwd/fgetpwent_r.c: Likewise.
23391 * resolv/Versions: Likewise.
23392 * resolv/res_hconf.c: Likewise.
23393 * shadow/fgetspent_r.c: Likewise.
23394 * shadow/putspent.c: Likewise.
23395 * stdio-common/printf_fphex.c: Likewise.
23396 * stdio-common/tmpfile.c: Likewise.
23397 * stdlib/abort.c: Likewise.
23398 * stdlib/fmtmsg.c: Likewise.
23399 * sunrpc/auth_unix.c: Likewise.
23400 * sunrpc/clnt_perr.c: Likewise.
23401 * sunrpc/clnt_tcp.c: Likewise.
23402 * sunrpc/clnt_udp.c: Likewise.
23403 * sunrpc/clnt_unix.c: Likewise.
23404 * sunrpc/openchild.c: Likewise.
23405 * sunrpc/svc_simple.c: Likewise.
23406 * sunrpc/svc_tcp.c: Likewise.
23407 * sunrpc/svc_udp.c: Likewise.
23408 * sunrpc/svc_unix.c: Likewise.
23409 * sunrpc/xdr.c: Likewise.
23410 * sunrpc/xdr_array.c: Likewise.
23411 * sunrpc/xdr_rec.c: Likewise.
23412 * sunrpc/xdr_ref.c: Likewise.
23413 * sunrpc/xdr_stdio.c: Likewise.
23414
23415 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23416
23417 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23418
23419 2011-07-03 Andreas Jaeger <aj@suse.de>
23420
23421 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23422 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23423 regenerate with gen-libm-tests.pl.
23424
23425 2010-05-12 Petr Baudis <pasky@suse.cz>
23426
23427 [BZ #11589]
23428 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23429 around j0() zero points by switching to j1().
23430 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23431 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23433 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23434
23435 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23436
23437 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23438 instead of 0.
23439 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23440 instead of 0.
23441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23442 Patch in part by Pavel Roskin <proski@gnu.org>.
23443
23444 [BZ #13138]
23445 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23446 realloc.
23447 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23448 Free memory block if necessary.
23449
23450 [BZ #12847]
23451 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23452 be NULL. Don't lock in this case.
23453
23454 2011-09-09 Roland McGrath <roland@hack.frob.com>
23455
23456 * elf/elf.h (ELFOSABI_GNU): New macro.
23457 (ELFOSABI_LINUX): Define to that.
23458
23459 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23460
23461 * string/strncat.c (strncat): Undef the symbol in case it has been
23462 defined in bits/string.h.
23463
23464 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23465
23466 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23467
23468 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23469 link map.
23470
23471 2011-08-17 Andreas Jaeger <aj@suse.de>
23472
23473 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23474
23475 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23476 Ian Lance Taylor <iant@google.com>
23477
23478 * math/libm-test.inc (lround_test): New testcase.
23479 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23480
23481 2011-09-08 Ulrich Drepper <drepper@gmail.com>
23482
23483 * Makefile: Remove support for automatic cvs check-ins.
23484 * Makerules: Likewise.
23485 * config.make.in: Likewise.
23486 * configure.in: Likewise.
23487 * intl/Makefile: Likewise.
23488 * locale/Makefile: Likewise.
23489 * po/Makefile: Likewise.
23490 * posix/Makefile: Likewise.
23491 * sysdeps/gnu/Makefile: Likewise.
23492 * sysdeps/mach/hurd/Makefile: Likewise.
23493 * sysdeps/sparc/sparc32/Makefile: Likewise.
23494
23495 [BZ #13118]
23496 * posix/Makefile (bug-regex32-ENV): Define.
23497 Patch by John Stanley <jpsinthemix@verizon.net>.
23498
23499 * misc/Makefile (headers): Add bits/select2.h.
23500 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23501 * misc/bits/select2.h: New file.
23502 * include/bits/select2.h: New file.
23503 * debug/Makefile (routines): Add fdelt_chk.
23504 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23505 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23506 FD_ISSET.
23507 * debug/fdelt_chk.c: New file.
23508
23509 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23510 * wcsmbs/test-wmemcmp.c: Likewise.
23511 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23512 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23513
23514 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23515
23516 * string/Makefile (strop-tests): Add memcmp.
23517 * string/test-wmemcmp.c: New file.
23518 * string/test-memcmp.c: Add wmemcmp support.
23519
23520 2011-09-08 Roland McGrath <roland@hack.frob.com>
23521
23522 [BZ #13153]
23523 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23524 2011-07-19 change.
23525
23526 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23527 garbage value in a __mach_port_mod_refs call in the cases of the
23528 task-self and thread-self ports.
23529
23530 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23531
23532 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23533
23534 2011-09-08 Andreas Schwab <schwab@redhat.com>
23535
23536 * elf/dl-load.c (lose): Check for non-null L.
23537
23538 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23539
23540 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23541
23542 * elf/dl-libc.c (dlerror_run): Pass back error code from
23543 dl_catch_error.
23544
23545 [BZ #13123]
23546 * elf/dl-load.c (lose): Free l_origin if it is valid.
23547
23548 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23549 names.
23550 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23551 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23552 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23553 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23554 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23555 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23556
23557 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23558
23559 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23560 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23561 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23562 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23563 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23564 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23565 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23566 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23567 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23568 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23569
23570 2011-08-15 Alan Modra <amodra@gmail.com>
23571
23572 [BZ #13092]
23573 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23574 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23575 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23576 ppc_mcount to static-only-routines.
23577 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23578 __mcount_internal.
23579 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23580 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23581
23582 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23583
23584 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23585 for finite and infinity parameters.
23586
23587 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23588
23589 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23590 and add nop instructions for throughput optimization.
23591 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23592
23593 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23594
23595 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23596 aligned copy for power7 with vector-scalar instructions.
23597 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23598
23599 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23600
23601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23602 AVX check.
23603
23604 2011-09-07 Andreas Schwab <schwab@redhat.com>
23605
23606 [BZ #13144]
23607 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23608 last change.
23609
23610 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23611
23612 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23613 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23614 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23615 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23616 clock_gettime.
23617
23618 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23619
23620 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23621 Forgot to demangle the pointer.
23622
23623 * sysdeps/i386/sysdep.h: Define atom_text_section.
23624 * sysdeps/x86_64/sysdep.h: Likewise.
23625 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23626 section with atom_text_section.
23627 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23628 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23629 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23630 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23631 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23632
23633 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23634 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23635 already be defined. Change to take two parameters and don't assign
23636 result to variable. Adjust all users.
23637 Define INTERNAL_GETTIME if not already defined.
23638 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23639 call.
23640 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23641 HAVE_CLOCK_GETTIME_VSYSCALL.
23642 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23643
23644 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23645 gettimeofday vsyscall, just use time.
23646
23647 2011-09-06 Andreas Schwab <schwab@redhat.com>
23648
23649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23650 <errno.h>.
23651
23652 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23653
23654 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23655 syscall on x86-64.
23656 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23657 syscall.
23658 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23659 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23660 syscall if possible.
23661
23662 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23663
23664 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23665 e_ident. Don't pass to find_mapsXX.
23666 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23667
23668 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23669
23670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23671 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23672 * sysdeps/x86_64/multiarch/strchr.S: Update.
23673 Check bit_slow_BSF bit.
23674 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23675 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23676 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23677
23678 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23679
23680 [BZ #13134]
23681 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23682 before glibc 2.15.
23683 (tryshell): Define.
23684 (__spawni): Change last parameter to be flag. Test
23685 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23686 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23687 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23688 * posix/spawni.c: Likewise.
23689 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23690 * posix/spawnp.c: Likewise. Change normal version to use
23691 SPAWN_XFLAGS_USE_PATH.
23692 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23693 SPAWN_XFLAGS_TRY_SHELL.
23694
23695 [BZ #13150]
23696 * posix/glob.h: Remove gcc 1.x support.
23697
23698 [BZ #13068]
23699 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23700
23701 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23702
23703 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23704 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23705 strrchr-sse2-bsf
23706 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23707 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23708 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23709 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23710 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23711 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23712
23713 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23714
23715 * sysdeps/x86_64/wcscmp.S: New file.
23716
23717 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23718 wcscmp-c wcscmp-sse2
23719 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23720 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23721 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23722 * wcsmbs/wcscmp.c: Allow renaming.
23723
23724 2011-09-05 David S. Miller <davem@davemloft.net>
23725
23726 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23727 stack slot, rather than the struct return pointer slot.
23728 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23729 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23731 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23732
23733 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23734
23735 * po/ja.po: Update from translation team.
23736
23737 [BZ #13144]
23738 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23739 kernel in 64-bit binaries.
23740
23741 2011-09-01 David S. Miller <davem@davemloft.net>
23742
23743 * elf/elf.h (HWCAP_SPARC_*): Move to..
23744 * sysdeps/sparc/sysdep.h: this new file and add new values.
23745 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23746 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23747 _DL_HWCAP_COUNT to 24.
23748 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23749 entries.
23750 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23751 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23752 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23753 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23754 instead of magic constants.
23755 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23756
23757 2011-08-31 David S. Miller <davem@davemloft.net>
23758
23759 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23760 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23761 Reimplement to do errno handling inline.
23762 (SYSCALL_ERROR_HANDLER): New macro.
23763 (__SYSCALL_STRING): Do not do errno handling in asm.
23764 (__CLONE_SYSCALL_STRING): Delete.
23765 (__INTERNAL_SYSCALL_STRING): Delete.
23766 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23767 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23768 (PSEUDO): Reimplement to do errno handling inline.
23769 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23770 (SYSCALL_ERROR_HANDLER): New macro.
23771 (__SYSCALL_STRING): Do not do errno handling in asm.
23772 (__CLONE_SYSCALL_STRING): Delete.
23773 (__INTERNAL_SYSCALL_STRING): Delete.
23774 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23775 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23776 i386.
23777 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23778 (inline_syscall*): Add 'err' argument.
23779 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23780 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23781 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23782 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23783
23784 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23785 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23786
23787 2011-08-30 Andreas Schwab <schwab@redhat.com>
23788
23789 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23790
23791 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23792
23793 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23794 directive.
23795
23796 2011-08-24 David S. Miller <davem@davemloft.net>
23797
23798 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23799
23800 2011-08-24 Andreas Schwab <schwab@redhat.com>
23801
23802 * elf/Makefile: Add rules to build and run unload8 test.
23803 * elf/unload8.c: New file.
23804 * elf/unload8mod1.c: New file.
23805 * elf/unload8mod1x.c: New file.
23806 * elf/unload8mod2.c: New file.
23807 * elf/unload8mod3.c: New file.
23808
23809 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23810 it wasn't used.
23811
23812 2011-08-23 David S. Miller <davem@davemloft.net>
23813
23814 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23815 subtract stack bias.
23816 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23817 %sp not %fp in calculations.
23818 (_JMPBUF_UNWINDS_ADJ): Likewise.
23819
23820 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23821 (aio_suspend): Call it to force an exception region around the
23822 AIO_MISC_WAIT() invocation.
23823
23824 2011-08-23 Andreas Schwab <schwab@redhat.com>
23825
23826 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23827 backslash.
23828
23829 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23830
23831 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23832 protection macro.
23833 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23834 and <dl-machine.h>.
23835 (Elf64_FuncDesc): Remove.
23836
23837 2011-08-22 David S. Miller <davem@davemloft.net>
23838
23839 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23840 sigaltstack check, add missing cfi directives.
23841 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23842 missing cfi directives, and sigaltstack handling.
23843
23844 2011-08-16 Andreas Schwab <schwab@redhat.com>
23845
23846 [BZ #11724]
23847 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23848 object is seen twice.
23849 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23850
23851 * elf/Makefile (distribute): Add tst-initorder2.c.
23852 (tests): Add tst-initorder2.
23853 (modules-names): Add tst-initorder2a tst-initorder2b
23854 tst-initorder2c tst-initorder2d. Add rules to build them.
23855 ($(objpfx)tst-initorder2.out): New rule.
23856 * elf/tst-initorder2.c: New file.
23857 * elf/tst-initorder2.exp: New file.
23858
23859 2011-08-22 Andreas Schwab <schwab@redhat.com>
23860
23861 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23862
23863 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23864 dependencies back to end of function.
23865
23866 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23867 $(elfobjdir)/ld.so.
23868
23869 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23870
23871 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23872 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23873 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23874 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23875 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23876 of __vdso_gettimeofday.
23877 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23878 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23879 attribute_hidden.
23880 (_libc_vdso_platform_setup): Remove initialization of
23881 __vdso_gettimeofday and __vdso_time.
23882
23883 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23884
23885 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23886 and fgetc_unlocked.
23887 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23888 getc_unlocked.
23889
23890 * elf/dl-open.c (add_to_global): Report additions to the global scope
23891 for LD_DEBUG=scopes.
23892 (dl_open_worker): Also print scope of newly loaded dependencies.
23893 (_dl_show_scope): Indicate if there is no scope.
23894
23895 [BZ #13114]
23896 * stdio-common/Makefile (tests): Add bug24.
23897 * stdio-common/bug24.c: New file.
23898
23899 2011-08-19 Andreas Jaeger <aj@suse.de>
23900
23901 [BZ #13114]
23902 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23903 non-existant file when using close-on-exec mode.
23904
23905 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23906
23907 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23908 the very first instruction.
23909
23910 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23911 the CFI state in the end.
23912 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23913 inclusion of dl-trampoline.h.
23914 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23915
23916 2011-08-19 Andreas Schwab <schwab@redhat.com>
23917
23918 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23919 expectations for long double.
23920
23921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23922 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23923
23924 2011-08-14 David S. Miller <davem@davemloft.net>
23925
23926 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23927 artificual limit depends upon the system page size.
23928
23929 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23930
23931 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23932 * resolv/Makefile: Define CFLAGS-libresolv.
23933
23934 2011-08-17 Andreas Schwab <schwab@redhat.com>
23935
23936 * nss/makedb.c (compute_tables): Make variables used in nested
23937 function static.
23938
23939 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23940
23941 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23942 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23943 if buffer was too small.
23944
23945 * elf/pldd.c (main): Attach to all threads in the process.
23946 Rewrite /proc handling to use *at functions.
23947
23948 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23949
23950 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23951 specifies first scope to show.
23952 (dl_open_worker): Update callers. Move printing scope of new
23953 object to before the relocation.
23954 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23955 * sysdeps/generic/ldsodefs.h: Update declaration.
23956
23957 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23958 string for the scope number.
23959
23960 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23961
23962 * nscd/servicescache.c (cache_addserv): Make sure written is always
23963 initialized.
23964
23965 2011-08-14 Roland McGrath <roland@hack.frob.com>
23966
23967 * sysdeps/i386/i486/bits/atomic.h
23968 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23969 statement expression, so as to suppress "set but not used" warning.
23970 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23971
23972 * string/strncat.c (STRNCAT): Use prototype definition.
23973
23974 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23975 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23976 -Iprograms here.
23977 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23978 (localedef-modules): Add localedef.
23979 (locale-modules): Add locale.
23980
23981 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23982 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23983 to avoid a warning.
23984
23985 2011-08-14 David S. Miller <davem@davemloft.net>
23986
23987 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23988 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23989
23990 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23991
23992 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23993 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23994 * elf/rtld.c (dl_main): Set l_name of vDSO.
23995 Call _dl_show_scope when DL_DEBUG_SCOPES.
23996 (process_dl_debug): Recognize scopes flag and also set it for all.
23997 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23998 Declare _dl_show_scope.
23999
24000 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24001 (do_dlopen): Pass caller_dlopen to dl_open.
24002 (__libc_dlopen_mode): Initialize caller_dlopen.
24003
24004 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24005 of libc. Make tolower call locale-independent. Optimize a bit by
24006 using isdigit instead of isalnum.
24007 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24008
24009 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24010
24011 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24012 was a dependency or dynamically loaded.
24013
24014 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24015
24016 * intl/l10nflist.c: Allow architecture-specific pop function.
24017 * sysdeps/x86_64/l10nflist.c: New file.
24018
24019 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24020 classification.
24021
24022 2011-08-10 Andreas Schwab <schwab@redhat.com>
24023
24024 * include/dirent.h: Add libc_hidden_proto for scandirat and
24025 scandirat64. Don't declare __scandirat64.
24026 * dirent/scandirat.c: Add libc_hidden_def.
24027 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24028 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24029
24030 2011-08-10 David S. Miller <davem@davemloft.net>
24031
24032 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24033 enum.
24034 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24035 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24036 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24037
24038 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24039
24040 * Versions.def [libc]: Add GLIBC_2.15.
24041 * dirent/Makefile (routines): Add scandirat and scandirat64.
24042 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24043 GLIBC_2.15.
24044 * dirent/dirent.h: Declare scandirat and scandirat64.
24045 * dirent/scandirat.c: New file.
24046 * dirent/scandirat64.c: New file.
24047 * sysdeps/wordsize-64/scandirat.c: New file.
24048 * sysdeps/wordsize-64/scandirat64.c: New file.
24049 * dirent/opendir.c: Define opendirat.
24050 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24051 using scandirat.
24052 * dirent/scandir64.c: Adjust for scandir.c change.
24053 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24054 __scandirat64, and __scandir_cancel_handler.
24055 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24056 additional parameter and use openat instead of open (outside of ld.so).
24057 Add new __opendir as wrapper around __opendirat.
24058 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24059 here without requiring old scandirat implementation.
24060
24061 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24062
24063 * dirent/scandir.c (cancel_handler): Renamed to
24064 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24065 defined. Adjust users.
24066 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24067 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24068
24069 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24070
24071 * string/test-string.h (IMPL): Use __STRING to expand name and then
24072 stringify it.
24073
24074 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24075 of cleanups.
24076
24077 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24078
24079 * string/Makefile: Update.
24080 (strop-tests): Append strncat.
24081 * string/test-wcscmp.c: New file.
24082 New comprehensive test for wcscmp.
24083 * string/test-strcmp.c: Update.
24084 (WIDE): New define.
24085
24086 2011-07-22 Andreas Schwab <schwab@redhat.com>
24087
24088 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24089 line.
24090
24091 2011-07-26 Andreas Schwab <schwab@redhat.com>
24092
24093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24094 encoding to ACE if AI_IDN.
24095
24096 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24097
24098 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24099 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24100
24101 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24102
24103 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24104 Fix overflow bug in strncat.
24105 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24106
24107 * string/test-strncat.c: Update.
24108 Add new tests for checking overflow bugs.
24109
24110 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24111
24112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24113 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24114 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24115 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24116 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24117 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24118 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24119 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24120 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24121
24122 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24123 (USE_AS_STRCAT): Define.
24124 Add strcat and strncat support.
24125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24126
24127 2011-07-25 Andreas Schwab <schwab@redhat.com>
24128
24129 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24130 __n bigger than INT_MAX+1.
24131 (__strncmp_g): Likewise.
24132
24133 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24134
24135 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24136 * libio/stido.h: Likewise.
24137
24138 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24139 (AF_NFC): Define.
24140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24141 (AF_NFC): Define.
24142
24143 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24144 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24145 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24146 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24147 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24148
24149 [BZ #13021]
24150 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24151 installed.
24152
24153 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24154 typo.
24155 (_dl_x86_64_save_sse): Likewise.
24156
24157 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24158
24159 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24160 OSXSAVE.
24161 (_dl_x86_64_save_sse): Likewise.
24162
24163 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24164
24165 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24166
24167 2011-07-21 Andreas Schwab <schwab@redhat.com>
24168
24169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24170 change.
24171 (_dl_x86_64_save_sse): Use correct AVX check.
24172
24173 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24174
24175 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24176 bug in strncpy/strncat.
24177 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24178
24179 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24180
24181 * string/tester.c (test_strcat): Add tests for different alignments
24182 of source and destination.
24183 (test_strncat): Likewise.
24184
24185 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24186
24187 [BZ #12852]
24188 * posix/glob.c (glob): Check passed in values before using them in
24189 expressions to avoid some overflows.
24190 (glob_in_dir): Likewise.
24191
24192 [BZ #13007]
24193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24194 check for AVX enablement so that we don't crash with old kernels and
24195 new hardware.
24196 * elf/tst-audit4.c: Add same checks here.
24197 * elf/tst-audit6.c: Likewise.
24198
24199 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24200
24201 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24202
24203 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24204
24205 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24206
24207 * po/cs.po: Update from translation team.
24208 * po/bg.po: Likewise.
24209
24210 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24211
24212 * misc/sys/cdefs.h: Add support for const attribute.
24213 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24214 to gnu_dev_{major,minor,makedev} functions.
24215
24216 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24217
24218 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24219
24220 2011-07-20 Andreas Schwab <schwab@redhat.com>
24221
24222 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24223 strlen results.
24224
24225 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24226
24227 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24228 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24229 register in order to avoid conflicts with the soft frame pointer
24230 being held in r11 when necessary.
24231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24232 (INTERNAL_VSYSCALL_NCS): Likewise.
24233
24234 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24235
24236 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24237 * elf/dl-fini.c (_dl_fini): Adjust caller.
24238 * elf/dl-close.c (_dl_close_worker): Likewise.
24239 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24240
24241 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24242
24243 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24244 "aux_cache->nlibs < 0".
24245
24246 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24247 in the reload-count case.
24248
24249 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24250
24251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24252 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24253 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24254 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24255 * sysdeps/x86_64/multiarch/strcat.S: New file.
24256 * sysdeps/x86_64/multiarch/strncat.S: New file.
24257 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24258 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24259 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24260 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24261 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24262 (USE_AS_STRCAT): Define.
24263 Add strcat and strncat support.
24264 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24265 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24266 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24267 * string/strncat.c: Update.
24268 (USE_AS_STRNCAT): Define.
24269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24270 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24271 and i7.
24272 * sysdeps/x86_64/multiarch/init-arch.h
24273 (bit_Prefer_PMINUB_for_stringop): New.
24274 (index_Prefer_PMINUB_for_stringop): Likewise.
24275 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24276 bit_Prefer_PMINUB_for_stringop.
24277
24278 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24279
24280 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24281 buffer64.
24282 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24283 of casting of buffer.
24284 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24285 buffer32 and buffer64.
24286 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24287 writes instead of casting of buffer.
24288 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24289 buffer32.
24290 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24291 casting of buffer.
24292
24293 2011-07-19 Andreas Schwab <schwab@redhat.com>
24294
24295 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24296
24297 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24298
24299 * nscd/nscd.c (termination_handler): Don't do anything for a database
24300 if it has not yet been initialized.
24301
24302 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24303
24304 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24305
24306 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24307
24308 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24309
24310 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24311
24312 * po/nl.po: Update from translation team.
24313 * po/sv.po: Likewise.
24314
24315 2011-07-16 Roland McGrath <roland@hack.frob.com>
24316
24317 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24318 now disallowed by GCC.
24319
24320 * configure.in (use-default-link): Default to yes if a test -shared
24321 link meets our qualifications.
24322 * configure: Regenerated.
24323
24324 * config.make.in (output-format): New variable.
24325 * configure.in: Check for ld --print-output-format support.
24326 * configure: Regenerated.
24327 * Makerules ($(common-objpfx)format.lds)
24328 [$(output-format) != unknown]: Just use $(output-format),
24329 instead of the linker-script munging.
24330
24331 2011-07-14 Roland McGrath <roland@hack.frob.com>
24332
24333 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24334 of $(common-objpfx)shlib.lds.
24335 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24336
24337 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24338 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24339
24340 * configure.in (-z relro check): Adjust test code to add a large
24341 writable data section after it.
24342 * configure: Regenerated.
24343
24344 2011-07-11 Roland McGrath <roland@hack.frob.com>
24345
24346 * configure.in (-z relro check): Fix test code to make the variable
24347 truly const.
24348 * configure: Regenerated.
24349
24350 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24351
24352 * nscd/nscd.h (struct traced_file): Define.
24353 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24354 elements. Add traced_files.
24355 (inotify_fd): Declare.
24356 (register_traced_file): Declare.
24357 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24358 (inotify_fd): Export.
24359 (resolv_conf_descr): Remove.
24360 (nscd_init): Move inotify descriptor creation to main.
24361 Don't register files for notification here.
24362 (register_traced_file): New function.
24363 (invalidate_cache): Don't use reset_res to determine whether to call
24364 res_init, go through the list of registered files.
24365 (main_loop_poll): The inotify descriptors are now stored in the
24366 structures for the traced files.
24367 (main_loop_epoll): Likewise
24368 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24369 to __nss_disable_nscd.
24370 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24371 for a database anymore. Check the records for all the registered
24372 files instead.
24373 * nss/Makefile (libnss_files-routines): Add files-init.
24374 (libnss_db-routines): Add db-init.
24375 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24376 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24377 * nss/nss_db/db-init.c: New file.
24378 * nss/nss_files/files-init.c: New file.
24379 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24380 __nss_lookup_function.
24381 (__nss_lookup_function): Call nss_load_library.
24382 (nss_load_all_libraries): New function.
24383 (__nss_disable_nscd): Take parameter with callback function for files
24384 to register. Set is_nscd. Load all the DSOs for the NSS modules
24385 used for the cached services.
24386 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24387 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24388 options for features to all the files in nscd.
24389
24390 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24391
24392 2011-07-10 Roland McGrath <roland@hack.frob.com>
24393
24394 * csu/elf-init.c (__libc_csu_init): Comment typo.
24395
24396 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24397
24398 * po/pl.po: Update from translation team.
24399 * po/ja.po: Likewise.
24400 * po/ru.po: Likewise.
24401 * po/ko.po: Likewise.
24402 * po/fr.po: Likewise.
24403
24404 2011-07-09 Roland McGrath <roland@hack.frob.com>
24405
24406 * configure.in (.ctors/.dtors header and trailer check):
24407 Use an empirical test on a built program.
24408 * configure: Regenerated.
24409
24410 * configure.in (-z relro check): Use an empirical test on a built DSO.
24411 Detect, but do not require, on ia64.
24412 * configure: Regenerated.
24413
24414 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24415 Update tests that use readelf to use $READELF instead.
24416 * configure: Regenerated.
24417
24418 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24419
24420 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24421 if the result is not used.
24422
24423 2011-07-05 Andreas Jaeger <aj@suse.de>
24424
24425 [BZ#9696]
24426 * stdlib/tst-strtod.c: Add testcase.
24427
24428 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24429
24430 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24431 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24432 The latter has a higher limit. Take additional parameter to pass to
24433 the new function.
24434 (__pathconf): Pass file to __statfs_link_max.
24435 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24436 __statfs_link_max.
24437 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24438 __statfs_link_max.
24439
24440 [BZ #12868]
24441 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24442 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24443 Handle Lustre.
24444 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24445 (__statfs_filesize_max): Likewise.
24446 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24447
24448 2011-07-05 Andreas Jaeger <aj@suse.de>
24449
24450 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24451
24452 2011-07-06 Marek Polacek <mpolacek@redhat.com>
24453
24454 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24455 `status' variable.
24456 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24457 Likewise.
24458
24459 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24460
24461 * Makefile (strop-tests): Add strncat.
24462 * string/test-strncat.c: New file.
24463
24464 2011-06-30 Marek Polacek <mpolacek@redhat.com>
24465
24466 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24467
24468 2011-06-21 Andreas Jaeger <aj@suse.de>
24469
24470 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24471 Copy rule from iconvdata/Makefile.
24472
24473 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24474
24475 [BZ #12922]
24476 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24477 but no long options are defined, just return 'W'.
24478
24479 2011-06-22 Marek Polacek <mpolacek@redhat.com>
24480
24481 [BZ #9696]
24482 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24483
24484 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24485
24486 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24487 netgroups to read.
24488 (innetgr): Likewise.
24489
24490 2011-07-05 Roland McGrath <roland@hack.frob.com>
24491
24492 * config.make.in (install_root): Default to $(DESTDIR).
24493
24494 2011-07-05 Ulrich Drepper <drepper@gmail.com>
24495
24496 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24497
24498 2011-07-02 Roland McGrath <roland@hack.frob.com>
24499
24500 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24501
24502 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24503 containing directory rather than embedding absolute directory names.
24504
24505 * scripts/check-local-headers.sh: Rewritten using awk.
24506 Match by word, not by line. Print error messages for matches.
24507 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24508
24509 * Makerules [shlib-lds-flags empty]:
24510 ($(common-objpfx)libc_pic.opts): New target.
24511 ($(common-objpfx)libc_pic.os.clean): New target.
24512 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24513
24514 * config.make.in (OBJCOPY): New variable.
24515 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24516 * configure: Regenerated.
24517
24518 * config.make.in (use-default-link): New variable.
24519 * configure.in (use_default_link): Grok --with-default-link to set it.
24520 * configure: Regenerated.
24521 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24522 (shlib-lds, shlib-lds-flags): Define to empty.
24523
24524 * Makerules (shlib-lds): New variable.
24525 (shlib-lds-flags): New variable.
24526 (build-shlib, build-moduile, build-module-asneeded): Use it.
24527 ($(common-objpfx)libc.so): Use $(shlib-lds).
24528 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24529 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24530
24531 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24532 DT_FLAGS/DT_FLAGS_1 with zero flags.
24533
24534 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24535 linker script munging.
24536
24537 2011-07-02 Ulrich Drepper <drepper@gmail.com>
24538
24539 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24540 as 128-bit value.
24541 * crypt/sha512.c (sha512_process_block): Perform total addition using
24542 128-bit if possible.
24543 (__sha512_finish_ctx): Likewise.
24544 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24545 as 64-bit value.
24546 * crypt/sha256.c (SWAP64): Define.
24547 (sha256_process_block): Perform total addition using 64-bit if
24548 possible.
24549 (__sha256_finish_ctx): Likewise.
24550
24551 2011-07-01 Ulrich Drepper <drepper@gmail.com>
24552
24553 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24554 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24555 * nscd/hstcache.c (cache_addhst): Likewise.
24556 * nscd/grpcache.c (cache_addgr): Likewise.
24557 * nscd/aicache.c (addhstaiX): Likewise
24558 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24559
24560 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
24561
24562 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24563 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24564 * nscd/hstcache.c (cache_addhst): Likewise.
24565 * nscd/grpcache.c (cache_addgr): Likewise.
24566 * nscd/aicache.c (addhstaiX): Likewise
24567
24568 2011-07-01 Andreas Schwab <schwab@redhat.com>
24569
24570 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24571 domain only when needed.
24572
24573 2011-06-30 Andreas Schwab <schwab@redhat.com>
24574
24575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24576 is always restored.
24577
24578 2011-06-29 Ulrich Drepper <drepper@gmail.com>
24579
24580 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24581 are re-adding the entry.
24582 * nscd/servicescache.c (cache_addserv): Likewise.
24583
24584 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24585
24586 * sysdeps/generic/dl-irel.h: fix protection against multiple
24587 inclusions.
24588 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24589
24590 2011-06-28 Ulrich Drepper <drepper@gmail.com>
24591
24592 [BZ #12935]
24593 * malloc/memusage.sh: Fix quoting in message.
24594 * debug/xtrace.sh: Likewise.
24595
24596 * configure.in: Remove support for --experimental-malloc option, make
24597 it the default.
24598 * config.make.in: Likewise.
24599 * malloc/Makefile: Likewise.
24600
24601 2011-06-27 Andreas Schwab <schwab@redhat.com>
24602
24603 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24604 two-byte characters.
24605
24606 2011-06-27 Roland McGrath <roland@hack.frob.com>
24607
24608 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24609 AC_CACHE_CHECK invocation.
24610 * configure: Regenerated.
24611
24612 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24613
24614 2011-06-27 Ulrich Drepper <drepper@gmail.com>
24615
24616 [BZ #12350]
24617 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24618 bit from old_res_options.
24619
24620 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24621
24622 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24623 value type for setfct.
24624
24625 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24626
24627 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24628 __gettimeofday instead of gettimeofday.
24629
24630 2011-06-26 Ulrich Drepper <drepper@gmail.com>
24631
24632 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24633
24634 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24635
24636 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24637
24638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24639 info.
24640
24641 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24642
24643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24644 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24645 strcpy-sse2-unaligned strncpy-sse2-unaligned
24646 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24647 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24648 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24649 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24650 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24651 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24652 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24653 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24654 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24655 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24656 (STRCPY): Support SSE2 and SSSE3 versions.
24657
24658 2011-06-24 Ulrich Drepper <drepper@gmail.com>
24659
24660 [BZ #12874]
24661 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24662 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24663 kernels which artificially limit size of requests.
24664
24665 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24666
24667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24668 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24669 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24670 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24671 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24672 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24673 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24674 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24675 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24676 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24677 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24678 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24679 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24680 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24681 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24683 Enable unaligned load optimization for Intel Core i3, i5 and i7
24684 processors.
24685 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24686 Define.
24687 (index_Fast_Unaligned_Load): Define.
24688 (HAS_FAST_UNALIGNED_LOAD): Define.
24689
24690 2011-06-23 Marek Polacek <mpolacek@redhat.com>
24691
24692 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24693
24694 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24695
24696 [BZ #12907]
24697 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24698 until it is clear that the information is realy needed.
24699 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24700
24701 2011-06-22 Andreas Schwab <schwab@redhat.com>
24702
24703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24704
24705 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24706
24707 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24708 /sys/devices/system/cpu/online if it is usable.
24709
24710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24711 reading the information from the /proc filesystem to once a second.
24712
24713 2011-06-21 Andreas Jaeger <aj@suse.de>
24714
24715 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24716 NULL after inclusion of kernel headers.
24717
24718 2011-06-21 Ulrich Drepper <drepper@gmail.com>
24719
24720 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24721 calls to internal_setent.
24722
24723 [BZ #12885]
24724 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24725 addresses using gethostbyname4_r ignore IPv4 addresses.
24726
24727 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24728 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24729
24730 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24731
24732 2011-06-20 David S. Miller <davem@davemloft.net>
24733
24734 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24735 inclusions.
24736 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24737
24738 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24739 (elf_irel): Use it.
24740 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24741 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24742 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24743 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24744 * sysdeps/x86_64/dl-irel.h: Likewise.
24745
24746 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24747 * elf/dl-sym.c: Likewise.
24748
24749 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24750
24751 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24752 need to dereference resplen2.
24753
24754 2011-06-14 Andreas Schwab <schwab@redhat.com>
24755
24756 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24757
24758 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24759
24760 * Makeconfig: Define vardbdir and inst_vardbdir.
24761 * nss/Makefile: Add rules to install db-Makefile.
24762
24763 * nss/nss_db/db-XXX.c: Cleanup.
24764
24765 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24766 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24767 GLIBC_PRIVATE.
24768 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24769 * nss/makedb.c: Implement -g option to specify that value strings
24770 are generated and should not be added to table iterated over for
24771 get*ent calls.
24772 * nss/nss_db/db-initgroups.c: New file.
24773
24774 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24775 interface.
24776
24777 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24778 (internal_getgrouplist): Adjust to name change.
24779 Update use_initgroups_entry if this is not the first call.
24780 * nss/databases.def: Add initgroups entry.
24781
24782 * nss/makedb.c (compute_tables): Check result of multiple hash table
24783 sizes to minimize maximum chain length.
24784
24785 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24786
24787 * Versions.def: Add entry for libnss_db.
24788 * shlib-versions: Likewise.
24789 * nss/Makefile: Add rules to build libnss_db.
24790 * nss/Versions: Add libnss_db information. Organize libnss_files
24791 entries better.
24792 * nss/db-Makefile: Add gshadow support. Change rules for the new
24793 makedb progra. Some minor improvements to generate smaller files.
24794 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24795 here from...
24796 * nss/makedb.c: ...here.
24797 Improve database format to be smaller and require less memory at
24798 runtime.
24799 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24800 db anymore.
24801 * nss/nss_db/db-netgrp.c: Likewise.
24802 * nss/nss_db/db-open.c: Likewise.
24803 * nss/nss_files/flies-XXX.x: Adjust comments.
24804 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24805 * nss/nss_files/files-grp.c: Likewise.
24806 * nss/nss_files/files-hosts.c: Likewise.
24807 * nss/nss_files/files-network.c: Likewise.
24808 * nss/nss_files/files-proto.c: Likewise.
24809 * nss/nss_files/files-pwd.c: Likewise.
24810 * nss/nss_files/files-rpc.c: Likewise.
24811 * nss/nss_files/files-service.c: Likewise.
24812 * nss/nss_files/files-sgrp.c: Likewise.
24813 * nss/nss_files/files-spwd.c: Likewise.
24814 * nss/nss_db/db-alias.c: Removed.
24815 * nss/nss_db/dummy-db.h: Removed.
24816
24817 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24818
24819 * nss/makedb.c: Rewritten to not use database library.
24820 * nss/Makefile: Update to build new makedb program.
24821
24822 2011-06-14 Andreas Jaeger <aj@suse.de>
24823
24824 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24825 memset declaration.
24826
24827 2011-06-10 Andreas Schwab <schwab@redhat.com>
24828
24829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24830 tmpbuf.
24831
24832 2011-06-10 Roland McGrath <roland@hack.frob.com>
24833
24834 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24835 * elf/Makefile ($(objpfx)ld.so): Likewise.
24836
24837 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24838 Don't list ld.so twice in dependencies.
24839
24840 * posix/bug-regex31.c: Include <stdlib.h>.
24841
24842 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24843
24844 * nis/nss_compat/compat-spwd.c
24845 (getspent_next_nss_netgr): Remove unused variable.
24846 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24847
24848 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24849 nonmembers" output to use the right array.
24850
24851 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24852
24853 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24854
24855 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24856 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24857 * catgets/gencat.c (read_input_file): Likewise.
24858 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24859
24860 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24861 variable definition inside #if's controlling its use.
24862
24863 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24864
24865 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24866
24867 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24868
24869 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24870 unreachable code.
24871
24872 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24873
24874 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24875 * configure: Regenerated.
24876
24877 * Makerules: Revert last change.
24878 * elf/Makefile: Likewise.
24879
24880 2011-06-09 Roland McGrath <roland@hack.frob.com>
24881
24882 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24883 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24884 (reloc-link): Likewise.
24885
24886 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24887
24888 * elf/Makefile: Add rules to build pldd.
24889 * elf/pldd.c: New file.
24890 * elf/pldd-xx.c: New file.
24891
24892 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24893
24894 * version.h: Update for 2.15 development version.
24895
24896 2011-06-07 David S. Miller <davem@davemloft.net>
24897
24898 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24899 ifuncs.
24900 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24901 elf_machine_lazy_rel): Likewise.
24902 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24903 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24904 elf_machine_lazy_rel): Likewise.
24905 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24906 dl_hwcap via passed in argument.
24907 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24908 Likewise.
24909
24910 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24911
24912 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24913
24914 2011-06-06 Roland McGrath <roland@hack.frob.com>
24915
24916 [BZ #12849]
24917 * manual/fdl-1.1.texi: New file, verbatim from:
24918 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24919 * manual/lgpl-2.1.texi: New file, verbatim from:
24920 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24921 * manual/Makefile (licenses): New variable, list those new file names.
24922 (texis): Use it.
24923 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24924
24925 * manual/fdl.texi: File removed.
24926 * manual/lesser.texi: File removed.
24927 * manual/libc.texinfo (Copying, Documentation License):
24928 Use new @include file names, put @appendix directive before @include.
24929
24930 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24931
24932 [BZ #12841]
24933 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24934 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24935 (mq_open): Add __NTH.
24936
24937 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24938
24939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24940 Assume Intel Core i3/i5/i7 processor if AVX is available.
24941
24942 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24943
24944 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24945 typo.
24946
24947 2011-05-31 Andreas Schwab <schwab@redhat.com>
24948
24949 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24950 memory. Use alloca_account. Fix memory leak when retrying.
24951
24952 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24953
24954 * version.h (RELEASE): Bump for 2.14 release.
24955 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24956
24957 * config.make.in (RANLIB): Remove entry.
24958
24959 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24960
24961 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24962 (libc.pot): Work around missing support for .ksh extension in xgettext.
24963
24964 [BZ #12684]
24965 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24966 if both request failed.
24967 (send_dg): In case of server errors clear resplen or *resplen2.
24968
24969 [BZ #12454]
24970 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24971 when there are multiple maps.
24972 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24973 (_dl_fini): Remove test here.
24974
24975 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24976
24977 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24978
24979 [BZ #12350]
24980 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24981 bit from old_res_options.
24982 (gaih_inet): Likewise.
24983
24984 [BZ #11099]
24985 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24986 as signed.
24987
24988 * resolv/res_init.c (res_setoptions): Make the code more compact.
24989
24990 [BZ #11558]
24991 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24992 set RES_USEVC.
24993
24994 [BZ #11634]
24995 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24996
24997 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24998
24999 [BZ #11781]
25000 * malloc/malloc.h: Declare malloc hook variables as volatile.
25001
25002 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25003 in last patch.
25004
25005 [BZ #11799]
25006 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25007 raise in the comment.
25008 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25009 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25010 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25011
25012 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25013
25014 [BZ #12811]
25015 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25016 grow the buffers more if it already has to be sufficient.
25017 (build_wcs_upper_buffer): Likewise.
25018 * posix/regexec.c (check_matching): Likewise.
25019 (clean_state_log_if_needed): Likewise.
25020 (extend_buffers): Don't enlarge buffers beyond size of the input
25021 buffer.
25022 Patches mostly by Emil Wojak <emil@wojak.eu>.
25023 * posix/bug-regex32.c: New file.
25024 * posix/Makefile (tests): Add bug-regex32.
25025
25026 * locale/findlocale.c (_nl_find_locale): Return right away if
25027 _nl_explode_name failed.
25028 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25029
25030 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25031
25032 * debug/xtrace.sh: Unify messages.
25033 * malloc/memusage.sh: Likewise.
25034
25035 [BZ #12813]
25036 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25037 time symbol from vDSO. Substitute with vsyscall if not available.
25038 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25039 __vdso_time.
25040
25041 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25042 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25043 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25044 Add sendmmsg and internal_sendmmsg.
25045 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25046 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25047 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25048
25049 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25050 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25051 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25052
25053 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25054
25055 [BZ #12813]
25056 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25057 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25058 available.
25059 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25060 __vdso_getcpu.
25061
25062 [BZ #12814]
25063 * iconvdata/Makefile (tests): Add bug-iconv9.
25064 * iconvdata/bug-iconv9.c: New file.
25065
25066 2011-05-27 Andreas Schwab <schwab@redhat.com>
25067
25068 [BZ #12814]
25069 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25070
25071 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25072
25073 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25074 (struct user_regs_struct): Change intcs field back to cs.
25075
25076 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25077
25078 * po/ja.po: Update from translation team.
25079
25080 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25081
25082 [BZ #12795]
25083 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25084 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25085
25086 2011-05-20 Andreas Schwab <schwab@redhat.com>
25087
25088 * stdlib/longlong.h: Update from GCC.
25089
25090 2011-05-23 Andreas Schwab <schwab@redhat.com>
25091
25092 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25093 parameter name.
25094 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25095 Add parameter name.
25096 (__sysconf): Pass it down.
25097
25098 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25099
25100 [BZ #12671]
25101 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25102 some situations.
25103 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25104 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25105 add in in __libc_use_alloca calls. Adjust callers.
25106 (glob): Use malloc in some situations.
25107
25108 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25109 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25110 pltexit.
25111
25112 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25113
25114 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25115 and CLOCK_BOOTTIME_ALARM.
25116
25117 [BZ #12782]
25118 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25119 is returned.
25120
25121 * string/_strerror.c (__strerror_r): Print negative errors as signed
25122 numbers.
25123
25124 [BZ #12777]
25125 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25126 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25127 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25128
25129 * configure.in: Fix typo in redirection and correct removal of test
25130 files in two cases.
25131
25132 [BZ #12788]
25133 * locale/setlocale.c (new_composite_name): Fix test to check for
25134 identical name of all categories.
25135
25136 [BZ #12792]
25137 * libio/filedoalloc.c (local_isatty): New function.
25138 (_IO_file_doallocate): Use local_isatty.
25139 * stdio-common/perror.c (perror): In case a new stream is used
25140 forward the stream error.
25141 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25142 error flag.
25143
25144 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25145
25146 [BZ #11869]
25147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25148 alloca.
25149 * include/alloca.h (extend_alloca_account): Define.
25150
25151 [BZ #11857]
25152 * posix/regex.h: Fix comments with documentation of user-accessible
25153 fields after compilation and describe correct free'ing of pattern
25154 after re_compile_pattern.
25155 Patch by Reuben Thomas <rrt@sc3d.org>.
25156
25157 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25158
25159 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25160 and -mno-altivec to prevent the compiler from using Altivec and/or
25161 VSX instructions when the corresponding registers are not available.
25162
25163 2011-05-19 Andreas Schwab <schwab@redhat.com>
25164
25165 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25166
25167 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25168
25169 * libio/freopen.c (freopen): Use __dup2, not dup2.
25170 * libio/freopen64.c (freopen64): Likewise.
25171
25172 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25173
25174 [BZ #12775]
25175 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25176 * math/Makefile (tests): Add test-powl.
25177 (CFLAGS-test-powl.c): Define.
25178 * math/test-powl.c: New file.
25179
25180 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25181
25182 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25183
25184 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25185
25186 [BZ #11837]
25187 * iconvdata/gb18030.c: Update to GB18020-2005.
25188
25189 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25190
25191 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25192 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25193 Patch by Aharon Robbins <arnold@skeeve.com>.
25194
25195 [BZ #11892]
25196 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25197 on the stack.
25198
25199 [BZ #11895]
25200 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25201 through underflows.
25202
25203 [BZ #12766]
25204 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25205 point to strings before performing equality test for error_one_per_line
25206 mode.
25207
25208 [BZ #11697]
25209 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25210
25211 [BZ #11820]
25212 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25213 (struct user_fpregs_struct): Avoid __uint*_t types.
25214
25215 [BZ #6420]
25216 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25217 symbol info. Use it instead of calling _dl_addr locally.
25218 (lock_and_info): New function.
25219 (tr_freehook): Call lock_and_info and pass symbol info as additional
25220 parameter to tr_where.
25221 (tr_mallochook): Likewise.
25222 (tr_reallochook): Likewise.
25223 (tr_memalignhook): Likewise.
25224
25225 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25226 used and couldn't be at all thread-safe.
25227
25228 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25229
25230 * libio/freopen.c (freopen): Don't close old file descriptor
25231 before the new one is opened. Instead dup the new file descriptor
25232 to the old one after the new stream is created.
25233 * libio/freopen64.c (freopen64): Likewise.
25234 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25235 * libio/fileops.c (_IO_new_file_close_it): Handle new
25236 _IO_FLAGS2_NOCLOSE flag.
25237 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25238 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25239 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25240 _IO_FLAGS2_NOCLOSE flag.
25241 * include/unistd.h: Add hidden_proto for dup3.
25242 Define __have_dup3.
25243 * io/dup3.c: Define hidden symbol.
25244 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25245
25246 [BZ #7101]
25247 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25248 when an incomplete long option is used.
25249 * posix/tst-getopt_long1.c: New file.
25250 * posix/Makefile (tests): Add tst-getopt_long1.
25251
25252 [BZ #10138]
25253 * scripts/config.guess: Update from autoconf-2.68.
25254 * scripts/config.sub: Likewise.
25255
25256 [BZ #10157]
25257 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25258 tests into ...
25259 (has_cpuclock): ...this. New function.
25260 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25261 macro here based on has_cpuclock code.
25262
25263 [BZ #10149]
25264 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25265 First byte (not low byte) is now always NUL.
25266 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25267
25268 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25269 Use non-cancelable interfaces.
25270
25271 [BZ #9809]
25272 * locale/iso-639.def: Add entry for Sorani.
25273
25274 [BZ #11901]
25275 * include/stdlib.h: Move include protection to the right place.
25276 Define abort_msg_s. Declare __abort_msg with it.
25277 * stdlib/abort.c (__abort_msg): Adjust type.
25278 * assert/assert.c (__assert_fail_base): New function. Majority
25279 of code from __assert_fail. Allocate memory for __abort_msg with
25280 mmap.
25281 (__assert_fail): Now call __assert_fail_base.
25282 * assert/assert-perr.c: Remove bulk of implementation. Use
25283 __assert_fail_base.
25284 * include/assert.hL Declare __assert_fail_base.
25285 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25286 mmap.
25287 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25288
25289 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25290
25291 [BZ #11952]
25292 [BZ #12453]
25293 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25294 until all modules are registered in the DTV.
25295 * elf/Makefile: Add rules to build and run tst-tls19.
25296 * elf/tst-tls19.c: New file.
25297 * elf/tst-tls19mod1.c: New file.
25298 * elf/tst-tls19mod2.c: New file.
25299 * elf/tst-tls19mod3.c: New file.
25300 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25301
25302 [BZ #12083]
25303 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25304 correctly.
25305
25306 [BZ #12601]
25307 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25308 two-byte sequence errors.
25309 * iconvdata/Makefile (tests): Add bug-iconv8.
25310 * iconvdata/bug-iconv8.c: New file.
25311
25312 [BZ #12626]
25313 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25314 buf2 definition.
25315
25316 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25317
25318 [BZ #12432]
25319 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25320 (dummy_getcfa): New function.
25321 (init): Get _Unwind_GetCFA address, use dummy if not found.
25322 (backtrace_helper): In recursion check, also check whether CFA changes.
25323 (__backtrace): Completely initialize arg.
25324
25325 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25326 storing incomplete byte sequence in state object. Avoid testing for
25327 guaranteed too small input if we know there is enough data available.
25328
25329 2011-05-11 Andreas Schwab <schwab@redhat.com>
25330
25331 * Makeconfig (+link-pie): Indent.
25332 * Rules (binaries-pie): Define if $(have-fpie) and
25333 $(build-shared).
25334 (binaries-shared): Also filter out $(binaries-pie).
25335 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25336 * nscd/Makefile (others-pie): Add nscd.
25337 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25338 ($(objpfx)nscd): Remove command override.
25339 * login/Makefile (others-pie): Add pt_chown.
25340 ($(objpfx)pt_chown): Remove command override.
25341 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25342 remove command overrides.
25343
25344 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25345
25346 * libio/tst_putwc.c: Fix error messages.
25347
25348 [BZ #12724]
25349 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25350 currently writing and seek to current position when not.
25351 * libio/Makefile (tests): Add bug-fclose1.
25352 * libio/bug-fclose1.c: New file.
25353
25354 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25355
25356 [BZ #12511]
25357 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25358 don't set DF_1_NODELETE here.
25359 (do_lookup_x): When entering new entry test for copy relocation
25360 and if necessary set DF_1_NODELETE flag.
25361 * elf/tst-unique4.cc: New file.
25362 * elf/tst-unique4.h: New file.
25363 * elf/tst-unique4lib.cc: New file.
25364 * elf/Makefile: Add rules to build and run tst-unique4.
25365 Patch by Piotr Bury <pbury@goahead.com>.
25366
25367 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25368
25369 [BZ #12052]
25370 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25371
25372 [BZ #12625]
25373 * misc/mntent_r.c (addmntent): Flush the stream after the output
25374
25375 [BZ #12393]
25376 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25377 (is_trusted_path_normalize): Skip initial colon. Append slash
25378 to empty buffer. Duplicate is_trusted_path code but allow
25379 constructed patch to be prefix.
25380 (is_dst): Allow $ORIGIN followed by /.
25381 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25382 Correct testing of result of is_trusted_path_normalize
25383 (decompose_rpath): Fix warning.
25384
25385 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25386
25387 [BZ #11257]
25388 * grp/initgroups.c (internal_getgrouplist): When we found the service
25389 list through the initgroups entry in nsswitch.conf do not always
25390 continue on a successful lookup. Don't always use the
25391 __nss_group_database value if it is set.
25392 * nss/nsswitch.conf (initgroups): Change action for successful db
25393 lookup to continue for compatibility.
25394
25395 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25396
25397 [BZ #11532]
25398 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25399 and CP774 modules.
25400 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25401 and CP774 modules.
25402 * iconvdata/tst-tables.sh: Likewise.
25403 * iconvdata/cp770.c: New file.
25404 * iconvdata/cp771.c: New file.
25405 * iconvdata/cp772.c: New file.
25406 * iconvdata/cp773.c: New file.
25407 * iconvdata/cp774.c: New file.
25408 * iconvdata/testdata/CP770: New file.
25409 * iconvdata/testdata/CP770..UTF8: New file.
25410 * iconvdata/testdata/CP771: New file.
25411 * iconvdata/testdata/CP771..UTF8: New file.
25412 * iconvdata/testdata/CP772: New file.
25413 * iconvdata/testdata/CP772..UTF8: New file.
25414 * iconvdata/testdata/CP773: New file.
25415 * iconvdata/testdata/CP773..UTF8: New file.
25416 * iconvdata/testdata/CP774: New file.
25417 * iconvdata/testdata/CP774..UTF8: New file.
25418
25419 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25420 END CHARMAP line.
25421 * iconvdata/gen-8bit-gap.sh: Likewise.
25422 * iconvdata/gen-8bit.sh: Likewise.
25423
25424 * locale/iso-639.def: Add ary entry.
25425
25426 [BZ #11258]
25427 * locale/C-translit.h.in: Add U20A1 transliteration.
25428
25429 [BZ #12178]
25430 * locale/iso-639.def: Add wae entry.
25431 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25432
25433 [BZ #12545]
25434 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25435 for n.
25436
25437 [BZ #12711]
25438 * locale/C-translit.h.in: Add entry for U20B9.
25439 Patch by pravin.d.s@gmail.com.
25440
25441 2011-05-08 Ulrich Drepper <drepper@gmail.com>
25442
25443 [BZ #12713]
25444 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25445 ENAMETOOLONG use generic getcwd.
25446 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25447 in rtld. Use *stat64.
25448 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25449 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25450 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25451 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25452 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25453 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25454 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25455 __fstatat64 macros.
25456 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25457 * dirent/rewinddir.c: Add libc_hidden_def.
25458 * sysdeps/mach/hurd/rewinddir.c: Likewise.
25459 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
25460
25461 * include/dirent.h (__alloc_dir): Add flags parameter.
25462 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25463 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25464 __alloc_dir.
25465 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25466 from fdopendir if O_CLOEXEC is already set.
25467
25468 2011-03-15 Alan Modra <amodra@gmail.com>
25469
25470 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25471 l_tls_firstbyte_offset non-zero. Save padding offset in
25472 l_tls_firstbyte_offset for later use.
25473 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25474 freeing static tls block.
25475
25476 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25477
25478 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25479 where #ifdef was intended. The intent is to prevent ARG_MAX from
25480 being defined by the kernel headers.
25481
25482 2011-05-07 Ulrich Drepper <drepper@gmail.com>
25483
25484 [BZ #12734]
25485 * resolv/resolv.h: Define RES_NOTLDQUERY.
25486 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25487 no-tld-query and set RES_NOTLDQUERY.
25488 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25489 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25490 modern BIND to search name as TLD unless forbidden.
25491
25492 2011-05-07 Petr Baudis <pasky@suse.cz>
25493 Ulrich Drepper <drepper@gmail.com>
25494
25495 [BZ #12393]
25496 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25497 (is_trusted_path): ...to here.
25498 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25499 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25500 using is_trusted_path_normalize() in setuid scripts.
25501
25502 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25503
25504 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25505 __BEGIN/__END_DECLS.
25506
25507 2011-05-06 Ulrich Drepper <drepper@gmail.com>
25508
25509 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25510 NSS_STATUS_NOTFOUND if no record was found.
25511
25512 2011-05-05 Andreas Schwab <schwab@redhat.com>
25513
25514 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25515 (headers-not-in-tirpc): Remove rpc/netdb.h
25516 * resolv/netdb.h: Revert last change.
25517
25518 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25519
25520 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25521 circular dependency between libgcc.a and libc.a.
25522
25523 2011-05-05 Andreas Schwab <schwab@redhat.com>
25524
25525 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25526 * nis/Makefile: Don't install rpcsvc/*.
25527 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25528 instead of <rpc/types.h>.
25529 (MAXHOSTNAMELEN): Define.
25530
25531 2011-05-03 Andreas Schwab <schwab@redhat.com>
25532
25533 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25534
25535 2011-04-28 Maciej Babinski <mbabinski@google.com>
25536
25537 [BZ #12714]
25538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25539 gethostbyname4_r when IPv6 results are possible.
25540
25541 2011-05-02 Ulrich Drepper <drepper@gmail.com>
25542
25543 [BZ #12723]
25544 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25545 _PC_PIPE_BUF handling.
25546
25547 2011-04-30 Bruno Haible <bruno@clisp.org>
25548
25549 [BZ #12717]
25550 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25551 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25552 to 'int'.
25553 * inet/getnameinfo.c (getnameinfo): Likewise.
25554
25555 2011-04-29 Ulrich Drepper <drepper@gmail.com>
25556
25557 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25558 to groups setting in database lookup.
25559 * nss/nsswitch.conf: Add initgroups entry.
25560
25561 2011-04-22 Ulrich Drepper <drepper@gmail.com>
25562
25563 [BZ #12685]
25564 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25565 mode string.
25566 Patch by Eric Blake <eblake@redhat.com>.
25567
25568 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25569
25570 * sunrpc/Makefile (need-export-routines): Add svc_run.
25571 (routines): Remove svc_run.
25572 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25573 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25574 * sunrpc/svc_run.c (svc_run): Likewise.
25575 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25576
25577 2011-04-21 Ulrich Drepper <drepper@gmail.com>
25578
25579 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25580 problem in reallocation in last patch.
25581
25582 2011-04-20 Ulrich Drepper <drepper@gmail.com>
25583
25584 * sunrpc/Makefile: Move inclusion of Rules.
25585
25586 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25587
25588 * nss/nss_files/files-initgroups.c: New file.
25589 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25590 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25591 _nss_files_initgroups_dyn.
25592
25593 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25594
25595 * elf/elf.h (R_ARM_IRELATIVE): Define.
25596
25597 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25598
25599 * po/ru.po: Update from translation team.
25600
25601 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25602
25603 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25604 dependencies.
25605
25606 2011-02-06 Mike Frysinger <vapier@gentoo.org>
25607
25608 [BZ #12653]
25609 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25610 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25611 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25612 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25613 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25614
25615 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25616
25617 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25618 differing bytes.
25619 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25620 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25621 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25622
25623 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25624
25625 [BZ #12420]
25626 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25627 storing it.
25628 * stdlib/bug-getcontext.c: New file.
25629 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25630
25631 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25632
25633 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25634 instructions into .machine "z9-109".
25635 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25636 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25637
25638 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25639
25640 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25641 between environment variables and auxiliary vector.
25642
25643 2011-04-16 Ulrich Drepper <drepper@gmail.com>
25644
25645 * Makefile: Add rules to build linkobj/libc.so.
25646 * include/libc-symbols.h: Define libc_hidden_nolink.
25647 * include/rpc/auth.h: Mark functions which are to be hidden.
25648 * include/rpc/auth_des.h: Likewise.
25649 * include/rpc/auth_unix.h: Likewise.
25650 * include/rpc/clnt.h: Likewise.
25651 * include/rpc/des_crypt.h: Likewise.
25652 * include/rpc/key_prot.h: Likewise.
25653 * include/rpc/pmap_clnt.h: Likewise.
25654 * include/rpc/pmap_prot.h: Likewise.
25655 * include/rpc/pmap_rmt.h: Likewise.
25656 * include/rpc/rpc_msg.h: Likewise.
25657 * include/rpc/svc.h: Likewise.
25658 * include/rpc/svc_auth.h: Likewise.
25659 * include/rpc/xdr.h: Likewise.
25660 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25661 * nss/Makefile: Likewise.
25662 * sunrpc/Makefile: Don't install headers. Build library with normal
25663 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25664 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25665 for the compat linking library. Remove use of INTDEF/INTUSE.
25666 * sunrpc/auth_none.c: Likewise.
25667 * sunrpc/auth_unix.c: Likewise.
25668 * sunrpc/authdes_prot.c: Likewise.
25669 * sunrpc/authuxprot.c: Likewise.
25670 * sunrpc/clnt_gen.c: Likewise.
25671 * sunrpc/clnt_perr.c: Likewise.
25672 * sunrpc/clnt_raw.c: Likewise.
25673 * sunrpc/clnt_simp.c: Likewise.
25674 * sunrpc/clnt_tcp.c: Likewise.
25675 * sunrpc/clnt_udp.c: Likewise.
25676 * sunrpc/clnt_unix.c: Likewise.
25677 * sunrpc/des_crypt.c: Likewise.
25678 * sunrpc/des_soft.c: Likewise.
25679 * sunrpc/get_myaddr.c: Likewise.
25680 * sunrpc/key_call.c: Likewise.
25681 * sunrpc/key_prot.c: Likewise.
25682 * sunrpc/netname.c: Likewise.
25683 * sunrpc/pm_getmaps.c: Likewise.
25684 * sunrpc/pm_getport.c: Likewise.
25685 * sunrpc/pmap_clnt.c: Likewise.
25686 * sunrpc/pmap_prot.c: Likewise.
25687 * sunrpc/pmap_prot2.c: Likewise.
25688 * sunrpc/pmap_rmt.c: Likewise.
25689 * sunrpc/publickey.c: Likewise.
25690 * sunrpc/rpc_cmsg.c: Likewise.
25691 * sunrpc/rpc_common.c: Likewise.
25692 * sunrpc/rpc_dtable.c: Likewise.
25693 * sunrpc/rpc_prot.c: Likewise.
25694 * sunrpc/rpc_thread.c: Likewise.
25695 * sunrpc/rtime.c: Likewise.
25696 * sunrpc/svc.c: Likewise.
25697 * sunrpc/svc_auth.c: Likewise.
25698 * sunrpc/svc_authux.c: Likewise.
25699 * sunrpc/svc_raw.c: Likewise.
25700 * sunrpc/svc_run.c: Likewise.
25701 * sunrpc/svc_simple.c: Likewise.
25702 * sunrpc/svc_tcp.c: Likewise.
25703 * sunrpc/svc_udp.c: Likewise.
25704 * sunrpc/svc_unix.c: Likewise.
25705 * sunrpc/svcauth_des.c: Likewise.
25706 * sunrpc/xcrypt.c: Likewise.
25707 * sunrpc/xdr.c: Likewise.
25708 * sunrpc/xdr_array.c: Likewise.
25709 * sunrpc/xdr_float.c: Likewise.
25710 * sunrpc/xdr_intXX_t.c: Likewise.
25711 * sunrpc/xdr_mem.c: Likewise.
25712 * sunrpc/xdr_rec.c: Likewise.
25713 * sunrpc/xdr_ref.c: Likewise.
25714 * sunrpc/xdr_sizeof.c: Likewise.
25715 * sunrpc/xdr_stdio.c: Likewise.
25716
25717 2011-04-10 Ulrich Drepper <drepper@gmail.com>
25718
25719 [BZ #12650]
25720 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25721 * sysdeps/ia64/dl-tls.h: Likewise.
25722 * sysdeps/powerpc/dl-tls.h: Likewise.
25723 * sysdeps/s390/dl-tls.h: Likewise.
25724 * sysdeps/sh/dl-tls.h: Likewise.
25725 * sysdeps/sparc/dl-tls.h: Likewise.
25726 * sysdeps/x86_64/dl-tls.h: Likewise.
25727 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25728
25729 2011-03-14 Andreas Schwab <schwab@redhat.com>
25730
25731 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25732 rpath element also skip the following colon.
25733 (expand_dynamic_string_token): Add is_path parameter and pass
25734 down to DL_DST_REQUIRED and _dl_dst_substitute.
25735 (decompose_rpath): Call expand_dynamic_string_token with
25736 non-zero is_path. Ignore empty rpaths.
25737 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25738 with zero is_path.
25739
25740 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25741
25742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25743 Make cancelable.
25744
25745 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25746
25747 [BZ #12655]
25748 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25749 Patch by Filipe David Manana <fdmanana@apache.org>.
25750
25751 2011-04-07 Andreas Schwab <schwab@redhat.com>
25752
25753 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25754 Maintain aligned stack.
25755 (CHECK_RSP): Remove unused macro.
25756
25757 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25758
25759 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25760 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25761
25762 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25763
25764 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25765
25766 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25767
25768 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25769
25770 [BZ #12518]
25771 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25772 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25773 * sysdeps/x86_64/memmove.c: New file.
25774 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25775 (memcpy): Renamed to ...
25776 (__new_memcpy): This.
25777 (memcpy): Provide GLIBC_2_14 memcpy.
25778 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25779 (memcpy): Provide GLIBC_2_2_5 memcpy.
25780
25781 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25782
25783 [BZ #12631]
25784 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25785
25786 2011-03-30 Andreas Schwab <schwab@redhat.com>
25787
25788 * misc/syncfs.c: New file.
25789 * misc/Makefile (routines): Add syncfs.
25790 * posix/unistd.h: Declare syncfs.
25791 * sysdeps/unix/syscalls.list: Add syncfs.
25792
25793 2011-04-01 Andreas Schwab <schwab@redhat.com>
25794
25795 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25796 open_by_handle_at.
25797 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25798 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25799 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25800 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25802 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25803 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25804
25805 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25806
25807 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25808 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25809 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25810 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25811 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25812 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25813 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25814
25815 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25816 sync_file_range.c with -fexceptions.
25817 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25818 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25819 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25820 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25821 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25822 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25823 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25824 sync_file_range as cancellation point
25825 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25826 now a wrapper around __call_sync_file_range with cancellation handling.
25827 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25828 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25829 function name to __call_sync_file_range.
25830 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25831 Add call_sync_file_range.
25832
25833 2011-04-01 Andreas Schwab <schwab@redhat.com>
25834
25835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25836 bits/timex.h.
25837
25838 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25839
25840 * iconv/iconv.h: Fix typo in comment.
25841 * io/fcntl.h: Likewise.
25842 * libio/stdio.h: Likewise.
25843 * posix/spawn.h: Likewise.
25844 * posix/unistd.h: Likewise.
25845 * stdlib/stdlib.h: Likewise.
25846 * time/time.h: Likewise.
25847 * wcsmbs/wchar.h: Likewise.
25848
25849 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25850 open_by_handle): Add.
25851 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25852 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25853 Augment a few comments.
25854 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25856 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25858 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25859 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25860 open_by_handle.
25861
25862 * io/fcntl.h (AT_EMPTY_PATH): Define.
25863
25864 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25865
25866 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25867 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25868 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25869 to...
25870 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25871 * Versions.def: Add GLIBC_2.14.
25872 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25873 Export.
25874
25875 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25876
25877 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25878 round counter.
25879 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25880
25881 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25882
25883 [BZ #12597]
25884 * string/test-strncmp.c (do_page_test): New function.
25885 (check2): Likewise.
25886 (test_main): Call check2.
25887 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25888
25889 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25890
25891 [BZ #12587]
25892 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25893 Handle cache information in CPU leaf 4.
25894 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25895
25896 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25897
25898 [BZ #12583]
25899 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25900 character representation.
25901 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25902
25903 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25904
25905 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25906 END(__isnan) to END(__isnanf) to match function entry point/label
25907 EALIGN(__isnanf,...).
25908
25909 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25910
25911 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25912
25913 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25914
25915 [BZ #12510]
25916 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25917 copy from the symbol referenced in the relocation to initialize the
25918 used variable.
25919 Patch by Piotr Bury <pbury@goahead.com>.
25920 * elf/Makefile: Add rules to build and tst-unique3.
25921 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25922 * elf/tst-unique3.cc: New file.
25923 * elf/tst-unique3.h: New file.
25924 * elf/tst-unique3lib.cc: New file.
25925 * elf/tst-unique3lib2.cc: New file.
25926
25927 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25928
25929 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25930
25931 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25932 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25933 to _start.
25934
25935 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25936
25937 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25938 to-be-loaded object along a path to loader is ld.so.
25939
25940 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25941 Ulrich Drepper <drepper@gmail.com>
25942
25943 * sysdeps/x86_64/memset.S: After aligning destination, code
25944 branches to different locations depending on the value of
25945 misalignment, when multiarch is enabled. Fix this.
25946
25947 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25948
25949 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25950 Set _x86_64_preferred_memory_instruction for AMD processsors.
25951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25952 Set bit_Prefer_SSE_for_memop for AMD processors.
25953
25954 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25955
25956 * libio/fmemopen.c (fmemopen): Optimize a bit.
25957
25958 2011-03-03 Andreas Schwab <schwab@redhat.com>
25959
25960 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25961
25962 2011-03-03 Roland McGrath <roland@redhat.com>
25963
25964 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25965
25966 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25967
25968 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25969 __bzero_ultra1 instead of __memset_ultra1.
25970
25971 2011-02-23 Andreas Schwab <schwab@redhat.com>
25972 Ulrich Drepper <drepper@gmail.com>
25973
25974 [BZ #12509]
25975 * include/link.h (struct link_map): Add l_orig_initfini.
25976 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25977 returning unsuccessfully.
25978 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25979 close of a file loaded at startup, restore the original l_initfini
25980 list.
25981 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25982 list, store the pointer.
25983 * elf/Makefile ($(objpfx)noload-mem): New rule.
25984 (noload-ENV): Define.
25985 (tests): Add $(objpfx)noload-mem.
25986 * elf/noload.c: Include <memcheck.h>.
25987 (main): Call mtrace. Close all opened handles.
25988
25989 2011-02-17 Andreas Schwab <schwab@redhat.com>
25990
25991 [BZ #12454]
25992 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25993 dependencies are missing.
25994
25995 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25996
25997 Fix __if_freereq crash: Unlike the generic version which uses free,
25998 Hurd needs munmap.
25999 * sysdeps/mach/hurd/ifreq.h: New file.
26000
26001 2011-01-27 Petr Baudis <pasky@suse.cz>
26002 Ulrich Drepper <drepper@gmail.com>
26003
26004 [BZ 12445]#
26005 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26006 to extend_alloca().
26007 * stdio-common/bug23.c: New file.
26008 * stdio-common/Makefile (tests): Add bug23.
26009
26010 2010-09-28 Andreas Schwab <schwab@redhat.com>
26011 Ulrich Drepper <drepper@gmail.com>
26012
26013 [BZ #12489]
26014 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26015 before performing relro protection. At old place add assertion
26016 to make sure nothing changed.
26017
26018 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26019 Glauber de Oliveira Costa <glommer@gmail.com>
26020
26021 * elf/elf.h: Add new ARM TLS relocs.
26022
26023 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26024
26025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26026 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26027 cast from r3.
26028 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26029 'tests' variable.
26030 * sysdeps/wordsize-64/tst-writev.c: New file.
26031
26032 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26033
26034 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26035 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26036 insns in _dl_start to prevent a TOC reference before relocs are
26037 resolved.
26038
26039 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26040
26041 [BZ #12469]
26042 * Makeconfig: Remove RANLIB definition.
26043 * Makerules: Don't use RANLIB.
26044 * aclocal.m4: Remove ranlib test.
26045 * configure.in: No need to check for ranlib.
26046 * elf/rtld-Rules: Don't use RANLIB.
26047
26048 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26049
26050 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26051 protection macro.
26052 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26053 inclusion protection macro.
26054
26055 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26056 SIGRTMIN and SIGRTMAX and print information in that case only when
26057 SIGRTMIN is defined.
26058
26059 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26060
26061 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26062 arginfo fn returning -1.
26063
26064 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26065 and thousands string is zero terminated.
26066
26067 2011-02-03 Andreas Schwab <schwab@redhat.com>
26068
26069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26070 sysdeps/unix/sysv/linux/bits/socket.h.
26071
26072 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26073
26074 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26075 (__CPU_COUNT): Remove old macros.
26076 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26077 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26078 (__CPU_ALLOC, __CPU_FREE): Add macros.
26079 (__sched_cpualloc, __sched_cpufree): Add declarations.
26080
26081 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26082
26083 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26084 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26085 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26086 (readdhstai): Return value of addhstaiX call.
26087 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26088 (addgrbyX): Return value returned by cache_addgr.
26089 (readdgrbyname): Return value returned by addgrbyX.
26090 (readdgrbygid): Likewise.
26091 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26092 (addpwbyX): Return value returned by cache_addpw.
26093 (readdpwbyname): Return value returned by addhstbyX.
26094 (readdpwbyuid): Likewise.
26095 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26096 (addservbyX): Return value returned by cache_addserv.
26097 (readdservbyname): Return value returned by addservbyX:
26098 (readdservbyport): Likewise.
26099 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26100 (addhstbyX): Return value returned by cache_addhst.
26101 (readdhstbyname): Return value returned by addhstbyX.
26102 (readdhstbyaddr): Likewise.
26103 (readdhstbynamev6): Likewise.
26104 (readdhstbyaddrv6): Likewise.
26105 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26106 (readdinitgroups): Return value returned by addinitgroupsX.
26107 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26108 (prune_cache): Keep track of timeout value of re-added entries.
26109 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26110 * nscd/nscd.h: Adjust prototypes of readd* functions.
26111
26112 2011-02-04 Roland McGrath <roland@redhat.com>
26113
26114 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26115 (nis_stats): Likewise.
26116 * nis/nis_modify.c (nis_modify): Likewise.
26117 * nis/nis_remove.c (nis_remove): Likewise.
26118 * nis/nis_add.c (nis_add): Likewise.
26119
26120 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26121
26122 * posix/fnmatch_loop.c: Add some consts.
26123
26124 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26125
26126 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26127
26128 [BZ #12460]
26129 * config.make.in (config-cflags-novzeroupper): Define.
26130 * configure.in: Substitute libc_cv_cc_novzeroupper.
26131 * elf/Makefile (AVX-CFLAGS): Define.
26132 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26133 (CFLAGS-tst-auditmod4a.c): Likewise.
26134 (CFLAGS-tst-auditmod4b.c): Likewise.
26135 (CFLAGS-tst-auditmod6b.c): Likewise.
26136 (CFLAGS-tst-auditmod6c.c): Likewise.
26137 (CFLAGS-tst-auditmod7b.c): Likewise.
26138 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26139
26140 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26141
26142 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26143 function to the callback.
26144 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26145
26146 2011-02-02 Andreas Schwab <schwab@redhat.com>
26147
26148 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26149 of errno.
26150
26151 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26152
26153 [BZ #11724]
26154 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26155 of constructors.
26156 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26157 of destructors.
26158 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26159
26160 [BZ #11724]
26161 * elf/Makefile: Add rules to build and run new test.
26162 * elf/tst-initorder.c: New file.
26163 * elf/tst-initorder.exp: New file.
26164 * elf/tst-initordera1.c: New file.
26165 * elf/tst-initordera2.c: New file.
26166 * elf/tst-initordera3.c: New file.
26167 * elf/tst-initordera4.c: New file.
26168 * elf/tst-initorderb1.c: New file.
26169 * elf/tst-initorderb2.c: New file.
26170 * elf/tst-order-a1.c: New file.
26171 * elf/tst-order-a2.c: New file.
26172 * elf/tst-order-a3.c: New file.
26173 * elf/tst-order-a4.c: New file.
26174 * elf/tst-order-b1.c: New file.
26175 * elf/tst-order-b2.c: New file.
26176 * elf/tst-order-main.c: New file.
26177 New test case by George Gensure <werkt0@gmail.com>.
26178
26179 2010-10-01 Andreas Schwab <schwab@redhat.com>
26180
26181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26182 decoding ACE if AI_CANONIDN.
26183
26184 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26185
26186 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26187
26188 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26189
26190 * version.h (RELEASE): Bump for 2.13 release.
26191 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26192
26193 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26194
26195 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26196 MADV_NOHUGEPAGE.
26197 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26198 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26199 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26200 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26201 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26202 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26203
26204 * posix/getconf.c: Update copyright year.
26205 * catgets/gencat.c: Likewise.
26206 * csu/version.c: Likewise.
26207 * debug/catchsegv.sh: Likewise.
26208 * debug/xtrace.sh: Likewise.
26209 * elf/ldconfig.c: Likewise.
26210 * elf/ldd.bash.in: Likewise.
26211 * elf/sprof.c (print_version): Likewise.
26212 * iconv/iconv_prog.c: Likewise.
26213 * iconv/iconvconfig.c: Likewise.
26214 * locale/programs/locale.c: Likewise.
26215 * locale/programs/localedef.c: Likewise.
26216 * malloc/memusage.sh: Likewise.
26217 * malloc/mtrace.pl: Likewise.
26218 * nscd/nscd.c (print_version): Likewise.
26219 * nss/getent.c: Likewise.
26220
26221 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26222 PF_CAIF, and PF_ALG.
26223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26224
26225 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26226
26227 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26228 (modules-names): Use them.
26229 (ifunc-test-modules, ifunc-pie-tests): Define.
26230 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26231 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26232 (test-extras): Likewise.
26233 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26234 $(compile-command.c).
26235 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26236 (all-built-dso): Define.
26237 (check-textrel.out, check-execstack.out): Depend on it.
26238
26239 * configure.in: Don't override --enable-multi-arch.
26240
26241 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26242
26243 [BZ #6812]
26244 * nscd/hstcache.c (tryagain): Define.
26245 (cache_addhst): Return tryagain not notfound for temporary errors.
26246 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26247 failed.
26248
26249 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26250
26251 [BZ #10563]
26252 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26253 to make the syscall.
26254 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26255
26256 [BZ #12378]
26257 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26258 and fall back to matching as normal character if the string ends before
26259 the matching ']' is found. This is what POSIX requires.
26260 * posix/testfnm.c: Adjust test result.
26261 * posix/globtest.sh: Adjust test result. Add new test.
26262 * posix/tst-fnmatch.input: Likewise.
26263 * posix/tst-fnmatch2.c: Add new test.
26264
26265 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26266
26267 * elf/Makefile (check-execstack): Revert last change. Depend on
26268 check-execstack.h.
26269 (check-execstack.h): New target.
26270 (generated): Add check-execstack.h.
26271 * elf/check-execstack.c: Include "check-execstack.h".
26272 (main): Revert last change.
26273 (handle_file): Return zero if GNU_STACK is absent and
26274 DEFAULT_STACK_PERMS doesn't include PF_X.
26275
26276 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26277
26278 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26279 in child fails because the descriptor is already closed.
26280 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26281 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26282 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26283
26284 [BZ #12397]
26285 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26286 syscall.
26287
26288 [BZ #10484]
26289 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26290 temporary buffer used to handle multi lookups locally.
26291 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26292
26293 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26294
26295 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26296 loader is ld.so.
26297
26298 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26299
26300 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26301 alignment for SSE2.
26302
26303 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26304
26305 [BZ #12394]
26306 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26307 characters. When rounding increased number of integer digits recompute
26308 number of groups.
26309 * stdio-common/tst-grouping.c: New file.
26310 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26311
26312 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26313
26314 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26315 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26316
26317 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26318 void.
26319 * bits/select.h: Likewise.
26320
26321 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26322
26323 * po/ja.po: Update from translation team.
26324
26325 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26326
26327 [BZ #11155]
26328 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26329 implementation just like for lxstat, fxstatat, et al.
26330
26331 2010-12-27 Jim Meyering <meyering@redhat.com>
26332
26333 [BZ #12348]
26334 * posix/regexec.c (build_trtable): Return failure indication upon
26335 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26336
26337 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26338
26339 [BZ #12201]
26340 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26341 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26342 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26343 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26344
26345 [BZ #12207]
26346 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26347
26348 [BZ #12204]
26349 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26350 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26351
26352 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26353
26354 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26355 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26356 script has SORT_BY_INIT_PRIORITY.
26357 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26358 NO_CTORS_DTORS_SECTIONS is defined.
26359 * elf/soinit.c: Likewise.
26360 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26361 NO_CTORS_DTORS_SECTIONS is defined.
26362 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26363 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26364 * sysdeps/sh/init-first.c: Likewise.
26365 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26366
26367 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26368
26369 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26370 always use the slow path.
26371
26372 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26373
26374 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26375 similar rule which adds the sysdep directories to the header search in
26376 order to pick up the correct platform stackinfo.h.
26377 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26378 perform test if it is, otherwise return successfully without testing.
26379 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26380 DEFAULT_STACK_PERMS define in stackinfo.h.
26381 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26382 defined in stackinfo.h.
26383 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26384 DEFAULT_STACK_PERMS defined in stackinfo.h.
26385 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26386 * sysdeps/ia64/stackinfo.h: Likewise.
26387 * sysdeps/s390/stackinfo.h: Likewise.
26388 * sysdeps/sh/stackinfo.h: Likewise.
26389 * sysdeps/sparc/stackinfo.h: Likewise.
26390 * sysdeps/x86_64/stackinfo.h: Likewise.
26391 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26392 PF_X for powerpc64. Retain PF_X for powerpc32.
26393
26394 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26395
26396 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26397 accurately.
26398 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26399 GETDENTS_64BIT_ALIGNED.
26400
26401 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26402
26403 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26404
26405 2010-12-10 Andreas Schwab <schwab@redhat.com>
26406
26407 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26408 _GNU_SOURCE.
26409
26410 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26411 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26412 Remove __restrict.
26413 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26414 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26415
26416 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26417
26418 [BZ #11655]
26419 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26420 are initialized.
26421
26422 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26423
26424 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26425
26426 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26427
26428 * po/it.po: Update from translation team.
26429
26430 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26431
26432 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26433 unused codes.
26434
26435 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26436
26437 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26438
26439 2010-11-24 Andreas Schwab <schwab@redhat.com>
26440
26441 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26442 specially.
26443 (gaih_getanswer_slice): Likewise.
26444
26445 2010-10-20 Jakub Jelinek <jakub@redhat.com>
26446
26447 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26448
26449 2010-05-31 Petr Baudis <pasky@suse.cz>
26450
26451 [BZ #11149]
26452 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26453 silently even in the chroot mode.
26454
26455 2010-11-22 Ulrich Drepper <drepper@gmail.com>
26456
26457 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26458 last patch a bit. Pretty printing
26459
26460 2010-05-31 Petr Baudis <pasky@suse.cz>
26461
26462 [BZ #10085]
26463 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26464 initialization of skip_initgroups_dyn.
26465
26466 2010-11-19 Ulrich Drepper <drepper@gmail.com>
26467
26468 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26469 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26470
26471 2010-11-16 Ulrich Drepper <drepper@gmail.com>
26472
26473 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26474
26475 2010-11-11 Andreas Schwab <schwab@redhat.com>
26476
26477 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26478 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26479 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26480 ($(objpfx)tst-fnmatch-mem): New rule.
26481 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26482 * posix/tst-fnmatch.c (main): Call mtrace.
26483
26484 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26485
26486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26487 Support Intel processor model 6 and model 0x2c.
26488
26489 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
26490
26491 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26492 signed comparison.
26493
26494 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26495
26496 [BZ #12205]
26497 * string/test-strncasecmp.c (check_result): New function.
26498 (do_one_test): Use it.
26499 (check1): New function.
26500 (test_main): Use it.
26501 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26502 Support strcasecmp and strncasecmp.
26503
26504 2010-11-08 Ulrich Drepper <drepper@gmail.com>
26505
26506 [BZ #12194]
26507 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26508 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26509
26510 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26511
26512 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26513 IFUNC support.
26514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26515 memset-x86-64.
26516 * sysdeps/x86_64/multiarch/bzero.S: New file.
26517 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26518 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26519 * sysdeps/x86_64/multiarch/memset.S: New file.
26520 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26522 Set bit_Prefer_SSE_for_memop for Intel processors.
26523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26524 Define.
26525 (index_Prefer_SSE_for_memop): Define.
26526 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26527
26528 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
26529
26530 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26531 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26532
26533 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26534
26535 [BZ #12191]
26536 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26537 (__x86_64_raw_data_cache_size_half): Likewise.
26538 (__x86_64_raw_shared_cache_size): Likewise.
26539 (__x86_64_raw_shared_cache_size_half): Likewise.
26540
26541 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26542 (__x86_64_raw_data_cache_size_half): Likewise.
26543 (__x86_64_raw_shared_cache_size): Likewise.
26544 (__x86_64_raw_shared_cache_size_half): Likewise.
26545 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26546 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26547 and __x86_64_raw_shared_cache_size_half. Round
26548 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26549 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26550 to multiple of 256 bytes.
26551
26552 2010-11-03 Ulrich Drepper <drepper@gmail.com>
26553
26554 [BZ #12167]
26555 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26556 of inacessible symlinks. Verify result of symlink before returning it.
26557 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26558 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26559
26560 2010-10-28 Erich Ritz <erichritz@gmail.com>
26561
26562 * math/math.h (isinf): Fix typo in comment.
26563
26564 2010-11-01 Ulrich Drepper <drepper@gmail.com>
26565
26566 * po/da.po: Update from translation team.
26567
26568 2010-10-26 Ulrich Drepper <drepper@gmail.com>
26569
26570 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26571 is added to the list.
26572
26573 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26574 Ulrich Drepper <drepper@gmail.com>
26575
26576 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26577 the global list here. Move code to...
26578 (_dl_add_to_namespace_list): ...here. New function.
26579 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26580 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26581 * elf/dl-load.c (lose): Don't remove the element from the list.
26582 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26583 (_dl_map_object): Likewise.
26584
26585 2010-10-25 Ulrich Drepper <drepper@gmail.com>
26586
26587 [BZ #12159]
26588 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26589 into all bytes of SSE register.
26590 Patch by Richard Li <richardpku@gmail.com>.
26591
26592 2010-10-24 Ulrich Drepper <drepper@gmail.com>
26593
26594 [BZ #12140]
26595 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26596 perturbing.
26597
26598 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26599
26600 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26601 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26602 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26603 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26605 submachine.
26606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26607
26608 2010-10-22 Andreas Schwab <schwab@redhat.com>
26609
26610 * include/dlfcn.h (__RTLD_SECURE): Define.
26611 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26612 mode & __RTLD_SECURE instead.
26613 (open_path): Rename preloaded parameter to secure.
26614 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26615 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26616 * elf/dl-deps.c (openaux): Likewise.
26617 * elf/rtld.c (struct map_args): Remove is_preloaded.
26618 (map_doit): Don't use it.
26619 (dl_main): Likewise.
26620 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26621 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26622
26623 2010-09-09 Andreas Schwab <schwab@redhat.com>
26624
26625 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26626 (sysd-rules-targets): Remove duplicates.
26627 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26628 rtld-%.$o dependency.
26629
26630 2010-10-18 Andreas Schwab <schwab@redhat.com>
26631
26632 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26633 _dl_map_object do it.
26634
26635 2010-10-19 Ulrich Drepper <drepper@gmail.com>
26636
26637 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26638 fast fma builtins, define the macros in the C99 standard.
26639 (FP_FAST_FMAF): Likewise.
26640 (FP_FAST_FMAL): Likewise.
26641 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26642
26643 * bits/mathdef.h: Update copyright year.
26644 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26645
26646 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26647
26648 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26649 builtins, define the macros in the C99 standard.
26650 (FP_FAST_FMAF): Likewise.
26651 (FP_FAST_FMAL): Likewise.
26652 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26653 multiply/add.
26654 (FP_FAST_FMAF): Likewise.
26655
26656 2010-10-15 Jakub Jelinek <jakub@redhat.com>
26657
26658 [BZ #3268]
26659 * math/libm-test.inc (fma_test): Some new testcases.
26660 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26661 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26662 y and infinite z. Do multiplication by C already in long double.
26663 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26664 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26665 y and infinite z. Do bitwise or of inexact bit into u.d.
26666 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26667 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26668 * sysdeps/i386/fpu/s_fma.S: Removed.
26669 * sysdeps/i386/fpu/s_fmal.S: Removed.
26670
26671 2010-10-16 Jakub Jelinek <jakub@redhat.com>
26672
26673 [BZ #3268]
26674 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26675 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26676 computation is not scheduled after fetestexcept. Fix value
26677 of minimum denormal long double.
26678
26679 2010-10-14 Jakub Jelinek <jakub@redhat.com>
26680
26681 [BZ #3268]
26682 * math/libm-test.inc (fma_test): Add some more tests.
26683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26684 correctly.
26685
26686 2010-10-15 Andreas Schwab <schwab@redhat.com>
26687
26688 * scripts/data/localplt-s390-linux-gnu.data: New file.
26689 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26690
26691 2010-10-13 Jakub Jelinek <jakub@redhat.com>
26692
26693 [BZ #3268]
26694 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26695 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26696 instead of dbl-64.
26697 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26698 inlines.
26699 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26701 if one of x and y is very large and the other is subnormal.
26702 * sysdeps/s390/fpu/s_fmaf.c: New file.
26703 * sysdeps/s390/fpu/s_fma.c: New file.
26704 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26705 * sysdeps/powerpc/fpu/s_fma.S: New file.
26706 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26707 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26708 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26709
26710 2010-10-12 Jakub Jelinek <jakub@redhat.com>
26711
26712 [BZ #3268]
26713 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26714 fma tests.
26715 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26716 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26717 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26718 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26719 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26720 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26721 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26722
26723 2010-10-12 Ulrich Drepper <drepper@redhat.com>
26724
26725 [BZ #12078]
26726 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26727 * posix/bug-regex31.input: Add test case.
26728
26729 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26730
26731 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26732 * posix/bug-regex31.input: New file.
26733
26734 [BZ #12078]
26735 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26736 (parse_sub_exp): Fix last change, use postorder.
26737
26738 * posix/bug-regex31.c: New file.
26739 * posix/Makefile: Add rules to build and run bug-regex31.
26740
26741 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26742
26743 [BZ #12078]
26744 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26745
26746 [BZ #12108]
26747 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26748 to have entries in sys_siglist.
26749
26750 [BZ #12093]
26751 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26752 be NULL.
26753
26754 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26755
26756 [BZ #3268]
26757 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26758 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26759 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26760 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26761 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26762 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26763 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26764 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26765 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26766 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26767 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26768 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26769 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26770 * math/ftestexcept.c (fetestexcept): Likewise.
26771 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26772 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26773 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26774 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26775 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26776 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26777 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26778
26779 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26780
26781 [BZ #12107]
26782 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26783 newline.
26784
26785 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26786
26787 * string/bug-strstr1.c: New file.
26788 * string/Makefile: Add rules to build and run bug-strstr1.
26789
26790 2010-10-05 Eric Blake <eblake@redhat.com>
26791
26792 [BZ #12092]
26793 * string/str-two-way.h (two_way_long_needle): Always clear memory
26794 when skipping input due to the shift table.
26795
26796 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26797
26798 [BZ #12005]
26799 * malloc/mcheck.c: Handle large requests.
26800
26801 [BZ #12077]
26802 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26803 for strncmp and strncasecmp.
26804 * string/stratcliff.c: Add tests for strcmp and strncmp.
26805 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26806
26807 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26808
26809 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26810 __set_fpscr.
26811
26812 2010-09-30 Andreas Jaeger <aj@suse.de>
26813
26814 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26815 (CGROUP_SUPER_MAGIC): Define.
26816 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26817 Handle btrfs and cgroup file systems.
26818 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26819 Likewise.
26820
26821 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26822
26823 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26824 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26825
26826 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26827
26828 [BZ #12067]
26829 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26830 trying to locate the ELF header.
26831
26832 2010-09-27 Andreas Schwab <schwab@redhat.com>
26833
26834 [BZ #11611]
26835 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26836 Mask out sign-bit copies when constructing f_fsid.
26837
26838 2010-09-24 Petr Baudis <pasky@suse.cz>
26839
26840 * debug/stack_chk_fail_local.c: Add missing licence exception.
26841 * debug/warning-nop.c: Likewise.
26842
26843 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26844
26845 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26846 implementing getdents64 using getdents syscall, set d_type if
26847 __ASSUME_GETDENTS32_D_TYPE.
26848
26849 2010-09-16 Andreas Schwab <schwab@redhat.com>
26850
26851 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26852 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26853
26854 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26855
26856 [BZ #12037]
26857 * posix/unistd.h: Undo change of feature selection for ftruncate from
26858 2010-01-11.
26859
26860 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26861
26862 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26863 detection.
26864
26865 2010-09-20 Andreas Schwab <schwab@redhat.com>
26866
26867 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26868 fanotify_mark.
26869 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26870
26871 2010-09-14 Andreas Schwab <schwab@redhat.com>
26872
26873 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26874 variables after CHECK_SP call.
26875 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26876
26877 2010-09-13 Andreas Schwab <schwab@redhat.com>
26878 Ulrich Drepper <drepper@redhat.com>
26879
26880 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26881 re-relocationg ld.so.
26882 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26883 _dl_init_paths call.
26884 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26885 here anymore.
26886
26887 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26888
26889 * resolv/res_init.c (__res_vinit): Count the default server we added.
26890
26891 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26892 Ulrich Drepper <drepper@redhat.com>
26893
26894 [BZ #11968]
26895 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26896 (____longjmp_chk): Use %ebx for saving value across system call.
26897 Add unwind info.
26898
26899 2010-09-06 Andreas Schwab <schwab@redhat.com>
26900
26901 * manual/Makefile: Don't mix pattern rules with normal rules.
26902
26903 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26904
26905 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26906 operation.
26907 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26908 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26909 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26910 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26911 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26912 Likewise.
26913
26914 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26915
26916 [BZ #11979]
26917 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26918 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26919
26920 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26921
26922 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26923 * sysdeps/x86_64/addmul_1.S: Likewise.
26924 * sysdeps/x86_64/lshift.S: Likewise.
26925 * sysdeps/x86_64/mul_1.S: Likewise.
26926 * sysdeps/x86_64/rshift.S: Likewise.
26927 * sysdeps/x86_64/sub_n.S: Likewise.
26928 * sysdeps/x86_64/submul_1.S: Likewise.
26929
26930 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26931
26932 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26933 Define __sched_param instead of SCHED_* and sched_param when
26934 <bits/sched.h> is included with __need_schedparam defined.
26935 * bits/sched.h [__need_schedparam]
26936 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26937 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26938 (__defined_schedparam): Define to 1.
26939 (__sched_param): New structure, identical to sched_param.
26940 (__need_schedparam): Undefine.
26941
26942 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26943
26944 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26945 (epoll_create1): Declare.
26946
26947 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26948
26949 2010-08-31 Andreas Schwab <schwab@redhat.com>
26950
26951 [BZ #7066]
26952 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26953 shifting retval into place.
26954
26955 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26956
26957 * nis/rpcsvc/nis.h: Update copyright notice.
26958 * nis/rpcsvc/nis.x: Likewise.
26959 * nis/rpcsvc/nis_callback.h: Likewise.
26960 * nis/rpcsvc/nis_callback.x: Likewise.
26961 * nis/rpcsvc/nis_object.x: Likewise.
26962 * nis/rpcsvc/nis_tags.h: Likewise.
26963 * nis/rpcsvc/yp.h: Likewise.
26964 * nis/rpcsvc/yp.x: Likewise.
26965 * nis/rpcsvc/ypupd.h: Likewise.
26966 * nis/yp_xdr.c: Likewise.
26967 * nis/ypupdate_xdr.c: Likewise.
26968
26969 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26970 mainly the body of pmap_getport. Add parameters to specify timeouts.
26971 (pmap_getport): Use __libc_rpc_getport.
26972 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26973 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26974 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26975
26976 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26977
26978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26979 fanotify_mark.
26980
26981 2010-08-27 Roland McGrath <roland@redhat.com>
26982
26983 * sysdeps/i386/i686/multiarch/Makefile
26984 (CFLAGS-varshift.c): New variable.
26985
26986 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26987
26988 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26989 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26990
26991 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26992
26993 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26994
26995 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26996
26997 * sysdeps/x86_64/strlen.S: Unroll the loop.
26998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26999 strlen-sse2 strlen-sse2-bsf.
27000 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27001 __strlen_no_bsf if bit_Slow_BSF is set.
27002 (__strlen_sse42): Removed.
27003 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27004 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27005
27006 2010-08-25 Roland McGrath <roland@redhat.com>
27007
27008 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27009 * sysdeps/x86_64/multiarch/varshift.c: New file.
27010 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27011 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27012 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27013 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27014
27015 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27016
27017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27018 strlen-sse2 strlen-sse2-bsf.
27019 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27020 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27021 (__strlen_sse2): Removed.
27022 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27023 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27025 bit_Slow_BSF for Atom.
27026 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27027 (index_Slow_BSF): Define.
27028 (HAS_SLOW_BSF): Define.
27029
27030 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27031
27032 [BZ #10851]
27033 * resolv/res_init.c (__res_vinit): When no server address at all
27034 is given default to loopback.
27035
27036 2010-08-24 Roland McGrath <roland@redhat.com>
27037
27038 * configure.in: Remove config-name.h generation.
27039 * configure: Regenerated.
27040 * config-name.in: File removed.
27041 * scripts/config-uname.sh: New file.
27042 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27043 ($(objdir)config-name.h): New target.
27044
27045 * sunrpc/rpc_parse.h: Avoid nested comment.
27046
27047 2010-08-24 Richard Henderson <rth@redhat.com>
27048 Ulrich Drepper <drepper@redhat.com>
27049 H.J. Lu <hongjiu.lu@intel.com>
27050
27051 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27053 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27054 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27055 _mm_alignr_epi8 with _mm_loadu_si128.
27056 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27057 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27058 (__m128i_shift_right): Removed.
27059 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27060 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27061 * sysdeps/x86_64/multiarch/varshift.h: New file.
27062 * sysdeps/x86_64/multiarch/varshift.S: New file.
27063
27064 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27065
27066 * configure.in: Move assembler checks to before sysdep dir checking.
27067
27068 2010-08-20 Petr Baudis <pasky@suse.cz>
27069
27070 * LICENSES: Sync the sunrpc license.
27071
27072 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27073
27074 * sunrpc/auth_des.c: Update copyright notice once again.
27075 * sunrpc/auth_none.c: Likewise.
27076 * sunrpc/auth_unix.c: Likewise.
27077 * sunrpc/authdes_prot.c: Likewise.
27078 * sunrpc/authuxprot.c: Likewise.
27079 * sunrpc/bindrsvprt.c: Likewise.
27080 * sunrpc/clnt_gen.c: Likewise.
27081 * sunrpc/clnt_perr.c: Likewise.
27082 * sunrpc/clnt_raw.c: Likewise.
27083 * sunrpc/clnt_simp.c: Likewise.
27084 * sunrpc/clnt_tcp.c: Likewise.
27085 * sunrpc/clnt_udp.c: Likewise.
27086 * sunrpc/clnt_unix.c: Likewise.
27087 * sunrpc/des_crypt.c: Likewise.
27088 * sunrpc/des_soft.c: Likewise.
27089 * sunrpc/get_myaddr.c: Likewise.
27090 * sunrpc/getrpcport.c: Likewise.
27091 * sunrpc/key_call.c: Likewise.
27092 * sunrpc/key_prot.c: Likewise.
27093 * sunrpc/openchild.c: Likewise.
27094 * sunrpc/pm_getmaps.c: Likewise.
27095 * sunrpc/pm_getport.c: Likewise.
27096 * sunrpc/pmap_clnt.c: Likewise.
27097 * sunrpc/pmap_prot.c: Likewise.
27098 * sunrpc/pmap_prot2.c: Likewise.
27099 * sunrpc/pmap_rmt.c: Likewise.
27100 * sunrpc/rpc/auth.h: Likewise.
27101 * sunrpc/rpc/auth_unix.h: Likewise.
27102 * sunrpc/rpc/clnt.h: Likewise.
27103 * sunrpc/rpc/des_crypt.h: Likewise.
27104 * sunrpc/rpc/key_prot.h: Likewise.
27105 * sunrpc/rpc/netdb.h: Likewise.
27106 * sunrpc/rpc/pmap_clnt.h: Likewise.
27107 * sunrpc/rpc/pmap_prot.h: Likewise.
27108 * sunrpc/rpc/pmap_rmt.h: Likewise.
27109 * sunrpc/rpc/rpc.h: Likewise.
27110 * sunrpc/rpc/rpc_des.h: Likewise.
27111 * sunrpc/rpc/rpc_msg.h: Likewise.
27112 * sunrpc/rpc/svc.h: Likewise.
27113 * sunrpc/rpc/svc_auth.h: Likewise.
27114 * sunrpc/rpc/types.h: Likewise.
27115 * sunrpc/rpc/xdr.h: Likewise.
27116 * sunrpc/rpc_clntout.c: Likewise.
27117 * sunrpc/rpc_cmsg.c: Likewise.
27118 * sunrpc/rpc_common.c: Likewise.
27119 * sunrpc/rpc_cout.c: Likewise.
27120 * sunrpc/rpc_dtable.c: Likewise.
27121 * sunrpc/rpc_hout.c: Likewise.
27122 * sunrpc/rpc_main.c: Likewise.
27123 * sunrpc/rpc_parse.c: Likewise.
27124 * sunrpc/rpc_parse.h: Likewise.
27125 * sunrpc/rpc_prot.c: Likewise.
27126 * sunrpc/rpc_sample.c: Likewise.
27127 * sunrpc/rpc_scan.c: Likewise.
27128 * sunrpc/rpc_scan.h: Likewise.
27129 * sunrpc/rpc_svcout.c: Likewise.
27130 * sunrpc/rpc_tblout.c: Likewise.
27131 * sunrpc/rpc_util.c: Likewise.
27132 * sunrpc/rpc_util.h: Likewise.
27133 * sunrpc/rpcinfo.c: Likewise.
27134 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27135 * sunrpc/rpcsvc/key_prot.x: Likewise.
27136 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27137 * sunrpc/rpcsvc/mount.x: Likewise.
27138 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27139 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27140 * sunrpc/rpcsvc/rex.x: Likewise.
27141 * sunrpc/rpcsvc/rstat.x: Likewise.
27142 * sunrpc/rpcsvc/rusers.x: Likewise.
27143 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27144 * sunrpc/rpcsvc/spray.x: Likewise.
27145 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27146 * sunrpc/rtime.c: Likewise.
27147 * sunrpc/svc.c: Likewise.
27148 * sunrpc/svc_auth.c: Likewise.
27149 * sunrpc/svc_authux.c: Likewise.
27150 * sunrpc/svc_raw.c: Likewise.
27151 * sunrpc/svc_run.c: Likewise.
27152 * sunrpc/svc_simple.c: Likewise.
27153 * sunrpc/svc_tcp.c: Likewise.
27154 * sunrpc/svc_udp.c: Likewise.
27155 * sunrpc/svc_unix.c: Likewise.
27156 * sunrpc/svcauth_des.c: Likewise.
27157 * sunrpc/xcrypt.c: Likewise.
27158 * sunrpc/xdr.c: Likewise.
27159 * sunrpc/xdr_array.c: Likewise.
27160 * sunrpc/xdr_float.c: Likewise.
27161 * sunrpc/xdr_mem.c: Likewise.
27162 * sunrpc/xdr_rec.c: Likewise.
27163 * sunrpc/xdr_ref.c: Likewise.
27164 * sunrpc/xdr_sizeof.c: Likewise.
27165 * sunrpc/xdr_stdio.c: Likewise.
27166
27167 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27168 handling.
27169
27170 2010-08-19 Andreas Schwab <schwab@redhat.com>
27171
27172 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27173
27174 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27175
27176 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27177 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27178 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27179 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27180 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27181 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27182 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27183 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27184 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27185 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27186 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27187 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27188 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27189 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27190
27191 2010-07-26 Anton Blanchard <anton@samba.org>
27192
27193 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27194 * malloc/arena.c (heap_trim): Likewise.
27195
27196 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27197
27198 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27199 here. Not...
27200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27201 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27202
27203 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27204
27205 * sysdeps/i386/elf/Makefile: New file.
27206
27207 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27208
27209 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27210 from fanotify_init.
27211 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27212 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27213
27214 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27215
27216 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27217 of strncasecmp_l.
27218 * sysdeps/multiarch/strcmp.S: Likewise.
27219
27220 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27221
27222 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27223 strncase_l-nonascii.
27224 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27225 Add strncase_l-ssse3.
27226 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27227 * sysdeps/x86_64/strcmp.S: Likewise.
27228 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27229 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27230 * sysdeps/x86_64/strncase.S: New file.
27231 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27232 * sysdeps/x86_64/strncase_l.S: New file.
27233 * string/Makefile (strop-tests): Add strncasecmp.
27234 * string/test-strncasecmp.c: New file.
27235
27236 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27237 warning.
27238
27239 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27240 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27241
27242 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27243
27244 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27245
27246 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27247
27248 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27249 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27250 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27251
27252 2010-05-01 Alan Modra <amodra@gmail.com>
27253
27254 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27255 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27256 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27257 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27258 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27259 tidying. Don't tail-call __sigjmp_save for static lib.
27260 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27261 save location.
27262 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27263 (CALL_MCOUNT): Add eh info, and nop after bl.
27264 (TAIL_CALL_SYSCALL_ERROR): New macro.
27265 (PSEUDO_RET): Use it.
27266 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27267 Correct save location of integer regs and cr.
27268 (_dl_profile_resolve): Correct cr save location. Delete nops
27269 after bl when SHARED. Reduce cfi size a little by better
27270 placement of cfi directives.
27271 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27272 make a stack frame. Instead use parm save area as a temp.
27273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27274 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27276 Don't make a stack frame for parent, use parm save area.
27277 Increase child stack frame to 112 bytes. Don't save unused reg,
27278 and adjust reg usage. Set up cfi on error recovery and
27279 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27281 (__makecontext): Add dummy nop after jump to exit.
27282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27283 Use correct parm save area and cr save, reduce stack frame.
27284 Correct cfi for possible PSEUDO_RET frame setup.
27285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27286 Branch to local label emitted by PSEUDO_RET rather than
27287 __syscall_error.
27288
27289 2010-08-12 Andreas Schwab <schwab@redhat.com>
27290
27291 [BZ #11904]
27292 * locale/programs/locale.c (print_assignment): New function.
27293 (show_locale_vars): Use it.
27294
27295 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27296
27297 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27298 field.
27299 (struct statfs64): Likewise.
27300 (_STATFS_F_FLAGS): Define.
27301 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27302 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27303 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27304 (ST_VALID): Define locally.
27305 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27306 __statvfs_getflags, use the provided value.
27307 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27308 __ASSUME_STATFS_F_FLAGS.
27309
27310 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27311
27312 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27313 Add sys/fanotify.h.
27314 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27315 fanotify_mask for GLIBC_2.13.
27316 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27317 fanotify_init and fanotify_mark.
27318 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27319 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27320
27321 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27322 Add prlimit.
27323 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27324 prlimit64 for GLIBC_2.13.
27325 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27326 prlimit64.
27327 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27328 syscall.
27329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27330 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27331 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27332 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27333 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27334 add prlimit alias.
27335 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27336
27337 [BZ #11903]
27338 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27339 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27340
27341 * nss/Makefile: Add rules to build and run tst-nss-test1.
27342 * shlib-versions: Add entry for libnss_test1.
27343 * nss/nss_test1.c: New file.
27344 * nss/tst-nss-test1.c: New file.
27345
27346 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27347 (__nss_configure_lookup): Set appropriate entry in
27348 __nss_configure_lookup to true.
27349 * nss/nsswitch.h: Define enum with indeces of databases in
27350 databases and __nss_database_custom arrays. Declare
27351 __nss_database_custom.
27352 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27353 to avoid using nscd when custom rules are installed.
27354 * nss/getXXbyYY_r.c: Likewise.
27355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27356
27357 * nss/nss_files/files-parse.c: Whitespace fixes.
27358
27359 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27360
27361 [BZ #11883]
27362 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27363 * posix/fnmatch_loop.c: Likewise.
27364
27365 2010-07-17 Andi Kleen <ak@linux.intel.com>
27366
27367 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27368 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27369 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27370 * Versions.def [GLIBC_2.13]: Add.
27371
27372 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27373
27374 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27375 Also fail if tpwd after pwuid call is NULL.
27376
27377 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27378
27379 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27380 when converting to ms.
27381
27382 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27383
27384 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27385 EOPNOTSUPP errors with ENOTTY.
27386 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27387 EOPNOTSUPP errors with ENOTTY.
27388
27389 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27390
27391 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27392 Add strcasecmp_l-ssse3.
27393 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27394 strcasecmp.
27395 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27396 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27397 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27398
27399 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27400
27401 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27402
27403 * string/Makefile (strop-tests): Add strcasecmp.
27404 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27405 strcasecmp_l-nonascii.
27406 (gen-as-const-headers): Add locale-defines.sym.
27407 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27408 * sysdeps/x86_64/strcasecmp.S: New file.
27409 * sysdeps/x86_64/strcasecmp_l.S: New file.
27410 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27411 * sysdeps/x86_64/locale-defines.sym: New file.
27412 * string/test-strcasecmp.c: New file.
27413
27414 * string/test-strcasestr.c: Test both ends of the range of characters.
27415 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27416
27417 2010-07-29 Roland McGrath <roland@redhat.com>
27418
27419 [BZ #11856]
27420 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27421
27422 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27423
27424 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27425 for ld.so.
27426
27427 2010-07-27 Andreas Schwab <schwab@redhat.com>
27428
27429 * manual/memory.texi (Malloc Tunable Parameters): Document
27430 M_PERTURB.
27431
27432 2010-07-26 Roland McGrath <roland@redhat.com>
27433
27434 [BZ #11840]
27435 * configure.in (-fgnu89-inline check): Set and substitute
27436 gnu89_inline, not libc_cv_gnu89_inline.
27437 * configure: Regenerated.
27438 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27439
27440 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27441
27442 * string/test-strnlen.c: New file.
27443 * string/Makefile (strop-tests): Add strnlen.
27444 * string/tester.c (test_strnlen): Add a few more test cases.
27445 * string/tst-strlen.c: Better error reporting.
27446
27447 * sysdeps/x86_64/strnlen.S: New file.
27448
27449 2010-07-24 Ulrich Drepper <drepper@redhat.com>
27450
27451 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27452 lower-latency instructions.
27453
27454 2010-07-23 Ulrich Drepper <drepper@redhat.com>
27455
27456 * string/test-strcasestr.c: New file.
27457 * string/test-strstr.c: New file.
27458 * string/Makefile (strop-tests): Add strstr and strcasestr.
27459 * string/str-two-way.h: Don't undefine MAX.
27460 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27461
27462 2010-07-21 Andreas Schwab <schwab@redhat.com>
27463
27464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27465 strcasestr-nonascii.
27466 (CFLAGS-strcasestr-nonascii.c): Define.
27467 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27468 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27469 Remove unused attribute.
27470
27471 2010-07-20 Roland McGrath <roland@redhat.com>
27472
27473 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27474 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27475 ld.so.cache was broken. With it, there is no way to disable dsocaps
27476 like LD_HWCAP_MASK can disable hwcaps.
27477
27478 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27479
27480 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27481
27482 2010-07-16 Ulrich Drepper <drepper@redhat.com>
27483
27484 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27485 call in strcasestr.
27486 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27487 __strcasestr_sse42_nonascii.
27488 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27489 strcasestr-nonascii.c.
27490 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27491
27492 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
27493
27494 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27495 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27496 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27497 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27498
27499 2010-07-09 Ulrich Drepper <drepper@redhat.com>
27500
27501 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27502 fcntl.
27503
27504 2010-07-06 Andreas Schwab <schwab@redhat.com>
27505
27506 [BZ #11577]
27507 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27508 dl_signal_cerror.
27509
27510 2010-07-06 Ulrich Drepper <drepper@redhat.com>
27511
27512 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27513 _PC_PIPE_BUF using F_GETPIPE_SZ.
27514
27515 2010-07-05 Roland McGrath <roland@redhat.com>
27516
27517 * manual/arith.texi (Rounding Functions): Fix rint description
27518 implicit in round description.
27519
27520 2010-07-02 Ulrich Drepper <drepper@redhat.com>
27521
27522 * elf/Makefile: Fix linking for a few tests to make recent linker
27523 happy.
27524
27525 2010-06-30 Andreas Schwab <schwab@redhat.com>
27526
27527 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27528 $(common-objpfx)libc_nonshared.a.
27529
27530 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
27531
27532 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27533 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27534 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27535 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27536 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27537 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27538 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27539 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27554 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27555 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27556 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27557 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27558 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27559 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27560 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27561 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27562 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27563 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27564 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27565 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27580
27581 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27582
27583 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27584 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27585 * string/memmove.c (memmove): Renamed to ...
27586 (MEMMOVE): ...this. Default to memmove.
27587 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27588 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27589 (END_CHK): Define.
27590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27591 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27592 mempcpy-ssse3-back memmove-ssse3-back.
27593 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27594 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27595 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27596 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27597 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27598 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27599 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27600 * sysdeps/x86_64/multiarch/memmove.c: New file.
27601 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27602 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27603 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27604 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27605 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27606 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27607 Define.
27608 (index_Fast_Copy_Backward): Define.
27609 (HAS_ARCH_FEATURE): Define.
27610 (HAS_FAST_REP_STRING): Define.
27611 (HAS_FAST_COPY_BACKWARD): Define.
27612
27613 2010-06-21 Andreas Schwab <schwab@redhat.com>
27614
27615 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27616 Restore proper fallback handling.
27617
27618 2010-06-19 Ulrich Drepper <drepper@redhat.com>
27619
27620 [BZ #11701]
27621 * posix/group_member.c (__group_member): Correct checking loop.
27622
27623 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27624 OOM in getpwuid_r correctly. Return error number when the caller
27625 should return, otherwise -1.
27626 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27627 call returning > 0 value.
27628 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27629
27630 2010-06-07 Andreas Schwab <schwab@redhat.com>
27631
27632 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27633 libc_nonshared.a from targets in modules-names.
27634
27635 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27636
27637 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27638 requires it.
27639
27640 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
27641
27642 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27643 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27644 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27645 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27646
27647 2010-06-02 Andreas Schwab <schwab@redhat.com>
27648
27649 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27650
27651 2010-06-14 Ulrich Drepper <drepper@redhat.com>
27652
27653 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27654 and F_GETPIPE_SZ.
27655 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27656 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27659 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27660 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27661
27662 2010-06-14 Roland McGrath <roland@redhat.com>
27663
27664 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27665
27666 2010-06-07 Jakub Jelinek <jakub@redhat.com>
27667
27668 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27669 __REDIRECT followed by __THROW.
27670 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27671 * posix/getopt.h (getopt): Likewise.
27672
27673 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27674
27675 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27676 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27677 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27678 in AT_FLAGS.
27679 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27680 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27681
27682 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
27683
27684 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27685
27686 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27687
27688 [BZ #11640]
27689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27690 Properly check family and model.
27691
27692 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27693
27694 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27695
27696 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
27697
27698 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27699
27700 2010-05-21 Ulrich Drepper <drepper@redhat.com>
27701
27702 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27703 symbol reference.
27704
27705 2010-05-19 Andreas Schwab <schwab@redhat.com>
27706
27707 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27708 symbol reference.
27709
27710 2010-05-21 Andreas Schwab <schwab@redhat.com>
27711
27712 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27713 and internal_recvmmsg.
27714 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27715 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27716 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27717 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27718
27719 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27720 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27721 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27722
27723 2010-05-20 Andreas Schwab <schwab@redhat.com>
27724
27725 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27726
27727 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
27728
27729 POWER7 optimizations.
27730 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27731 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27732
27733 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27734
27735 * version.h: Update for 2.13 development version.
27736
27737 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27738
27739 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27740 exceptions. Return 0.
27741
27742 2010-05-07 Roland McGrath <roland@redhat.com>
27743
27744 * elf/ldconfig.c (main): Add a const.
27745
27746 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27747
27748 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27749 (args_options): Add no-idn option.
27750 (ahosts_keys_int): Add idn_flags to ai_flags.
27751 (parse_option): Handle 'i' option to clear idn_flags.
27752
27753 * malloc/malloc.c (_int_free): Possible race in the most recently
27754 added check. Only act on the data if no current modification
27755 happened.
27756
27757 See ChangeLog.17 for earlier changes.