]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
PowerPC: .eh_frame info in crt1.o isn't useful and triggers gold bug 14675.
[thirdparty/glibc.git] / ChangeLog
1 2013-03-28 Alan Modra <amodra@gmail.com>
2
3 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4 Define as empty.
5 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6 Likewise.
7
8 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9
10 [BZ #15214]
11 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12 underflow.
13 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14
15 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16
17 [BZ #15304]
18 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19 Don't add gid passed as argument.
20
21 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22
23 2013-03-27 Joseph Myers <joseph@codesourcery.com>
24
25 [BZ #15307]
26 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27 imaginary part between 1.0 and 1.5 and real part less than 0.5
28 specially.
29 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31 * math/libm-test.inc (cacos_test): Add more tests.
32 (casin_test): Likewise.
33 (casinh_test): Likewise.
34 * sysdeps/i386/fpu/libm-test-ulps: Update.
35 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36
37 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38
39 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
40 constants.
41 (norm): Likewise.
42 (denorm): Likewise.
43 (__dbl_mp): Likewise.
44 (add_magnitudes): Likewise.
45 (sub_magnitudes): Likewise.
46 (__add): Likewise.
47 (__sub): Likewise.
48 (__mul): Likewise.
49 (__sqr): Likewise.
50 (__inv): Likewise.
51 (__dvd): Likewise.
52
53 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
54 commented code.
55 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
56 (__dubcos): Likewise.
57 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58 (__ieee754_acos): Likewise.
59 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
61 (__exp1): Likewise.
62 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64 (log1): Likewise.
65 (my_log2): Likewise.
66 (checkint): Likewise.
67 * sysdeps/ieee754/dbl-64/e_remainder.c
68 (__ieee754_remainder): Likewise.
69 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
70 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
71 (bsloww): Likewise.
72 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73
74 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
75 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
76 MANTISSA_STORE_T to store computations on mantissa. Use
77 macros for rounding and division.
78 (denorm): Likewise.
79 (__dbl_mp): Likewise.
80 (add_magnitudes): Likewise.
81 (sub_magnitudes): Likewise.
82 (__mul): Likewise.
83 (__sqr): Likewise.
84 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
85 powers of two in terms of TWOPOW macro.
86 (mp_no): Make type of mantissa as MANTISSA_T.
87 [!RADIXI]: Define RADIXI.
88 [!TWO52]: Define TWO52.
89 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
90
91 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92
93 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
94 llroundl symbol when building for PPC32.
95
96 2013-03-24 Mark H Weaver <mhw@netris.org>
97
98 * manual/arith.texi (Normalization Functions): Fix prototypes for
99 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
100
101 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
102
103 [BZ #13889]
104 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
105 high value to check if expl overflow.
106 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
107 to check for underflow and overflow.
108 * math/libm-test.inc: Add exp test.
109
110 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
111
112 [BZ #11120]
113 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
114 with NOT_IN_libc.
115
116 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
117
118 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
119 symbol.
120
121 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
122
123 * math/gen-libm-test.pl (parse_args, special_functions): Properly
124 wrap blocks consisting of several statements.
125
126 * sysdeps/generic/math-tests.h: New file.
127 * sysdeps/i386/fpu/math-tests.h: Likewise.
128 * math/test-snan.c: Include it.
129 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
130
131 2013-03-21 Joseph Myers <joseph@codesourcery.com>
132
133 [BZ #15285]
134 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
135 (__ieee754_j0l): Do not improve calculations using cos of twice
136 input for inputs above LDBL_MAX / 2.0L.
137 (__ieee754_y0l): Likewise.
138 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
139 (__ieee754_j1l): Do not improve calculations using cos of twice
140 input for inputs above LDBL_MAX / 2.0L.
141 (__ieee754_y1l): Likewise.
142 * math/libm-test.inc (j0_test): Add another test.
143 (j1_test): Likewise.
144 (y0_test): Likewise.
145 (y1_test): Likewise.
146 * sysdeps/i386/fpu/libm-test-ulps: Update.
147
148 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
149
150 * Rules ($(objpfx)bench-%.c): Include code from a C source
151 file.
152
153 2013-03-21 Joseph Myers <joseph@codesourcery.com>
154
155 [BZ #15287]
156 * math/k_casinh.c (__kernel_casinh): Handle arguments with
157 imaginary part 1.0 and real part less than 0.5 specially.
158 * math/k_casinhf.c (__kernel_casinhf): Likewise.
159 * math/k_casinhl.c (__kernel_casinhl): Likewise.
160 * math/libm-test.inc (cacos_test): Add more tests.
161 (casin_test): Likewise.
162 (casinh_test): Likewise.
163 * sysdeps/i386/fpu/libm-test-ulps: Update.
164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
165
166 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
167
168 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
169 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
170
171 2013-03-20 Joseph Myers <joseph@codesourcery.com>
172
173 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
174 * config.make.in (config-cflags-sse4): Remove variable.
175 (config-cflags-avx): Likewise.
176 (config-cflags-sse2avx): Likewise.
177 (config-cflags-novzeroupper): Likewise.
178 (config-asflags-i686): Likewise.
179 (have-mfma4): Likewise.
180 (have-as-vis3): Likewise.
181 (MIG): Likewise.
182 * configure.in (MIG): Do not AC_SUBST.
183 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
184 (libc_cv_cc_sse4): Do not AC_SUBST.
185 (libc_cv_cc_avx): Likewise.
186 (libc_cv_cc_sse2avx): Likewise.
187 (libc_cv_cc_novzeroupper): Likewise.
188 (libc_cv_cc_fma4): Likewise.
189 (libc_cv_as_i686): Likewise.
190 (libc_cv_sparc_as_vis3): Likewise.
191 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
192 LIBC_CONFIG_VAR.
193 (config-asflags-i686): Likewise.
194 (config-cflags-avx): Likewise.
195 (config-cflags-sse2avx): Likewise.
196 (have-mfma4): Likewise.
197 (config-cflags-novzeroupper): Likewise.
198 * sysdeps/mach/configure.in (MIG): Likewise.
199 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
200 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
201 LIBC_CONFIG_VAR.
202 (config-cflags-avx): Likewise.
203 (config-cflags-sse2avx): Likewise.
204 (have-mfma4): Likewise.
205 (config-cflags-novzeroupper): Likewise.
206 * configure: Regenerated.
207 * sysdeps/i386/configure: Likewise.
208 * sysdeps/mach/configure: Likewise.
209 * sysdeps/sparc/configure: Likewise.
210 * sysdeps/x86_64/configure: Likewise.
211
212 2013-03-20 Roland McGrath <roland@hack.frob.com>
213
214 [BZ #14812]
215 * locale/programs/localedef.c (options): Put N_ translation marker
216 on argument names, not just descriptions.
217
218 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
219
220 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
221
222 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
223
224 [BZ #14176]
225 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
226
227 2013-03-19 Roland McGrath <roland@hack.frob.com>
228
229 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
230 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
231 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
232 [!BEFORE_ABORT] (before_abort): New function.
233 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
234 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
235 (writev_for_fatal): New function.
236 (WRITEV_FOR_FATAL): New macro; call that.
237 (backtrace_and_maps): New function.
238 (BEFORE_ABORT): New macro; call that.
239 (struct str_list): Type removed.
240 (__libc_message, __libc_fatal): Functions removed.
241 Include <sysdeps/posix/libc_fatal.c> instead.
242
243 2013-03-19 Joseph Myers <joseph@codesourcery.com>
244
245 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
246 constants.
247 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
248 double constants.
249
250 2013-03-19 Andreas Schwab <schwab@suse.de>
251
252 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
253 * sysdeps/gnu/configure: Regenerate.
254
255 * configure.in: Substitute libc_cv_rtlddir.
256 * configure: Regenerate.
257 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
258 * Makeconfig (rtlddir, inst_rtlddir): New variables.
259 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
260 * elf/Makefile (install-others, CFLAGS-interp.c)
261 (ldso_install, common-ldd-rewrite): Likewise.
262 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
263 $(inst_slibdir)/$(rtld-installed-name).
264 * scripts/rellns-sh: Add -p option.
265 * Makerules (make-shlib-link): Use rellns-sh to get relative name
266 for source.
267
268 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
269
270 * manual/nptl.texi: Renamed to ...
271 * manual/threads.texi: ... this.
272 * manual/Makefile (chapters): Update.
273
274 2013-03-18 Roland McGrath <roland@hack.frob.com>
275
276 [BZ #14812]
277 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
278 on argument names, not just descriptions.
279 * malloc/memusagestat.c (options): Likewise.
280 * nss/getent.c (options): Likewise.
281
282 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
283
284 [BZ #14812]
285 * iconv/iconv_prog.c (options): Put N_ translation marker
286 on argument names, not just descriptions.
287 * iconv/iconvconfig.c (options): Likewise.
288
289 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
290
291 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
292 implementation which is faster on all x86_64 architectures.
293 Tested on AMD, Intel Nehalem, SNB, IVB.
294 * sysdeps/x86_64/strnlen.S: Likewise.
295
296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
297 Remove all multiarch strlen and strnlen versions.
298 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
299 Remove strlen and strnlen related parts.
300
301 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
302 Inline strlen part.
303 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
304
305 * sysdeps/x86_64/multiarch/strlen.S: Remove.
306 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
307 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
308 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
309 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
310 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
311
312 2013-03-17 Carlos O'Donell <carlos@redhat.com>
313
314 * manual/memory.texi (Malloc Tunable Parameters):
315 Sort parameters alphabetically. Add comments for missing entries.
316
317 2013-03-17 David S. Miller <davem@davemloft.net>
318
319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
320
321 2013-03-16 Joseph Myers <joseph@codesourcery.com>
322
323 [BZ #15283]
324 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
325 for arguments at most half maximum finite value.
326 * math/libm-test.inc (j0_test): Add more tests.
327 (j1_test): Likewise.
328 (y0_test): Likewise.
329 (y1_test): Likewise.
330 * sysdeps/i386/fpu/libm-test-ulps: Update.
331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
332
333 [BZ #14155]
334 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
335 1 / x and functions P and Q for arguments above 0x1p256L.
336 (__ieee754_y0l): Likewise.
337 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
338 (__ieee754_y1l): Likewise.
339 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
340 (j1_test): Likewise.
341 (y0_test): Likewise.
342 (y1_test): Likewise.
343
344 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
345
346 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
347 variable.
348
349 2013-03-15 Roland McGrath <roland@hack.frob.com>
350
351 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
352 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
353 zero since it's initialized to EXEC_PAGESIZE.
354
355 * sysdeps/unix/sysv/linux/ldsodefs.h
356 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
357 * sysdeps/generic/ldsodefs.h: ... here.
358
359 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
360
361 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
362
363 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
364 math/test-snan.c.
365 * math/test-snan.c: Renamed from
366 sysdeps/powerpc/fpu/test-powerpc-snan.c.
367 * math/Makefile (tests): Add test-snan.
368 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
369 test-powerpc-snan.
370
371 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
372 SUFFIX. Initialize qNaN_var with __builtin_nan family of
373 functions.
374 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
375 __builtin_nan family of functions.
376 * math/libm-test.inc (initialize): Initialize qnan_value with
377 __builtin_nan family of functions.
378 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
379 Remove variables.
380 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
381 Remove functions.
382 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
383 storage class. Initialize qNaN_var and sNaN_var with
384 __builtin_nan and __builtin_nans families of functions,
385 respectively.
386
387 * math/libm-test.inc (acosh_test): Also test with qNaN input.
388 (sqrt_test): Remove duplicate test with qNaN input.
389 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
390 (round_test, signbit_test, significand_test): Note missing +/-Inf
391 as well as qNaN tests.
392
393 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
394 qNaN_var. Fix a few strings, too.
395 * math/libm-test.inc (nan_value): Rename to qnan_value.
396 * math/gen-libm-test.pl (%beautify): Adjust to that.
397 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
398 * math/test-misc.c (main): Likewise.
399 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
400 to __qnan_bytes, and __qnan_union, respectively.
401 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
402 Likewise.
403 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
404 and lqnanval, respectively.
405 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
406 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
407 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
408 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
409
410 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
411 * math/test-misc.c (main) [__x86_64__]: Enable test for long
412 doubles.
413
414 * math/test-misc.c (main): Fix copy'n'pastos.
415 * misc/tst-efgcvt.c (special): Likewise.
416
417 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
418 Remove declarations.
419
420 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
421
422 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
423 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
424 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
425 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
426
427 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
428
429 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
430 macro to return vdso values correctly in IFUNC implementations.
431 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
432 Optimization by using IFUNC.
433
434 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
435 Richard Henderson <rth@redhat.com>
436 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
437
438 * Makefile.in (bench): New target.
439 * NEWS: Mention the benchmark framework.
440 * Rules (bench): Likewise.
441 (binaries-bench): Generate binaries for functions to
442 benchmark.
443 * benchtests/Makefile: New makefile for benchmark tests.
444 * benchtests/bench-skeleton.c: New skeleton file for benchmark
445 programs.
446 * benchtests/exp-inputs: New input file for EXP function.
447 * benchtests/pow-inputs: New input file for POW function.
448 * scripts/bench.pl: New script to generate source files for
449 benchmark programs.
450
451 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
452
453 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
454 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
455 computations on mantissa. Use macros for rounding and
456 division.
457 (denorm): Likewise.
458 (__dbl_mp): Likewise.
459 (add_magnitudes): Likewise.
460 (sub_magnitudes): Likewise.
461 (__mul): Likewise.
462 (__sqr): Likewise.
463 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
464 powers of two in terms of TWOPOW macro.
465 (mp_no): Make type of mantissa as MANTISSA_T.
466 [!RADIXI]: Define RADIXI.
467 [!TWO52]: Define TWO52.
468 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
469
470 * manual/nptl.texi (cindex): Modify threads to pthreads.
471
472 2013-03-15 Joseph Myers <joseph@codesourcery.com>
473
474 * sysdeps/x86_64/preconfigure: Regenerated.
475
476 2013-03-14 Joseph Myers <joseph@codesourcery.com>
477
478 [BZ #14155]
479 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
480 0x1p28 and above.
481 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
482 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
483 0x1p28 and above.
484 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
485 * math/libm-test.inc (j0_test): Do not allow one spurious
486 underflow exception.
487 (y1_test): Likewise.
488
489 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
490
491 * manual/Makefile (chapters): Add nptl.
492 * manual/debug.texi (Debugging Support): Add link to Threads
493 chapter.
494 * manual/nptl.texi: New file.
495
496 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
497
498 2013-03-14 Petr Baudis <pasky@ucw.cz>
499
500 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
501 for non-NULL pointer before the memory validity test. Pointed
502 out by Holger Brunck <holger.brunck@keymile.com>.
503
504 2013-03-13 Andreas Schwab <schwab@suse.de>
505
506 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
507 instead of .os.
508
509 2013-03-13 Joseph Myers <joseph@codesourcery.com>
510
511 * timezone/zic.c: Update from tzcode 2013b.
512
513 2013-03-12 Carlos O'Donell <carlos@redhat.com>
514
515 * manual/install.texi (Configuring and compiling):
516 Mention i686 and i586.
517 * INSTALL: Regenerate.
518
519 2013-03-12 Roland McGrath <roland@hack.frob.com>
520
521 * sysdeps/init_array/elf-init.c: New file.
522 * csu/elf-init.c
523 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
524 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
525
526 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
527 __gmon_start__ as global, but as static with a .preinit_array pointer.
528 * sysdeps/init_array/gmon-start.c: New file. Use that.
529 * sysdeps/init_array/crti.S: New file, empty except for comments.
530 * sysdeps/init_array/crtn.S: Likewise.
531
532 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
533
534 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
535 definining bcopy.
536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
537 Remove Prefer_SSE_for_memop.
538 * sysdeps/x86_64/multiarch/init-arch.h: Remove
539 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
540 HAS_PREFER_SSE_FOR_MEMOP.
541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
542 memset-x86-64.
543 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
544 Remove bzero, memset ifunc support.
545 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
546 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
547 * sysdeps/x86_64/multiarch/memset.S: Likewise.
548 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
549
550 2013-03-11 Andreas Schwab <schwab@suse.de>
551
552 [BZ #15234]
553 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
554 by SHLIB_COMPAT.
555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
556 (GLIBC_2.16): Remove pthread_atfork.
557
558 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
559
560 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
561 (ptestcases.h): Likewise.
562
563 2013-03-08 Roland McGrath <roland@hack.frob.com>
564
565 * Makeconfig ($(common-objpfx)config.status): Depend on
566 sysdeps/*/preconfigure{,.in} too.
567
568 2013-03-08 Joseph Myers <joseph@codesourcery.com>
569
570 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
571 (__free_hook): Use void * instead of __malloc_ptr_t.
572 (__malloc_hook): Likewise.
573 (__realloc_hook): Likewise.
574 (__memalign_hook): Likewise.
575 (__after_morecore_hook): Likewise.
576 * malloc/arena.c (save_malloc_hook): Likewise.
577 (save_free_hook): Likewise.
578 * malloc/hooks.c (malloc_hook_ini): Likewise.
579 (realloc_hook_ini): Likewise.
580 (memalign_hook_ini): Likewise.
581 * malloc/malloc.c (malloc_hook_ini): Likewise.
582 (realloc_hook_ini): Likewise.
583 (memalign_hook_ini): Likewise.
584 (__free_hook): Likewise.
585 (__malloc_hook): Likewise.
586 (__realloc_hook): Likewise.
587 (__memalign_hook): Likewise.
588 (__libc_malloc): Likewise.
589 (__libc_free): Likewise.
590 (__libc_realloc): Likewise.
591 (__libc_memalign): Likewise.
592 (__libc_valloc): Likewise.
593 (__libc_pvalloc): Likewise.
594 (__libc_calloc): Likewise.
595 (__posix_memalign): Likewise.
596 * malloc/morecore.c (__sbrk): Likewise.
597 (__default_morecore): Likewise.
598
599 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
600
601 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
602 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
603 __malloc_ptrdiff_t.
604
605 * malloc/malloc.h (__malloc_size_t): Remove macro.
606 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
607 __malloc_size_t.
608 (old_memalign_hook): Likewise.
609 (old_realloc_hook): Likewise.
610 (struct hdr): Likewise.
611 (flood): Likewise.
612 (mallochook): Likewise.
613 (memalignhook): Likewise.
614 (reallochook): Likewise.
615 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
616 (tr_old_realloc_hook): Likewise.
617 (tr_old_memalign_hook): Likewise.
618 (tr_mallochook): Likewise.
619 (tr_reallochook): Likewise.
620 (tr_memalignhook): Likewise.
621
622 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
623
624 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
625 default_ldbl_pack and using as default implementation.
626 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
627 implementation.
628 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
629 redundant definition.
630 (ldbl_insert_mantissa): Likewise.
631 (ldbl_canonicalize): Likewise.
632 (ldbl_nearbyint): Likewise.
633 (ldbl_pack): Rename to ldbl_pack_ppc.
634 (ldbl_unpack): Rename to ldbl_unpack_ppc.
635 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
636 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
637
638 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
639
640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
641 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
642 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
643 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
645 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
646 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
647 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
648
649 2013-03-07 Andreas Jaeger <aj@suse.de>
650
651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
652 bits/mman-linux.h.
653
654 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
655
656 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
657 Include mpa.h and declare __MPEXP.
658 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
659 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
660 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
661 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
662 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
663 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
664 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
665
666 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
667 (__slowpow): Use long double EXPL and LOGL functions to
668 compute POW.
669 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
670 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
671 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
672 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
673 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
674 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
675
676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
677 intermediate variable to calculate exponent.
678 (__sqr): Likewise.
679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
680 Likewise.
681 (__sqr): Likewise.
682
683 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
684 [!NO__SQR]: Define __sqr.
685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
686 and NO__SQR. Remove all code except __mul and __sqr. Include
687 sysdeps/ieee754/dbl-64/mpa.c.
688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
689
690 [BZ #12723]
691 * posix/Makefile (tests): Add tst-pathconf.
692 * posix/tst-pathconf.c: New test case.
693 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
694 _PC_PIPE_BUF.
695 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
696
697 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
698
699 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
700
701 2013-03-06 Andreas Jaeger <aj@suse.de>
702
703 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
704 definition via __MAP_ANONYMOUS.
705
706 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
707 it's not part of Linux headers.
708
709 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
710 (MAP_HUGE_MASK): Define.
711
712 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
713 Define.
714 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
715 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
716 Define.
717 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
718 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
719 Define.
720 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
721 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
722 Define.
723 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
724
725 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
726 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
727 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
728 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
729 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
730 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
731
732 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
733 Handle f2fs.
734
735 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
736 Handle f2fs and efivarfs.
737
738 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
739 f2fs.
740
741 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
742 (EFIVARFS_MAGIC): Add.
743 (F2FS_LINK_MAX): Add.
744
745 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
746
747 * stdio-common/vfprintf.c: Replace __builtin_expect with
748 __glibc_unlikely.
749
750 2013-03-06 Joseph Myers <joseph@codesourcery.com>
751
752 [BZ #13550]
753 * sysdeps/generic/bp-sym.h: Remove file.
754 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
755 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
756 <bp-sym.h> and <bp-asm.h>.
757 (__longjmp): Don't use BP_SYM.
758 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
759 and <bp-asm.h>.
760 (memcpy): Don't use BP_SYM.
761 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
762 <bp-sym.h> and <bp-asm.h>.
763 (memcpy): Don't use BP_SYM.
764 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
765 <bp-asm.h>.
766 (memcpy): Don't use BP_SYM.
767 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
768 <bp-asm.h>.
769 (memset): Don't use BP_SYM.
770 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
771 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
772 (__bzero): Don't use BP_SYM.
773 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
774 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
775 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
776 <bp-sym.h> and <bp-asm.h>.
777 (memcmp): Don't use BP_SYM. Remove comment about bounded
778 pointers.
779 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
780 <bp-sym.h> and <bp-asm.h>.
781 (memcpy): Don't use BP_SYM.
782 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
783 <bp-sym.h> and <bp-asm.h>.
784 (memset): Don't use BP_SYM.
785 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
786 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
787 (__bzero): Don't use BP_SYM.
788 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
789 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
790 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
791 <bp-sym.h> and <bp-asm.h>.
792 (strncmp): Don't use BP_SYM. Remove comment about bounded
793 pointers.
794 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
795 <bp-sym.h> and <bp-asm.h>.
796 (memcpy): Don't use BP_SYM.
797 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
798 <bp-sym.h> and <bp-asm.h>.
799 (memset): Don't use BP_SYM.
800 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
801 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
802 (__bzero): Don't use BP_SYM.
803 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
804 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
805 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
806 <bp-sym.h> and <bp-asm.h>.
807 (__memchr): Don't use BP_SYM.
808 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
809 <bp-sym.h> and <bp-asm.h>.
810 (memcmp): Don't use BP_SYM. Remove comment about bounded
811 pointers.
812 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
813 <bp-sym.h> and <bp-asm.h>.
814 (memcpy): Don't use BP_SYM.
815 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
816 <bp-sym.h> and <bp-asm.h>.
817 (__mempcpy): Don't use BP_SYM.
818 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
819 <bp-sym.h> and <bp-asm.h>.
820 (__memrchr): Don't use BP_SYM.
821 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
822 <bp-sym.h> and <bp-asm.h>.
823 (memset): Don't use BP_SYM.
824 (__bzero): Likewise.
825 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
826 <bp-sym.h> and <bp-asm.h>.
827 (__rawmemchr): Don't use BP_SYM.
828 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
829 <bp-sym.h> and <bp-asm.h>.
830 (__STRCMP): Don't use BP_SYM.
831 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
832 <bp-sym.h> and <bp-asm.h>.
833 (strchr): Don't use BP_SYM.
834 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
835 <bp-sym.h> and <bp-asm.h>.
836 (__strchrnul): Don't use BP_SYM.
837 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
838 <bp-sym.h> and <bp-asm.h>.
839 (strlen): Don't use BP_SYM.
840 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
841 <bp-sym.h> and <bp-asm.h>.
842 (strncmp): Don't use BP_SYM. Remove comment about bounded
843 pointers.
844 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
845 <bp-sym.h> and <bp-asm.h>.
846 (__strnlen): Don't use BP_SYM.
847 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
848 <bp-sym.h> and <bp-asm.h>.
849 (__GI__setjmp): Don't use BP_SYM.
850 (_setjmp): Likewise.
851 (__sigsetjmp): Likewise.
852 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
853 (L(start_addresses)): Don't use BP_SYM.
854 (_start): Likewise.
855 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
856 <bp-asm.h>.
857 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
858 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
859 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
860 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
861 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
862 <bp-asm.h>.
863 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
864 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
865 about bounded pointers.
866 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
867 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
868 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
869 <bp-asm.h>.
870 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
871 about bounded pointers. Remove GKM FIXME comments.
872 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
873 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
874 <bp-asm.h>.
875 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
876 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
877 Remove GKM FIXME comments.
878 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
879 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
880 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
881 <bp-asm.h>.
882 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
883 about bounded pointers. Remove GKM FIXME comment.
884 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
885 and <bp-asm.h>.
886 (strncmp): Don't use BP_SYM. Remove comment about bounded
887 pointers.
888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
889 <bp-sym.h> and <bp-asm.h>.
890 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
892 <bp-sym.h> and <bp-asm.h>.
893 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
894 comment.
895
896 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
897
898 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
899 call free(NULL).
900
901 2013-03-05 David S. Miller <davem@davemloft.net>
902
903 * po/es.po: Update from translation team.
904
905 2013-03-05 Andreas Jaeger <aj@suse.de>
906
907 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
908 <bits/mman-linux.h>.
909 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
910 is fine.
911 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
912 <bits/mman-linux.h> to end of file.
913 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
914 is fine.
915 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
916 <bits/mman-linux.h> to end of file.
917 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
918 is fine.
919 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
920 <bits/mman-linux.h> to end of file.
921
922 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
923 (MCL_CURRENT, MCL_FUTURE): Define here.
924
925 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
926
927 [BZ #15232]
928 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
929 attribute_hidden.
930 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
931
932 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
933
934 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
935 fourth parameter needed for rt_sigprocmask syscall.
936 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
937 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
938 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
939 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
940 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
941 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
942
943 2013-03-04 Joseph Myers <joseph@codesourcery.com>
944
945 [BZ #13550]
946 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
947 comment about bounded pointers.
948 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
949 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
950
951 2013-03-04 Andreas Jaeger <aj@suse.de>
952
953 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
954 common definitions.
955
956 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
957 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
958 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
959 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
960 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
961 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
962
963 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
964
965 [BZ #15055]
966 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
967 __ieee754_sqrl instead of __sqrl.
968
969 2013-03-01 Joseph Myers <joseph@codesourcery.com>
970
971 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
972 * sysdeps/powerpc/fpu_control.h: ... here.
973 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
974 * sysdeps/powerpc/bits/fenvinline.h: ... here.
975 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
976 * sysdeps/powerpc/bits/mathinline.h: ... here.
977
978 2013-03-01 Roland McGrath <roland@hack.frob.com>
979
980 * elf/dl-hwcaps.c (_dl_important_hwcaps):
981 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
982 to just [NEED_DL_SYSINFO_DSO].
983 * elf/dl-support.c: Likewise.
984 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
985 * elf/rtld.c (dl_main): Likewise.
986 * elf/setup-vdso.h (setup_vdso): Likewise.
987 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
988 * sysdeps/unix/sysv/linux/dl-sysdep.c
989 (_dl_discover_osversion): Likewise.
990
991 2013-03-01 Carlos O'Donell <carlos@redhat.com>
992
993 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
994 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
995
996 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
997
998 * NEWS: Mention libm performance improvements and non-x86 PI
999 futex support.
1000
1001 * csu/libc-start.c (__pthread_initialize_minimal): Change
1002 function arguments.
1003 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1004
1005 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1006
1007 [BZ #13550]
1008 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1009 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1010 <bp-sym.h> and <bp-asm.h>.
1011 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1012 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1013 and <bp-asm.h>.
1014 (memcpy): Don't use BP_SYM.
1015 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1016 <bp-asm.h>.
1017 (__mpn_add_n): Don't use BP_SYM.
1018 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1019 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1020 and <bp-asm.h>.
1021 (__mpn_addmul_1): Don't use BP_SYM.
1022 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1023 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1024 <bp-sym.h>.
1025 (_setjmp): Don't use BP_SYM.
1026 (__novmx_setjmp): Likewise.
1027 (__GI__setjmp): Likewise.
1028 (__vmx_setjmp): Likewise.
1029 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1030 <bp-sym.h>.
1031 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1032 (__bzero): Don't use BP_SYM.
1033 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1034 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1035 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1036 <bp-sym.h> and <bp-asm.h>.
1037 (memcpy): Don't use BP_SYM.
1038 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1039 <bp-sym.h> and <bp-asm.h>.
1040 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1041 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1042 <bp-sym.h> and <bp-asm.h>.
1043 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1044 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1045 <bp-asm.h>.
1046 (__mpn_lshift): Don't use BP_SYM.
1047 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1048 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1049 <bp-asm.h>.
1050 (memset): Don't use BP_SYM.
1051 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1052 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1053 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1054 <bp-asm.h>.
1055 (__mpn_mul_1): Don't use BP_SYM.
1056 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1057 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1058 <bp-sym.h> and <bp-asm.h>.
1059 (memcmp): Don't use BP_SYM.
1060 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1061 <bp-sym.h> and <bp-asm.h>.
1062 (memcpy): Don't use BP_SYM.
1063 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1064 <bp-sym.h> and <bp-asm.h>.
1065 (memset): Don't use BP_SYM.
1066 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1067 <bp-sym.h> and <bp-asm.h>.
1068 (strncmp): Don't use BP_SYM.
1069 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1070 <bp-sym.h> and <bp-asm.h>.
1071 (memcpy): Don't use BP_SYM.
1072 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1073 <bp-sym.h> and <bp-asm.h>.
1074 (memset): Don't use BP_SYM.
1075 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1076 <bp-sym.h> and <bp-asm.h>.
1077 (__memchr): Don't use BP_SYM.
1078 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1079 <bp-sym.h> and <bp-asm.h>.
1080 (memcmp): Don't use BP_SYM.
1081 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1082 <bp-sym.h> and <bp-asm.h>.
1083 (memcpy): Don't use BP_SYM.
1084 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1085 <bp-sym.h> and <bp-asm.h>.
1086 (__mempcpy): Don't use BP_SYM.
1087 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1088 <bp-sym.h> and <bp-asm.h>.
1089 (__memrchr): Don't use BP_SYM.
1090 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1091 <bp-sym.h> and <bp-asm.h>.
1092 (memset): Don't use BP_SYM.
1093 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1094 <bp-sym.h> and <bp-asm.h>.
1095 (__rawmemchr): Don't use BP_SYM.
1096 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1097 <bp-sym.h> and <bp-asm.h>.
1098 (__STRCMP): Don't use BP_SYM.
1099 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1100 <bp-sym.h> and <bp-asm.h>.
1101 (strchr): Don't use BP_SYM.
1102 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1103 <bp-sym.h> and <bp-asm.h>.
1104 (__strchrnul): Don't use BP_SYM.
1105 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1106 <bp-sym.h> and <bp-asm.h>.
1107 (strlen): Don't use BP_SYM.
1108 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1109 <bp-sym.h> and <bp-asm.h>.
1110 (strncmp): Don't use BP_SYM.
1111 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1112 <bp-sym.h> and <bp-asm.h>.
1113 (__strnlen): Don't use BP_SYM.
1114 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1115 <bp-asm.h>.
1116 (__mpn_rshift): Don't use BP_SYM.
1117 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1118 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1119 <bp-sym.h> and <bp-asm.h>.
1120 (__sigsetjmp): Don't use BP_SYM.
1121 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1122 (L(start_addresses)): Don't use BP_SYM.
1123 (_start): Likewise.
1124 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1125 <bp-asm.h>.
1126 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1127 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1128 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1129 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1130 <bp-asm.h>.
1131 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1132 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1133 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1134 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1135 <bp-asm.h>.
1136 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1137 comments.
1138 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1139 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1140 <bp-asm.h>.
1141 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1142 FIXME comments.
1143 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1144 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1145 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1146 <bp-asm.h>.
1147 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1148 comment.
1149 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1150 and <bp-asm.h>.
1151 (strncmp): Don't use BP_SYM,
1152 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1153 <bp-asm.h>.
1154 (__mpn_sub_n): Don't use BP_SYM.
1155 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1156 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1157 and <bp-asm.h>.
1158 (__mpn_submul_1): Don't use BP_SYM.
1159 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1161 <bp-sym.h> and <bp-asm.h>.
1162 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1164 <bp-sym.h> and <bp-asm.h>.
1165 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1166 comment.
1167
1168 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1169
1170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1171 Use ZK to minimize writes to Z.
1172 (sub_magnitudes): Simplify code a bit.
1173 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1174 Use ZK to minimize writes to Z.
1175 (sub_magnitudes): Simplify code a bit.
1176
1177 2013-02-27 Roland McGrath <roland@hack.frob.com>
1178
1179 * csu/gmon-start.c: Add special exception to license text.
1180
1181 2013-02-27 Richard Henderson <rth@redhat.com>
1182
1183 * scripts/config.guess: Update from config.git.
1184 * scripts/config.sub: Likewise.
1185
1186 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1187
1188 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1189
1190 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1191
1192 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1193
1194 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1195
1196 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1197
1198 2013-02-26 Roland McGrath <roland@hack.frob.com>
1199
1200 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1201 [$(build-shared = yes].
1202
1203 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1204
1205 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1206 (__mul): Reduce iterations for calculating mantissa.
1207
1208 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1209 MPTWO.
1210 (__mpranred): Likewise.
1211
1212 [BZ #15160]
1213 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1214 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1215
1216 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1217
1218 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1219 Define __attribute__.
1220
1221 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1222
1223 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1224 unused.
1225 * posix/regex_internal.h (__attribute): Remove.
1226 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1227 (re_string_context_at): Likewise.
1228 (bitset_not): Use __attribute__ and mark function as possibly
1229 unused.
1230 (bitset_merge): Likewise.
1231 (bitset_mask): Likewise.
1232 (re_string_char_size_at): Likewise.
1233 (re_string_wchar_at): Likewise.
1234 (re_string_elem_size_at): Likewise.
1235
1236 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1237
1238 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1239 code.
1240 (cc32): Likewise.
1241
1242 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1243 (__acr): Likewise.
1244 (__cpy): Likewise.
1245 (norm): Likewise.
1246 (denorm): Likewise.
1247 (__dbl_mp): Likewise.
1248 (add_magnitudes): Likewise.
1249 (sub_magnitudes): Likewise.
1250 (__mul): Likewise.
1251 (__inv): Likewise.
1252
1253 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1254 style.
1255
1256 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1257 style.
1258
1259 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1260 code.
1261
1262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1263 up changes with default code.
1264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1265 Likewise.
1266
1267 2013-02-24 Allan McRae <allan@archlinux.org>
1268
1269 * manual/socket.texi (The Internet Namespace): Order menu items
1270 to match that in the file.
1271
1272 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1273 node listing of the info page menu.
1274
1275 2013-02-21 Joseph Myers <joseph@codesourcery.com>
1276
1277 [BZ #13550]
1278 * sysdeps/i386/bp-asm.h: Remove file.
1279 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1280 (PARMS): Do not use macros from bp-asm.h.
1281 (S1): Likewise.
1282 (S2): Likewise.
1283 (SIZE): Likewise.
1284 (__mpn_add_n): Do not use BP_SYM
1285 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1286 "bp-asm.h".
1287 (PARMS): Do not use macros from bp-asm.h.
1288 (S1): Likewise.
1289 (SIZE): Likewise.
1290 (__mpn_addmul_1): Do not use BP_SYM
1291 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1292 "bp-asm.h".
1293 (PARMS): Do not use macros from bp-asm.h.
1294 (SIGMSK): Likewise.
1295 (_setjmp): Likewise. Do not use BP_SYM.
1296 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1297 "bp-asm.h".
1298 (PARMS): Do not use macros from bp-asm.h.
1299 (SIGMSK): Likewise.
1300 (setjmp): Likewise. Do not use BP_SYM.
1301 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1302 "bp-asm.h".
1303 (PARMS): Do not use macros from bp-asm.h.
1304 (__frexp): Do not use BP_SYM.
1305 (frexp): Likewise.
1306 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1307 "bp-asm.h".
1308 (PARMS): Do not use macros from bp-asm.h.
1309 (__frexpf): Do not use BP_SYM.
1310 (frexpf): Likewise.
1311 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1312 "bp-asm.h".
1313 (PARMS): Do not use macros from bp-asm.h.
1314 (__frexpl): Do not use BP_SYM.
1315 (frexpl): Likewise.
1316 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1317 "bp-asm.h".
1318 (PARMS): Do not use macros from bp-asm.h.
1319 (__remquo): Do not use BP_SYM.
1320 (remquo): Likewise.
1321 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1322 "bp-asm.h".
1323 (PARMS): Do not use macros from bp-asm.h.
1324 (__remquof): Do not use BP_SYM.
1325 (remquof): Likewise.
1326 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1327 "bp-asm.h".
1328 (PARMS): Do not use macros from bp-asm.h.
1329 (__remquol): Do not use BP_SYM.
1330 (remquol): Likewise.
1331 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1332 "bp-asm.h".
1333 (PARMS): Do not use macros from bp-asm.h.
1334 (DEST): Likewise.
1335 (SRC): Likewise.
1336 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1337 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1338 "bp-asm.h".
1339 (PARMS): Do not use macros from bp-asm.h.
1340 (strlen): Do not use BP_SYM.
1341 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1342 "bp-asm.h".
1343 (PARMS): Do not use macros from bp-asm.h.
1344 (S1): Likewise.
1345 (S2): Likewise.
1346 (SIZE): Likewise.
1347 (__mpn_add_n): Do not use BP_SYM.
1348 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1349 "bp-asm.h".
1350 (PARMS): Do not use macros from bp-asm.h.
1351 (S1): Likewise.
1352 (SIZE): Likewise.
1353 (__mpn_addmul_1): Do not use BP_SYM.
1354 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1355 weak_alias.
1356 (bzero): Likewise.
1357 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1358 "bp-asm.h".
1359 (PARMS): Do not use macros from bp-asm.h.
1360 (S): Likewise.
1361 (SIZE): Likewise.
1362 (__mpn_lshift): Do not use BP_SYM.
1363 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1364 "bp-asm.h".
1365 (PARMS): Do not use macros from bp-asm.h.
1366 (DEST): Likewise.
1367 (SRC): Likewise.
1368 (LEN): Likewise.
1369 (memcpy): Likewise. Do not use BP_SYM.
1370 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1371 libc_hidden_def and weak_alias.
1372 (mempcpy): Do not use BP_SYM in weak_alias.
1373 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1374 "bp-asm.h".
1375 (PARMS): Do not use macros from bp-asm.h.
1376 (DEST): Likewise.
1377 (LEN): Likewise.
1378 [!BZERO_P] (CHR): Likewise.
1379 (memset): Likewise. Do not use BP_SYM.
1380 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1381 "bp-asm.h".
1382 (PARMS): Do not use macros from bp-asm.h.
1383 (S1): Likewise.
1384 (SIZE): Likewise.
1385 (__mpn_mul_1): Do not use BP_SYM.
1386 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1387 "bp-asm.h".
1388 (PARMS): Do not use macros from bp-asm.h.
1389 (S): Likewise.
1390 (SIZE): Likewise.
1391 (__mpn_rshift): Do not use BP_SYM.
1392 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1393 "bp-asm.h".
1394 (PARMS): Do not use macros from bp-asm.h.
1395 (STR): Likewise.
1396 (CHR): Likewise.
1397 (strchr): Likewise. Do not use BP_SYM.
1398 (index): Do not use BP_SYM in weak_alias.
1399 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1400 "bp-asm.h".
1401 (PARMS): Do not use macros from bp-asm.h.
1402 (DEST): Likewise.
1403 (SRC): Likewise.
1404 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1405 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1406 "bp-asm.h".
1407 (PARMS): Do not use macros from bp-asm.h.
1408 (strlen): Do not use BP_SYM.
1409 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1410 "bp-asm.h".
1411 (PARMS): Do not use macros from bp-asm.h.
1412 (S1): Likewise.
1413 (S2): Likewise.
1414 (SIZE): Likewise.
1415 (__mpn_sub_n): Do not use BP_SYM.
1416 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1417 "bp-asm.h".
1418 (PARMS): Do not use macros from bp-asm.h.
1419 (S1): Likewise.
1420 (SIZE): Likewise.
1421 (__mpn_submul_1): Do not use BP_SYM.
1422 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1423 "bp-asm.h".
1424 (PARMS): Do not use macros from bp-asm.h.
1425 (S1): Likewise.
1426 (S2): Likewise.
1427 (SIZE): Likewise.
1428 (__mpn_add_n): Do not use BP_SYM.
1429 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1430 weak_alias.
1431 (bzero): Likewise.
1432 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1433 "bp-asm.h".
1434 (PARMS): Do not use macros from bp-asm.h.
1435 (BLK2): Likewise.
1436 (LEN): Likewise.
1437 (memcmp): Do not use BP_SYM.
1438 (bcmp): Do not use BP_SYM in weak_alias.
1439 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1440 "bp-asm.h".
1441 (PARMS): Do not use macros from bp-asm.h.
1442 (DEST): Likewise.
1443 (SRC): Likewise.
1444 (LEN): Likewise.
1445 (memcpy): Likewise. Do not use BP_SYM.
1446 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1447 "bp-asm.h".
1448 (PARMS): Do not use macros from bp-asm.h.
1449 (DEST): Likewise.
1450 (SRC): Likewise.
1451 (LEN): Likewise.
1452 (memmove): Likewise. Do not use BP_SYM.
1453 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1454 "bp-asm.h".
1455 (PARMS): Do not use macros from bp-asm.h.
1456 (DEST): Likewise.
1457 (SRC): Likewise.
1458 (LEN): Likewise.
1459 (__mempcpy): Likewise. Do not use BP_SYM.
1460 (mempcpy): Do not use BP_SYM in weak_alias.
1461 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1462 "bp-asm.h".
1463 (PARMS): Do not use macros from bp-asm.h.
1464 (DEST): Likewise.
1465 (LEN): Likewise.
1466 [!BZERO_P] (CHR): Likewise.
1467 (memset): Likewise. Do not use BP_SYM.
1468 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1469 "bp-asm.h".
1470 (PARMS): Do not use macros from bp-asm.h.
1471 (STR2): Likewise.
1472 (strcmp): Do not use BP_SYM.
1473 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1474 "bp-asm.h".
1475 (PARMS): Do not use macros from bp-asm.h.
1476 (STR): Likewise.
1477 (DELIM): Likewise.
1478 [USE_AS_STRTOK_R] (SAVE): Likewise.
1479 (FUNCTION): Likewise. Do not use BP_SYM.
1480 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1481 aliases.
1482 (strtok_r): Likewise.
1483 (__GI___strtok_r): Likewise.
1484 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1485 (PARMS): Do not use macros from bp-asm.h.
1486 (S): Likewise.
1487 (SIZE): Likewise.
1488 (__mpn_lshift): Do not use BP_SYM.
1489 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1490 (PARMS): Do not use macros from bp-asm.h.
1491 (STR): Likewise.
1492 (CHR): Likewise.
1493 (__memchr): Do not use BP_SYM.
1494 (memchr): Do not use BP_SYM in weak_alias.
1495 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1496 (PARMS): Do not use macros from bp-asm.h.
1497 (BLK2): Likewise.
1498 (LEN): Likewise.
1499 (memcmp): Do not use BP_SYM.
1500 (bcmp): Do not use BP_SYM in weak_alias.
1501 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1502 (PARMS): Do not use macros from bp-asm.h.
1503 (S1): Likewise.
1504 (SIZE): Likewise.
1505 (__mpn_mul_1): Do not use BP_SYM.
1506 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1507 "bp-asm.h".
1508 (PARMS): Do not use macros from bp-asm.h.
1509 (STR): Likewise.
1510 (CHR): Likewise.
1511 (__rawmemchr): Do not use BP_SYM.
1512 (rawmemchr): Do not use BP_SYM in weak_alias.
1513 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1514 (PARMS): Do not use macros from bp-asm.h.
1515 (S): Likewise.
1516 (SIZE): Likewise.
1517 (__mpn_rshift): Do not use BP_SYM.
1518 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1519 (PARMS): Do not use macros from bp-asm.h.
1520 (SIGMSK): Likewise.
1521 (__sigsetjmp): Likewise. Do not use BP_SYM.
1522 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1523 (_start): Do not use BP_SYM.
1524 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1525 (PARMS): Do not use macros from bp-asm.h.
1526 (DEST): Likewise.
1527 (SRC): Likewise.
1528 (__stpcpy): Likewise. Do not use BP_SYM.
1529 (stpcpy): Do not use BP_SYM in weak_alias.
1530 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1531 "bp-asm.h".
1532 (PARMS): Do not use macros from bp-asm.h.
1533 (DEST): Likewise.
1534 (SRC): Likewise.
1535 (LEN): Likewise.
1536 (__stpncpy): Likewise. Do not use BP_SYM.
1537 (stpncpy): Do not use BP_SYM in weak_alias.
1538 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1539 (PARMS): Do not use macros from bp-asm.h.
1540 (STR): Likewise.
1541 (CHR): Likewise.
1542 (strchr): Likewise. Do not use BP_SYM.
1543 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1544 "bp-asm.h".
1545 (PARMS): Do not use macros from bp-asm.h.
1546 (STR): Likewise.
1547 (CHR): Likewise.
1548 (__strchrnul): Likewise. Do not use BP_SYM.
1549 (strchrnul): Do not use BP_SYM in weak_alias.
1550 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1551 "bp-asm.h".
1552 (PARMS): Do not use macros from bp-asm.h.
1553 (STOP): Likewise.
1554 (strcspn): Do not use BP_SYM.
1555 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1556 "bp-asm.h".
1557 (PARMS): Do not use macros from bp-asm.h.
1558 (STR): Likewise.
1559 (STOP): Likewise.
1560 (strpbrk): Likewise. Do not use BP_SYM.
1561 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1562 "bp-asm.h".
1563 (PARMS): Do not use macros from bp-asm.h.
1564 (STR): Likewise.
1565 (CHR): Likewise.
1566 (strrchr): Likewise. Do not use BP_SYM.
1567 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1568 (PARMS): Do not use macros from bp-asm.h.
1569 (SKIP): Likewise.
1570 (strspn): Do not use BP_SYM.
1571 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1572 (PARMS): Do not use macros from bp-asm.h.
1573 (STR): Likewise.
1574 (DELIM): Likewise.
1575 (SAVE): Likewise.
1576 (FUNCTION): Likewise. Do not use BP_SYM.
1577 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1578 aliases.
1579 (strtok_r): Likewise.
1580 (__GI___strtok_r): Likewise.
1581 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1582 (PARMS): Do not use macros from bp-asm.h.
1583 (S1): Likewise.
1584 (S2): Likewise.
1585 (SIZE): Likewise.
1586 (__mpn_sub_n): Do not use BP_SYM.
1587 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1588 "bp-asm.h".
1589 (PARMS): Do not use macros from bp-asm.h.
1590 (S1): Likewise.
1591 (SIZE): Likewise.
1592 (__mpn_submul_1): Do not use BP_SYM.
1593 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1594 <bp-sym.h>.
1595 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1596 and <bp-asm.h>.
1597 (PARMS): Do not use macros from bp-asm.h.
1598 (FLAGS): Likewise.
1599 (PTID): Likewise.
1600 (TLS): Likewise.
1601 (CTID): Likewise.
1602 (__clone): Do not use BP_SYM.
1603 (clone): Do not use BP_SYM in weak_alias.
1604 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1605 and <bp-asm.h>.
1606 (PARMS): Do not use macros from bp-asm.h.
1607 (LEN): Likewise.
1608 (__mmap64): Do not use BP_SYM.
1609 (mmap64): Do not use BP_SYM in weak_alias.
1610 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1611 <bp-sym.h> and <bp-asm.h>.
1612 (PARMS): Do not use macros from bp-asm.h.
1613 (__posix_fadvise64_l64): Do not use BP_SYM.
1614 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1615 (PARMS): Do not use macros from bp-asm.h.
1616 (NSOPS): Likewise.
1617 (semtimedop): Do not use BP_SYM.
1618 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1619 and <bp-asm.h>.
1620
1621 2013-02-21 Allan McRae <allan@archlinux.org>
1622
1623 * manual/message.texi (Charset conversion in gettext):
1624 Move @end statement to beginning of line.
1625
1626 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1627
1628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1629 static.
1630 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1631 Likewise.
1632
1633 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1634 (denorm): Likewise.
1635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1637
1638 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1639
1640 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1641 tail-call to the resolved function if pltexit isn't needed.
1642
1643 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1644
1645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1646 or Y being zero as being unlikely.
1647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1648 Likewise.
1649
1650 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1651
1652 * manual/nss.texi (System Databases and Name Service Switch):
1653 Remove frobnicate @pxref.
1654
1655 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1656
1657 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1658 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1659
1660 2013-02-20 Petr Machata <pmachata@redhat.com>
1661
1662 * elf/elf.h (R_ARM_TARGET1): New macro.
1663 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1664 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1665 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1666 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1667 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1668 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1669 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1670 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1671 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1672 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1673 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1674 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1675 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1676 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1677 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1678 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1679 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1680 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1681 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1682 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1683 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1684 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1685 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1686 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1687 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1688 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1689 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1690 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1691 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1692 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1693 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1694 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1695 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1696 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1697 (R_ARM_THM_GOT_BREL12): Likewise.
1698 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1699 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1700 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1701 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1702 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1703 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1704 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1705 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1706 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1707
1708 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1709
1710 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1711 __attribute_used__ to __attribute__ ((unused)).
1712
1713 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1714
1715 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1716 powerpc mpa.c.
1717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1718 comment formatting.
1719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1720
1721 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1722
1723 [BZ #13550]
1724 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1725 Remove macro.
1726 (ENTER): Remove both macro definitions.
1727 (LEAVE): Likewise.
1728 (CHECK_BOUNDS_LOW): Likewise.
1729 (CHECK_BOUNDS_HIGH): Likewise.
1730 (CHECK_BOUNDS_BOTH): Likewise.
1731 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1732 (RETURN_BOUNDED_POINTER): Likewise.
1733 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1734 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1735 (POP_ERRNO_LOCATION_RETURN): Likewise.
1736 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1737 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1738 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1739 macros.
1740 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1741 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1742 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1743 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1744 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1745 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1746 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1747 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1748 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1749 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1750 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1751 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1752 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1753 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1754 removed macros.
1755 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1756 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1757 macros.
1758 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1759 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1760 * sysdeps/i386/i586/memset.S (memset): Likewise.
1761 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1762 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1763 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1764 macros.
1765 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1766 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1767 Change uses of L(2) to L(out).
1768 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1769 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1770 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1771 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1772 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1773 removed macros.
1774 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1775 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1776 macros.
1777 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1778 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1779 (RETURN): Do not use macro LEAVE.
1780 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1781 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1782 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1783 * sysdeps/i386/i686/memset.S (memset): Likewise.
1784 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1785 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1786 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1787 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1788 Likewise.
1789 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1790 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1791 L(1_2) and L(1_3) into L(1).
1792 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1793 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1794 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1795 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1796 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1797 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1798 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1799 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1800 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1801 macros.
1802 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1803 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1804 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1805 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1806 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1807 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1808 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1809 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1810 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1811 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1812 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1813 * sysdeps/i386/strspn.S (strspn): Likewise.
1814 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1815 conditional code.
1816 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1817 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1818 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1819 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1820 L(1_3) into L(1_1).
1821 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1822 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1823 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1824 macros.
1825 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1826
1827 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1828
1829 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1830 macro.
1831
1832 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1833
1834 * math/atest-exp.c (exp_mpn): Remove ROUND.
1835 * math/atest-exp2.c (exp_mpn): Likewise.
1836 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1837
1838 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1839 * stdlib/tst-tls-atexit-lib.c: Likewise.
1840 * stdlib/tst-tls-atexit.c: Likewise.
1841
1842 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1843
1844 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1845 and __attribute_alloc_size__.
1846
1847 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1848
1849 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1850 __attribute_alloc_size__.
1851 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1852 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1853
1854 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1855
1856 * include/programs/xmalloc.h: New file.
1857 * catgets/gencat.c: Include it.
1858 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1859 * elf/pldd.c: Likewise.
1860 * iconv/iconv_charmap.c: Likewise.
1861 * iconv/iconvconfig.c: Likewise.
1862 * iconv/strtab.c: Likewise.
1863 * locale/programs/locale.c: Likewise.
1864 * locale/programs/localedef.h: Likewise.
1865 * locale/programs/simple-hash.c: Likewise.
1866 * nscd/nscd.h: Likewise.
1867 * nss/makedb.c: Likewise.
1868 * sysdeps/generic/ldconfig.h: Likewise.
1869
1870 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1871
1872 * Versions.def: Add GLIBC_2.18.
1873 * include/link.h (struct link_map): New member l_tls_dtor_count.
1874 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1875 (__call_tls_dtors): Likewise.
1876 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1877 __cxa_thread_atexit_impl.
1878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1879 Likewise.
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1881 Likewise.
1882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1883 Likewise.
1884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1885 Likewise.
1886 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1888 Likewise.
1889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1890 Likewise.
1891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1893 Likewise.
1894 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1895 (tests): Add test case tst-tls-atexit.
1896 (modules-names): Add shared library for tst-tls-atexit.
1897 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1898 (GLIBC_PRIVATE): Add __call_tls_dtors.
1899 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1900 for libstdc++.
1901 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1902 * stdlib/tst-tls-atexit.c: New test case.
1903 * stdlib/tst-tls-atexit-lib.c: New test case.
1904
1905 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1906
1907 * elf/Versions (ld): Add _dl_find_dso_for_object.
1908 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1909 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1910 (dl_open_worker): Use _dl_find_dso_for_object.
1911 * elf/dl-sym.c (do_sym): Likewise.
1912 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1913
1914 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1915
1916 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1917 Syntactic changes only.
1918 (_dl_runtime_profile): Do a tail-call to the resolved function.
1919
1920 2013-02-17 Joseph Myers <joseph@codesourcery.com>
1921
1922 [BZ #13550]
1923 * sysdeps/x86_64/bp-asm.h: Remove file.
1924 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1925 <bp-sym.h> and <bp-asm.h>.
1926 (__clone): Do not use BP_SYM.
1927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1928 <bp-sym.h> and <bp-asm.h>.
1929 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1930 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1931 "bp-asm.h".
1932 (_setjmp): Do not use BP_SYM.
1933 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1934 "bp-asm.h".
1935 (setjmp): Do not use BP_SYM.
1936 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1937 libc_hidden_def.
1938 (mempcpy): Do not use BP_SYM in weak_alias.
1939 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1940 "bp-asm.h".
1941 (strchr): Do not use BP_SYM.
1942 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1943 "bp-asm.h".
1944 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1945 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1946 (_start): Do not use BP_SYM.
1947 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1948 "bp-asm.h".
1949 (strcat): Do not use BP_SYM.
1950 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1951 "bp-asm.h".
1952 (STRCMP): Do not use BP_SYM.
1953 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1954 "bp-asm.h".
1955 (STRCPY): Do not use BP_SYM.
1956 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1957 "bp-asm.h".
1958 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1959 "bp-asm.h".
1960 (FUNCTION): Do not use BP_SYM.
1961 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1962 weak_alias.
1963 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1964
1965 2013-02-17 Andreas Jaeger <aj@suse.de>
1966
1967 * time/Versions: Sort entries.
1968 * string/Versions: Likewise.
1969 * resolv/Versions: Likewise.
1970 * posix/Versions: Likewise.
1971 * iconv/Versions: Likewise.
1972 * elf/Versions: Likewise.
1973 * wcsmbs/Versions: Likewise.
1974
1975 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1976
1977 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1978 loop termination condition.
1979
1980 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1981 variable to calculate EZ.
1982 (__sqr): Likewise.
1983
1984 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1985 the lower precision input.
1986
1987 2013-02-15 Joseph Myers <joseph@codesourcery.com>
1988
1989 [BZ #13550]
1990 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1991 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1992 (run-via-rtld-prefix): Do not handle %-bp tests.
1993 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1994 (all-object-suffixes): Remove .ob.
1995 (bppfx): Remove variable.
1996 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1997 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1998 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1999 [$(build-bounded) = yes] (libtype.ob): Likewise.
2000 * Makerules (elide-routines.ob): Remove variable.
2001 (do-tests-clean): Do not handle *-bp.out.
2002 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2003 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2004 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2005 (tests): Do not include $(tests-bp.out).
2006 (xtests): Do not include $(xtests-bp.out).
2007 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2008 [$(build-bounded) = yes] ($(addprefix
2009 $(objpfx),$(binaries-bounded))): Remove rule.
2010 ($(objpfx)%-bp.out): Remove rule.
2011 * config.make.in (build-bounded): Remove variable.
2012 * crypt/Makefile [$(build-bounded) = yes]
2013 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2014 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2015 append to variable.
2016 [$(build-bounded) = yes] (install-lib): Likewise.
2017 [$(build-bounded) = yes] (generated): Likewise.
2018 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2019 Remove rule.
2020 * intl/Makefile [$(build-bounded) = yes]
2021 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2022 * math/Makefile [$(build-bounded) = yes]
2023 ($(tests:%=$(objpfx)%-bp): Likewise.
2024 * misc/Makefile [$(build-bounded) = yes]
2025 ($(objpfx)tst-tsearch-bp): Likewise.
2026 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2027 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2028 Remove dependency.
2029 * string/Makefile (o-objects.ob): Remove variable.
2030 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2031 (CFLAGS-.ob): Remove variable.
2032 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2033 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2034 both definitions of variable.
2035 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2036 (ASFLAGS-.ob): Remove variable.
2037
2038 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2039
2040 [BZ #13550]
2041 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2042 Remove __BOUNDED_POINTERS__ from condition.
2043 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2044 * string/bits/string2.h [!__NO_STRING_INLINES &&
2045 !__BOUNDED_POINTERS__]: Likewise.
2046 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2047 Likewise.
2048 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2049 Remove conditional code.
2050 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2051 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2052 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2053 condition.
2054
2055 [BZ #13550]
2056 * csu/libc-start.c: Do not include <bp-sym.h>.
2057 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2058 * elf/dl-open.c: Do not include <bp-sym.h>.
2059 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2060 * math/fegetenv.c: Do not include <bp-sym.h>.
2061 (fegetenv): Do not use BP_SYM in versioned symbols.
2062 * nptl/sysdeps/pthread/bits/libc-lockP.h
2063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2064 <bp-sym.h>.
2065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2066 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2068 (__pthread_mutex_destroy): Likewise.
2069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2070 (__pthread_mutex_lock): Likewise.
2071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2072 (__pthread_mutex_trylock): Likewise.
2073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2074 (__pthread_mutex_unlock): Likewise.
2075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2076 (__pthread_mutexattr_init): Likewise.
2077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2078 (__pthread_mutexattr_destroy): Likewise.
2079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2080 (__pthread_mutexattr_settype): Likewise.
2081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2082 (__pthread_rwlock_init): Likewise.
2083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2084 (__pthread_rwlock_destroy): Likewise.
2085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2086 (__pthread_rwlock_rdlock): Likewise.
2087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2088 (__pthread_rwlock_tryrdlock): Likewise.
2089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2090 (__pthread_rwlock_wrlock): Likewise.
2091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2092 (__pthread_rwlock_trywrlock): Likewise.
2093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2094 (__pthread_rwlock_unlock): Likewise.
2095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2096 (__pthread_key_create): Likewise.
2097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2098 (__pthread_setspecific): Likewise.
2099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2100 (__pthread_getspecific): Likewise.
2101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2102 Likewise.
2103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2104 (_pthread_cleanup_push_defer): Likewise.
2105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2106 (_pthread_cleanup_pop_restore): Likewise.
2107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2108 (pthread_setcancelstate): Likewise.
2109 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2110 <bp-sym.h>.
2111 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2112 (memchr): Do not use BP_SYM in weak_alias.
2113 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2114 (fegetenv): Do not use BP_SYM in versioned symbols.
2115 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2116 (fesetenv): Do not use BP_SYM in versioned symbols.
2117 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2118 (feupdateenv): Do not use BP_SYM in versioned symbols.
2119 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2120 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2121 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2122 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2123 (open64): Do not use BP_SYM in weak_alias.
2124 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2125 (fegetenv): Do not use BP_SYM in versioned symbols.
2126 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2127 (fesetenv): Do not use BP_SYM in versioned symbols.
2128 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2129 (feupdateenv): Do not use BP_SYM in versioned symbols.
2130 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2131 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2132 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2133 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2134 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2135 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2136 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2137 <bp-sym.h>.
2138 (__libc_start_main): Do not use BP_SYM.
2139
2140 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2141
2142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2143 redundant return line.
2144 (norm): Likewise.
2145 (denorm): Likewise.
2146 (dbl_mp): Likewise.
2147 (sub_magnitudes): Likewise.
2148 (__add): Likewise.
2149 (__sub): Likewise.
2150 (__mul): Likewise.
2151 (__inv): Likewise.
2152 (__dvd): Likewise.
2153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2154 (norm): Likewise.
2155 (denorm): Likewise.
2156 (dbl_mp): Likewise.
2157 (sub_magnitudes): Likewise.
2158 (__add): Likewise.
2159 (__sub): Likewise.
2160 (__mul): Likewise.
2161 (__inv): Likewise.
2162 (__dvd): Likewise.
2163
2164 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2165 instead of __mul.
2166 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2167 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2168 (cc32): Likewise.
2169
2170 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2171 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2172 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2173 of __mul for squares.
2174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2175 function
2176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2177 Likewise.
2178 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2179 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2180
2181 2013-02-13 Joseph Myers <joseph@codesourcery.com>
2182
2183 [BZ #13550]
2184 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2185 code.
2186 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2187 prototype or function definition. Rename ubp_* variables and
2188 parameters. Remove argv definitions conditional on
2189 [__BOUNDED_POINTERS__].
2190 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2191 * elf/dl-runtime.c (_dl_fixup): Likewise.
2192 * include/set-hooks.h (RUN_HOOK): Likewise.
2193 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2194 definition.
2195 * string/strcpy.c (strcpy): Do not use __unbounded.
2196 * sysdeps/generic/frame.h (struct layout): Likewise.
2197 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2198 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2199 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2200 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2201 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2202 (__backtrace): Likewise.
2203 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2204 use __ptrvalue.
2205 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2206 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2207 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2208 Likewise.
2209 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2210 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2211 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2212 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2213 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2214 Do not use __unbounded.
2215 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2216 Rename __unboundedrlimits parameter to rlimits in prototype.
2217 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2218 Do not use __unbounded.
2219 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2220 not use __ptrvalue.
2221 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2222 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2223 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2224 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2225 __ptrvalue or __unbounded.
2226 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2227 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2228 use __unbounded.
2229 (__new_msgctl): Do not use __ptrvalue.
2230 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2231 __unbounded.
2232 (__libc_msgrcv): Do not use __ptrvalue.
2233 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2234 startup_info): Do not use __unbounded.
2235 (__libc_start_main): Likewise. Rename ubp_* variables and
2236 parameters. Remove argv definitions conditional on
2237 [__BOUNDED_POINTERS__].
2238 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2239 __ptrvalue.
2240 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2241 use __unbounded.
2242 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2243 or __ptrvalue.
2244 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2245 use __unbounded.
2246 (__new_shmctl): Do not use __ptrvalue.
2247 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2248 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2249 Likewise.
2250 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2251 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2252 (__libc_sigaction): Likewise.
2253 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2254 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2255 Likewise.
2256 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2257
2258 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
2259
2260 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2261
2262 * string/mempcpy.c: Implement by calling memcpy.
2263
2264 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2265
2266 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2267
2268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2269 evaluation.
2270
2271 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2272 values in the mantissa.
2273
2274 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2275 minimize writes to Z.
2276 (sub_magnitudes): Simplify code a bit.
2277
2278 2013-02-12 Roland McGrath <roland@hack.frob.com>
2279
2280 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2281 from the message. The linker prefixes all warnings with that already.
2282
2283 2013-02-12 Andreas Schwab <schwab@suse.de>
2284
2285 [BZ #15078]
2286 * posix/regexec.c (extend_buffers): Add parameter min_len.
2287 (check_matching): Pass minimum needed length.
2288 (clean_state_log_if_needed): Likewise.
2289 (get_subexp): Likewise.
2290 * posix/Makefile (tests): Add bug-regex34.
2291 (bug-regex34-ENV): Define.
2292 * posix/bug-regex34.c: New file.
2293
2294 [BZ #11561]
2295 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2296 elements compare against the byte sequence of it, not its name.
2297 * posix/Makefile (tests): Add bug-regex35.
2298 (bug-regex35-ENV): Define.
2299 * posix/bug-regex35.c: New file.
2300
2301 2013-02-11 Tom de Vries <tom@codesourcery.com>
2302
2303 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2304 comment.
2305 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2306 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2307 (CHECK_EOL): Add undef.
2308
2309 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
2310
2311 * bits/stdlib-bsearch.h: New file.
2312 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2313 * stdlib/stdlib.h: Likewise.
2314
2315 2013-02-11 Roland McGrath <roland@hack.frob.com>
2316
2317 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2318 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2319 declaration.
2320 * manual/search.texi (Array Search Function): Add missing const in
2321 lfind prototype.
2322 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2323 declaration to use rlim_t.
2324 (Basic Scheduling Functions): Remove erroneous const from
2325 sched_getparam prototype. Remove erroneous * from
2326 sched_get_priority_max and sched_get_priority_min prototypes.
2327 (Resource Usage): Fix summary @comment on vtimes to refer to
2328 sys/vtimes.h rather than vtimes.h.
2329 Add missing *s in vtimes prototype.
2330 (Limits on Resources): Fix ulimit prototype to return long int.
2331 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2332 prototypes to use long int rather than double.
2333 (BSD Random): Fix initstate and setstate to use char *, not void *.
2334 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2335 prototype to make second argument 'struct aiocb64 *const[]'.
2336 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2337 (Status of AIO Operations): Remove erroneous const in aio_return and
2338 aio_return64 prototypes.
2339 (Synchronizing I/O): Fix sync prototype to return void.
2340 * manual/startup.texi (Suboptions): Remove an erroneous const in
2341 getsubopt prototype.
2342 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2343 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2344 use size_t rather than int.
2345 (Scanning All Users): Likewise for getpwent_r.
2346 (Setting Groups): Add missing const to setgroups prototype.
2347 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2348 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2349 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2350 'const void *' rather than 'const char *'.
2351 (Host Address Functions): Likewise for inet_ntop.
2352 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2353 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2354 ssize_t for return value.
2355 (Sending Data): Likewise for send, sendto, sendmsg.
2356 (Socket Option Functions): Add a missing const in setsockopt prototype.
2357 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2358 use wchar_t for the argument.
2359 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2360 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2361 take no arguments.
2362 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2363 double/float/long double for second argument.
2364 Fix return types of significand, significandf, significandl.
2365 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2366 argument in fchmod prototype.
2367 (File Owner): Use uid_t and gid_t in fchown prototype.
2368 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2369 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2370 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2371 use 'const struct dirent **' as argument types to CMP function pointer
2372 argument.
2373 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2374 (File Times): Fix summary magic @comment for struct utimbuf and utime
2375 to refer to utime.h, not time.h.
2376 * manual/string.texi (Argz Functions): Add missing const in
2377 argz_extract and argz_next prototypes.
2378 (Finding Tokens in a String): Likewise for basename.
2379 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2380 (Copying and Concatenation): Fix typo in wmemmove prototype.
2381 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2382 (Signal Stack): Remove erroneous const in sigstack prototype.
2383 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2384 prototype.
2385 (Simple Calendar Time): Likewise for stime.
2386 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2387 prototype.
2388 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2389 say sys/sysctl.h instead.
2390 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2391 and vsyslog prototypes.
2392
2393 2013-02-11 Tom de Vries <tom@codesourcery.com>
2394
2395 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2396 Remove.
2397
2398 2013-02-11 Roland McGrath <roland@hack.frob.com>
2399
2400 * misc/sys/mman.h: Fix typo in mremap comment.
2401
2402 2013-02-08 Roland McGrath <roland@hack.frob.com>
2403
2404 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2405 the '\0' terminator.
2406
2407 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2408
2409 [BZ #13550]
2410 * debug/segfault.c: Don't include <bp-checks.h>.
2411 * sysdeps/generic/bp-checks.h: Remove file.
2412 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2413 (__GETDENTS): Don't use CHECK_N.
2414 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2415 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2416 (__getgroups): Don't use CHECK_N.
2417 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2418 (setgroups): Don't use CHECK_N.
2419 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2420 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2421 (__libc_msgrcv): Don't use CHECK_N.
2422 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2423 (__libc_msgsnd): Don't use CHECK_N.
2424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2425 <bp-checks.h>.
2426 (__libc_pread): Don't use CHECK_N.
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2428 include <bp-checks.h>.
2429 (__libc_pread64): Don't use CHECK_N.
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2431 include <bp-checks.h>.
2432 (__libc_pwrite): Don't use CHECK_N.
2433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2434 include <bp-checks.h>.
2435 (__libc_pwrite64): Don't use CHECK_N.
2436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2437 <bp-checks.h>.
2438 (__libc_pread): Don't use CHECK_N.
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2440 include <bp-checks.h>.
2441 (__libc_pread64): Don't use CHECK_N.
2442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2443 include <bp-checks.h>.
2444 (__libc_pwrite): Don't use CHECK_N.
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2446 include <bp-checks.h>.
2447 (__libc_pwrite64): Don't use CHECK_N.
2448 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2449 (do_pread): Don't use CHECK_N.
2450 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2451 (do_pread64): Don't use CHECK_N.
2452 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2453 (do_pwrite): Don't use CHECK_N.
2454 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2455 (do_pwrite64): Don't use CHECK_N.
2456 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2457 (__libc_readv): Don't use CHECK_N.
2458 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2459 (semop): Don't use CHECK_N.
2460 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2461 <bp-checks.h>.
2462 (semtimedop): Don't use CHECK_N.
2463 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2464 (__libc_pread): Don't use CHECK_N.
2465 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2466 <bp-checks.h>.
2467 (__libc_pread64): Don't use CHECK_N.
2468 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2469 <bp-checks.h>.
2470 (__libc_pwrite): Don't use CHECK_N.
2471 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2472 <bp-checks.h>.
2473 (__libc_pwrite64): Don't use CHECK_N.
2474 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2475 <bp-checks.h>.
2476 (__libc_msgrcv): Don't use CHECK_N.
2477 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2478 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2479 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2480 (__libc_writev): Don't use CHECK_N.
2481
2482 2013-02-08 Roland McGrath <roland@hack.frob.com>
2483
2484 * string/strcpy.c: Removed unused variable.
2485
2486 * Makeconfig (+sysdep-includes): Define with := rather than =.
2487 Use an existing include/ subdir of each sysdeps dir before it.
2488
2489 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2490
2491 * nscd/connection.c (register_traced_file): Comment function.
2492 [HAVE_INOTIFY] (union __inev): Define.
2493 [HAVE_INOTIFY] (inotify_check_files): New function.
2494 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2495 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2496 clear_db_cache.
2497 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2498
2499 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2500
2501 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2502 loaded if not already and that a failure is permanent.
2503
2504 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2505
2506 [BZ #15006]
2507 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2508 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2509
2510 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2511
2512 [BZ #13550]
2513 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2514 (CHECK_1_NULL_OK): Likewise.
2515 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2516 (__fxstat): Do not use CHECK_1.
2517 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2518 <bp-checks.h>.
2519 (___fxstat64): Do not use CHECK_1.
2520 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2521 <bp-checks.h>.
2522 (__fxstatat): Do not use CHECK_1.
2523 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2524 <bp-checks.h>.
2525 (__fxstatat64): Do not use CHECK_1.
2526 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2527 <bp-checks.h>.
2528 (__fxstat): Do not use CHECK_1.
2529 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2530 <bp-checks.h>.
2531 (__fxstatat): Do not use CHECK_1.
2532 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2533 <bp-checks.h>.
2534 (__getresgid): Do not use CHECK_1.
2535 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2536 <bp-checks.h>.
2537 (__getresuid): Do not use CHECK_1.
2538 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2539 <bp-checks.h>.
2540 (__lxstat): Do not use CHECK_1.
2541 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2542 <bp-checks.h>.
2543 (__old_msgctl): Do not use CHECK_1.
2544 (__new_msgctl): Likewise.
2545 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2546 <bp-checks.h>.
2547 (__new_setrlimit): Do not use CHECK_1.
2548 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2549 <bp-checks.h>.
2550 (__old_shmctl): Do not use CHECK_1.
2551 (__new_shmctl): Likewise.
2552 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2553 <bp-checks.h>.
2554 (__xstat): Do not use CHECK_1.
2555 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2556 (__lxstat): Do not use CHECK_1.
2557 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2558 <bp-checks.h>.
2559 (___lxstat64): Do not use CHECK_1.
2560 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2561 (__old_msgctl): Do not use CHECK_1.
2562 (__new_msgctl): Likewise.
2563 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2564 <bp-checks.h>.
2565 (__gettimeofday): Do not use CHECK_1.
2566 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2567 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2568 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2569 <bp-checks.h>.
2570 (__gettimeofday): Do not use CHECK_1.
2571 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2572 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2573 (__new_shmctl): Do not use CHECK_1.
2574 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2575 <bp-checks.h>.
2576 (do_sigtimedwait): Do not use CHECK_1.
2577 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2578 <bp-checks.h>.
2579 (do_sigwaitinfo): Do not use CHECK_1.
2580 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2581 <bp-checks.h>.
2582 (msgctl): Do not use CHECK_1.
2583 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2584 <bp-checks.h>.
2585 (shmctl): Do not use CHECK_1.
2586 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2587 (ustat): Do not use CHECK_1.
2588 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2589 <bp-checks.h>.
2590 (__fxstat): Do not use CHECK_1.
2591 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2592 <bp-checks.h>.
2593 (__fxstatat): Do not use CHECK_1.
2594 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2595 <bp-checks.h>.
2596 (__lxstat): Do not use CHECK_1.
2597 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2598 <bp-checks.h>.
2599 (__xstat): Do not use CHECK_1.
2600 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2601 (__xstat): Do not use CHECK_1.
2602 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2603 (___xstat64): Do not use CHECK_1.
2604
2605 [BZ #13550]
2606 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2607 definitions.
2608 (CHECK_BOUNDS_HIGH): Likewise.
2609 * string/strcpy.c: Do not include <bp-checks.h>.
2610 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2611
2612 2013-02-07 Roland McGrath <roland@hack.frob.com>
2613
2614 * nscd/nscd-client.h (__nscd_drop_map_ref):
2615 Add __attribute__ ((unused)).
2616 * nis/nss-nisplus.h (niserr2nss): Likewise.
2617
2618 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2619 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2620
2621 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2622 Remove inline keyword.
2623 * include/rounding-mode.h (round_away): Likewise.
2624 * libio/wfileops.c (adjust_wide_data): Likewise.
2625 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2626 (__m128i_strloadu_tolower): Likewise.
2627 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2628 (__m128i_strloadu_tolower): Likewise.
2629 * time/mktime.c (ydhms_diff): Likewise.
2630 * locale/elem-hash.h (elem_hash): Likewise.
2631 * locale/setlocale.c (setdata): Likewise.
2632 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2633 (re_string_wchar_at): Likewise.
2634 (bitset_not, bitset_merge, bitset_mask): Likewise.
2635 [!(__GNUC__ > 3)] (inline): Remove macro.
2636 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2637 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2638 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2639 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2640 * string/memcmp.c (memcmp_bytes): Likewise.
2641 * locale/programs/locarchive.c (compute_hashval): Likewise.
2642 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2643 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2644 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2645 * nss/getent.c (print_rpc, print_protocols): Likewise.
2646 (print_passwd, print_group, print_aliases): Likewise.
2647 * nis/nss-nisplus.h (niserr2nss): Likewise.
2648 * nscd/connections.c (restart_p): Likewise.
2649 Change return type to bool.
2650
2651 2013-02-05 Roland McGrath <roland@hack.frob.com>
2652
2653 * Makeconfig (all-Depend-files): Add existing
2654 $(sorted-subdirs:=/Depend) files.
2655 (all-subdirs): Remove nss.
2656 * sysdeps/unix/inet/Subdirs: Add it here instead.
2657 * hesiod/Depend: New file.
2658
2659 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2660 instead of calling alloca.
2661
2662 * io/lseek.c (__lseek): Rename to __libc_lseek.
2663 Define __lseek as an alias.
2664
2665 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2666
2667 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2668
2669 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2670 else clause and remove check for non-standard endianness.
2671
2672 2013-02-04 David S. Miller <davem@davemloft.net>
2673
2674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2675
2676 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2677
2678 [BZ #13550]
2679 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2680 (__ubp_memchr): Remove prototype.
2681 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2682 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2683 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2684 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2685 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2686 Remove alias.
2687 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2688 (__ubp_memchr): Likewise.
2689 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2690 (__ubp_memchr): Likewise.
2691 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2692 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2693 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2694 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2695 CHECK_STRING.
2696 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2697 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2698 (__getcwd): Do not use CHECK_STRING.
2699 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2700 <bp-checks.h>.
2701 (__real_chown): Do not use CHECK_STRING.
2702 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2703 <bp-checks.h>.
2704 (fchownat): Do not use CHECK_STRING.
2705 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2706 CHECK_STRING.
2707 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2708 <bp-checks.h>.
2709 (__lchown): Do not use CHECK_STRING.
2710 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2711 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2712 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2713 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2715 include <bp-checks.h>.
2716 (truncate64): Do not use CHECK_STRING.
2717 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2718 <bp-checks.h>.
2719 (__real_chown): Do not use CHECK_STRING.
2720 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2721 <bp-checks.h>.
2722 (__lchown): Do not use CHECK_STRING.
2723 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2724 <bp-checks.h>.
2725 (__chown): Do not use CHECK_STRING.
2726 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2727 <bp-checks.h>.
2728 (truncate64): Do not use CHECK_STRING.
2729 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2730 Likewise.
2731 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2732 (__xmknod): Do not use CHECK_STRING.
2733 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2734 <bp-checks.h>.
2735 (__xmknodat): Do not use CHECK_STRING.
2736 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2737 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2738
2739 2013-02-04 Andreas Schwab <schwab@suse.de>
2740
2741 [BZ #14142]
2742 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2743 * include/netdb.h: Likewise for h_errno.
2744 * elf/tst-stackguard1.c: Include <tls.h>.
2745
2746 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2747
2748 * elf/link.h (struct link_map): Extend the l_addr comment.
2749 * include/link.h (struct link_map): Likewise.
2750
2751 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2752
2753 [BZ #13550]
2754 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2755 (BOUNDED_1): Remove macro.
2756 * debug/backtrace.c: Don't include <bp-checks.h>.
2757 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2758 (__backtrace): Likewise.
2759 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2760 <bp-checks.h>.
2761 (__backtrace): Don't use BOUNDED_1.
2762 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2763 <bp-checks.h>.
2764 (__backtrace): Don't use BOUNDED_1.
2765 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2766 (__backtrace): Don't use BOUNDED_1.
2767 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2768 (shmat): Don't use BOUNDED_N.
2769
2770 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2771
2772 [BZ #13550]
2773 * sysdeps/generic/bp-start.h: Remove file.
2774 * csu/libc-start.c: Don't include <bp-start.h>.
2775 (LIBC_START_MAIN): Set up __environ directly instead of using
2776 INIT_ARGV_and_ENVIRON.
2777 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2778 <bp-start.h>.
2779
2780 [BZ #13550]
2781 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2782 definitions.
2783 (CHECK_FCNTL): Likewise.
2784 (CHECK_N_PAGES): Likewise.
2785
2786 [BZ #13550]
2787 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2788 definitions.
2789 (CHECK_SIGSET_NULL_OK): Likewise.
2790 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2791 <bp-checks.h>.
2792 (sigpending): Don't use CHECK_SIGSET.
2793 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2794 <bp-checks.h>.
2795 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2796 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2797 <bp-checks.h>.
2798 (do_sigsuspend): Don't use CHECK_SIGSET.
2799 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2800 use CHECK_SIGSET.
2801 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2802 (do_sigwait): Don't use CHECK_SIGSET.
2803 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2804 use CHECK_SIGSET.
2805 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2806 include <bp-checks.h>.
2807 (sigpending): Don't use CHECK_SIGSET.
2808 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2809 include <bp-checks.h>.
2810 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2811 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2812 <bp-checks.h>.
2813 (sigpending): Don't use CHECK_SIGSET.
2814 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2815 <bp-checks.h>.
2816 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2817
2818 [BZ #13550]
2819 * sysdeps/generic/bp-semctl.h: Remove file.
2820 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2821 <bp-checks.h> and <bp-semctl.h>.
2822 (__old_semctl): Don't use CHECK_SEMCTL.
2823 (__new_semctl): Likewise.
2824 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2825 and <bp-semctl.h>.
2826 (__old_semctl): Don't use CHECK_SEMCTL.
2827 (__new_semctl): Likewise.
2828 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2829 <bp-checks.h> and <bp-semctl.h>.
2830 (__old_semctl): Don't use CHECK_SEMCTL.
2831 (__new_semctl): Likewise.
2832 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2833 <bp-checks.h> and <bp-semctl.h>.
2834 (semctl): Don't use CHECK_SEMCTL.
2835
2836 [BZ #13550]
2837 * Makerules (elide-bp-thunks): Remove variable.
2838 (elide-routines.oS): Don't use $(elide-bp-thunks).
2839 (elide-routines.os): Likewise.
2840 (elide-routines.o): Likewise.
2841 (elide-routines.op): Likewise.
2842 (elide-routines.og): Likewise.
2843 (objects): Don't use $(bp-thunks).
2844 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2845 include.
2846 (common-generated): Do not add s-proto-bp.d.
2847 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2848 (int): Likewise.
2849 (typ): Likewise.
2850 Do not generate makefile rules for bounded-pointer thunks.
2851 * sysdeps/generic/bp-thunks.h: Remove file.
2852 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2853 * sysdeps/unix/s-proto-bp.S: Likewise.
2854
2855 [BZ #15062]
2856 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2857 parts of result separately when argument is not close to line from
2858 -i to i and one part of argument is small.
2859 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2860 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2861 * math/libm-test.inc (cacos_test): Add more tests.
2862 (casin_test): Likewise.
2863 (casinh_test): Likewise.
2864 * sysdeps/i386/fpu/libm-test-ulps: Update.
2865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2866
2867 2013-01-31 David S. Miller <davem@davemloft.net>
2868
2869 * po/de.po: Update from translation team.
2870
2871 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2872
2873 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2874
2875 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2876
2877 * configure.in (_AC_PROG_CC_C89): New definition.
2878 * configure: Regenerate.
2879
2880 * configure.in (AC_PROG_CPP): New definition.
2881 * configure: Regenerate.
2882
2883 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2884
2885 * debug/tst-backtrace.h: New file.
2886 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2887 (ret): Remove variable.
2888 (x): Likewise.
2889 (FAIL): Remove macro.
2890 (NO_INLINE): Likewise.
2891 (fn1): Use match function instead of strstr.
2892 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2893 (ret): Remove variable.
2894 (x): Likewise.
2895 (FAIL): Remove macro.
2896 (NO_INLINE): Likewise.
2897 (fn): Use match function instead of strstr.
2898 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2899 (ret): Remove variable.
2900 (x): Likewise.
2901 (FAIL): Remove macro.
2902 (NO_INLINE): Likewise.
2903 (handle_signal): Use match function instead of strstr.
2904 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2905 (ret): Remove variable.
2906 (x): Likewise.
2907 (FAIL): Remove macro.
2908 (NO_INLINE): Likewise.
2909 (handle_signal): Use match function instead of strstr.
2910
2911 2013-01-23 Roland McGrath <roland@hack.frob.com>
2912
2913 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2914
2915 2013-01-23 David S. Miller <davem@davemloft.net>
2916
2917 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2918 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2919 argument of CAS if possible.
2920 * sysdeps/sparc/sparc64/bits/atomic.h
2921 (__arch_compare_and_exchange_val_32_acq): Likewise.
2922 (__arch_compare_and_exchange_val_64_acq): Likewise.
2923
2924 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2925
2926 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2927 * sysdeps/posix/ulimit.c: ... this.
2928 Include <limits.h>.
2929 * sysdeps/unix/bsd/ulimit.c: Remove file.
2930
2931 2013-01-23 Adam Conrad <adconrad@0c3.net>
2932
2933 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2934 (LDFLAGS-tst-array5): Likewise.
2935
2936 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2937
2938 [BZ #15036]
2939 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2940 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2941 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2942 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2943
2944 2013-01-21 David S. Miller <davem@davemloft.net>
2945
2946 * sysdeps/sparc/backtrace.c: New file.
2947 * sysdeps/sparc/sparc32/backtrace.h: New file.
2948 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2949 * sysdeps/sparc/sparc64/backtrace.h: New file.
2950 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2951 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2952 -funwind-tables.
2953
2954 2013-01-21 Andreas Schwab <schwab@suse.de>
2955
2956 [BZ #15020]
2957 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2958 closed its stdout.
2959
2960 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2961
2962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2963 "mpa2.h".
2964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2965
2966 2013-01-18 Joseph Myers <joseph@codesourcery.com>
2967 Mark Mitchell <mark@codesourcery.com>
2968 Tom de Vries <tom@codesourcery.com>
2969 Paul Pluzhnikov <ppluzhnikov@google.com>
2970
2971 * debug/tst-backtrace2.c: New file.
2972 * debug/tst-backtrace3.c: Likewise.
2973 * debug/tst-backtrace4.c: Likewise.
2974 * debug/tst-backtrace5.c: Likewise.
2975 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2976 (CFLAGS-tst-backtrace3.c): Likewise.
2977 (CFLAGS-tst-backtrace4.c): Likewise.
2978 (CFLAGS-tst-backtrace5.c): Likewise.
2979 (LDFLAGS-tst-backtrace2): Likewise.
2980 (LDFLAGS-tst-backtrace3): Likewise.
2981 (LDFLAGS-tst-backtrace4): Likewise.
2982 (LDFLAGS-tst-backtrace5): Likewise.
2983 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2984 tst-backtrace4 and tst-backtrace5.
2985
2986 2013-01-18 Anton Blanchard <anton@samba.org>
2987 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2988
2989 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2990 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2991 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2992 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2994 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2995 "+r" and remove output regs list as redundant. Add explicit inline
2996 asm to specify register of return val to work around compiler codegen
2997 bug. Remove (int) cast on return value. Add return type parameter to
2998 use in macro so that this macro does not truncate return value for
2999 64-bit values.
3000 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3001 pass to INTERNAL_VSYSCALL_NCS.
3002 (INLINE_VSYSCALL): Add 'long int' as return type to
3003 INTERNAL_VSYSCALL_NCS macro invocation.
3004 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3005 INTERNAL_VSYSCALL_NCS macro invocation.
3006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3007
3008 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3009
3010 [BZ #14496]
3011 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3012 Fix application of SIMD FP exception mask.
3013
3014 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3015 mp_no from a power of two.
3016 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3017 __mpexp_twomm1. Use __pow_mp.
3018
3019 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3020 multiplication.
3021
3022 2013-01-17 David S. Miller <davem@davemloft.net>
3023
3024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3025
3026 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3027
3028 [BZ #15023]
3029 * include/complex.h: Condition contents on [!_COMPLEX_H].
3030 (__kernel_casinhf): New prototype.
3031 (__kernel_casinh): Likewise.
3032 (__kernel_casinhl): Likewise.
3033 * math/Makefile (libm_calls): Add k_casinh.
3034 * math/k_casinh.c: New file.
3035 * math/k_casinhf.c: Likewise.
3036 * math/k_casinhl.c: Likewise.
3037 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3038 finite nonzero arguments.
3039 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3040 finite nonzero arguments.
3041 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3042 finite nonzero arguments.
3043 * math/s_casinh.c: Do not include <float.h>.
3044 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3045 * math/s_casinhf.c: Do not include <float.h>.
3046 (__casinhf): Move code for finite nonzero arguments to
3047 k_casinhf.c.
3048 * math/s_casinhl.c: Do not include <float.h>.
3049 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3050 redefine.
3051 (__casinhl): Move code for finite nonzero arguments to
3052 k_casinhl.c.
3053 * math/libm-test.inc (cacos_test): Add more tests.
3054 * sysdeps/i386/fpu/libm-test-ulps: Update.
3055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3056
3057 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3058
3059 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3060 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3061 [!HAVE_MREMAP]: Remove [defined linux] case.
3062 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3063
3064 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3065
3066 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3067
3068 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3069
3070 * elf/elf.h (R_386_SIZE32): New relocation.
3071 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3072 R_386_SIZE32.
3073 (elf_machine_rela): Likewise.
3074 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3075 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3076
3077 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3078
3079 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3080 (FP_FAST_FMA): Do not define.
3081 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3082 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3083 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3084 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3085 !_SOFT_FLOAT]: Likewise.
3086 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3087 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3088 value.
3089 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3090 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3091 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3092 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3093 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3094 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3095 file.
3096
3097 2013-01-16 Andreas Schwab <schwab@suse.de>
3098
3099 [BZ #14327]
3100 * include/stdlib.h (__mktemp): Add declaration.
3101 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3102 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3103
3104 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3105
3106 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3107 definitions.
3108 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3109 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3110 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3111 definitions here.
3112 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3113 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3114 definitions.
3115 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3116 and ONE.
3117 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3118 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3119 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3120 definitions.
3121 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3122 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3123 definitions.
3124 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3125
3126 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3127
3128 2013-01-15 David S. Miller <davem@davemloft.net>
3129
3130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3131 trunc{,f} to libm-sysdep_routes.
3132 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3134 file.
3135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3137 file.
3138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3139 file.
3140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3142 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3143 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3144 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3145 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3146 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3147 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3148
3149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3150 nearbyint{,f} to libm-sysdep_routes.
3151 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3153 New file.
3154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3155 file.
3156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3157 New file.
3158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3159 file.
3160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3162 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3163 file.
3164 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3165 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3166 file.
3167 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3168 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3169 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3170
3171 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3172 libc_feholdexcept and libc_fesetenv.
3173
3174 2013-01-15 Mike Frysinger <vapier@gentoo.org>
3175
3176 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3177
3178 2013-01-14 David S. Miller <davem@davemloft.net>
3179
3180 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3181 (SPARC_ASM_VIS2_IFUNC): Likewise.
3182 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3184 use of 'siam' instruction.
3185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3186 Likewise.
3187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3188 Likewise.
3189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3190 Likewise.
3191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3193 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3196 file.
3197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3198 file.
3199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3200 file.
3201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3202 file.
3203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3208 new VIS2 routines.
3209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3212 Likewise.
3213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3218 routines to libm-sysdep_routines.
3219 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3220
3221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3222 fdim/fdimf to libm-sysdep_routines.
3223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3224 file.
3225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3227 file.
3228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3231 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3232 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3233 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3234 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3235
3236 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3237
3238 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3239 to optimize copies.
3240
3241 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3244
3245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3246 local variable MPTWO.
3247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3248 Likewise.
3249
3250 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3251
3252 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3253 GLOB_NOESCAPE.
3254
3255 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3256
3257 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3258
3259 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3260
3261 * manual/pattern.texi (glob_t): Document gl_flags.
3262 (glob64_t): Likewise.
3263
3264 2013-01-11 David S. Miller <davem@davemloft.net>
3265
3266 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3267 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3268 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
3269 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3270 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3271 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3272 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3273 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3274 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3275 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3276 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3277 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3278 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3279
3280 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3281 sparc V9 rather than using V8 code.
3282 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3283 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3284
3285 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3286 Move to...
3287 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3288 Here.
3289
3290 2013-01-11 Roland McGrath <roland@hack.frob.com>
3291
3292 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3293 not in the main loop.
3294 * configure: Regenerated.
3295
3296 2013-01-11 Joseph Myers <joseph@codesourcery.com>
3297
3298 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3299 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3300 to just #else.
3301 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3302 [!__GLIBC_HAVE_LONG_LONG] case.
3303 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3304 condition to just #else.
3305 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3306 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3307 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3308 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3309 unconditional.
3310 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3311 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3312 #elif condition to just #else.
3313 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3314 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3315 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3316 #elif condition to just #else.
3317
3318 2013-01-11 Steve Ellcey <sellcey@mips.com>
3319
3320 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3321 (EF_MIPS_ARCH_64): Fix value.
3322 (EF_MIPS_ARCH_32R2): New.
3323 (EF_MIPS_ARCH_64R2): New.
3324
3325 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3326
3327 * Makeconfig (+link-pie-before-libc): New.
3328 (+link-pie-after-libc): Likewise.
3329 (+link-pie-tests): Likewise.
3330 (+link-pie): Rewritten.
3331 (link-before-libc): Remove $(config-LDFLAGS).
3332 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3333 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3334 (config-LDFLAGS): Renamed to ...
3335 (rtld-LDFLAGS): This.
3336 (rtld-tests-LDFLAGS): New macro.
3337 (link-libc-rpath-link): Likewise.
3338 (link-libc-tests-rpath-link): Likewise.
3339 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3340 (link-libc): Prepand $(link-libc-rpath-link).
3341 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3342 (test-program-prefix): New macro.
3343 (test-via-rtld-prefix): Likewise.
3344 (test-program-cmd): Likewise.
3345 (host-test-program-cmd): Likewise.
3346 * Makefile ($(common-objpfx)testrun.sh): Replace
3347 $(run-program-prefix) with $(test-program-prefix).
3348 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3349 $(rtld-LDFLAGS).
3350 ($(common-objpfx)shlib.lds): Likewise.
3351 (build-module-helper): Likewise.
3352 ($(common-objpfx)format.lds): Likewise.
3353 * Rules (binaries-pie-tests): New.
3354 (binaries-pie-notests): Likewise.
3355 (binaries-pie): Rewritten.
3356 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3357 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3358 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3359 (make-test-out): Replace $(host-built-program-cmd) with
3360 $(host-test-program-cmd).
3361 * config.make.in (build-hardcoded-path-in-tests): New variable.
3362 * configure.in (--enable-hardcoded-path-in-tests): New configure
3363 option.
3364 (hardcoded_path_in_tests): New AC_SUBST.
3365 * configure: Regenerated.
3366 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3367 $(built-program-cmd) with $(test-program-cmd).
3368 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3369 (test_program_cmd): This.
3370 * elf/Makefile ($(objpfx)order.out): Run test with
3371 $(test-program-prefix).
3372 ($(objpfx)order2.out): Likewise.
3373 ($(objpfx)tst-initorder.out): Likewise.
3374 ($(objpfx)tst-initorder2.out): Likewise.
3375 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3376 $(test-program-cmd).
3377 ($(objpfx)tst-array1-static.out): Likewise.
3378 ($(objpfx)tst-array2.out): Likewise.
3379 ($(objpfx)tst-array3.out): Likewise.
3380 ($(objpfx)tst-array4.out): Likewise.
3381 ($(objpfx)tst-array5.out): Likewise.
3382 ($(objpfx)tst-array5-static.out): Likewise.
3383 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3384 $(test-program-cmd).
3385 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3386 $(run-program-prefix) with $(test-program-prefix).
3387 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3388 (test_program_prefix): This.
3389 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3390 $(run-program-prefix) with $(test-program-prefix).
3391 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3392 (test_program_prefix): This.
3393 * iconvdata/tst-tables.sh: Likewise.
3394 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3395 $(run-program-prefix) with $(test-program-prefix).
3396 ($(objpfx)tst-translit.out): Likewise.
3397 ($(objpfx)tst-gettext2.out): Likewise.
3398 ($(objpfx)tst-gettext4.out): Likewise.
3399 ($(objpfx)tst-gettext6.out): Likewise.
3400 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3401 (test_program_prefix): This.
3402 * intl/tst-gettext2.sh: Likewise.
3403 * intl/tst-gettext4.sh Likewise.
3404 * intl/tst-gettext6.sh: Likewise.
3405 * intl/tst-translit.sh: Likewise.
3406 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3407 with $(test-program-cmd).
3408 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3409 $(run-program-prefix) with $(test-program-prefix).
3410 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3411 (test_program_prefix): This.
3412 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3413 $(run-program-prefix) with $(test-program-prefix).
3414 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3415 (test_program_prefix): This.
3416 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3417 * posix/Makefile ($(objpfx)globtest.out): Replace
3418 $(run-via-rtld-prefix) and $(test-wrapper) with
3419 $(test-program-prefix) and $(test-via-rtld-prefix).
3420 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3421 $(test-program-prefix).
3422 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3423 $(host-test-program-cmd).
3424 (tst-spawn-ARGS): Likewise.
3425 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3426 $(test-program-prefix).
3427 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3428 (test_via_rtld_prefix): This.
3429 (test_wrapper): Renamed to ...
3430 (test_program_prefix): This.
3431 (run_program_prefix): Replaced by test_program_prefix.
3432 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3433 (test_program_prefix): This.
3434 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3435 with $(host-test-program-cmd).
3436 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3437 $(run-program-prefix) with $(test-program-prefix).
3438 ($(objpfx)tst-printf.out): Likewise.
3439 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3440 $(test-program-cmd).
3441 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3442 (test_program_prefix): This.
3443 * stdio-common/tst-unbputc.sh: Likewise.
3444 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3445 $(run-program-prefix) with $(test-program-prefix).
3446 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3447 (test_program_prefix): This.
3448 * string/Makefile ($(objpfx)tst-svc.out): Replace
3449 $(built-program-cmd) with $(test-program-cmd).
3450
3451 2013-01-11 Andreas Jaeger <aj@suse.de>
3452
3453 [BZ #15003]
3454 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3455 value. Sync with Linux 3.7.
3456
3457 2013-01-10 David S. Miller <davem@davemloft.net>
3458
3459 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3460 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3461 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3462
3463 2013-01-10 Roland McGrath <roland@hack.frob.com>
3464
3465 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3466 never set.
3467 * configure: Regenerated.
3468
3469 2013-01-10 David S. Miller <davem@davemloft.net>
3470
3471 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3472 sparc V9 rather than using V8 code.
3473 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3474 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3475
3476 2013-01-10 Roland McGrath <roland@hack.frob.com>
3477
3478 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3479 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3480 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3481 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3482 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3483 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3484 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3485 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3486 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3487 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3488 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3489 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3490 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3491 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3492 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3493 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3494 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3495 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3496 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3497 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3498 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3499 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3500 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3501 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3502 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3503 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3504 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3505
3506 2013-01-10 David S. Miller <davem@davemloft.net>
3507
3508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3509
3510 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3511
3512 * posix/Makefile (tests-static): New variable.
3513 (tests): Add $(tests-static).
3514 (tst-exec-static-ARGS): New variable.
3515 (tst-spawn-static-ARGS): Likewise.
3516 * posix/tst-exec-static.c: New file.
3517 * posix/tst-spawn-static.c: Likewise.
3518 * posix/tst-exec.c: Support run directly.
3519 * posix/tst-spawn.c: Likewise.
3520
3521 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3522
3523 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3524 long.
3525 * math/bits/mathcalls.h (llrint): Likewise.
3526 (llround): Likewise.
3527 * stdlib/stdlib.h (struct drand48_data): Likewise.
3528 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3529 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3530 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3531 Likewise.
3532 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3533 Likewise.
3534 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3535 (elf_greg_t): Likewise.
3536 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3537 (__jmp_buf): Likewise.
3538 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3539 definitions.
3540 (llrint): Likewise, for all definitions.
3541 (llrintl): Likewise.
3542
3543 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3544 Remove [__GNUC__] condition.
3545 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3546 condition to just [__USE_ISOC99].
3547 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3548
3549 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3550
3551 [BZ #14200]
3552 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3553 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3554 defined.
3555 (_POSIX_V6_ILP32_OFF32): Likewise.
3556 (_XBS5_ILP32_OFF32): Likewise.
3557 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3558 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3559
3560 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3561
3562 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3563
3564 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3565 doubles __mpexp_twomm1. Adjust usage.
3566 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3567 Remove.
3568
3569 2013-01-10 Andreas Schwab <schwab@suse.de>
3570
3571 [BZ #14964]
3572 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3573 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3574
3575 2013-01-09 David S. Miller <davem@davemloft.net>
3576
3577 [BZ #15003]
3578 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3579 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3580 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3581 TCP_FASTOPEN): Define.
3582 (tcp_repair_opt): New structure.
3583 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3584 enum values.
3585 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3586 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3587 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3588 (tcp_cookie_transactions): New structure.
3589
3590 2013-01-09 Anton Blanchard <anton@samba.org>
3591
3592 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3593 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3594 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3595 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3596
3597 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3598
3599 * include/features.h (__USE_ANSI): Remove.
3600
3601 2013-01-09 Roland McGrath <roland@hack.frob.com>
3602
3603 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3604
3605 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3606
3607 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3608
3609 * sysdeps/s390/fpu/libm-test-ulps: Update.
3610
3611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3612
3613 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3614 (__acr): Likewise.
3615 (__cpy): Likewise.
3616 (norm): Likewise.
3617 (denorm): Likewise.
3618 (__mp_dbl): Likewise.
3619 (__dbl_mp): Likewise.
3620 (add_magnitudes): Likewise.
3621 (sub_magnitudes): Likewise.
3622 (__add): Likewise.
3623 (__sub): Likewise.
3624 (__mul): Likewise.
3625 (__inv): Likewise.
3626 (__dvd): Likewise.
3627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3628 (__acr): Likewise.
3629 (__cpy): Likewise.
3630 (norm): Likewise.
3631 (denorm): Likewise.
3632 (__mp_dbl): Likewise.
3633 (__dbl_mp): Likewise.
3634 (add_magnitudes): Likewise.
3635 (sub_magnitudes): Likewise.
3636 (__add): Likewise.
3637 (__sub): Likewise.
3638 (__mul): Likewise.
3639 (__inv): Likewise.
3640 (__dvd): Likewise.
3641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3642 (__acr): Likewise.
3643 (__cpy): Likewise.
3644 (norm): Likewise.
3645 (denorm): Likewise.
3646 (__mp_dbl): Likewise.
3647 (__dbl_mp): Likewise.
3648 (add_magnitudes): Likewise.
3649 (sub_magnitudes): Likewise.
3650 (__add): Likewise.
3651 (__sub): Likewise.
3652 (__mul): Likewise.
3653 (__inv): Likewise.
3654 (__dvd): Likewise.
3655
3656 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3657
3658 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3659 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3660 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3661 2 && __USE_EXTERN_INLINES]: Likewise.
3662
3663 2013-01-08 Andreas Jaeger <aj@suse.de>
3664
3665 [BZ# 14985]
3666 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3667 Remove.
3668 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3669 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3670
3671 2013-01-07 Anton Blanchard <anton@samba.org>
3672
3673 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3674 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3675 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3676 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3677 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3678 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3679 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3680 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3682 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3683 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3684 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3685 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3686 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3687 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3688 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3689 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3690 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3691 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3692 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3693 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3694 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3695 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3696 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3697 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3698 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3699 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3700 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3701 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3702 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3703 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3704 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3705 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3706 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3707 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3708 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3709 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3710 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3711 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3712 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3713 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3714 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3715 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3716
3717 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3718
3719 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3720 (__MALLOC_PMT): Likewise.
3721 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3722 [__GNUC__], only on [_LIBC].
3723 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3724 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3725 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3726 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3727 forward declaration.
3728 (realloc_hook_ini): Likewise.
3729 (memalign_hook_ini): Likewise.
3730 (__libc_memalign): Do not use __MALLOC_PMT in variable
3731 declaration.
3732 (__libc_valloc): Likewise.
3733 (__libc_pvalloc): Likewise.
3734 (__libc_calloc): Likewise.
3735 (__posix_memalign): Likewise.
3736
3737 [BZ #14996]
3738 * math/s_casinh.c: Include <float.h>.
3739 (__casinh): Do not do computation with squaring and square root
3740 for large arguments.
3741 * math/s_casinhf.c: Include <float.h>.
3742 (__casinhf): Do not do computation with squaring and square root
3743 for large arguments.
3744 * math/s_casinhl.c: Include <float.h>.
3745 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3746 (__casinhl): Do not do computation with squaring and square root
3747 for large arguments.
3748 * math/libm-test.inc (casin_test): Add more tests.
3749 (casinh_test): Likewise.
3750 * sysdeps/i386/fpu/libm-test-ulps: Update.
3751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3752
3753 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3754
3755 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3756 (__x86_64_raw_data_cache_size): Likewise.
3757 (__x86_64_data_cache_size_half): Likewise.
3758 (__x86_64_raw_data_cache_size_half): Likewise.
3759 (__x86_64_shared_cache_size): Likewise.
3760 (__x86_64_raw_shared_cache_size): Likewise.
3761 (__x86_64_shared_cache_size_half): Likewise.
3762 (__x86_64_raw_shared_cache_size_half): Likewise.
3763 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3764 to ...
3765 (__x86_data_cache_size): This.
3766 (__x86_64_raw_data_cache_size): Renamed to ...
3767 (__x86_raw_data_cache_size): This.
3768 (__x86_64_data_cache_size_half): Renamed to ...
3769 (__x86_data_cache_size_half): This.
3770 (__x86_64_raw_data_cache_size_half): Renamed to ...
3771 (__x86_raw_data_cache_size_half): This.
3772 (__x86_64_shared_cache_size): Renamed to ...
3773 (__x86_shared_cache_size): This.
3774 (__x86_64_raw_shared_cache_size): Renamed to ...
3775 (__x86_raw_shared_cache_size): This.
3776 (__x86_64_shared_cache_size_half): Renamed to ...
3777 (__x86_shared_cache_size_half): This.
3778 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3779 (__x86_raw_shared_cache_size_half): This.
3780 * sysdeps/x86_64/memcpy.S: Updated.
3781 * sysdeps/x86_64/memset.S: Likewise.
3782 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3783 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3784 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3785
3786 2013-01-04 David S. Miller <davem@davemloft.net>
3787
3788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3789
3790 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3791
3792 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3793 1 to avoid redefinition warning.
3794 (__USE_GNU): Don't define.
3795 (init_signaling_nan): Protoize.
3796
3797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3798
3799 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3800
3801 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3803 (__cpymn): Likewise.
3804 (norm): Remove commented code.
3805 (denorm): Likewise.
3806 (__mp_dbl): Likewise.
3807 (__inv): Likewise.
3808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3809 (__cpymn): Likewise.
3810 (norm): Remove commented code.
3811 (denorm): Likewise.
3812 (__mp_dbl): Likewise.
3813 (__inv): Likewise.
3814
3815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3816 mp_no value for 1.0 and 2.0.
3817 (norm): Use RADIXI instead of radixi.d.
3818 (denorm): Likewise.
3819 (__mul): Use 0.0 instead of zero.d.
3820 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3821 mp_no value for 1.0 and 2.0.
3822 (norm): Use RADIXI instead of radixi.d.
3823 (denorm): Likewise.
3824 (__mul): Use 0.0 instead of zero.d.
3825
3826 2013-01-04 Joseph Myers <joseph@codesourcery.com>
3827
3828 [BZ #14994]
3829 * math/s_casinh.c (__casinh): Reduce finite argument to first
3830 quadrant then set signs of results at the end.
3831 * math/s_casinhf.c (__casinhf): Likewise.
3832 * math/s_casinhl.c (__casinhl): Likewise.
3833 * math/libm-test.inc (casin_test): Add more tests.
3834 (casinh_test): Likewise.
3835 * sysdeps/i386/fpu/libm-test-ulps: Update.
3836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3837
3838 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3839
3840 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3841
3842 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3843
3844 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3845 declarations.
3846 (denorm): Likewise.
3847 (__mp_dbl): Likewise.
3848 (__inv): Likewise.
3849
3850 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3851 and adjust the header comment.
3852
3853 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3854 variable name from declaration.
3855
3856 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3857
3858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3859 Initialize COMMON_CPUID_INDEX_7 element.
3860 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3861 (CPUID_RTM): Likewise.
3862 (HAS_RTM): Likewise.
3863 (COMMON_CPUID_INDEX_7): New enum.
3864
3865 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3866
3867 [BZ #14981]
3868 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3869 size is zero, record memory as freed.
3870
3871 2013-01-03 Andreas Jaeger <aj@suse.de>
3872
3873 * po/ia.po: Add new Interlingua translation.
3874
3875 2012-01-03 Allan McRae <allan@archlinux.org>
3876
3877 * locale/programs/localedef.c: Fix description of '--posix' flag.
3878
3879 2013-01-02 Joseph Myers <joseph@codesourcery.com>
3880
3881 * NEWS: Update dates in second copyright notice.
3882 * README: Update copyright dates in example.
3883 * manual/libc.texinfo: Update copyright dates.
3884 * scripts/test-installation.pl: Update copyright date in --version
3885 output.
3886
3887 * hurd/ctty-input.c: Fix copyright notice formatting.
3888 * hurd/ctty-output.c: Likewise.
3889 * hurd/dtable.c: Likewise.
3890 * hurd/hurd-raise.c: Likewise.
3891 * hurd/hurdprio.c: Likewise.
3892 * hurd/msgportdemux.c: Likewise.
3893 * misc/sys/file.h: Likewise.
3894 * misc/sys/ioctl.h: Likewise.
3895 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3896 * sysdeps/mach/hurd/chdir.c: Likewise.
3897 * sysdeps/mach/hurd/fchdir.c: Likewise.
3898 * sysdeps/mach/hurd/rename.c: Likewise.
3899 * sysdeps/mach/hurd/rmdir.c: Likewise.
3900 * sysdeps/mach/hurd/seekdir.c: Likewise.
3901 * sysdeps/mach/hurd/setsid.c: Likewise.
3902 * sysdeps/posix/wait3.c: Likewise.
3903
3904 * All files with FSF copyright notices: Update copyright dates
3905 using scripts/update-copyrights.
3906 * intl/plural.c: Regenerated.
3907 * locale/programs/charmap-kw.h: Likewise.
3908 * locale/programs/locfile-kw.h: Likewise.
3909
3910 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3911
3912 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3913 four values.
3914
3915 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3916 calculation loop and add branch prediction.
3917
3918 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3919 check access beyond bounds of m1np.
3920
3921 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3922 MPTWO.
3923 (__inv): Remove local variable MPTWO to use the global
3924 constant.
3925 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3926 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3927 variable MPTWO.
3928 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3929 MP3HALFS static const.
3930
3931 2013-01-01 David S. Miller <davem@davemloft.net>
3932
3933 * po/ca.po: Update from translation team.
3934
3935 2013-01-01 Joseph Myers <joseph@codesourcery.com>
3936
3937 * scripts/update-copyrights: New file.
3938 * Makeconfig: Reformat copyright notice.
3939 * ctype/ctype.h: Likewise.
3940 * debug/swprintf_chk.c: Likewise.
3941 * elf/dl-cache.c: Likewise.
3942 * elf/dl-debug.c: Likewise.
3943 * elf/dl-object.c: Likewise.
3944 * grp/initgroups.c: Likewise.
3945 * hurd/Makefile: Likewise.
3946 * hurd/hurd/signal.h: Likewise.
3947 * hurd/hurdfault.c: Likewise.
3948 * hurd/hurdioctl.c: Likewise.
3949 * hurd/hurdlookup.c: Likewise.
3950 * hurd/intr-msg.c: Likewise.
3951 * iconv/gconv_open.c: Likewise.
3952 * libio/swprintf.c: Likewise.
3953 * locale/lc-ctype.c: Likewise.
3954 * locale/nl_langinfo.c: Likewise.
3955 * mach/Machrules: Likewise.
3956 * mach/Makefile: Likewise.
3957 * malloc/obstack.h: Likewise.
3958 * manual/Makefile: Likewise.
3959 * manual/tsort.awk: Likewise.
3960 * misc/bits/stab.def: Likewise.
3961 * nis/nis_print_group_entry.c: Likewise.
3962 * nis/nis_table.c: Likewise.
3963 * nis/nss_compat/compat-pwd.c: Likewise.
3964 * nis/nss_compat/compat-spwd.c: Likewise.
3965 * po/Makefile: Likewise.
3966 * posix/fnmatch.c: Likewise.
3967 * posix/regex.h: Likewise.
3968 * resolv/Makefile: Likewise.
3969 * resolv/nss_dns/dns-network.c: Likewise.
3970 * resolv/res_hconf.c: Likewise.
3971 * scripts/gen-sorted.awk: Likewise.
3972 * soft-fp/soft-fp.h: Likewise.
3973 * stdio-common/printf.h: Likewise.
3974 * stdlib/monetary.h: Likewise.
3975 * stdlib/random.c: Likewise.
3976 * stdlib/random_r.c: Likewise.
3977 * sysdeps/generic/Makefile: Likewise.
3978 * sysdeps/gnu/Makefile: Likewise.
3979 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3980 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3981 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3982 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3983 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3984 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3985 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3987 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3989 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3992 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3993 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3994 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3999 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4000 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4001 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4002 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4003 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4007 * sysdeps/mach/hurd/errnos.awk: Likewise.
4008 * sysdeps/mach/hurd/fork.c: Likewise.
4009 * sysdeps/mach/hurd/getcwd.c: Likewise.
4010 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4011 * sysdeps/mach/hurd/mmap.c: Likewise.
4012 * sysdeps/mach/hurd/utimes.c: Likewise.
4013 * sysdeps/mach/hurd/xmknod.c: Likewise.
4014 * sysdeps/posix/profil.c: Likewise.
4015 * sysdeps/posix/readdir_r.c: Likewise.
4016 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4017 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4018 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4019 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4021 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4022 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4023 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4024 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4025 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4026 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4027 * sysdeps/pthread/lio_listio.c: Likewise.
4028 * sysdeps/sparc/dl-procinfo.h: Likewise.
4029 * sysdeps/unix/i386/sysdep.S: Likewise.
4030 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4031 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4032 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4033 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4035 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4036 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4037 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4038 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4039 * sysdeps/wordsize-32/divdi3.c: Likewise.
4040 * time/sys/time.h: Likewise.
4041 * wcsmbs/Makefile: Likewise.
4042
4043 2013-01-01 David S. Miller <davem@davemloft.net>
4044
4045 * po/fr.po: Update from translation team.
4046
4047 * catgets/gencat.c: Update copyright year.
4048 * csu/version.c: Likewise.
4049 * debug/catchsegv.sh: Likewise.
4050 * debug/pcprofiledump.c: Likewise.
4051 * debug/xtrace.sh: Likewise.
4052 * elf/ldconfig.c: Likewise.
4053 * elf/ldd.bash.in: Likewise.
4054 * elf/pldd.c: Likewise.
4055 * elf/sotruss.ksh: Likewise.
4056 * elf/sprof.c: Likewise.
4057 * iconv/iconv_prog.c: Likewise.
4058 * iconv/iconvconfig.c: Likewise.
4059 * locale/programs/locale.c: Likewise.
4060 * locale/programs/localedef.c: Likewise.
4061 * login/programs/pt_chown.c: Likewise.
4062 * malloc/memusage.sh: Likewise.
4063 * malloc/memusagestat.c: Likewise.
4064 * malloc/mtrace.pl: Likewise.
4065 * nscd/nscd.c: Likewise.
4066 * nss/getent.c: Likewise.
4067 * nss/makedb.c: Likewise.
4068 * posix/getconf.c: Likewise.
4069
4070 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4071
4072 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4073 numbers.
4074
4075 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4076
4077 * math/bits/mathcalls.h (modf): Use __nonnull.
4078
4079 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4080
4081 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4082 (split): Use macro CN instead of the bare value.
4083 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4084 could be used.
4085 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4086 instead of the bare value.
4087 (power1): Likewise.
4088
4089 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4090
4091 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4092 __ATAN_TWOM.
4093 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4094
4095 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4096 their values.
4097 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4098 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4099 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4100 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4101
4102 2012-12-28 Andreas Jaeger <aj@suse.de>
4103
4104 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4105 values are from Linux 3.7.
4106
4107 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4108 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4109
4110 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4111
4112 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4113 TRUE case.
4114
4115 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4116 (norm): Likewise.
4117 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4118 variables with preprocessor constants.
4119 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4120 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4121 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4122
4123 2012-12-27 Bruno Haible <bruno@clisp.org>
4124
4125 [BZ #14317]
4126 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4127 only if needed.
4128
4129 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4130
4131 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4132 and use variable directly.
4133 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4134
4135 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4136 MPONE.
4137 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4138 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4139 variable MPONE.
4140 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4141 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4142 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4143 include directive. Remove local variable MPONE.
4144 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4145 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4146 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4147
4148 2012-12-25 David S. Miller <davem@davemloft.net>
4149
4150 * version.h (RELEASE): Set to "development".
4151 (VERSION): Set to "2.17.90".
4152 * NEWS: Add 2.18 section.
4153
4154 2012-12-21 David S. Miller <davem@davemloft.net>
4155
4156 * po/hr.po: Update from translation team.
4157
4158 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4159
4160 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4161
4162 2012-12-19 Steve Ellcey <sellcey@mips.com>
4163
4164 * NEWS: Mention new memcpy for MIPS.
4165
4166 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4167
4168 * manual/contrib.texi (Contributors): Spelling correction.
4169
4170 2012-12-15 David S. Miller <davem@davemloft.net>
4171
4172 * po/ru.po: Update from translation team.
4173
4174 2012-12-13 David S. Miller <davem@davemloft.net>
4175
4176 * NEWS: Mention IFUNC testsuite enhancements.
4177
4178 * po/pl.po: Update from translation team.
4179 * po/bg.po: Likewise.
4180
4181 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4182 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4183
4184 2012-12-11 David S. Miller <davem@davemloft.net>
4185
4186 * po/sv.po: Update from translation team.
4187
4188 * po/vi.po: Update from translation team.
4189
4190 * po/cs.po: Update from translation team.
4191
4192 * po/de.po: Update from translation team.
4193 * po/eo.po: Likewise.
4194 * po/nl.po: Likewise.
4195
4196 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4197
4198 [BZ #14246]
4199 * manual/argp.texi (Argp Helper Functions): Move node to follow
4200 Argp Parsing State.
4201
4202 [BZ #14872]
4203 * manual/conf.texi (Limits on File System Capacity): Mention if
4204 terminating null is included in the max size.
4205
4206 2012-12-10 Andreas Jaeger <aj@suse.de>
4207
4208 * po/cs.po: Update from translation team.
4209
4210 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4211
4212 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4213 void pointer and cast to uintptr_t.
4214 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4215 path.
4216 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4217 * sysdeps/s390/s390-64/memset.S: Likewise.
4218
4219 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
4220
4221 [BZ #14833]
4222 * menual/message.texi (Message Translation): Fix typos.
4223 (Helper programs for gettext): Likewise.
4224
4225 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4226
4227 [BZ #14898]
4228 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4229 Change to -1.
4230
4231 2012-12-07 David S. Miller <davem@davemloft.net>
4232
4233 * po/libc.pot: Update.
4234
4235 2012-12-07 Richard Henderson <rth@redhat.com>
4236
4237 [BZ #10114]
4238 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4239 normal/normal case to before the switch.
4240 (_FP_DIV): Likewise.
4241
4242 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4243 Mike Frysinger <vapier@gentoo.org>
4244
4245 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4246 check for __NR_fadvise64_64.
4247
4248 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4249
4250 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4251 0, not just to plain "0" as a statement.
4252 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4253 with cw.
4254
4255 2012-12-06 Joseph Myers <joseph@codesourcery.com>
4256
4257 * NEWS: Use sourceware.org in Bugzilla URL.
4258
4259 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4260
4261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4262 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4263
4264 * stdio-common/tst-put-error.c (do_test): Add newline to the
4265 padded test to ensure flush.
4266
4267 2012-12-05 Jeff Law <law@redhat.com>
4268
4269 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4270
4271 2012-12-05 Joseph Myers <joseph@codesourcery.com>
4272
4273 * README: Don't refer to ports add-on as distributed separately.
4274 Mention AArch64 in list of systems supported in the ports add-on.
4275
4276 * LICENSES: Add more non-FSF copyright and license notices.
4277
4278 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4279 ((unused)).
4280
4281 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4282
4283 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4284 10000 as width of padded output.
4285
4286 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4287
4288 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4289
4290 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4291 variable LX with __attribute__ ((unused)).
4292 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4293 Likewise.
4294 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4295 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4296 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4297 with __attribute__ ((unused)).
4298
4299 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
4300
4301 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4302
4303 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4304
4305 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4306 (CFLAGS-nldbl-acos.c): New variable.
4307 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4308 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4309 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4310 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4311 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4312 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4313 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4314 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4315 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4316 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4317 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4318 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4319 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4320 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4321 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4322 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4323 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4324 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4325 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4326 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4327 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4328 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4329 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4330 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4331 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4332 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4333 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4334 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4335 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4336 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4337 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4338 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4339 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4340 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4341 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4342 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4343 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4344 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4345 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4346 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4347 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4348 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4349 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4350 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4351 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4352 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4353 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4354 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4355 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4356 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4357 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4358 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4359 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4360 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4361 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4362 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4363 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4364 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4365 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4366 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4367 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4368 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4369 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4370 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4371 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4372 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4373 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4374 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4375 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4376 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4377 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4378 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4379 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4380 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4381 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4382 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4383 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4384 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4385 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4386 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4387 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4388 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4389 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4390 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4391 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4392 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4393 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4394 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4395 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4396 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4397 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4398 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4399 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4400 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4401 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4402 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4403 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4404
4405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4406 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4407
4408 [BZ #14914]
4409 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4410 whole low double instead of just low 47 bits when splitting values
4411 into two parts.
4412
4413 2012-12-03 Allan McRae <allan@archlinux.org>
4414
4415 * manual/stdio.texi (Predefined Printf Handlers): Remove
4416 @hsep and @vsep usage.
4417
4418 2012-12-03 Mike Frysinger <vapier@gentoo.org>
4419
4420 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4421 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4422
4423 2012-12-03 Jeff Law <law@redhat.com>
4424
4425 * time/sys/time.h (settimeofday): Do not mark TV argument
4426 as __nonnull.
4427
4428 2012-12-01 Mike Frysinger <vapier@gentoo.org>
4429
4430 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4431 when currently writing and seek to current position when not.
4432 * libio/Makefile (tests): Remove bug-fclose1.
4433 * libio/bug-fclose1.c: Delete.
4434
4435 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4436
4437 * manual/arith.texi (feenableexcept): Fix typo.
4438 (fedisableexcept): Likewise.
4439
4440 2012-11-30 Roland McGrath <roland@hack.frob.com>
4441
4442 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4443 second, differently-typed declaration, rather than a cast.
4444
4445 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4446
4447 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4448 * include/rpc/svc.h: ... here.
4449
4450 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4451
4452 [BZ #13013]
4453 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4454 depending n and resplen2 to catch cases where answer
4455 equals answerp2.
4456
4457 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4458
4459 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4460 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4461
4462 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4463
4464 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4465
4466 2012-11-29 Roland McGrath <roland@hack.frob.com>
4467
4468 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4469
4470 2012-11-28 Jeff Law <law@redhat.com>
4471
4472 [BZ #13761]
4473 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4474 dataset_temporary. Track alloca usage into alloca_used.
4475 If dataset is large allocate and release it via malloc/free.
4476
4477 2012-06-04 Florian Weimer <fweimer@redhat.com>
4478
4479 [BZ #14197]
4480 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4481
4482 2012-11-28 David S. Miller <davem@davemloft.net>
4483
4484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4485
4486 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4487
4488 [BZ #14803]
4489 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4490 of pi/2 rounded to nearest to 64 bits.
4491 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4492 nearest to 64 bits.
4493 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4494 bits.
4495
4496 2012-11-28 Jeff Law <law@redhat.com>
4497 Martin Osvald <mosvald@redhat.com>
4498
4499 [BZ #14889]
4500 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4501 * sunrpc/svc.c: Include time.h.
4502 (__svc_accept_failed): New function.
4503 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4504 any reason other than EINTR, call __svc_accept_failed.
4505 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4506 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4507
4508 2012-11-28 Andreas Schwab <schwab@suse.de>
4509
4510 * scripts/abilist.awk: Also handle indirect functions in .opd
4511 section.
4512
4513 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4514
4515 [BZ #13881]
4516 * sysdeps/x86/fpu/powl_helper.c: New file.
4517 * sysdeps/x86/fpu/Makefile: Likewise.
4518 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4519 (p3): New object.
4520 (__ieee754_powl): Use __powl_helper for finite arguments except
4521 integer exponents below 8.
4522 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4523 (p3): New object.
4524 (__ieee754_powl): Use __powl_helper for finite arguments except
4525 integer exponents below 8.
4526 * math/libm-test.inc (pow_test): Add more tests and enable some
4527 previously disabled tests.
4528 * sysdeps/i386/fpu/libm-test-ulps: Update.
4529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4530
4531 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4532 Carlos O'Donell <carlos_odonell@mentor.com>
4533
4534 * nss/makedb.c (is_prime): Assert that input is odd and greater
4535 than 4. Note that fact in a comment too.
4536 (next_prime): Add 4 to input.
4537
4538 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4539
4540 [BZ #11741]
4541 * libio/Makefile (tests): Add test case tst-fwrite-error.
4542 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4543 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4544 * libio/tst-fwrite-error.c: New test case.
4545
4546 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4547
4548 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4549 before casting to void *.
4550 * include/libc-internal.h (__pointer_type): New macro.
4551 (__integer_if_pointer_type_sub): Likewise.
4552 (__integer_if_pointer_type): Likewise.
4553 (cast_to_integer): Likewise.
4554 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4555 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4556 before casting to atomic64_t.
4557 (atomic_exchange_acq): Likewise.
4558 (__arch_exchange_and_add_body): Likewise.
4559 (__arch_add_body): Likewise.
4560 (atomic_add_negative): Likewise.
4561 (atomic_add_zero): Likewise.
4562
4563 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4564
4565 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4566 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4567 (add_fdes): Likewise.
4568 (linear_search_fdes): Likewise.
4569 (binary_search_unencoded_fdes): Likewise.
4570
4571 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4572
4573 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4574
4575 2012-11-24 Adam Conrad <adconrad@0c3.net>
4576
4577 * configure.in: Autodetect C++ header directories.
4578 * configure: Regenerated.
4579
4580 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4581
4582 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4583
4584 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4585
4586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4587
4588 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4589
4590 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4591 LDBL_MANT_DIG == 106]: Disable some tests.
4592 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4593 Likewise.
4594 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4595 Likewise.
4596
4597 [BZ #14871]
4598 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4599 input for small inputs. Return +/- pi/2 for large inputs.
4600 * math/libm-test.inc (atan_test): Add more tests.
4601
4602 * sysdeps/generic/unwind-dw2-fde-glibc.c
4603 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4604 __attribute__ ((unused)).
4605
4606 [BZ #14645]
4607 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4608 x * y if x and y are nonzero and z is zero.
4609
4610 [BZ #14811]
4611 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4612 nonzero exponents with absolute value below 0x1p-117 to +/-
4613 0x1p-117.
4614
4615 [BZ #14869]
4616 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4617 up arguments below 2**-450, not just those below 2**-500.
4618 * math/libm-test.inc (hypot_test): Add another test.
4619
4620 [BZ #14868]
4621 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4622 Return a+b for ratio over 2**120, not 2**60.
4623 * math/libm-test.inc (hypot_test): Add another test.
4624
4625 * math/libm-test.inc (clog_test): Use
4626 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4627 (clog10_test): Likewise.
4628
4629 [BZ #6778]
4630 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4631
4632 2012-11-22 Andreas Schwab <schwab@suse.de>
4633
4634 * sysdeps/i386/fpu/libm-test-ulps: Update.
4635
4636 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4637
4638 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4639 printf output with newline.
4640
4641 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4642
4643 [BZ #14865]
4644 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4645 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4646 -z nodlopen, -z initfirst and -z execstack support.
4647 * configure: Regenerated.
4648
4649 * elf/elf.h (DF_1_NODIRECT): New macro.
4650 (DF_1_IGNMULDEF): Likewise.
4651 (DF_1_NOKSYMS): Likewise.
4652 (DF_1_NOHDR): Likewise.
4653 (DF_1_EDITED): Likewise.
4654 (DF_1_NORELOC): Likewise.
4655 (DF_1_SYMINTPOSE): Likewise.
4656 (DF_1_GLOBAUDIT): Likewise.
4657 (DF_1_SINGLETON): Likewise.
4658 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4659 DT_1_SUPPORTED_MASK bits.
4660 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4661
4662 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4663
4664 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4665
4666 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4667
4668 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4669 macro.
4670
4671 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4672 (sendmmsg): Move declarations...
4673 * socket/sys/socket.h: ... here.
4674 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4675 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4676 include it from...
4677 * socket/recvmmsg.c: ... this new file.
4678 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4679 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4680 definition of __sendmmsg hidden.
4681 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4682 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4683 Move ENOSYS stub into and include it from...
4684 * socket/sendmmsg.c: ... this new file.
4685 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4686 (sysdep_routines): Move recvmmsg and sendmmsg...
4687 * socket/Makefile (routines): ... here.
4688 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4689 (GLIBC_PRIVATE): Add __sendmmsg.
4690 * include/sys/socket.h (__sendmmsg): Add declarations.
4691 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4692 sendmmsg.
4693
4694 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4695
4696 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4697 variable I1 with __attribute__ ((unused)).
4698 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4699
4700 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4701
4702 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4703 DUMMY variables with __attribute__ ((unused)).
4704
4705 * bits/byteswap.h: Include <bits/types.h>.
4706 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4707
4708 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4709
4710 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4711 string_t. Do not manually set errno.
4712 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4713 length with __strnlen. Make sure to both set errno and return it on
4714 failure.
4715
4716 2012-11-19 David S. Miller <davem@davemloft.net>
4717
4718 With help from Joseph Myers.
4719 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4720 very large arguments properly.
4721 * math/libm-test.inc (atan_test): New tests.
4722 (atan2_test): New tests.
4723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4725
4726 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4727
4728 [BZ #14856]
4729 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4730 Define to 3.
4731
4732 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4733 [POSIX] (EADDRNOTAVAIL): Likewise.
4734 [POSIX] (EAFNOSUPPORT): Likewise.
4735 [POSIX] (EALREADY): Likewise.
4736 [POSIX] (ECONNABORTED): Likewise.
4737 [POSIX] (ECONNREFUSED): Likewise.
4738 [POSIX] (ECONNRESET): Likewise.
4739 [POSIX] (EDESTADDRREQ): Likewise.
4740 [POSIX] (EDQUOT): Likewise.
4741 [POSIX] (EHOSTUNREACH): Likewise.
4742 [POSIX] (EIDRM): Likewise.
4743 [POSIX] (EISCONN): Likewise.
4744 [POSIX] (ELOOP): Likewise.
4745 [POSIX] (EMULTIHOP): Likewise.
4746 [POSIX] (ENETDOWN): Likewise.
4747 [POSIX] (ENETUNREACH): Likewise.
4748 [POSIX] (ENOBUFS): Likewise.
4749 [POSIX] (ENODATA): Likewise.
4750 [POSIX] (ENOLINK): Likewise.
4751 [POSIX] (ENOMSG): Likewise.
4752 [POSIX] (ENOPROTOOPT): Likewise.
4753 [POSIX] (ENOSR): Likewise.
4754 [POSIX] (ENOSTR): Likewise.
4755 [POSIX] (ENOTCONN): Likewise.
4756 [POSIX] (ENOTSOCK): Likewise.
4757 [POSIX] (EOPNOTSUPP): Likewise.
4758 [POSIX] (EOVERFLOW): Likewise.
4759 [POSIX] (EPROTO): Likewise.
4760 [POSIX] (EPROTONOSUPPORT): Likewise.
4761 [POSIX] (EPROTOTYPE): Likewise.
4762 [POSIX] (ESTALE): Likewise.
4763 [POSIX] (ETIME): Likewise.
4764 [POSIX] (ETXTBSY): Likewise.
4765 [POSIX] (EWOULDBLOCK): Likewise.
4766 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4767 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4768 [POSIX] (SEEK_CUR): Likewise.
4769 [POSIX] (SEEK_END): Likewise.
4770 [POSIX || UNIX98] (mode_t): Do not require.
4771 [POSIX] (off_t): Likewise.
4772 [POSIX] (pid_t): Likewise.
4773 [POSIX] (sys/stat.h): Do not allow header.
4774 [POSIX] (unistd.h): Likewise.
4775 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4776 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4777 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4778 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4779 require.
4780 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4781 sigevent): Specify elements.
4782 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4783 entry.
4784 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4785 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4786
4787 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4788 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4789 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4790 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4791 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4792 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4793 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4794 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4795 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4796 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4797 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4798 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4799 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4800 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4801 Likewise.
4802 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4803 Likewise.
4804 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4805 Likewise.
4806 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4807 Likewise.
4808 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4809 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4810 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4811 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4812 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4813 Specify lower bound on value.
4814 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4815 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4816 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4817 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4818 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4819 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4820 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4821 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4822 value.
4823 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4824 as optional.
4825 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4826 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4827 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4828 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4829 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4830 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4831 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4832 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4833 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4834 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4835 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4836 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4837 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4838 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4839 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4840 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4841 entry.
4842 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4843 optional.
4844 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4845 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4846 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4847 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4848 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4849 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4850 Likewise.
4851 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4852 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4853 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4854 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4855 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4856 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4857 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4858 as optional.
4859 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4860 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4861 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4862 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4863 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4864 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4865 specify as optional.
4866 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4867 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4868 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4869 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4870 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4871 [XPG3] (NL_LANGMAX): Likewise.
4872 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4873 [POSIX || XPG3] (NL_NMAX): Likewise.
4874 [POSIX || XPG3] (NL_SETMAX): Likewise.
4875 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4876 [XPG3] (NZERO): Likewise.
4877 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4878 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4879 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4880 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4881 (REG_ERANGE): Expect.
4882 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4883 optional-constant.
4884 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4885 Use (void) in prototype.
4886 [POSIX] (*_t): Allow.
4887 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4888 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4889 (WRDE_BADVAL): Expect.
4890
4891 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4892 expect.
4893 [XPG3 || XPG4] (O_RSYNC): Likewise.
4894 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4895 Likewise.
4896 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4897 [XPG3 || XPG4] (sigqueue): Likewise.
4898 [XPG3 || XPG4] (sigtimedwait): Likewise.
4899 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4900 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4901 [XPG3 || XPG4] (vsnprintf): Likewise.
4902 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4903 Likewise.
4904 [XPG3 || XPG4] (blksize_t): Likewise.
4905 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4906 Likewise.
4907 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4908 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4909 [XPG3 || XPG4] (struct itimerspec): Likewise.
4910 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4911 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4912 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4913 [XPG3 || XPG4] (clockid_t): Likewise.
4914 [XPG3 || XPG4] (timer_t): Likewise.
4915 [XPG3 || XPG4] (clock_getres): Likewise.
4916 [XPG3 || XPG4] (clock_gettime): Likewise.
4917 [XPG3 || XPG4] (clock_settime): Likewise.
4918 [XPG3 || XPG4] (nanosleep): Likewise.
4919 [XPG3 || XPG4] (timer_create): Likewise.
4920 [XPG3 || XPG4] (timer_delete): Likewise.
4921 [XPG3 || XPG4] (timer_gettime): Likewise.
4922 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4923 [XPG3 || XPG4] (timer_settime): Likewise.
4924 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4925 [XPG3 || XPG4] (getlogin_r): Likewise.
4926 [XPG3 || XPG4] (pread): Likewise.
4927 [XPG3 || XPG4] (pthread_atfork): Likewise.
4928 [XPG3 || XPG4] (pwrite): Likewise.
4929
4930 [BZ #14835]
4931 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4932 <bits/siginfo.h>.
4933
4934 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4935
4936 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4937 finalizing MALLSTREAM.
4938
4939 * sysdeps/mach/hurd/syncfs.c: New file.
4940
4941 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4942
4943 [BZ #14719]
4944 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4945 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4946 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4947 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4948 (_nss_dns_gethostbyname4_r): Likewise.
4949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4950 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4951
4952 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4953
4954 [BZ #13763]
4955 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4956
4957 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4958
4959 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4960 * elf/cache.c (print_entry): Print ",AArch64" for
4961 FLAG_AARCH64_LIB64
4962
4963 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4964 * elf/cache.c (print_entry): Print ",hard-float" for
4965 FLAG_ARM_LIBHF.
4966
4967 2012-11-18 David S. Miller <davem@davemloft.net>
4968
4969 With help from Joseph Myers.
4970 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4971 cutoff to 2**-13.
4972 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4973 cutoff to 2**-25.
4974 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4975 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4976 small.
4977 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4978 * math/libm-test.inc (y0_test): New tests.
4979 (y1_test): New tests.
4980 * sysdeps/i386/fpu/libm-test-ulps: Update.
4981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4983
4984 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4985
4986 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4987 64-bit targets.
4988 * configure: Regenerated.
4989
4990 2012-11-17 David S. Miller <davem@davemloft.net>
4991
4992 [BZ #14811]
4993 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4994 nonzero exponents with absolute value below 0x1p-128 to +/-
4995 0x1p-128.
4996
4997 2012-11-17 Joseph Myers <joseph@codesourcery.com>
4998
4999 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5000
5001 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5002
5003 * posix/getconf-speclist.c: New file.
5004 * posix/posix-envs.def: Likewise.
5005 * posix/confstr.c (START_ENV_GROUP): New macro.
5006 (END_ENV_GROUP): Likewise.
5007 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5008 (KNOWN_PRESENT_ENV_STRING): Likewise.
5009 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5010 (UNKNOWN_ENVIRONMENT): Likewise.
5011 (confstr): Include posix-envs.def instead of handling
5012 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5013 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5014 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5015 (END_ENV_GROUP): Likewise.
5016 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5017 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5018 (UNKNOWN_ENVIRONMENT): Likewise.
5019 (__sysconf): Include posix-envs.def instead of handling associated
5020 cases directly here.
5021 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5022 preprocessing getconf-speclist.c rather than running getconf or
5023 generating empty file.
5024
5025 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5026
5027 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5028
5029 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5030
5031 [BZ #14672]
5032 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5033
5034 2012-11-16 David S. Miller <davem@davemloft.net>
5035
5036 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5037 smaller than LDBL_EPSILON/2.0L, just return xm1.
5038
5039 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5040
5041 * elf/tst-array1.c (init): Set constructor priority to 1000.
5042 (fini): Set destructor priority to 1000.
5043 * elf/tst-array2dep.c: Likewise.
5044
5045 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5046
5047 [BZ #11741]
5048 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5049 (_IO_new_file_xsputn): Also return EOF if none of the input
5050 data was written when overflow failed.
5051 * libio/iopadn.c (_IO_padn): Likewise.
5052 * libio/iowpadn.c (_IO_wpadn): Likewise.
5053 * stdio-common/tst-put-error.c: Add copyright notice.
5054 (do_test): Add case for printing padded string.
5055 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5056 _IO_padn returned error.
5057 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5058 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5059 return EOF.
5060
5061 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5062
5063 * libio/libioP.h: Add comment note that the references to C++
5064 bits are now obsolete.
5065
5066 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5067
5068 * math/libm-test.inc (check_complex): Use asprintf.
5069
5070 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5071
5072 * debug/pcprofiledump.c (print_version): Update copyright year.
5073 * malloc/memusagestat.c (print_version): Likewise.
5074
5075 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5076
5077 [BZ #14831]
5078 * elf/Makefile (tests): Add tst-audit8.
5079 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5080 ($(objpfx)tst-audit8.out): New target.
5081 (tst-audit8-ENV): New variable.
5082 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5083 audit if l_reloc_result is NULL.
5084 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5085 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5086 * elf/tst-audit8.c: New file.
5087
5088 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5089
5090 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5091 * misc/Makefile (CFLAGS-select.c): Define.
5092 * posix/Makefile (CFLAGS-pause.c): Define.
5093
5094 2012-11-13 David S. Miller <davem@davemloft.net>
5095
5096 * crypt/Makefile: Move test targets after toplevel Rules
5097 inclusion. Grab any necessary sysdep routines when linking.
5098 * crypt/md5.c (md5_process_block): Remove define, we will always
5099 name it __md5_process_block.
5100 (md5_finish_ctx): Update md5_process_block call.
5101 (md5_stream): Likewise.
5102 (md5_process_bytes): Likewise.
5103 (md5_process_block): Rename to __md5_process_block and move to ...
5104 * crypt/md5-block.c: ... here.
5105 * crypt/sha256.c (sha256_process_block): Move to ...
5106 * crypt/sha256-block.c: ... here.
5107 * crypt/sha512.c (sha512_process_block): Move to ...
5108 * crypt/sha512-block.c: ... here.
5109 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5110 path.
5111 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5112 * sysdeps/sparc/sparc64/multiarch/Makefile
5113 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5114 crypt subdir.
5115 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5116 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5117 multiarch changes.
5118 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5119 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5120 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5121 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5122 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5123 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5124 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5125 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5126 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5127 file.
5128 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5129 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5130 file.
5131 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5132
5133 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5134
5135 * timezone/tzselect.ksh: Update from tzcode git revision
5136 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5137 * timezone/zdump.c: Likewise.
5138 * timezone/zic.c: Likewise.
5139 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5140 in TZVERSION setting, not $(PKGVERSION).
5141 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5142 REPORT_BUGS_TO settings.
5143
5144 [BZ #14838]
5145 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5146 macro.
5147
5148 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5149
5150 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5151 detection to immediately after _FP_ROUND().
5152 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5153 bits are 0.
5154
5155 2012-11-11 David S. Miller <davem@davemloft.net>
5156
5157 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5158 inttypes.h
5159 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5160 __close rather than their public counterparts.
5161
5162 2012-11-10 Joseph Myers <joseph@codesourcery.com>
5163
5164 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5165 file.
5166 [UNIX98] (sem_timedwait): Do not expect.
5167 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5168 [XPG4 || UNIX98] (sockatmark): Do not expect.
5169 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5170 (clock_getcpuclockid): Do not expect.
5171 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5172 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5173 Do not expect.
5174 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5175 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5176 [UNIX98] (vwscanf): Likewise.
5177 [UNIX98] (vswscanf): Likewise.
5178
5179 2012-11-09 Joseph Myers <joseph@codesourcery.com>
5180
5181 * timezone/version.h: Remove file.
5182 * timezone/README: Do not refer to version.h.
5183 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5184 $(objpfx)version.h.
5185 ($(objpfx)zdump.o): Likewise.
5186 ($(objpfx)version.h): New target.
5187
5188 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5189 2012i.
5190 * timezone/README: Don't mention modification to tzselect.ksh.
5191 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5192 work on unmodified tzselect.ksh. Substitute version numbers in
5193 tzselect.ksh.
5194
5195 * Makefile (format-me): Remove.
5196 (INSTALL): Adjust indentation. Use commands directly instead of
5197 using $(format-me).
5198
5199 * aclocal.m4 (ACX_PKGVERSION): New macro.
5200 (ACX_BUGURL): Likewise.
5201 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5202 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5203 (REPORT_BUGS_TO): Likewise.
5204 * configure: Regenerated.
5205 * config.h.in (PKGVERSION): New macro.
5206 (REPORT_BUGS_TO): Likewise.
5207 * config.make.in (PKGVERSION): New variable.
5208 (PKGVERSION_TEXI): Likewise.
5209 (REPORT_BUGS_TO): Likewise.
5210 (REPORT_BUGS_TEXI): Likewise.
5211 * Makefile (format-me): Use -I$(common-objpfx)manual.
5212 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5213 ($(common-objpfx)manual/%): New target.
5214 (manual/%): Remove target.
5215 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5216 (print_version): Use PKGVERSION.
5217 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5218 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5219 and REPORT_BUGS_TO.
5220 ($(objpfx)xtrace): Likewise.
5221 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5222 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5223 (print_version): Use PKGVERSION.
5224 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5225 (do_version): Use PKGVERSION.
5226 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5227 REPORT_BUGS_TO.
5228 (common-ldd-rewrite): Likewise.
5229 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5230 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5231 (print_version): Use PKGVERSION.
5232 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5233 * elf/pldd.c (argp_program_bug_address): Remove variable.
5234 (more_help): New function.
5235 (argp): Use more_help.
5236 (print_version): Use PKGVERSION.
5237 * elf/sln.c (main): Use PKGVERSION.
5238 (usage): Use REPORT_BUGS_TO.
5239 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5240 (top level): Use PKGVERSION.
5241 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5242 (print_version): Use PKGVERSION.
5243 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5244 (print_version): Use PKGVERSION.
5245 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5246 (print_version): Use PKGVERSION.
5247 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5248 (print_version): Use PKGVERSION.
5249 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5250 (print_version): Use PKGVERSION.
5251 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5252 (print_version): Use PKGVERSION.
5253 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5254 and BUGURL.
5255 ($(objpfx)memusage): Likewise.
5256 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5257 (do_version): Use PKGVERSION.
5258 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5259 (print_version): Use PKGVERSION.
5260 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5261 ($PKGVERSION): New variable.
5262 ($REPORT_BUGS_TO): Likewise.
5263 (usage): Use $REPORT_BUGS_TO.
5264 (top level): Use $PKGVERSION.
5265 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5266 ($(objpfx)pkgvers.texi): New rule.
5267 ($(objpfx)stamp-pkgvers): Likewise.
5268 * manual/install.texi: Include pkgvers.texi.
5269 (--with-pkgversion): Document new configure option.
5270 (--with-bugurl): Likewise.
5271 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5272 than necessarily for this particular distribution. Use
5273 REPORT_BUGS_TO for where to report bugs.
5274 * INSTALL: Regenerated.
5275 * manual/libc.texinfo: Include pkgvers.texi.
5276 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5277 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5278 (print_version): Use PKGVERSION.
5279 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5280 (print_version): Use PKGVERSION.
5281 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5282 (print_version): Use PKGVERSION.
5283 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5284 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5285 macro.
5286 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5287 (print_version): Use PKGVERSION.
5288 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5289 (print_version): Use PKGVERSION.
5290 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5291 and PKGVERSION.
5292
5293 * timezone/checktab.awk: Update from tzcode 2012i.
5294 * timezone/ialloc.c: Likewise.
5295 * timezone/private.h: Likewise.
5296 * timezone/scheck.c: Likewise.
5297 * timezone/tzfile.h: Likewise.
5298 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5299 (TZVERSION): Hardcode tzcode version number.
5300 * timezone/zdump.c: Update from tzcode 2012i.
5301 * timezone/zic.c: Likewise.
5302 * timezone/version.h: New file.
5303 * timezone/README: Describe version.h. Update upstream location.
5304
5305 [BZ #14824]
5306 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5307 (mktemp): Enable declaration.
5308 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5309 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5310 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5311 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5312 Likewise.
5313 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5314 Likewise.
5315 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5316 Likewise.
5317 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5318 Likewise.
5319 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5320 Likewise.
5321 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5322 Likewise.
5323
5324 [BZ #14821]
5325 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5326 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5327 for copies of such integer values.
5328 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5329 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5330
5331 2012-11-09 Andreas Jaeger <aj@suse.de>
5332
5333 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5334 definitions and declarations that are provided by
5335 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5336
5337 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5338
5339 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5340 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5341 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5342 definition.
5343
5344 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5345
5346 * elf/elf.h: Update comment before AArch64 relocations.
5347
5348 2012-11-07 David S. Miller <davem@davemloft.net>
5349
5350 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5351 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5352 (__start_context): Declare.
5353 (__makecontext_ret): Delete.
5354 (__makecontext): Hook up __start_context instead of
5355 __makecontext_ret.
5356 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5357 (sysdep_routines): Add __start_context when in stdlib.
5358
5359 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5360
5361 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5362 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5363 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5364 hardcoded "nm".
5365 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5366 (READELF): New variable. Use it instead of hardcoded "readelf".
5367
5368 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5369
5370 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5371 * sysdeps/x86/Makefile: Here.
5372 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5373 * sysdeps/x86/tst-xmmymm.sh: This.
5374
5375 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5376
5377 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5378 expectations.
5379 [UNIX98] (pthread_barrier_t): Do not expect.
5380 [UNIX98] (pthread_barrierattr_t): Likewise.
5381 [UNIX98] (pthread_spinlock_t): Likewise.
5382 [UNIX98] (pthread_barrier_destroy): Likewise.
5383 [UNIX98] (pthread_barrier_init): Likewise.
5384 [UNIX98] (pthread_barrier_wait): Likewise.
5385 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5386 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5387 [UNIX98] (pthread_barrierattr_init): Likewise.
5388 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5389 [UNIX98] (pthread_getcpuclockid): Likewise.
5390 [UNIX98] (pthread_mutex_timedlock): Likewise.
5391 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5392 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5393 [UNIX98] (pthread_sigmask): Likewise.
5394 [UNIX98] (pthread_spin_destroy): Likewise.
5395 [UNIX98] (pthread_spin_init): Likewise.
5396 [UNIX98] (pthread_spin_lock): Likewise.
5397 [UNIX98] (pthread_spin_trylock): Likewise.
5398 [UNIX98] (pthread_spin_unlock): Likewise.
5399 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5400 Do not expect.
5401 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5402 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5403 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5404 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5405 [XPG3 || XPG4] (pthread_key_t): Likewise.
5406 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5407 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5408 [XPG3 || XPG4] (pthread_once_t): Likewise.
5409 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5410 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5411 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5412 [XPG3 || XPG4] (pthread_t): Likewise.
5413
5414 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5415 not expect.
5416 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5417
5418 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5419 Change function return type to int.
5420
5421 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5422 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5423 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5424 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5425 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5426 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5427 [!POSIX] (posix_madvise): Likewise.
5428 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5429 && !UNIX98].
5430 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5431 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5432 (mode_t): Likewise.
5433 (posix_mem_offset): Likewise.
5434 (posix_typed_mem_get_info): Likewise.
5435 (posix_typed_mem_open): Likewise.
5436
5437 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5438 Change condition to [XOPEN2K8].
5439
5440 * conform/conformtest.pl: Preprocess allow-header data with -x c
5441 instead of from stdin.
5442 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5443 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5444 [C99-based standards] (cerfc): Likewise.
5445 [C99-based standards] (cexp2): Likewise.
5446 [C99-based standards] (cexpm1): Likewise.
5447 [C99-based standards] (clog10): Likewise.
5448 [C99-based standards] (clog1p): Likewise.
5449 [C99-based standards] (clog2): Likewise.
5450 [C99-based standards] (clgamma): Likewise.
5451 [C99-based standards] (ctgamma): Likewise.
5452 [C99-based standards] (cerff): Likewise.
5453 [C99-based standards] (cerfcf): Likewise.
5454 [C99-based standards] (cexp2f): Likewise.
5455 [C99-based standards] (cexpm1f): Likewise.
5456 [C99-based standards] (clog10f): Likewise.
5457 [C99-based standards] (clog1pf): Likewise.
5458 [C99-based standards] (clog2f): Likewise.
5459 [C99-based standards] (clgammaf): Likewise.
5460 [C99-based standards] (ctgammaf): Likewise.
5461 [C99-based standards] (cerfl): Likewise.
5462 [C99-based standards] (cerfcl): Likewise.
5463 [C99-based standards] (cexp2l): Likewise.
5464 [C99-based standards] (cexpm1l): Likewise.
5465 [C99-based standards] (clog10l): Likewise.
5466 [C99-based standards] (clog1pl): Likewise.
5467 [C99-based standards] (clog2l): Likewise.
5468 [C99-based standards] (clgammal): Likewise.
5469 [C99-based standards] (ctgammal): Likewise.
5470 * conform/data/inttypes.h-data [C99-based standards]: Include
5471 stdint.h-data. Remove all expectations for stdint.h contents.
5472 [C99-based standards] (PRI*): Do not allow.
5473 [C99-based standards] (SCN*): Likewise.
5474 [C99-based standards] (*_t): Likewise.
5475 [C99-based-standards] (PRId8): Expect macro.
5476 [C99-based-standards] (PRIi8): Likewise.
5477 [C99-based-standards] (PRIo8): Likewise.
5478 [C99-based-standards] (PRIu8): Likewise.
5479 [C99-based-standards] (PRIx8): Likewise.
5480 [C99-based-standards] (PRIX8): Likewise.
5481 [C99-based-standards] (SCNd8): Likewise.
5482 [C99-based-standards] (SCNi8): Likewise.
5483 [C99-based-standards] (SCNo8): Likewise.
5484 [C99-based-standards] (SCNu8): Likewise.
5485 [C99-based-standards] (SCNx8): Likewise.
5486 [C99-based-standards] (PRIdLEAST8): Likewise.
5487 [C99-based-standards] (PRIiLEAST8): Likewise.
5488 [C99-based-standards] (PRIoLEAST8): Likewise.
5489 [C99-based-standards] (PRIuLEAST8): Likewise.
5490 [C99-based-standards] (PRIxLEAST8): Likewise.
5491 [C99-based-standards] (PRIXLEAST8): Likewise.
5492 [C99-based-standards] (SCNdLEAST8): Likewise.
5493 [C99-based-standards] (SCNiLEAST8): Likewise.
5494 [C99-based-standards] (SCNoLEAST8): Likewise.
5495 [C99-based-standards] (SCNuLEAST8): Likewise.
5496 [C99-based-standards] (SCNxLEAST8): Likewise.
5497 [C99-based-standards] (PRIdFAST8): Likewise.
5498 [C99-based-standards] (PRIiFAST8): Likewise.
5499 [C99-based-standards] (PRIoFAST8): Likewise.
5500 [C99-based-standards] (PRIuFAST8): Likewise.
5501 [C99-based-standards] (PRIxFAST8): Likewise.
5502 [C99-based-standards] (PRIXFAST8): Likewise.
5503 [C99-based-standards] (SCNdFAST8): Likewise.
5504 [C99-based-standards] (SCNiFAST8): Likewise.
5505 [C99-based-standards] (SCNoFAST8): Likewise.
5506 [C99-based-standards] (SCNuFAST8): Likewise.
5507 [C99-based-standards] (SCNxFAST8): Likewise.
5508 [C99-based-standards] (PRId16): Likewise.
5509 [C99-based-standards] (PRIi16): Likewise.
5510 [C99-based-standards] (PRIo16): Likewise.
5511 [C99-based-standards] (PRIu16): Likewise.
5512 [C99-based-standards] (PRIx16): Likewise.
5513 [C99-based-standards] (PRIX16): Likewise.
5514 [C99-based-standards] (SCNd16): Likewise.
5515 [C99-based-standards] (SCNi16): Likewise.
5516 [C99-based-standards] (SCNo16): Likewise.
5517 [C99-based-standards] (SCNu16): Likewise.
5518 [C99-based-standards] (SCNx16): Likewise.
5519 [C99-based-standards] (PRIdLEAST16): Likewise.
5520 [C99-based-standards] (PRIiLEAST16): Likewise.
5521 [C99-based-standards] (PRIoLEAST16): Likewise.
5522 [C99-based-standards] (PRIuLEAST16): Likewise.
5523 [C99-based-standards] (PRIxLEAST16): Likewise.
5524 [C99-based-standards] (PRIXLEAST16): Likewise.
5525 [C99-based-standards] (SCNdLEAST16): Likewise.
5526 [C99-based-standards] (SCNiLEAST16): Likewise.
5527 [C99-based-standards] (SCNoLEAST16): Likewise.
5528 [C99-based-standards] (SCNuLEAST16): Likewise.
5529 [C99-based-standards] (SCNxLEAST16): Likewise.
5530 [C99-based-standards] (PRIdFAST16): Likewise.
5531 [C99-based-standards] (PRIiFAST16): Likewise.
5532 [C99-based-standards] (PRIoFAST16): Likewise.
5533 [C99-based-standards] (PRIuFAST16): Likewise.
5534 [C99-based-standards] (PRIxFAST16): Likewise.
5535 [C99-based-standards] (PRIXFAST16): Likewise.
5536 [C99-based-standards] (SCNdFAST16): Likewise.
5537 [C99-based-standards] (SCNiFAST16): Likewise.
5538 [C99-based-standards] (SCNoFAST16): Likewise.
5539 [C99-based-standards] (SCNuFAST16): Likewise.
5540 [C99-based-standards] (SCNxFAST16): Likewise.
5541 [C99-based-standards] (PRId32): Likewise.
5542 [C99-based-standards] (PRIi32): Likewise.
5543 [C99-based-standards] (PRIo32): Likewise.
5544 [C99-based-standards] (PRIu32): Likewise.
5545 [C99-based-standards] (PRIx32): Likewise.
5546 [C99-based-standards] (PRIX32): Likewise.
5547 [C99-based-standards] (SCNd32): Likewise.
5548 [C99-based-standards] (SCNi32): Likewise.
5549 [C99-based-standards] (SCNo32): Likewise.
5550 [C99-based-standards] (SCNu32): Likewise.
5551 [C99-based-standards] (SCNx32): Likewise.
5552 [C99-based-standards] (PRIdLEAST32): Likewise.
5553 [C99-based-standards] (PRIiLEAST32): Likewise.
5554 [C99-based-standards] (PRIoLEAST32): Likewise.
5555 [C99-based-standards] (PRIuLEAST32): Likewise.
5556 [C99-based-standards] (PRIxLEAST32): Likewise.
5557 [C99-based-standards] (PRIXLEAST32): Likewise.
5558 [C99-based-standards] (SCNdLEAST32): Likewise.
5559 [C99-based-standards] (SCNiLEAST32): Likewise.
5560 [C99-based-standards] (SCNoLEAST32): Likewise.
5561 [C99-based-standards] (SCNuLEAST32): Likewise.
5562 [C99-based-standards] (SCNxLEAST32): Likewise.
5563 [C99-based-standards] (PRIdFAST32): Likewise.
5564 [C99-based-standards] (PRIiFAST32): Likewise.
5565 [C99-based-standards] (PRIoFAST32): Likewise.
5566 [C99-based-standards] (PRIuFAST32): Likewise.
5567 [C99-based-standards] (PRIxFAST32): Likewise.
5568 [C99-based-standards] (PRIXFAST32): Likewise.
5569 [C99-based-standards] (SCNdFAST32): Likewise.
5570 [C99-based-standards] (SCNiFAST32): Likewise.
5571 [C99-based-standards] (SCNoFAST32): Likewise.
5572 [C99-based-standards] (SCNuFAST32): Likewise.
5573 [C99-based-standards] (SCNxFAST32): Likewise.
5574 [C99-based-standards] (PRId64): Likewise.
5575 [C99-based-standards] (PRIi64): Likewise.
5576 [C99-based-standards] (PRIo64): Likewise.
5577 [C99-based-standards] (PRIu64): Likewise.
5578 [C99-based-standards] (PRIx64): Likewise.
5579 [C99-based-standards] (PRIX64): Likewise.
5580 [C99-based-standards] (SCNd64): Likewise.
5581 [C99-based-standards] (SCNi64): Likewise.
5582 [C99-based-standards] (SCNo64): Likewise.
5583 [C99-based-standards] (SCNu64): Likewise.
5584 [C99-based-standards] (SCNx64): Likewise.
5585 [C99-based-standards] (PRIdLEAST64): Likewise.
5586 [C99-based-standards] (PRIiLEAST64): Likewise.
5587 [C99-based-standards] (PRIoLEAST64): Likewise.
5588 [C99-based-standards] (PRIuLEAST64): Likewise.
5589 [C99-based-standards] (PRIxLEAST64): Likewise.
5590 [C99-based-standards] (PRIXLEAST64): Likewise.
5591 [C99-based-standards] (SCNdLEAST64): Likewise.
5592 [C99-based-standards] (SCNiLEAST64): Likewise.
5593 [C99-based-standards] (SCNoLEAST64): Likewise.
5594 [C99-based-standards] (SCNuLEAST64): Likewise.
5595 [C99-based-standards] (SCNxLEAST64): Likewise.
5596 [C99-based-standards] (PRIdFAST64): Likewise.
5597 [C99-based-standards] (PRIiFAST64): Likewise.
5598 [C99-based-standards] (PRIoFAST64): Likewise.
5599 [C99-based-standards] (PRIuFAST64): Likewise.
5600 [C99-based-standards] (PRIxFAST64): Likewise.
5601 [C99-based-standards] (PRIXFAST64): Likewise.
5602 [C99-based-standards] (SCNdFAST64): Likewise.
5603 [C99-based-standards] (SCNiFAST64): Likewise.
5604 [C99-based-standards] (SCNoFAST64): Likewise.
5605 [C99-based-standards] (SCNuFAST64): Likewise.
5606 [C99-based-standards] (SCNxFAST64): Likewise.
5607 [C99-based-standards] (PRIdMAX): Likewise.
5608 [C99-based-standards] (PRIiMAX): Likewise.
5609 [C99-based-standards] (PRIoMAX): Likewise.
5610 [C99-based-standards] (PRIuMAX): Likewise.
5611 [C99-based-standards] (PRIxMAX): Likewise.
5612 [C99-based-standards] (PRIXMAX): Likewise.
5613 [C99-based-standards] (SCNdMAX): Likewise.
5614 [C99-based-standards] (SCNiMAX): Likewise.
5615 [C99-based-standards] (SCNoMAX): Likewise.
5616 [C99-based-standards] (SCNuMAX): Likewise.
5617 [C99-based-standards] (SCNxMAX): Likewise.
5618 [C99-based-standards] (PRIdPTR): Likewise.
5619 [C99-based-standards] (PRIiPTR): Likewise.
5620 [C99-based-standards] (PRIoPTR): Likewise.
5621 [C99-based-standards] (PRIuPTR): Likewise.
5622 [C99-based-standards] (PRIxPTR): Likewise.
5623 [C99-based-standards] (PRIXPTR): Likewise.
5624 [C99-based-standards] (SCNdPTR): Likewise.
5625 [C99-based-standards] (SCNiPTR): Likewise.
5626 [C99-based-standards] (SCNoPTR): Likewise.
5627 [C99-based-standards] (SCNuPTR): Likewise.
5628 [C99-based-standards] (SCNxPTR): Likewise.
5629 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5630 allow.
5631 * conform/data/stdint.h-data: Update comments to clarify
5632 requirements.
5633 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5634 type.
5635 [C99-based standards] (INT8_MAX): Likewise.
5636 [C99-based standards] (INT16_MIN): Likewise.
5637 [C99-based standards] (INT16_MAX): Likewise.
5638 [C99-based standards] (INT32_MIN): Likewise.
5639 [C99-based standards] (INT32_MAX): Likewise.
5640 [C99-based standards] (INT64_MIN): Likewise.
5641 [C99-based standards] (INT64_MAX): Likewise.
5642 [C99-based standards] (UINT8_MAX): Likewise.
5643 [C99-based standards] (UINT16_MAX): Likewise.
5644 [C99-based standards] (UINT32_MAX): Likewise.
5645 [C99-based standards] (UINT64_MAX): Likewise.
5646 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5647 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5648 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5649 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5650 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5651 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5652 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5653 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5654 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5655 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5656 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5657 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5658 [C99-based standards] (INT_FAST8_MIN): Likewise.
5659 [C99-based standards] (INT_FAST8_MAX): Likewise.
5660 [C99-based standards] (INT_FAST16_MIN): Likewise.
5661 [C99-based standards] (INT_FAST16_MAX): Likewise.
5662 [C99-based standards] (INT_FAST32_MIN): Likewise.
5663 [C99-based standards] (INT_FAST32_MAX): Likewise.
5664 [C99-based standards] (INT_FAST64_MIN): Likewise.
5665 [C99-based standards] (INT_FAST64_MAX): Likewise.
5666 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5667 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5668 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5669 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5670 [C99-based standards] (INTPTR_MIN): Likewise.
5671 [C99-based standards] (INTPTR_MAX): Likewise.
5672 [C99-based standards] (UINTPTR_MAX): Likewise.
5673 [C99-based standards] (INTMAX_MIN): Likewise.
5674 [C99-based standards] (INTMAX_MAX): Likewise.
5675 [C99-based standards] (UINTMAX_MAX): Likewise.
5676 [C99-based standards] (PTRDIFF_MIN): Likewise.
5677 [C99-based standards] (PTRDIFF_MAX): Likewise.
5678 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5679 [C99-based standards] (SIZE_MAX): Likewise.
5680 [C99-based standards] (WCHAR_MAX): Likewise.
5681 [C99-based standards] (WINT_MAX): Likewise.
5682 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5683 constraint on value.
5684 [C99-based standards] (WCHAR_MIN): Likewise.
5685 [C99-based standards] (WINT_MIN): Likewise.
5686 [C99-based standards] (*_t): Allow.
5687 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5688 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5689 Include math.h-data and complex.h-data. Remove all expectations
5690 of math.h and complex.h contents.
5691 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5692 at end of line.
5693 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5694 (struct tm): Expect tag.
5695 [C99-based-standards] (wcstof): Expect function.
5696 [C99-based-standards] (wcstold): Likewise.
5697 [C99-based-standards] (wcstoll): Likewise.
5698 [C99-based-standards] (wcstoull): Likewise.
5699 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5700 macro-int-constant. Specify type.
5701 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5702 constraint on value.
5703 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5704 Specify type.
5705 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5706 Specify value.
5707 [ISO C standards]: Do not allow headers.
5708 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5709 wcs[abcdefghijklmnopqrstuvwxyz]*.
5710 [ISO C standards] (*_t): Do not allow.
5711 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5712 Expect function.
5713 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5714 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5715 Specify type.
5716 [ISO C standards]: Do not allow headers.
5717 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5718 is[abcdefghijklmnopqrstuvwxyz]*.
5719 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5720 to[abcdefghijklmnopqrstuvwxyz]*.
5721 [ISO C standards] (*_t): Do not allow.
5722 * conform/data/stdalign.h-data: New file.
5723 * conform/data/stdbool.h-data: Likewise.
5724 * conform/data/stdnoreturn.h-data: Likewise.
5725
5726 2012-11-07 Roland McGrath <roland@hack.frob.com>
5727
5728 [BZ #14815]
5729 * manual/filesys.texi (Directory Entries): Typo fix.
5730 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5731
5732 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5733
5734 * elf/elf.h (EM_AARCH64): New macro.
5735 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5736 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5737 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5738 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5739 (R_AARCH64_TLSDESC): Likewise.
5740 (NT_ARM_TLS): Likewise.
5741 (NT_ARM_HW_BREAK): Likewise.
5742 (NT_ARM_HW_WATCH): Likewise.
5743
5744 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5745
5746 [BZ #14811]
5747 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5748 (__ieee754_powl): Saturate nonzero exponents with absolute value
5749 below 0x1p-79 to +/- 0x1p-79.
5750 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5751 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5752 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5753 nonzero exponents with absolute value below 0x1p-32 to +/-
5754 0x1p-32.
5755 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5756 (__ieee754_powl): Saturate nonzero exponents with absolute value
5757 below 0x1p-79 to +/- 0x1p-79.
5758 * math/libm-test.inc (pow_test): Add more tests.
5759
5760 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5761
5762 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5763 _dl_s390_cap_flags with kernel. Increase string length.
5764 (_dl_s390_platforms): Add z196 and zEC12.
5765
5766 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5767
5768 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5769 Change XOPEN21K to XOPEN2K.
5770
5771 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5772
5773 * string/memmove.c: Use memcpy when possible.
5774
5775 2012-11-06 Andreas Jaeger <aj@suse.de>
5776
5777 * po/eo.po: Update from translation team.
5778
5779 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5780
5781 [BZ #14793]
5782 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5783 exponent and small x and y exponents, scale x or y up. Increase
5784 by 2 the exponent used in scaling up.
5785 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5786 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5787 * math/libm-test.inc (fma_test): Add more tests.
5788 (fma_test_towardzero): Likewise.
5789 (fma_test_downward): Likewise.
5790 (fma_test_upward): Likewise.
5791
5792 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5793
5794 [BZ #14805]
5795 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5796 fenv_t *.
5797
5798 [BZ #14801]
5799 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5800 namespace for names of struct fields.
5801 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5802 fenv_t fields.
5803 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5804 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5805
5806 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5807
5808 [BZ #3665]
5809 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5810
5811 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5812
5813 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5814 PTR_DEMANGLE.
5815
5816 [BZ #5246]
5817 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5818 PTR_DEMANGLE.
5819
5820 2012-11-04 Joseph Myers <joseph@codesourcery.com>
5821
5822 [BZ #14797]
5823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5824 definitely overflow as x * y not x * y + z.
5825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5826 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5827 * math/libm-test.inc (fma_test): Add more tests.
5828 (fma_test_towardzero): Likewise.
5829 (fma_test_downward): Likewise.
5830 (fma_test_upward): Likewise.
5831
5832 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5833
5834 [BZ #157]
5835
5836 * include/stub-tag.h: Remove file.
5837 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5838 '#include' of it.
5839 * manual/maint.texi (Porting): Don't reference it.
5840 * Makerules ($(objpfx)stubs): Likewise.
5841 * dirent/closedir.c: Don't include <stub-tag.h>.
5842 * dirent/dirfd.c: Likewise.
5843 * dirent/fdopendir.c: Likewise.
5844 * dirent/getdents.c: Likewise.
5845 * dirent/getdents64.c: Likewise.
5846 * dirent/opendir.c: Likewise.
5847 * dirent/readdir.c: Likewise.
5848 * dirent/readdir64.c: Likewise.
5849 * dirent/readdir64_r.c: Likewise.
5850 * dirent/readdir_r.c: Likewise.
5851 * dirent/rewinddir.c: Likewise.
5852 * dirent/seekdir.c: Likewise.
5853 * dirent/telldir.c: Likewise.
5854 * gmon/profil.c: Likewise.
5855 * grp/setgroups.c: Likewise.
5856 * inet/if_index.c: Likewise.
5857 * io/access.c: Likewise.
5858 * io/chdir.c: Likewise.
5859 * io/chmod.c: Likewise.
5860 * io/chown.c: Likewise.
5861 * io/close.c: Likewise.
5862 * io/dup.c: Likewise.
5863 * io/dup2.c: Likewise.
5864 * io/dup3.c: Likewise.
5865 * io/euidaccess.c: Likewise.
5866 * io/faccessat.c: Likewise.
5867 * io/fchdir.c: Likewise.
5868 * io/fchmod.c: Likewise.
5869 * io/fchmodat.c: Likewise.
5870 * io/fchown.c: Likewise.
5871 * io/fchownat.c: Likewise.
5872 * io/fcntl.c: Likewise.
5873 * io/flock.c: Likewise.
5874 * io/fstatfs.c: Likewise.
5875 * io/fstatfs64.c: Likewise.
5876 * io/fstatvfs.c: Likewise.
5877 * io/fstatvfs64.c: Likewise.
5878 * io/futimens.c: Likewise.
5879 * io/fxstat.c: Likewise.
5880 * io/fxstat64.c: Likewise.
5881 * io/fxstatat.c: Likewise.
5882 * io/fxstatat64.c: Likewise.
5883 * io/getcwd.c: Likewise.
5884 * io/isatty.c: Likewise.
5885 * io/lchmod.c: Likewise.
5886 * io/lchown.c: Likewise.
5887 * io/link.c: Likewise.
5888 * io/linkat.c: Likewise.
5889 * io/lseek.c: Likewise.
5890 * io/lseek64.c: Likewise.
5891 * io/lxstat64.c: Likewise.
5892 * io/mkdir.c: Likewise.
5893 * io/mkdirat.c: Likewise.
5894 * io/mkfifo.c: Likewise.
5895 * io/mkfifoat.c: Likewise.
5896 * io/open.c: Likewise.
5897 * io/open64.c: Likewise.
5898 * io/openat.c: Likewise.
5899 * io/openat64.c: Likewise.
5900 * io/pipe.c: Likewise.
5901 * io/pipe2.c: Likewise.
5902 * io/poll.c: Likewise.
5903 * io/posix_fadvise.c: Likewise.
5904 * io/posix_fadvise64.c: Likewise.
5905 * io/posix_fallocate.c: Likewise.
5906 * io/posix_fallocate64.c: Likewise.
5907 * io/read.c: Likewise.
5908 * io/readlink.c: Likewise.
5909 * io/readlinkat.c: Likewise.
5910 * io/rmdir.c: Likewise.
5911 * io/sendfile.c: Likewise.
5912 * io/sendfile64.c: Likewise.
5913 * io/statfs.c: Likewise.
5914 * io/statfs64.c: Likewise.
5915 * io/statvfs.c: Likewise.
5916 * io/statvfs64.c: Likewise.
5917 * io/symlink.c: Likewise.
5918 * io/symlinkat.c: Likewise.
5919 * io/ttyname.c: Likewise.
5920 * io/ttyname_r.c: Likewise.
5921 * io/umask.c: Likewise.
5922 * io/unlink.c: Likewise.
5923 * io/unlinkat.c: Likewise.
5924 * io/utime.c: Likewise.
5925 * io/utimensat.c: Likewise.
5926 * io/write.c: Likewise.
5927 * io/xmknod.c: Likewise.
5928 * io/xmknodat.c: Likewise.
5929 * io/xstat.c: Likewise.
5930 * io/xstat64.c: Likewise.
5931 * login/getpt.c: Likewise.
5932 * login/grantpt.c: Likewise.
5933 * login/unlockpt.c: Likewise.
5934 * math/e_acoshl.c: Likewise.
5935 * math/e_acosl.c: Likewise.
5936 * math/e_asinl.c: Likewise.
5937 * math/e_atan2l.c: Likewise.
5938 * math/e_atanhl.c: Likewise.
5939 * math/e_coshl.c: Likewise.
5940 * math/e_expl.c: Likewise.
5941 * math/e_fmodl.c: Likewise.
5942 * math/e_gammal_r.c: Likewise.
5943 * math/e_hypotl.c: Likewise.
5944 * math/e_j0l.c: Likewise.
5945 * math/e_j1l.c: Likewise.
5946 * math/e_jnl.c: Likewise.
5947 * math/e_lgammal_r.c: Likewise.
5948 * math/e_log10l.c: Likewise.
5949 * math/e_log2l.c: Likewise.
5950 * math/e_logl.c: Likewise.
5951 * math/e_powl.c: Likewise.
5952 * math/e_rem_pio2l.c: Likewise.
5953 * math/e_sinhl.c: Likewise.
5954 * math/e_sqrtl.c: Likewise.
5955 * math/fclrexcpt.c: Likewise.
5956 * math/fedisblxcpt.c: Likewise.
5957 * math/feenablxcpt.c: Likewise.
5958 * math/fegetenv.c: Likewise.
5959 * math/fegetexcept.c: Likewise.
5960 * math/fegetround.c: Likewise.
5961 * math/feholdexcpt.c: Likewise.
5962 * math/fesetenv.c: Likewise.
5963 * math/fesetround.c: Likewise.
5964 * math/feupdateenv.c: Likewise.
5965 * math/fgetexcptflg.c: Likewise.
5966 * math/fraiseexcpt.c: Likewise.
5967 * math/fsetexcptflg.c: Likewise.
5968 * math/ftestexcept.c: Likewise.
5969 * math/k_cosl.c: Likewise.
5970 * math/k_rem_pio2l.c: Likewise.
5971 * math/k_sinl.c: Likewise.
5972 * math/k_tanl.c: Likewise.
5973 * math/s_asinhl.c: Likewise.
5974 * math/s_atanl.c: Likewise.
5975 * math/s_cbrtl.c: Likewise.
5976 * math/s_erfl.c: Likewise.
5977 * math/s_expm1l.c: Likewise.
5978 * math/s_log1pl.c: Likewise.
5979 * math/s_tanhl.c: Likewise.
5980 * misc/acct.c: Likewise.
5981 * misc/brk.c: Likewise.
5982 * misc/chflags.c: Likewise.
5983 * misc/chroot.c: Likewise.
5984 * misc/fchflags.c: Likewise.
5985 * misc/fgetxattr.c: Likewise.
5986 * misc/flistxattr.c: Likewise.
5987 * misc/fremovexattr.c: Likewise.
5988 * misc/fsetxattr.c: Likewise.
5989 * misc/fsync.c: Likewise.
5990 * misc/ftruncate.c: Likewise.
5991 * misc/futimes.c: Likewise.
5992 * misc/futimesat.c: Likewise.
5993 * misc/getdomain.c: Likewise.
5994 * misc/getdtsz.c: Likewise.
5995 * misc/gethostid.c: Likewise.
5996 * misc/gethostname.c: Likewise.
5997 * misc/getloadavg.c: Likewise.
5998 * misc/getpagesize.c: Likewise.
5999 * misc/getsysstats.c: Likewise.
6000 * misc/getxattr.c: Likewise.
6001 * misc/gtty.c: Likewise.
6002 * misc/ioctl.c: Likewise.
6003 * misc/lgetxattr.c: Likewise.
6004 * misc/listxattr.c: Likewise.
6005 * misc/llistxattr.c: Likewise.
6006 * misc/lremovexattr.c: Likewise.
6007 * misc/lsetxattr.c: Likewise.
6008 * misc/lutimes.c: Likewise.
6009 * misc/madvise.c: Likewise.
6010 * misc/mincore.c: Likewise.
6011 * misc/mlock.c: Likewise.
6012 * misc/mlockall.c: Likewise.
6013 * misc/mmap.c: Likewise.
6014 * misc/mprotect.c: Likewise.
6015 * misc/msync.c: Likewise.
6016 * misc/munlock.c: Likewise.
6017 * misc/munlockall.c: Likewise.
6018 * misc/munmap.c: Likewise.
6019 * misc/preadv.c: Likewise.
6020 * misc/preadv64.c: Likewise.
6021 * misc/ptrace.c: Likewise.
6022 * misc/pwritev.c: Likewise.
6023 * misc/pwritev64.c: Likewise.
6024 * misc/readv.c: Likewise.
6025 * misc/reboot.c: Likewise.
6026 * misc/remap_file_pages.c: Likewise.
6027 * misc/removexattr.c: Likewise.
6028 * misc/revoke.c: Likewise.
6029 * misc/select.c: Likewise.
6030 * misc/setdomain.c: Likewise.
6031 * misc/setegid.c: Likewise.
6032 * misc/seteuid.c: Likewise.
6033 * misc/sethostid.c: Likewise.
6034 * misc/sethostname.c: Likewise.
6035 * misc/setregid.c: Likewise.
6036 * misc/setreuid.c: Likewise.
6037 * misc/setxattr.c: Likewise.
6038 * misc/sstk.c: Likewise.
6039 * misc/stty.c: Likewise.
6040 * misc/swapoff.c: Likewise.
6041 * misc/swapon.c: Likewise.
6042 * misc/sync.c: Likewise.
6043 * misc/syncfs.c: Likewise.
6044 * misc/syscall.c: Likewise.
6045 * misc/truncate.c: Likewise.
6046 * misc/ualarm.c: Likewise.
6047 * misc/usleep.c: Likewise.
6048 * misc/ustat.c: Likewise.
6049 * misc/utimes.c: Likewise.
6050 * misc/vhangup.c: Likewise.
6051 * misc/writev.c: Likewise.
6052 * posix/_exit.c: Likewise.
6053 * posix/alarm.c: Likewise.
6054 * posix/execve.c: Likewise.
6055 * posix/fexecve.c: Likewise.
6056 * posix/fork.c: Likewise.
6057 * posix/fpathconf.c: Likewise.
6058 * posix/getaddrinfo.c: Likewise.
6059 * posix/getegid.c: Likewise.
6060 * posix/geteuid.c: Likewise.
6061 * posix/getgid.c: Likewise.
6062 * posix/getgroups.c: Likewise.
6063 * posix/getlogin.c: Likewise.
6064 * posix/getlogin_r.c: Likewise.
6065 * posix/getpgid.c: Likewise.
6066 * posix/getpid.c: Likewise.
6067 * posix/getppid.c: Likewise.
6068 * posix/getresgid.c: Likewise.
6069 * posix/getresuid.c: Likewise.
6070 * posix/getsid.c: Likewise.
6071 * posix/getuid.c: Likewise.
6072 * posix/glob64.c: Likewise.
6073 * posix/nanosleep.c: Likewise.
6074 * posix/pathconf.c: Likewise.
6075 * posix/pause.c: Likewise.
6076 * posix/posix_madvise.c: Likewise.
6077 * posix/pread.c: Likewise.
6078 * posix/pread64.c: Likewise.
6079 * posix/pwrite.c: Likewise.
6080 * posix/pwrite64.c: Likewise.
6081 * posix/sched_getaffinity.c: Likewise.
6082 * posix/sched_getp.c: Likewise.
6083 * posix/sched_gets.c: Likewise.
6084 * posix/sched_primax.c: Likewise.
6085 * posix/sched_primin.c: Likewise.
6086 * posix/sched_rr_gi.c: Likewise.
6087 * posix/sched_setaffinity.c: Likewise.
6088 * posix/sched_setp.c: Likewise.
6089 * posix/sched_sets.c: Likewise.
6090 * posix/sched_yield.c: Likewise.
6091 * posix/setgid.c: Likewise.
6092 * posix/setlogin.c: Likewise.
6093 * posix/setpgid.c: Likewise.
6094 * posix/setresgid.c: Likewise.
6095 * posix/setresuid.c: Likewise.
6096 * posix/setsid.c: Likewise.
6097 * posix/setuid.c: Likewise.
6098 * posix/sleep.c: Likewise.
6099 * posix/spawni.c: Likewise.
6100 * posix/sysconf.c: Likewise.
6101 * posix/times.c: Likewise.
6102 * posix/wait.c: Likewise.
6103 * posix/wait3.c: Likewise.
6104 * posix/wait4.c: Likewise.
6105 * posix/waitpid.c: Likewise.
6106 * resolv/gai_sigqueue.c: Likewise.
6107 * resource/getpriority.c: Likewise.
6108 * resource/getrlimit.c: Likewise.
6109 * resource/getrusage.c: Likewise.
6110 * resource/nice.c: Likewise.
6111 * resource/setpriority.c: Likewise.
6112 * resource/setrlimit.c: Likewise.
6113 * resource/ulimit.c: Likewise.
6114 * rt/aio_cancel.c: Likewise.
6115 * rt/aio_fsync.c: Likewise.
6116 * rt/aio_read.c: Likewise.
6117 * rt/aio_sigqueue.c: Likewise.
6118 * rt/aio_suspend.c: Likewise.
6119 * rt/aio_write.c: Likewise.
6120 * rt/clock_getres.c: Likewise.
6121 * rt/clock_gettime.c: Likewise.
6122 * rt/clock_nanosleep.c: Likewise.
6123 * rt/clock_settime.c: Likewise.
6124 * rt/lio_listio.c: Likewise.
6125 * rt/mq_close.c: Likewise.
6126 * rt/mq_getattr.c: Likewise.
6127 * rt/mq_notify.c: Likewise.
6128 * rt/mq_open.c: Likewise.
6129 * rt/mq_receive.c: Likewise.
6130 * rt/mq_send.c: Likewise.
6131 * rt/mq_setattr.c: Likewise.
6132 * rt/mq_timedreceive.c: Likewise.
6133 * rt/mq_timedsend.c: Likewise.
6134 * rt/mq_unlink.c: Likewise.
6135 * rt/shm_open.c: Likewise.
6136 * rt/shm_unlink.c: Likewise.
6137 * rt/timer_create.c: Likewise.
6138 * rt/timer_delete.c: Likewise.
6139 * rt/timer_getoverr.c: Likewise.
6140 * rt/timer_gettime.c: Likewise.
6141 * rt/timer_settime.c: Likewise.
6142 * setjmp/__longjmp.c: Likewise.
6143 * setjmp/setjmp.c: Likewise.
6144 * signal/kill.c: Likewise.
6145 * signal/killpg.c: Likewise.
6146 * signal/raise.c: Likewise.
6147 * signal/sigaction.c: Likewise.
6148 * signal/sigaltstack.c: Likewise.
6149 * signal/sigblock.c: Likewise.
6150 * signal/sigignore.c: Likewise.
6151 * signal/sigintr.c: Likewise.
6152 * signal/signal.c: Likewise.
6153 * signal/sigpause.c: Likewise.
6154 * signal/sigpending.c: Likewise.
6155 * signal/sigqueue.c: Likewise.
6156 * signal/sigreturn.c: Likewise.
6157 * signal/sigset.c: Likewise.
6158 * signal/sigsetmask.c: Likewise.
6159 * signal/sigstack.c: Likewise.
6160 * signal/sigsuspend.c: Likewise.
6161 * signal/sigtimedwait.c: Likewise.
6162 * signal/sigvec.c: Likewise.
6163 * signal/sigwait.c: Likewise.
6164 * signal/sigwaitinfo.c: Likewise.
6165 * signal/sysv_signal.c: Likewise.
6166 * socket/accept.c: Likewise.
6167 * socket/accept4.c: Likewise.
6168 * socket/bind.c: Likewise.
6169 * socket/connect.c: Likewise.
6170 * socket/getpeername.c: Likewise.
6171 * socket/getsockname.c: Likewise.
6172 * socket/getsockopt.c: Likewise.
6173 * socket/isfdtype.c: Likewise.
6174 * socket/listen.c: Likewise.
6175 * socket/recv.c: Likewise.
6176 * socket/recvfrom.c: Likewise.
6177 * socket/recvmsg.c: Likewise.
6178 * socket/send.c: Likewise.
6179 * socket/sendmsg.c: Likewise.
6180 * socket/sendto.c: Likewise.
6181 * socket/setsockopt.c: Likewise.
6182 * socket/shutdown.c: Likewise.
6183 * socket/sockatmark.c: Likewise.
6184 * socket/socket.c: Likewise.
6185 * socket/socketpair.c: Likewise.
6186 * stdio-common/ctermid.c: Likewise.
6187 * stdio-common/cuserid.c: Likewise.
6188 * stdio-common/remove.c: Likewise.
6189 * stdio-common/rename.c: Likewise.
6190 * stdio-common/renameat.c: Likewise.
6191 * stdio-common/tempname.c: Likewise.
6192 * stdlib/getcontext.c: Likewise.
6193 * stdlib/makecontext.c: Likewise.
6194 * stdlib/setcontext.c: Likewise.
6195 * stdlib/swapcontext.c: Likewise.
6196 * stdlib/system.c: Likewise.
6197 * streams/fattach.c: Likewise.
6198 * streams/fdetach.c: Likewise.
6199 * streams/getmsg.c: Likewise.
6200 * streams/getpmsg.c: Likewise.
6201 * streams/putmsg.c: Likewise.
6202 * streams/putpmsg.c: Likewise.
6203 * sysdeps/unix/bsd/getpt.c: Likewise.
6204 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6205 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6206 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6208 Likewise.
6209 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6210 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6211 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6212 * sysvipc/msgctl.c: Likewise.
6213 * sysvipc/msgget.c: Likewise.
6214 * sysvipc/msgrcv.c: Likewise.
6215 * sysvipc/msgsnd.c: Likewise.
6216 * sysvipc/semctl.c: Likewise.
6217 * sysvipc/semget.c: Likewise.
6218 * sysvipc/semop.c: Likewise.
6219 * sysvipc/semtimedop.c: Likewise.
6220 * sysvipc/shmat.c: Likewise.
6221 * sysvipc/shmctl.c: Likewise.
6222 * sysvipc/shmdt.c: Likewise.
6223 * sysvipc/shmget.c: Likewise.
6224 * termios/tcdrain.c: Likewise.
6225 * termios/tcflow.c: Likewise.
6226 * termios/tcflush.c: Likewise.
6227 * termios/tcgetattr.c: Likewise.
6228 * termios/tcgetpgrp.c: Likewise.
6229 * termios/tcsendbrk.c: Likewise.
6230 * termios/tcsetattr.c: Likewise.
6231 * termios/tcsetpgrp.c: Likewise.
6232 * time/adjtime.c: Likewise.
6233 * time/clock.c: Likewise.
6234 * time/getitimer.c: Likewise.
6235 * time/gettimeofday.c: Likewise.
6236 * time/setitimer.c: Likewise.
6237 * time/settimeofday.c: Likewise.
6238 * time/stime.c: Likewise.
6239 * time/time.c: Likewise.
6240
6241 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
6242
6243 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6244 /usr/old/bin.
6245
6246 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6247 instead of spaces.
6248 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6249
6250 2012-11-03 Joseph Myers <joseph@codesourcery.com>
6251
6252 [BZ #14796]
6253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6254 FE_TONEAREST before applying Dekker multiplication and Knuth
6255 addition. Clear inexact exceptions and check for exact zero
6256 results afterwards.
6257 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6258 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6259 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6260 * math/libm-test.inc (fma_test): Add more tests.
6261 (fma_test_towardzero): Likewise.
6262 (fma_test_downward): Likewise.
6263 (fma_test_upward): Likewise.
6264 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6265 function.
6266 (libc_fesetround): New macro.
6267 (libc_fesetroundf): Likewise.
6268 (libc_fesetroundl): Likewise.
6269 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6270 function.
6271 (libc_fesetround_387): Likewise.
6272 (libc_fesetroundf): New macro.
6273 (libc_fesetround): Likewise.
6274 (libc_fesetroundl): Likewise.
6275 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6276 function.
6277 (libc_fesetroundf): New macro.
6278 (libc_fesetround): Likewise.
6279 (libc_fesetroundl): Likewise.
6280 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6281 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6282 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6283 libm_hidden_ver.
6284 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6285 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6286 libm_hidden_def.
6287 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6288 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6289 libm_hidden_ver.
6290 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6291 libm_hidden_def.
6292
6293 [BZ #3439]
6294 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6295 integer constant usable in #if and use that to give value to enum
6296 constant.
6297 (FE_DIVBYZERO): Likewise.
6298 (FE_UNDERFLOW): Likewise.
6299 (FE_OVERFLOW): Likewise.
6300 (FE_INVALID): Likewise.
6301 (FE_INVALID_SNAN): Likewise.
6302 (FE_INVALID_ISI): Likewise.
6303 (FE_INVALID_IDI): Likewise.
6304 (FE_INVALID_ZDZ): Likewise.
6305 (FE_INVALID_IMZ): Likewise.
6306 (FE_INVALID_COMPARE): Likewise.
6307 (FE_INVALID_SOFTWARE): Likewise.
6308 (FE_INVALID_SQRT): Likewise.
6309 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6310 (FE_TONEAREST): Likewise.
6311 (FE_TOWARDZERO): Likewise.
6312 (FE_UPWARD): Likewise.
6313 (FE_DOWNWARD): Likewise.
6314 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6315 (FE_DIVBYZERO): Likewise.
6316 (FE_OVERFLOW): Likewise.
6317 (FE_UNDERFLOW): Likewise.
6318 (FE_INEXACT): Likewise.
6319 (FE_TONEAREST): Likewise.
6320 (FE_DOWNWARD): Likewise.
6321 (FE_UPWARD): Likewise.
6322 (FE_TOWARDZERO): Likewise.
6323 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6324 (FE_UNDERFLOW): Likewise.
6325 (FE_OVERFLOW): Likewise.
6326 (FE_DIVBYZERO): Likewise.
6327 (FE_INVALID): Likewise.
6328 (FE_TONEAREST): Likewise.
6329 (FE_TOWARDZERO): Likewise.
6330 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6331 (FE_OVERFLOW): Likewise.
6332 (FE_UNDERFLOW): Likewise.
6333 (FE_DIVBYZERO): Likewise.
6334 (FE_INEXACT): Likewise.
6335 (FE_TONEAREST): Likewise.
6336 (FE_TOWARDZERO): Likewise.
6337 (FE_UPWARD): Likewise.
6338 (FE_DOWNWARD): Likewise.
6339 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6340 (FE_DIVBYZERO): Likewise.
6341 (FE_OVERFLOW): Likewise.
6342 (FE_UNDERFLOW): Likewise.
6343 (FE_INEXACT): Likewise.
6344 (FE_TONEAREST): Likewise.
6345 (FE_DOWNWARD): Likewise.
6346 (FE_UPWARD): Likewise.
6347 (FE_TOWARDZERO): Likewise.
6348
6349 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6350
6351 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6352
6353 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6354
6355 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6356 commands. Quote $PWD.
6357 (blacklist_exports): Don't use remove_newlines. Replace "declare
6358 -x" by "export".
6359 (remove_newlines): Remove.
6360
6361 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6362
6363 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6364 * stdlib/stdlib.h (atof): Moved to ...
6365 * include/bits/stdlib-float.h: Here. New file.
6366 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6367 * stdlib/bits/stdlib-float.h: New file.
6368 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6369 -mno-sse -mno-mmx.
6370 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6371 <xmmintrin.h>.
6372
6373 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6374
6375 * conform/conformtest.pl (@headers): Add fenv.h.
6376 * conform/data/fenv.h-data: New file.
6377 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6378 include of <math/fenv.h>.
6379
6380 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6381 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6382 && !UNIX98]. Enables tests for XOPEN2K8.
6383 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6384 POSIX2008]: Likewise.
6385
6386 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6387 (struct rusage): Do not expect type or its members.
6388
6389 [BZ #3439]
6390 * math/math.h (FP_NAN): Define macro to integer constant usable in
6391 #if and use that to give value to enum constant.
6392 (FP_INFINITE): Likewise.
6393 (FP_ZERO): Likewise.
6394 (FP_SUBNORMAL): Likewise.
6395 (FP_NORMAL): Likewise.
6396
6397 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6398
6399 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6400 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6401 arguments.
6402
6403 2012-11-02 Roland McGrath <roland@hack.frob.com>
6404
6405 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6406 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6407 autoconf-time if not.
6408 * configure.in: Remove AC_PREREQ.
6409
6410 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6411
6412 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6413 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6414 of the internal implementation.
6415
6416 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6417
6418 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6419 except include of <misc/sys/syslog.h>.
6420
6421 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6422
6423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6424 function returns with a NULL context exit with zero.
6425
6426 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6427
6428 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6429
6430 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6431
6432 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6433 (run_program_cmd): This.
6434 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6435 (tst_langinfo): New variable. Use it.
6436
6437 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6438
6439 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6440 floating point opcodes.
6441
6442 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6443
6444 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6445 variable.
6446
6447 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6448
6449 * sysdeps/mach/hurd/powerpc: Remove directory.
6450 * sysdeps/mach/powerpc: Likewise.
6451
6452 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6453
6454 * scripts/check-local-headers.sh: Ignore c++ headers.
6455
6456 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6457
6458 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6459 __libc_cleanup_region_start argument.
6460
6461 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6462
6463 [BZ #14784]
6464 [BZ #14785]
6465 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6466 x * y using scaling, not as x * y + z.
6467 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6468 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6469 * math/libm-test.inc (fma_test): Add more tests.
6470 (fma_test_towardzero): Likewise.
6471 (fma_test_downward): Likewise.
6472 (fma_test_upward): Likewise.
6473
6474 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6475
6476 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6477
6478 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6479
6480 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6481 New variable.
6482
6483 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6484
6485 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6486
6487 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6488
6489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6490 Fix sort order.
6491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6492 Likewise.
6493
6494 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6495
6496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6497 Fix the order of the list for glibc 2.17.
6498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6499 Likewise.
6500
6501 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6502
6503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6504
6505 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6506
6507 [BZ #14610]
6508 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6509 for low part of x being zero before using __atanl (y).
6510 * math/libm-test.inc (atan2_test): Add another test.
6511
6512 * manual/install.texi (Configuring and compiling): Document
6513 general use of test-wrapper and test-wrapper-env.
6514 * INSTALL: Regenerated.
6515
6516 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6517 (__fma): Do not extract and scale down low bits on after-rounding
6518 systems when result rounded to normal precision would have normal
6519 exponent.
6520 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6521 (__fmal): Do not extract and scale down low bits on after-rounding
6522 systems when result rounded to normal precision would have normal
6523 exponent.
6524 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6525 (__fmal): Do not extract and scale down low bits on after-rounding
6526 systems when result rounded to normal precision would have normal
6527 exponent.
6528 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6529 macro.
6530 (fma_test): Add more tests.
6531 (fma_test_towardzero): Likewise.
6532 (fma_test_downward): Likewise.
6533 (fma_test_upward): Likewise.
6534
6535 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6536
6537 * sysdeps/i386/tininess.h: Renamed to ...
6538 * sysdeps/x86/tininess.h: This.
6539 * sysdeps/x86_64/tininess.h: Removed.
6540
6541 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6542
6543 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6544 input. Use $(build-program-cmd).
6545 ($(objpfx)tst-array1-static.out): Likewise.
6546 ($(objpfx)tst-array2.out): Likewise.
6547 ($(objpfx)tst-array3.out): Likewise.
6548 ($(objpfx)tst-array4.out): Likewise.
6549 ($(objpfx)tst-array5.out): Likewise.
6550 ($(objpfx)tst-array5-static.out): Likewise.
6551
6552 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6553
6554 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6555 if defined.
6556
6557 * nss/nsswitch.h (nss_interface_function): Provide new
6558 macro for use with NSS functions.
6559 * grp/initgroups.c: Use new macro.
6560 * nss/getXXbyYY.c: Likewise.
6561 * nss/getXXbyYY_r.c: Likewise.
6562 * nss/getXXent.c: Likewise.
6563 * nss/getXXent_r.c: Likewise.
6564 * sysdeps/posix/getaddrinfo.c: Likewise.
6565
6566 2012-10-30 Andreas Jaeger <aj@suse.de>
6567
6568 * po/ru.po: Update Russion translation from translation project.
6569
6570 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6571
6572 [BZ #14152]
6573 [BZ #14783]
6574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6575 result and shift together with sticky bit instead of replicating
6576 round-to-nearest rounding.
6577 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6578 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6579 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6580 missing underflow exceptions.
6581 (fma_test_towardzero): Add more tests.
6582 (fma_test_downward): Likewise.
6583 (fma_test_upward): Likewise.
6584
6585 [BZ #14047]
6586 * sysdeps/generic/tininess.h: New file.
6587 * sysdeps/i386/tininess.h: Likewise.
6588 * sysdeps/sh/tininess.h: Likewise.
6589 * sysdeps/x86_64/tininess.h: Likewise.
6590 * stdlib/tst-strtod-underflow.c: Likewise.
6591 * stdlib/tst-tininess.c: Likewise.
6592 * stdlib/strtod_l.c: Include <tininess.h>.
6593 (round_and_return): Do not set errno for exact underflow cases.
6594 Force an underflow exception when setting errno for underflow.
6595 Determine underflow based on rounding to normal precision if
6596 TININESS_AFTER_ROUNDING.
6597 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6598 ERANGE for exact underflow cases.
6599 * stdlib/Makefile (tests): Add tst-tininess and
6600 tst-strtod-underflow.
6601 ($(objpfx)tst-tininess): Use $(link-libm).
6602 ($(objpfx)tst-strtod-underflow): Likewise.
6603
6604 2012-10-30 Andreas Jaeger <aj@suse.de>
6605
6606 [BZ#14767]
6607 * elf/Makefile (tests): Remove conditional for have-initfini-array
6608 since this is now always required and the variable does not exist
6609 anymore.
6610 (tests-static): Likewise.
6611 (modules-names): Likewise.
6612
6613 * po/eo.po: Add Esperanto translation from translation project.
6614
6615 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6616 merged with constructor/destructor.
6617 (init_array): Likewise.
6618 * elf/tst-array2dep.c (fini_array): Likewise.
6619 (init_array): Likewise.
6620
6621 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6622
6623 * manual/message.texi: Delete @cartouche tags.
6624
6625 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6626
6627 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6628 EOPNOTSUPP.
6629 * sysdeps/mach/hurd/fsync.c: Likewise.
6630
6631 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6632 [_POSIX_REALTIME_SIGNALS]: Change condition to
6633 [_POSIX_REALTIME_SIGNALS > 0].
6634
6635 2012-10-27 Andreas Jaeger <aj@suse.de>
6636
6637 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6638 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6640 [__WORDSIZE != 64]: Likewise.
6641
6642 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6643
6644 * iconvdata/tst-table.sh: Remove ${SHELL}.
6645 * iconvdata/tst-tables.sh: Likewise.
6646
6647 2012-10-25 David S. Miller <davem@davemloft.net>
6648
6649 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6650 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6651 of strtoull.
6652
6653 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6654 ifunc-impl-list.c
6655 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6656 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6657 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6658 file.
6659
6660 2012-10-25 Roland McGrath <roland@hack.frob.com>
6661
6662 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6663 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6664 __getdirentries.
6665
6666 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6667 Jim Blandy <jimb@codesourcery.com>
6668
6669 * scripts/cross-test-ssh.sh: New file.
6670 * manual/install.texi (Configuring and compiling): Document use of
6671 cross-test-ssh.sh.
6672 * INSTALL: Regenerated.
6673
6674 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6675
6676 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6677 EOPNOTSUPP.
6678
6679 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6680
6681 * Makeconfig (run-program-prefix): Fix comment.
6682
6683 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6684 Jim Blandy <jimb@codesourcery.com>
6685
6686 * Makeconfig (test-wrapper): New variable,
6687 (test-wrapper-env): Likewise.
6688 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6689 (run-built-tests): Define to yes.
6690 (run-program-prefix): Use $(test-wrapper).
6691 (built-program-cmd): Likewise.
6692 * Rules (make-test-out): Use $(test-wrapper-env) and
6693 $(host-built-program-cmd).
6694 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6695 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6696 tst-pathopt.sh.
6697 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6698 $(test-wrapper-env) to tst-rtld-load-self.sh.
6699 ($(objpfx)order2.out): Use $(test-wrapper).
6700 ($(objpfx)tst-initorder.out): Likewise.
6701 ($(objpfx)tst-initorder2.out): Likewise.
6702 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6703 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6704 (test_wrapper_env): New variable. Use it to run ld.so.
6705 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6706 Use it to run ld.so.
6707 (test_wrapper_env): Likewise.
6708 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6709 $(test-wrapper) to run-iconv-test.sh.
6710 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6711 (ICONV): Use $test_wrapper.
6712 * posix/Makefile ($(objpfx)globtest.out): Pass
6713 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6714 globtest.sh, not $(run-program-prefix).
6715 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6716 (test_wrapper): Likewise.
6717 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6718 set together with run_via_rtld_prefix.
6719 (run_program_prefix): Define in terms of test_wrapper and
6720 run_via_rtld_prefix.
6721
6722 2012-10-24 Roland McGrath <roland@hack.frob.com>
6723
6724 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6725 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6726 Targets removed.
6727
6728 [BZ #14743]
6729 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6730 Declare __clock_getres, __clock_gettime, __clock_settime,
6731 __clock_nanosleep, and __clock_getcpuclockid.
6732 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6733 Remove librt_hidden_def (clock_gettime).
6734 * sysdeps/unix/clock_gettime.c: Likewise.
6735 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6736 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6737 * rt/clock_getres.c: Define __clock_getres as an alias.
6738 * sysdeps/posix/clock_getres.c: Likewise.
6739 * rt/clock_settime.c: Define __clock_settime as an alias.
6740 * sysdeps/unix/clock_settime.c: Likewise.
6741 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6742 * sysdeps/unix/clock_nanosleep.c: Likewise.
6743 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6744 * rt/clock-compat.c: New file.
6745 * rt/Makefile (librt-routines): Add clock-compat and move
6746 $(clock-routines) to ...
6747 (routines): ... here, new variable.
6748 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6749 Don't add get_clockfreq here.
6750 * rt/Versions (libc: GLIBC_2.17): New version set.
6751 Add clock_* symbols here.
6752 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6753 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6754 (GLIBC_2.17): Add clock_* symbols.
6755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6757 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6759 Likewise.
6760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6761 Likewise.
6762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6766 * NEWS: Mention the move.
6767
6768 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6769 Use __open, __read, __close rather than their public counterparts.
6770 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6771 (__get_clockfreq_via_cpuinfo): Likewise.
6772 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6773 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6774
6775 * config.h.in (HAVE_IFUNC): New #undef.
6776 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6777 was successful.
6778 * configure: Regenerated.
6779
6780 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6781
6782 * configure.in: Move READELF check to start of file.
6783 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6784 libc_cv_asm_gnu_indirect_function in the process.
6785 * configure: Regenerated.
6786
6787 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6788
6789 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6790 send the output to /dev/null.
6791 (libc_cv_cc_with_libunwind): Likewise.
6792 (libc_cv_as_noexecstack): Likewise.
6793 * configure: Regenerate.
6794
6795 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6796
6797 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6798
6799 * posix/globtest.sh (TMPDIR): Do not set.
6800 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6801 (testout): Likewise.
6802
6803 2012-10-24 Andreas Jaeger <aj@suse.de>
6804
6805 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6806 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6807 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6808 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6809 posix_fadvise64, posix_fallocate64.
6810
6811 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6812 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6813 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6814 Likewise.
6815 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6816 Likewise.
6817 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6818
6819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6820 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6821 <bits/fcntl-linux.h>.
6822 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6823
6824 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6825 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6826 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6827 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6828 [__WORDSIZE != 64]: Likewise.
6829
6830 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6831
6832 * Makeconfig (run-built-tests): New variable.
6833 * Rules [$(cross-compiling) = yes]: Change condition to
6834 [$(run-built-tests) = no].
6835 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6836 to [$(run-built-tests) = yes].
6837 * elf/Makefile [$(cross-compiling) = no]: Likewise
6838 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6839 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6840 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6841 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6842 * io/Makefile [$(cross-compiling) = no]: Likewise.
6843 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6844 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6845 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6846 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6847 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6848 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6849 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6850 * string/Makefile [$(cross-compiling) = no]: Likewise.
6851
6852 * posix/Makefile ($(objpfx)globtest.out): Pass
6853 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6854 $(rtld-installed-name).
6855 * posix/globtest.sh (elf_objpfx): Remove variable.
6856 (rtld_installed_name): Likewise.
6857 (library_path): Likewise.
6858 (run_program_prefix): New variable. Use for running globtest
6859 binary.
6860
6861 2012-10-23 Jim Blandy <jimb@codesourcery.com>
6862 Joseph Myers <joseph@codesourcery.com>
6863
6864 * Makeconfig (host-built-program-cmd): New variable.
6865 * elf/Makefile (tst-stackguard1-ARGS): Use
6866 $(host-built-program-cmd).
6867 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6868 (tst-spawn-ARGS): Likewise.
6869 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6870
6871 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6872 Jim Blandy <jimb@codesourcery.com>
6873
6874 * Makeconfig (run-via-rtld-prefix): New variable.
6875 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6876 (built-program-cmd): Likewise.
6877
6878 2012-10-22 Andreas Jaeger <aj@suse.de>
6879
6880 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6881 __O_RSYNC if it exists, otherwise to O_SYNC.
6882
6883 2012-10-22 Jim Blandy <jimb@codesourcery.com>
6884 Joseph Myers <joseph@codesourcery.com>
6885
6886 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6887 /dev/null.
6888 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6889 from /dev/null
6890 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6891 /dev/null.
6892
6893 2012-10-22 Andreas Jaeger <aj@suse.de>
6894
6895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6896 Define always.
6897 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6898
6899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6900 bits/fcntl-linux.h.
6901
6902 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6903 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6904
6905 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6906 to __O_LARGEFILE.
6907 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6908 to __O_LARGEFILE.
6909
6910 2012-10-21 Jim Blandy <jimb@codesourcery.com>
6911 Joseph Myers <joseph@codesourcery.com>
6912
6913 * config.make.in (NM): New variable.
6914
6915 2012-10-21 Andreas Jaeger <aj@suse.de>
6916
6917 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6918 definitions and declarations that are provided by
6919 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6920
6921 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6922
6923 [BZ #14683]
6924 * elf/Makefile (tests-static): Add tst-leaks1-static.
6925 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6926 ($(objpfx)tst-leaks1-static): New rule.
6927 ($(objpfx)tst-leaks1-static-mem): Likewise.
6928 (tst-leaks1-static-ENV): New macro.
6929 * elf/dl-open.c (dl_open_worker): Check the main application
6930 only if SHARED is defined.
6931 * elf/tst-leaks1-static.c: New file.
6932
6933 2012-10-20 Andreas Jaeger <aj@suse.de>
6934
6935 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6936 generic values for Linux.
6937 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6938 and declarations that are provided by <bits/fcntl-linux.h> and
6939 include <bits/fcntl-linux.h>.
6940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6941 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6942
6943 2012-10-20 Roland McGrath <roland@hack.frob.com>
6944
6945 * io/fcntl.h: Move include of <bits/types.h> to the top and
6946 include it unconditionally.
6947
6948 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6949
6950 * wcsmbs/Makefile (tests-ifunc): New variable.
6951 (tests): Add $(tests-ifunc).
6952 * wcsmbs/test-wcschr-ifunc.c: New file.
6953 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6954 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6955 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6956 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6957 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6958
6959 * string/Makefile (tests-ifunc): New variable.
6960 (tests): Add $(tests-ifunc).
6961 * string/test-memccpy.c (TEST_NAME): New macro.
6962 * string/test-memchr.c (TEST_NAME): Likewise.
6963 * string/test-memcmp.c (TEST_NAME): Likewise.
6964 * string/test-memcpy.c (TEST_NAME): Likewise.
6965 * string/test-memmem.c (TEST_NAME): Likewise.
6966 * string/test-memmove.c (TEST_NAME): Likewise.
6967 * string/test-memset.c (TEST_NAME): Likewise.
6968 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6969 * string/test-stpcpy.c (TEST_NAME): Likewise.
6970 * string/test-stpncpy.c (TEST_NAME): Likewise.
6971 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6972 * string/test-strcasestr.c (TEST_NAME): Likewise.
6973 * string/test-strcat.c (TEST_NAME): Likewise.
6974 * string/test-strchr.c (TEST_NAME): Likewise.
6975 * string/test-strcmp.c(TEST_NAME): Likewise.
6976 * string/test-strcpy.c (TEST_NAME): Likewise.
6977 * string/test-strcspn.c (TEST_NAME): Likewise.
6978 * string/test-strlen.c (TEST_NAME): Likewise.
6979 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6980 * string/test-strncmp.c (TEST_NAME): Likewise.
6981 * string/test-strncpy.c (TEST_NAME): Likewise.
6982 * string/test-strnlen.c (TEST_NAME): Likewise.
6983 * string/test-strpbrk.c (TEST_NAME): Likewise.
6984 * string/test-strrchr.c (TEST_NAME): Likewise.
6985 * string/test-strspn.c (TEST_NAME): Likewise.
6986 * string/test-strstr.c (TEST_NAME): Likewise.
6987 * string/test-bcopy-ifunc.c: New file.
6988 * string/test-bzero-ifunc.c: Likewise.
6989 * string/test-memccpy-ifunc.c: Likewise.
6990 * string/test-memchr-ifunc.c: Likewise.
6991 * string/test-memcmp-ifunc.c: Likewise.
6992 * string/test-memcpy-ifunc.c: Likewise.
6993 * string/test-memmem-ifunc.c: Likewise.
6994 * string/test-memmove-ifunc.c: Likewise.
6995 * string/test-mempcpy-ifunc.c: Likewise.
6996 * string/test-memset-ifunc.c: Likewise.
6997 * string/test-rawmemchr-ifunc.c: Likewise.
6998 * string/test-stpcpy-ifunc.c: Likewise.
6999 * string/test-stpncpy-ifunc.c: Likewise.
7000 * string/test-strcasecmp-ifunc.c: Likewise.
7001 * string/test-strcasestr-ifunc.c: Likewise.
7002 * string/test-strcat-ifunc.c: Likewise.
7003 * string/test-strchr-ifunc.c: Likewise.
7004 * string/test-strchrnul-ifunc.c: Likewise.
7005 * string/test-strcmp-ifunc.c: Likewise.
7006 * string/test-strcpy-ifunc.c: Likewise.
7007 * string/test-strcspn-ifunc.c: Likewise.
7008 * string/test-strlen-ifunc.c: Likewise.
7009 * string/test-strncasecmp-ifunc.c: Likewise.
7010 * string/test-strncat-ifunc.c: Likewise.
7011 * string/test-strncmp-ifunc.c: Likewise.
7012 * string/test-strncpy-ifunc.c: Likewise.
7013 * string/test-strnlen-ifunc.c: Likewise.
7014 * string/test-strpbrk-ifunc.c: Likewise.
7015 * string/test-strrchr-ifunc.c: Likewise.
7016 * string/test-strspn-ifunc.c: Likewise.
7017 * string/test-strstr-ifunc.c: Likewise.
7018
7019 * debug/Makefile (tests-ifunc): New variable.
7020 (tests): Add $(tests-ifunc).
7021 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7022 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7023 * debug/test-stpcpy_chk-ifunc.c: New file.
7024 * debug/test-strcpy_chk-ifunc.c: Likewise.
7025
7026 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7027
7028 [BZ #13601]
7029 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7030 header is not read in.
7031
7032 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7033
7034 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7035 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7036 directly. Pass built executable to script as
7037 $(built-program-cmd).
7038 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7039 $testprogram without using LD_LIBRARY_PATH and $ldso.
7040
7041 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7042 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7043 $(rtld-installed-name).
7044 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7045 (rtld_installed_name): Likewise.
7046 (library_path): Likewise.
7047 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7048 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7049 $(run-program-prefix) to tst-tables.sh.
7050 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7051 it to run tst-table-from and tst-table-to.
7052 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7053 Pass it to tst-table.sh.
7054 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7055 $(run-program-prefix) to tst-gettext.sh.
7056 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7057 tst-translit.sh.
7058 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7059 tst-gettext2.sh.
7060 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7061 to run tst-gettext.
7062 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7063 to run tst-gettext2.
7064 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7065 to run tst-translit.
7066 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7067 $(run-program-prefix) to tst-mtrace.sh.
7068 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7069 to run tst-mtrace.
7070 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7071 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7072 $(rtld-installed-name).
7073 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7074 (rtld_installed_name): Likewise.
7075 (run_program_prefix): New variable. Use it to run wordexp-test.
7076
7077 * Makeconfig (ARCH): Remove all definitions.
7078 (machine): Likewise.
7079 [ARCH]: Remove conditional code.
7080 [!objdir]: Give error.
7081 [!objdir] (objpfx): Remove.
7082 [!objdir] (common-objpfx): Likewise.
7083 [!objdir] (common-objdir): Likewise.
7084 * configure.in (config_makefile): Remove. Hardcode Makefile in
7085 AC_CONFIG_FILES call.
7086 * configure: Regenerated.
7087
7088 [BZ #13888]
7089 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7090 or TMPDIR.
7091 (testout): Likewise.
7092
7093 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7094 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7095 $(rtld-installed-name).
7096 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7097 (rtld_installed_name): Likwise.
7098 (runit): Remove function.
7099 (run_getconf): New variable, Use it for running getconf binary.
7100
7101 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7102
7103 [BZ #14716]
7104 * string/test-memmem.c (check_result): New function.
7105 (do_one_test): Use it.
7106 (check1): New function.
7107 (test_main): Use it.
7108
7109 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7110
7111 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7112
7113 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7114
7115 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7116 (_G_LSEEK64): Likewise.
7117 (_G_MMAP64): Likewise.
7118 (_G_FSTAT64): Likewise.
7119 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7120 (_G_LSEEK64): Likewise.
7121 (_G_MMAP64): Likewise.
7122 (_G_FSTAT64): Likewise.
7123 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7124 unconditional. Call __mmap64 directly.
7125 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7126 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7127 __lseek64 directly.
7128 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7129 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7130 __mmap64 directly.
7131 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7132 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7133 __lseek64 directly.
7134 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7135 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7136 __lseek64 directly.
7137 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7138 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7139 __lseek64 directly.
7140 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7141 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7142 __fxstat64 directly.
7143 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7144 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7145 unconditional.
7146 (freopen64) [!_G_OPEN64]: Remove conditional code.
7147 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7148 unconditional.
7149 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7150 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7151 unconditional.
7152 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7153 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7154 unconditional.
7155 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7156 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7157 unconditional.
7158 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7159 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7160 unconditional.
7161 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7162 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7163 unconditional.
7164 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7165 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7166 unconditional.
7167 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7168
7169 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7170
7171 [BZ #12140]
7172 * manual/memory.texi (Malloc Tunable Parameters): Add note
7173 about free list pointers overwriting some perturb bytes.
7174 Wording suggested by Roland McGrath.
7175
7176 2012-10-17 Joseph Myers <joseph@codesourcery.com>
7177
7178 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7179 (lgamma_test): Likewise.
7180 (tgamma_test): Likewise.
7181
7182 2012-10-16 Florian Weimer <fweimer@redhat.com>
7183
7184 [BZ #14700]
7185 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7186 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7187
7188 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7189
7190 * NEWS: Mention BZ #14716.
7191 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7192 when removing AVAILABLE1_USES_J macro.
7193
7194 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7195
7196 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7197 (__bswap_64): __uint64_t for unsigned 64-bit int.
7198
7199 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7200
7201 * include/string.h (memmem): Declare libc hidden alias.
7202 * string/memmem.c (memmem): Define libc hidden alias.
7203 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7204 __read, __close instead of open, read, close.
7205
7206 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7207
7208 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7209 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7210 global and hidden.
7211 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7212 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7213 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7214 Likewise.
7215 (__rawmemchr_sse2): Likewise.
7216 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7217 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7218 (__strchr_sse2): Likewise.
7219 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7220 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7221 (__strcasecmp_sse2): Likewise.
7222 (__strncasecmp_sse2): Likewise.
7223 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7224 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7225 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7226 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7227 (__strrchr_sse2): Likewise.
7228 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7229 ifunc-impl-list.c.
7230 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7231 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7232 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7233 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7234 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7235 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7236 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7237 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7238 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7239 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7240 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7241 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7242 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7243 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7244 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7245 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7246 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7247 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7248 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7249 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7250 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7251 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7252 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7253 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7254 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7255 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7256 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7257 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7258 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7259 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7260
7261 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7262 global and hidden.
7263 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7264 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7265 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7266 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7267 Likewise.
7268 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7269 Likewise.
7270 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7271 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7272 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7273 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7274 ifunc-impl-list.c.
7275 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7276 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7277 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7278 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7279 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7280 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7281 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7282 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7283 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7284 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7285 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7286 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7287 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7288 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7289 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7290 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7291 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7292 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7293 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7294 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7295 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7296 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7297 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7298 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7299 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7300 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7301 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7302 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7303 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7304 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7305 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7306 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7307 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7308 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7309 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7310 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7311 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7312 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7313 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7314 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7315 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7316
7317 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7318 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7319 * include/ifunc-impl-list.h: New file.
7320 * misc/ifunc-impl-list.c: Likewise.
7321 * misc/Makefile (routines): Add ifunc-impl-list.
7322 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7323 * string/test-string.h: Include <ifunc-impl-list.h>.
7324 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7325 impl_array): New variables.
7326 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7327 are defined.
7328 (test_init): Call __libc_ifunc_impl_list to initialize
7329 func_list if TEST_IFUNC and TEST_NAME are defined.
7330
7331 * string/Makefile (strop-tests): Add bcopy and bzero.
7332 * string/test-bcopy.c: New file.
7333 * string/test-bzero.c: Likewise.
7334 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7335 defined.
7336 * string/test-memset.c: Support bzero test if TEST_BZERO is
7337 defined.
7338 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7339 __libc_memmove.
7340 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7341 __libc_memset.
7342 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7343 of memset.
7344
7345 2012-10-10 Joseph Myers <joseph@codesourcery.com>
7346
7347 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7348 * configure: Regenerated.
7349
7350 * Makeconfig (+link-static-before-libc): Don't include
7351 $(link-static-libc).
7352
7353 * libio/libio.h (_IO_pos_t): Remove.
7354
7355 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7356
7357 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7358 McGrath.
7359
7360 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7361
7362 * crypt/crypt-entry.c: Include fips-private.h.
7363 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7364 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7365 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7366 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7367
7368 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7369
7370 * crypt/crypt-private.h: Include stdbool.h.
7371 (_ufc_setup_salt_r): Return bool.
7372 * crypt/crypt-entry.c: Include errno.h.
7373 (__crypt_r): Return NULL with EINVAL for bad salt.
7374 * crypt/crypt_util.c (bad_for_salt): New.
7375 (_ufc_setup_salt_r): Check that salt is long enough and within
7376 the specified alphabet.
7377 * crypt/badsalttest.c: New file.
7378 * crypt/Makefile (tests): Add it.
7379 ($(objpfx)badsalttest): New.
7380
7381 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7382
7383 * NEWS: Add entry for BZ #14602.
7384
7385 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7386
7387 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7388 type-generic.
7389 * math/libm-test.inc: Update comment listing what functions and
7390 macros are tested.
7391 (isgreater_test): New function.
7392 (isgreaterequal_test): Likewise.
7393 (isless_test): Likewise.
7394 (islessequal_test): Likewise.
7395 (islessgreater_test): Likewise.
7396 (isunordered_test): Likewise.
7397 (main): Call the new functions.
7398
7399 2012-10-09 Roland McGrath <roland@hack.frob.com>
7400
7401 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7402 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7403 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7404 * sysdeps/i386/configure: Regenerated.
7405 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7406 * sysdeps/mach/configure: Regenerated.
7407 * sysdeps/mach/hurd/configure: Regenerated.
7408 * sysdeps/powerpc/configure: Regenerated.
7409 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7410 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7411 * sysdeps/s390/s390-32/configure: Regenerated.
7412 * sysdeps/s390/s390-64/configure: Regenerated.
7413 * sysdeps/sh/configure: Regenerated.
7414 * sysdeps/sparc/configure: Regenerated.
7415 * sysdeps/unix/sysv/linux/configure: Regenerated.
7416 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7417 * sysdeps/x86_64/configure: Regenerated.
7418
7419 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7420 defined. Don't check if MAP is NULL.
7421
7422 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7423
7424 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7425 (_G_stat64): Likewise.
7426 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7427 (_G_stat64): Likewise.
7428 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7429 instead of struct _G_stat64.
7430 * libio/fileops.c (mmap_remap_check): Likewise.
7431 (decide_maybe_mmap): Likewise.
7432 (_IO_new_file_seekoff): Likewise.
7433 (_IO_file_stat): Likewise.
7434 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7435 _G_off64_t.
7436 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7437 instead of struct _G_stat64.
7438 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7439
7440 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7441
7442 [BZ #14602]
7443 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7444 Replace with ...
7445 (CHECK_EOL): New macro.
7446 (two_way_short_needle): Check beginning of haystack for EOL. Use
7447 CHECK_EOL.
7448 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7449 Replace with CHECK_EOL.
7450 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7451 Replace with CHECK_EOL.
7452
7453 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7454
7455 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7456 type-generic.
7457 * math/libm-test.inc: Update comment listing what functions and
7458 macros are tested.
7459 (finite_test): New function.
7460 (isinf_test): Likewise.
7461 (isnan_test): Likewise.
7462 (fpclassify_test): Test subnormal input.
7463 (isfinite_test): Likewise.
7464 (isnormal_test): Likewise.
7465 (main): Call the new functions.
7466
7467 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7468
7469 [BZ #14660]
7470 * Makerules (%.dynsym): Force C locale when running
7471 $(OBJDUMP) --dynamic-syms.
7472
7473 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7474
7475 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7476 <stdint.h>.
7477
7478 2012-10-06 David S. Miller <davem@davemloft.net>
7479
7480 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7481 upper 32-bits of the length value in %o2 since we use branch-on-register
7482 tests which consider the entire 64-bit register.
7483
7484 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7485
7486 * string/test-strstr.c (check2): Add a test for page boundary.
7487
7488 2012-10-05 David S. Miller <davem@davemloft.net>
7489
7490 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7491 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7492 file.
7493 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7494 sysdep_routines.
7495 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7496 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7497 and bzero when HWCAP_SPARC_CRYPTO is present.
7498
7499 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7500
7501 [BZ #14602]
7502 * string/test-strstr.c (check2): New function.
7503 (test_main): Call check2.
7504
7505 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7506 and bug-strchr1.
7507 * string/bug-strcasestr1.c (do_test): Moved to ...
7508 * string/test-strcasestr.c (check1): Here. New function.
7509 (do_one_test): Break out result checking code into ...
7510 (check_result): This. New function.
7511 (do_one_test): Call check_result.
7512 (test_main): Call check1.
7513 * string/bug-strchr1.c (do_test): Moved to ...
7514 * string/test-strchr.c (check1): Here. New function.
7515 (do_one_test): Break out result checking code into ...
7516 (check_result): This. New function.
7517 (do_one_test): Call check_result.
7518 (test_main): Call check1.
7519 * string/bug-strstr1.c (main): Moved to ...
7520 * string/test-strstr.c (check1): Here. New function.
7521 (do_one_test): Break out result checking code into ...
7522 (check_result): This. New function.
7523 (do_one_test): Call check_result.
7524 (test_main): Call check1.
7525 * string/bug-strcasestr1.c: Removed.
7526 * string/bug-strchr1.c: Likewise.
7527 * string/bug-strstr1.c: Likewise.
7528
7529 * elf/Makefile (dl-routines): Add hwcaps.
7530 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7531 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7532 (_dl_important_hwcaps): Moved to ...
7533 * elf/dl-hwcaps.c: Here. New file.
7534 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7535
7536 [BZ #14557]
7537 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7538 if IS_IN_rtld isn't defined.
7539
7540 * elf/dl-support.c (_dl_sysinfo_map): New.
7541 Include "get-dynamic-info.h" and "setup-vdso.h".
7542 (_dl_non_dynamic_init): Call setup_vdso.
7543 * elf/dynamic-link.h: Don't include <assert.h>.
7544 (elf_get_dynamic_info): Moved to ...
7545 * elf/get-dynamic-info.h: Here. New file.
7546 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7547 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7548 * elf/setup-vdso.h: Here. New file.
7549 * elf/rtld.c: Include "setup-vdso.h".
7550 (dl_main): Call setup_vdso.
7551
7552 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7553
7554 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7555 creal in comment listing functions tested. List finite, isinf,
7556 isnan, isless, islessequal, isgreater, isgreaterequal,
7557 islessgreater, isunordered, lgamma_r and pow10 as functions and
7558 macros not tested. Mention which functions not tested are aliases
7559 for other functions. Fix typo. Note that signs of NaNs are not
7560 tested.
7561
7562 * scripts/config.guess: Update from config.git.
7563 * scripts/config.sub: Likewise.
7564
7565 2012-10-04 Roland McGrath <roland@hack.frob.com>
7566
7567 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7568 * misc/madvise.c (madvise): Renamed to __madvise.
7569 Make madvise a weak alias.
7570 * include/sys/mman.h: Declare __madvise.
7571 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7572 * sysdeps/unix/syscalls.list
7573 (madvise): Make __madvise the strong name, and madvise a weak alias.
7574 * sysdeps/unix/sysv/linux/syscalls.list
7575 (madvise, mmap): Remove redundant entries.
7576 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7577 * malloc/malloc.c (mtrim): Likewise.
7578 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7579
7580 2012-10-03 Roland McGrath <roland@hack.frob.com>
7581
7582 * sysdeps/mach/hurd/dl-cache.c: File removed.
7583 * config.h.in (USE_LDCONFIG): New #undef.
7584 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7585 * configure: Regenerated.
7586 * elf/Makefile (dl-routines): Add dl-cache only under
7587 [$(use-ldconfig) = yes].
7588 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7589 cache on [USE_LDCONFIG].
7590 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7591 [USE_LDCONFIG].
7592 * elf/rtld.c (dl_main): Likewise.
7593
7594 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7595
7596 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7597 _SC_LEVEL4_CACHE_LINESIZE.
7598
7599 2012-10-03 Roland McGrath <roland@hack.frob.com>
7600
7601 * sysdeps/unix/bsd/confstr.h: File removed.
7602
7603 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7604
7605 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7606 sys/sdt-config.h.
7607
7608 2012-10-02 Roland McGrath <roland@hack.frob.com>
7609
7610 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7611 Make 'mapoff' field ElfW(Off) rather than off_t.
7612
7613 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7614
7615 * nscd/Makefile: Remove nscd-cflags and all its users.
7616 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7617 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7618
7619 [BZ #10631]
7620 * malloc.c (malloc_printerr): Clarify error message.
7621
7622 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7623
7624 [BZ #14648]
7625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7626 Set bit_FMA_Usable if FMA is supported.
7627 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7628 macro.
7629 (bit_FMA4_Usable): Updated.
7630 (index_FMA_Usable): New macro.
7631 (CPUID_FMA): Likewise
7632 (HAS_FMA): Defined with bit_FMA_Usable.
7633
7634 2012-10-01 Roland McGrath <roland@hack.frob.com>
7635
7636 * bits/types.h (__swblk_t): Type removed.
7637 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7638 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7639 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7640 (__SWBLK_T_TYPE): Likewise.
7641 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7642 (__SWBLK_T_TYPE): Likewise.
7643 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7644 (__SWBLK_T_TYPE): Likewise.
7645 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7646 (__SWBLK_T_TYPE): Likewise.
7647
7648 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7649 Honza Horak <hhorak@redhat.com>
7650
7651 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7652 (xdr_mapname): Use YPMAXMAP as maxsize.
7653 (xdr_peername): Use YPMAXPEER as maxsize.
7654 (xdr_keydat): Use YPAXRECORD as maxsize.
7655 (xdr_valdat): Use YPMAXRECORD as maxsize.
7656
7657 2012-10-01 Roland McGrath <roland@hack.frob.com>
7658
7659 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7660
7661 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7662 * csu/init-first.c: ... here.
7663 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7664 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7665 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7666 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7667 * sysdeps/i386/init-first.c: File removed.
7668 * sysdeps/sh/init-first.c: File removed.
7669
7670 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7671
7672 [BZ #14645]
7673 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7674 if x * y might underflow to zero and z is zero.
7675 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7676 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7677 * math/libm-test.inc (min_subnorm_value): New variable.
7678 (fma_test): Add more tests.
7679 (fma_test_towardzero): Likewise.
7680 (fma_test_downward): Likewise
7681 (fma_test_upward): Likewise.
7682 (initialize): Set min_subnorm_value.
7683
7684 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7685
7686 [BZ #14638]
7687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7688 0 + 0.
7689 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7690 mode for addition resulting in exact zero.
7691 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7692 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7693 exact 0 + 0.
7694 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7695 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7696 * math/libm-test.inc (fma_test): Add more tests.
7697 (fma_test_towardzero): New function.
7698 (fma_test_downward): Likewise.
7699 (fma_test_upward): Likewise.
7700 (main): Call the new functions.
7701
7702 2012-09-28 David S. Miller <davem@davemloft.net>
7703
7704 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7705
7706 2012-09-28 Roland McGrath <roland@hack.frob.com>
7707
7708 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7709 instead of SIGALRM.
7710
7711 * sysdeps/gnu/_G_config.h: Moved to ...
7712 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7713 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7714 * sysdeps/generic/_G_config.h: ... here.
7715
7716 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7717
7718 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7719
7720 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7721 Conditionalize target on [libnss_test1.so-version].
7722
7723 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7724
7725 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7726 (elfobjdir): Move out of conditionals.
7727
7728 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7729 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7730 (__nss_lookup_function): Conditionalize label remove_from_tree on
7731 [!DO_STATIC_NSS || SHARED], matching its only use.
7732
7733 2012-09-28 David S. Miller <davem@davemloft.net>
7734
7735 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7736 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7737 file.
7738 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7739 sysdep_routines.
7740 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7741 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7742 when HWCAP_SPARC_CRYPTO is present.
7743
7744 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7745
7746 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7747
7748 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7749
7750 [BZ #6530]
7751 * stdio-common/vfprintf.c (process_string_arg): Revert
7752 2000-07-22 change.
7753
7754 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7755
7756 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7757 for testcase.
7758 * stdio-common/tst-sprintf.c: Include <locale.h>
7759 (main): Test sprintf's handling of incomplete multibyte
7760 characters.
7761
7762 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7763
7764 * elf/dl-runtime.c (VERSYMIDX): Removed.
7765 * elf/dl-version.c (VERSYMIDX): Likewise.
7766 * elf/do-rel.h (VERSYMIDX): Likewise.
7767 (VALIDX): Likewise.
7768 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7769 * elf/rtld.c (VALIDX): Likewise.
7770 (ADDRIDX): Likewise.
7771 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7772 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7773 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7774 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7775 (VALIDX): Likewise.
7776 (ADDRIDX): Likewise.
7777
7778 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7779
7780 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7781
7782 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7783
7784 [BZ #11438]
7785 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7786 to global scope.
7787 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7788 addresses are in the same scope as 192.0.2/24.
7789 * posix/gai.conf: Document new scope table defaults.
7790
7791 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7792
7793 [BZ #5298]
7794 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7795 for ftell. Compute offsets from write pointers instead.
7796 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7797
7798 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7799
7800 [BZ #14543]
7801 * libio/Makefile (tests): New test case tst-fseek.
7802 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7803 combination works in wide mode.
7804 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7805 state when the external buffer state changes.
7806
7807 2012-09-27 David S. Miller <davem@davemloft.net>
7808
7809 [BZ #14376]
7810 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7811 pass reloc->r_addend in as the 'high' argument to
7812 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7813
7814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7815
7816 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7817
7818 * rt/tst-aio2.c: Include <pthread.h>.
7819 * rt/tst-aio3.c: Likewise.
7820
7821 2012-09-27 Steve Ellcey <sellcey@mips.com>
7822
7823 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7824
7825 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7826
7827 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7828 contents on [SHARED].
7829
7830 2012-09-26 Marek Polacek <polacek@redhat.com>
7831
7832 [BZ #14530]
7833 [BZ #13741]
7834 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7835 for C++ and GCC <4.3 as well as for non GCC compilers.
7836
7837 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7838
7839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7840
7841 2012-09-25 Roland McGrath <roland@hack.frob.com>
7842
7843 * Makefile.in (all, install): Declare with .PHONY.
7844 Reported by Michael Hope <michael.hope@linaro.org>.
7845
7846 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7847
7848 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7849 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7850 system header.
7851 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7852 Likewise.
7853 (sydep_routines): Add the new and the internal functions.
7854 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7855 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7857 (GLIBC_2.17): Add the new function.
7858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7859 (GLIBC_2.17): Likewise.
7860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7861 (GLIBC_2.17): Likewise.
7862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7863 (GLIBC_2.17): Likewise.
7864 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7865
7866 2012-09-25 Alan Modra <amodra@gmail.com>
7867
7868 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7869 Add release barrier before setting once_control to say
7870 initialisation is done. Add hints on lwarx. Use macro in
7871 place of isync.
7872 (clear_once_control): Add release barrier.
7873
7874 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7875
7876 [BZ #13629]
7877 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7878 specially.
7879 * math/s_clog10.c (__clog10): Likewise.
7880 * math/s_clog10f.c (__clog10f): Likewise.
7881 * math/s_clog10l.c (__clog10l): Likewise.
7882 * math/s_clogf.c (__clogf): Likewise.
7883 * math/s_clogl.c (__clogl): Likewise.
7884 * math/Makefile (libm-calls): Add x2y2m1.
7885 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7886 (__x2y2m1): Likewise.
7887 (__x2y2m1l): Likewise.
7888 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7889 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7890 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7891 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7892 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7893 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7894 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7895 * sysdeps/i386/fpu/libm-test-ulps: Update.
7896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7897
7898 [BZ #14621]
7899 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7900 int as type of variable DEPTH.
7901 (glob): Use size_t instead of int as type of variables NEWCOUNT
7902 and OLD_PATHC.
7903
7904 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7905
7906 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7907 Add s_sincosf-sse2.
7908 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7909 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7910 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7911 macros for using routine as __sincosf_ia32.
7912 Use macro for function declaration and weak_alias.
7913 * sysdeps/i386/fpu/libm-test-ulps: Update.
7914
7915 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7917
7918 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7919 subnormal argument.
7920 * math/s_cexpf.c (__cexpf): Likewise.
7921 * math/s_csinf.c (__csinf): Likewise.
7922 * math/s_csinhf.c (__csinhf): Likewise.
7923 * math/s_ctanf.c (__ctanf): Likewise.
7924 * math/s_ctanhf.c (__ctanhf): Likewise.
7925 * math/s_ccosh.c (__ccoshf): Likewise.
7926 * math/s_cexp.c (__cexpl): Likewise.
7927 * math/s_csin.c (__csin): Likewise.
7928 * math/s_csinh.c (__csinh): Likewise.
7929 * math/s_ctan.c (__ctan): Likewise.
7930 * math/s_ctanh.c (ctanh): Likewise.
7931 * math/s_ccoshl.c (__ccoshl): Likewise.
7932 * math/s_cexpl.c (__cexpl): Likewise.
7933 * math/s_csinl.c (__csinl): Likewise.
7934 * math/s_csinhl.c (__csinhl): Likewise.
7935 * math/s_ctanl.c (__ctanl): Likewise.
7936 * math/s_ctanhl.c (__ctanhl): Likewise.
7937
7938 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7939
7940 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7941 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7942 (_IO_off_t): Define to __off_t, not _G_off_t.
7943 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7944 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7945 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7946 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7947 type of __dummy and __dummy2 fields.
7948 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7949 (_G_ssize_t): Likewise.
7950 (_G_off_t): Likewise.
7951 (_G_pid_t): Likewise.
7952 (_G_uid_t): Likewise.
7953 (_G_wchar_t): Likewise.
7954 (_G_wint_t): Likewise.
7955 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7956 (_G_ssize_t): Likewise.
7957 (_G_off_t): Likewise.
7958 (_G_pid_t): Likewise.
7959 (_G_uid_t): Likewise.
7960 (_G_wchar_t): Likewise.
7961 (_G_wint_t): Likewise.
7962 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7963 (_G_ssize_t): Likewise.
7964 (_G_off_t): Likewise.
7965 (_G_pid_t): Likewise.
7966 (_G_uid_t): Likewise.
7967 (_G_wchar_t): Likewise.
7968 (_G_wint_t): Likewise.
7969
7970 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7971
7972 * malloc/arena.c: Include malloc-sysdep.h.
7973 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7974 is sufficient to shrink the heap or an unmap is needed.
7975 * sysdeps/generic/malloc-sysdep.h: New file. Define
7976 new function check_may_shrink_heap.
7977 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7978 new function check_may_shrink_heap.
7979
7980 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7981
7982 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7983 comments.
7984
7985 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7986
7987 * catgets/test-gencat.sh: Add "set -e".
7988 * elf/tst-pathopt.sh: Likewise.
7989 * grp/tst_fgetgrent.sh: Likewise.
7990 * iconvdata/run-iconv-test.sh: Likewise.
7991 * intl/tst-gettext.sh: Likewise.
7992 * intl/tst-gettext2.sh: Likewise.
7993 * intl/tst-gettext4.sh: Likewise.
7994 * intl/tst-gettext6.sh: Likewise.
7995 * intl/tst-translit.sh: Likewise.
7996 * io/ftwtest-sh: Likewise.
7997 * libio/test-freopen.sh: Likewise.
7998 * malloc/tst-mtrace.sh: Likewise.
7999 * posix/globtest.sh: Likewise.
8000 * posix/tst-getconf.sh: Likewise.
8001 * posix/wordexp-tst.sh: Likewise.
8002 * stdio-common/tst-printf.sh: Likewise.
8003 * stdio-common/tst-unbputc.sh: Likewise.
8004 * stdlib/tst-fmtmsg.sh: Likewise.
8005 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8006 * catgets/Makefile: Do not specify -e option when running
8007 testsuite shell scripts.
8008 * elf/Makefile: Likewise.
8009 * grp/Makefile: Likewise.
8010 * iconvdata/Makefile: Likewise.
8011 * intl/Makefile: Likewise.
8012 * io/Makefile: Likewise.
8013 * libio/Makefile: Likewise.
8014 * malloc/Makefile: Likewise.
8015 * posix/Makefile: Likewise.
8016 * stdio-common/Makefile: Likewise.
8017 * stdlib/Makefile: Likewise.
8018 * sysdeps/x86_64/Makefile: Likewise.
8019
8020 * io/ftwtest-sh: Add copyright header.
8021 * posix/globtest.sh: Likewise.
8022 * posix/tst-getconf.sh: Likewise.
8023 * posix/wordexp-tst.sh: Likewise.
8024 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8025
8026 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8027
8028 [BZ #13679]
8029 * Makeconfig (+link): Defined as $(+link-static) if
8030 $(build-shared) isn't yes.
8031 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8032 isn't yes.
8033 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8034
8035 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8036
8037 [BZ #14562]
8038 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8039 new chunk size with MALLOC_ALIGN_MASK.
8040
8041 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8042
8043 [BZ #5044]
8044 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8045 <rounding-mode.h>.
8046 (__printf_fphex): Determine rounding using get_rounding_mode and
8047 round_away.
8048 * stdio-common/tst-printf-round.c (struct hex_test): New
8049 structure.
8050 (hex_tests): New variable.
8051 (test_hex_in_one_mode): New function.
8052 (do_test): Also run tests for hex float output.
8053
8054 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8055
8056 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8057 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8058 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8059 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8060 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8061 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8062 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8063 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8064
8065 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8066
8067 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8068 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8069 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8070 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8071
8072 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8073
8074 [BZ #14579]
8075 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8076 mode only.
8077 * elf/tst-rtld-load-self.sh: New test.
8078 * elf/Makefile: Run it.
8079
8080 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8081
8082 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8083 (tst-writev-ENV): Remove.
8084 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8085
8086 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8087
8088 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8089
8090 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8091
8092 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8093 unconditional.
8094 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8095 Likewise.
8096 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8097 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8098 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8099 Likewise.
8100
8101 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8102
8103 [BZ #14587]
8104 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8105 * config.make.in (have-cpp-asm-debuginfo): Removed.
8106 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8107 * configure: Regenerated.
8108
8109 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8110
8111 [BZ #5044]
8112 * stdio-common/printf_fp.c: Include <stdbool.h> and
8113 <rounding-mode.h>.
8114 (___printf_fp): Determine rounding using get_rounding_mode and
8115 round_away.
8116 * stdio-common/tst-printf-round.c: New file.
8117 * stdio-common/Makefile (tests): Add tst-printf-round.
8118 (link-libm): New variable.
8119 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8120
8121 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8122
8123 [BZ #14576]
8124 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8125 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8126 Likewise.
8127 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8128 Likewise.
8129
8130 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8131
8132 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8133 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8134 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8135 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8136
8137 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8138
8139 [BZ #14518]
8140 * include/rounding-mode.h: New file.
8141 * sysdeps/generic/get-rounding-mode.h: Likewise.
8142 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8143 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8144 (MAX_VALUE): New macro.
8145 (MIN_VALUE): Likewise.
8146 (overflow_value): New function.
8147 (underflow_value): Likewise.
8148 (round_and_return): Use overflow_value and underflow_value to
8149 determine return values in overflow and underflow cases. Use
8150 round_away to determine rounding depending on rounding mode.
8151 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8152 determine return values in overflow and underflow cases.
8153 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8154 (struct test_results): New structure.
8155 (struct test): Use struct test_results to store expected results
8156 for all rounding modes.
8157 (TEST): Include expected results for all rounding modes.
8158 (test_in_one_mode): New function.
8159 (do_test): Use test_in_one_mode to compute and check results.
8160 Check results for all rounding modes.
8161 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8162 $(link-libm).
8163
8164 2012-12-09 Allan McRae <allan@archlinux.org>
8165
8166 * sysdeps/i386/fpu/libm-test-ulps: Update
8167
8168 2012-09-11 Joseph Myers <joseph@codesourcery.com>
8169
8170 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8171 (_G_int32_t): Likewise.
8172 (_G_uint16_t): Likewise.
8173 (_G_uint32_t): Likewise.
8174 (_G_HAVE_BOOL): Likewise.
8175 (_G_HAVE_ATEXIT): Likewise.
8176 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8177 (_G_HAVE_IO_FILE_OPEN): Likewise.
8178 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8179 (_G_int32_t): Likewise.
8180 (_G_uint16_t): Likewise.
8181 (_G_uint32_t): Likewise.
8182 (_G_HAVE_BOOL): Likewise.
8183 (_G_HAVE_ATEXIT): Likewise.
8184 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8185 (_G_HAVE_IO_FILE_OPEN): Likewise.
8186 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8187 (_G_int32_t): Likewise.
8188 (_G_uint16_t): Likewise.
8189 (_G_uint32_t): Likewise.
8190 (_G_HAVE_BOOL): Likewise.
8191 (_G_HAVE_ATEXIT): Likewise.
8192 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8193 (_G_HAVE_IO_FILE_OPEN): Likewise.
8194
8195 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8196
8197 * csu/libc-tls.c: Update copyright years.
8198
8199 2012-09-10 Joseph Myers <joseph@codesourcery.com>
8200
8201 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8202 [!_G_USING_THUNKS]: Remove conditional code.
8203 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8204 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8205
8206 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8207 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8208 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8209 (_G_VTABLE_LABEL_PREFIX): Likewise.
8210 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8211 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8212 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8213 (_G_VTABLE_LABEL_PREFIX): Likewise.
8214 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8215 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8216 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8217 (_G_VTABLE_LABEL_PREFIX): Likewise.
8218 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8219
8220 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8221
8222 * libio/Makefile: Include ../Makeconfig before tests.
8223 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8224 only if $(build-shared) is yes.
8225
8226 * iconv/gconv_db.c: Update copyright years.
8227
8228 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8229
8230 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8231 unwind info if defined PIC. Fix special cases description.
8232 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8233
8234 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8235 DP_HI_MASK entry.
8236 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8237
8238 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8239
8240 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8241
8242 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8243 is NULL.
8244
8245 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8246 (LDLIBS-tst-chk4): This.
8247 (LDFLAGS-tst-chk5): Renamed to ...
8248 (LDLIBS-tst-chk5): This.
8249 (LDFLAGS-tst-chk6): Renamed to ...
8250 (LDLIBS-tst-chk6): This.
8251 (LDFLAGS-tst-lfschk4): Renamed to ...
8252 (LDLIBS-tst-lfschk4): This.
8253 (LDFLAGS-tst-lfschk5): Renamed to ...
8254 (LDLIBS-tst-lfschk5): This.
8255 (LDFLAGS-tst-lfschk6): Renamed to ...
8256 (LDLIBS-tst-lfschk6): This.
8257
8258 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8259 on $(common-objpfx)soversions.mk.
8260
8261 2012-09-07 Joseph Myers <joseph@codesourcery.com>
8262
8263 [BZ #10014]
8264 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8265 example host name.
8266
8267 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8268
8269 * malloc/arena.c (arena_get_retry): New function that gets
8270 another arena for the caller to try its request on.
8271 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8272 current arena cannot fulfill the request.
8273 (__libc_memalign): Likewise.
8274 (__libc_memalign): Likewise.
8275 (__libc_pvalloc): Likewise.
8276 (__libc_calloc): Likewise.
8277
8278 2012-09-05 John Tobey <john.tobey@gmail.com>
8279
8280 [BZ #13542]
8281 * manual/arith.texi (Operations on Complex): Fix description
8282 of carg branch cut.
8283
8284 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8285
8286 [BZ #10014]
8287 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8288 host name.
8289
8290 [BZ #10038]
8291 * manual/memory.texi (Memory): Make order of menu items match
8292 order of sections.
8293
8294 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8295
8296 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8297 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8298 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8299
8300 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8301
8302 * csu/libc-tls.c (static_dtv): Renamed to ...
8303 (_dl_static_dtv): This. Make it global.
8304 (_dl_initial_dtv): Removed.
8305 (__libc_setup_tls): Updated.
8306 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8307 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8308 DL_INITIAL_DTV.
8309
8310 2012-09-06 Petr Machata <pmachata@redhat.com>
8311
8312 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8313 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8314 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8315 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8316
8317 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8318
8319 [BZ #14545]
8320 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8321 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8322 freeing dtv[-1].
8323
8324 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8325
8326 [BZ #14544]
8327 * Makeconfig (link-static-before-libc): Replace $(+prector)
8328 with $(+prectorT).
8329 (link-static-after-libc): Replace $(+postctor) with
8330 $(+postctorT).
8331 (link-bounded): Replace $(+prector)/$(+postctor) with
8332 $(+prectorT)/$(+postctorT).
8333 (+prectorT): New macro.
8334 (+postctorT): Likewise.
8335
8336 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8337
8338 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8339 (round_str): Handle values above the maximum for IBM long double
8340 as inexact.
8341 * stdlib/tst-strtod-round.c (tests): Regenerated.
8342
8343 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8344
8345 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8346 assembler flag.
8347 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8348 zarch_nohighgprs around the zarch optimized routines.
8349 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8350 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8351 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8352 for zarch.
8353
8354 2012-09-05 David S. Miller <davem@davemloft.net>
8355
8356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8357
8358 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8359 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8360 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8361 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8362 entries.
8363
8364 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8365
8366 * malloc/arena.c: Fold copyright years.
8367 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8368
8369 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8370
8371 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8372
8373 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8374
8375 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8376
8377 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8378
8379 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8380 change internal state upon failure.
8381
8382 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8383
8384 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8385 * malloc/memusage.c (mmap): Likewise.
8386 (mmap64, mremap): Likewise. Adjust name in comment.
8387
8388 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8389
8390 * libio/fileops.c: Fix typos in comments.
8391 * libio/oldfileops.c: Likewise.
8392 * libio/wfileops.c: Likewise.
8393
8394 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8395
8396 [BZ #1349]
8397 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8398 (tst-malloc-usable-ENV): Set environment for test case.
8399 * malloc/hooks.c (malloc_check_get_size): New function to get
8400 requested size.
8401 * malloc/malloc.c (musable): Use malloc_check_get_size.
8402 * malloc/tst-malloc-usable.c: New test case.
8403
8404 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8405
8406 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8407
8408 2012-09-05 Allan McRae <allan@archlinux.org>
8409
8410 [BZ #13966]
8411 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8412 determine header location.
8413 * configure: Regenerated.
8414
8415 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8416
8417 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8418 float format.
8419 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8420 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8421 format.
8422 (test): Regenerate.
8423
8424 2012-09-04 David S. Miller <davem@davemloft.net>
8425
8426 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8427 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8428 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8429
8430 2012-09-04 Florian Weimer <fweimer@redhat.com>
8431
8432 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8433 failures.
8434
8435 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8436
8437 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8438
8439 [BZ #9914]
8440 * libio/iogetdelim.c: Include <limits.h>.
8441 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8442 + len + 1 would overflow.
8443
8444 2012-09-03 Andreas Jaeger <aj@suse.de>
8445
8446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8447 * sysdeps/i386/fpu/libm-test-ulps: Update.
8448
8449 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8450
8451 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8452 Add s_sinf-sse2, s_conf-sse2.
8453
8454 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8455 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8456 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8457 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8458
8459 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8460 for using routine as __sinf_ia32.
8461 Use macro for function declaration and weak_alias.
8462 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8463 for using routine as __cosf_ia32.
8464 Use macro for function declaration and weak_alias.
8465
8466 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8467 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8468
8469 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8470 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8472
8473 * math/libm-test.inc (cos_test): Add more test cases.
8474 (sin_test): Likewise.
8475 (sincos_test): Likewise.
8476
8477 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8478
8479 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8480 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8481 hidden.
8482 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8483
8484 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8485
8486 [BZ #14538]
8487 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8488 first element of the GOT.
8489 (elf_machine_load_address): Return the difference between
8490 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8491
8492 2012-09-01 Allan McRae <allan@archlinux.org>
8493
8494 [BZ #13412]
8495 * configure.in (AWK): Require gawk version 3.0 or later.
8496 * configure: Regenerated.
8497
8498 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8499
8500 * sysdeps/unix/sysv/linux/kernel-features.h
8501 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8502 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8503 [__NR_clock_getres]: Make code unconditional.
8504 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8505 (clock_getcpuclockid): Remove code left unreachable by removal of
8506 conditionals.
8507 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8508 code unconditional.
8509 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8510 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8511 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8512 Make code unconditional.
8513 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8514 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8515 * sysdeps/unix/sysv/linux/clock_settime.c
8516 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8517 conditional code.
8518 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8519 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8520
8521 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8522
8523 [BZ #14476]
8524 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8525 scripts/test-installation.pl.
8526
8527 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8528 and $ld_so_version if it is set.
8529
8530 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8531
8532 [BZ #14516]
8533 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8534 failure if reading from procfs failed.
8535 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8536
8537 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8538
8539 * sysdeps/unix/sysv/linux/kernel-features.h
8540 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8541 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8542 Remove conditional code.
8543 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8544 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8545 Remove conditional code.
8546 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8547 * sysdeps/unix/sysv/linux/i386/fxstat.c
8548 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8549 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8550 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8551 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8552 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8553 * sysdeps/unix/sysv/linux/i386/lxstat.c
8554 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8555 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8556 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8557 Remove conditional code.
8558 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8559 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8560 Remove conditional code.
8561 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8562 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8563 <kernel-features.h>.
8564 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8565 Remove.
8566 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8567 Remove conditional code.
8568 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8569 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8570 Remove conditional.
8571
8572 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8573
8574 [BZ #5400]
8575 * NEWS: Add fixed bug number.
8576
8577 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8578
8579 [BZ #14519]
8580 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8581 underflowing exponent in case of negative sign.
8582 * stdlib/tst-strtod-round-data: Add more tests.
8583 * stdlib/tst-strtod-round.c (tests): Regenerated.
8584
8585 [BZ #3479]
8586 * stdlib/strtod_l.c (NDIG): Remove.
8587 (HEXNDIG): Likewise.
8588 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8589 smallest representable value.
8590 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8591 lie within an exact representation of 1/2 ulp of the result.
8592 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8593 unconditionally.
8594 (TENS_P9_IDX): Define unconditionally.
8595 (TENS_P9_SIZE): Likewise.
8596 (TENS_P10_IDX): Likewise.
8597 (TENS_P10_SIZE): Likewise.
8598 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8599 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8600 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8601 entries for 10^2^13 and 10^2^14.
8602 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8603 (TENS_P13_IDX): Define.
8604 (TENS_P13_SIZE): Likewise.
8605 (TENS_P14_IDX): Likewise.
8606 (TENS_P14_SIZE): Likewise.
8607 (_fpioconst_pow10): Change array size to
8608 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8609 unconditional.
8610 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8611 1024]: Add entries for 10^2^13 and 10^2^14.
8612 [LAST_POW10 > _LAST_POW10]: Remove #error.
8613 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8614 (_fpioconst_pow10): Change array size to
8615 FPIOCONST_POW10_ARRAY_SIZE.
8616 * stdlib/gen-fpioconst.c: New file.
8617 * stdlib/gen-tst-strtod-round.c: Likewise.
8618 * stdlib/tst-strtod-round-data: Likewise.
8619 * stdlib/tst-strtod-round.c: Likewise.
8620 * stdlib/Makefile (tests): Add tst-strtod-round.
8621
8622 [BZ #14459]
8623 * stdlib/strtod_l.c: Include <stdint.h>.
8624 (NDEBUG): Do not define.
8625 (round_and_return): Change EXPONENT parameter to type intmax_t.
8626 Rearrange calculations to avoid internal overflow possibilities.
8627 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8628 Rearrange calculations to avoid internal overflow possibilities.
8629 Assert that number fits inside MPNSIZE limbs.
8630 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8631 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8632 calculations and add assertions to avoid internal overflow
8633 possibilities. Add casts to avoid signed/unsigned operations.
8634 * stdlib/tst-strtod-overflow.c: New file.
8635 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8636
8637 2012-08-25 Marek Polacek <polacek@redhat.com>
8638
8639 * time/time.h: Fix some typos in comments.
8640
8641 2012-08-23 Roland McGrath <roland@hack.frob.com>
8642
8643 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8644 * posix/tst-rfc3484-2.c: Likewise.
8645 * posix/tst-rfc3484-3.c: Likewise.
8646
8647 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8648
8649 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8650 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8651
8652 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8653
8654 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8655 #include of fxstatat64.c.
8656
8657 2012-08-22 Roland McGrath <roland@hack.frob.com>
8658
8659 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8660 * shadow/getspent_r.c: Likewise.
8661 * shadow/getspnam.c: Likewise.
8662 * shadow/getspnam_r.c: Likewise.
8663 * gshadow/getsgent.c: Likewise.
8664 * gshadow/getsgent_r.c: Likewise.
8665 * gshadow/getsgnam.c: Likewise.
8666 * gshadow/getsgnam_r.c: Likewise.
8667 * inet/getnetbyad.c: Likewise.
8668 * inet/getnetbyad_r.c: Likewise.
8669 * inet/getnetbynm.c: Likewise.
8670 * inet/getnetbynm_r.c: Likewise.
8671 * inet/getnetent.c: Likewise.
8672 * inet/getnetent_r.c: Likewise.
8673 * inet/getproto.c: Likewise.
8674 * inet/getproto_r.c: Likewise.
8675 * inet/getprtent.c: Likewise.
8676 * inet/getprtent_r.c: Likewise.
8677 * inet/getprtname.c: Likewise.
8678 * inet/getprtname_r.c: Likewise.
8679 * inet/getrpcbyname.c: Likewise.
8680 * inet/getrpcbyname_r.c: Likewise.
8681 * inet/getrpcbynumber.c: Likewise.
8682 * inet/getrpcbynumber_r.c: Likewise.
8683 * inet/getrpcent.c: Likewise.
8684 * inet/getrpcent_r.c: Likewise.
8685 * inet/getaliasent.c: Likewise.
8686 * inet/getaliasent_r.c: Likewise.
8687 * inet/getaliasname.c: Likewise.
8688 * inet/getaliasname_r.c: Likewise.
8689 * nscd/getgrgid_r.c: Likewise.
8690 * nscd/getgrnam_r.c: Likewise.
8691 * nscd/gethstbyad_r.c: Likewise.
8692 * nscd/gethstbynm3_r.c: Likewise.
8693 * nscd/getpwnam_r.c: Likewise.
8694 * nscd/getpwuid_r.c: Likewise.
8695 * nscd/getsrvbynm_r.c: Likewise.
8696 * nscd/getsrvbypt_r.c: Likewise.
8697 * nscd/gai.c: Likewise.
8698
8699 * configure.in (build_nscd): New substituted variable, set
8700 by --disable-build-nscd and defaults to $use_nscd.
8701 * configure: Regenerated.
8702 * config.make.in (build-nscd): New substituted variable.
8703 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8704 Change conditional to require [$(build-nscd) = yes] as well.
8705 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8706
8707 [BZ# 13696]
8708 * configure.in (use_nscd): New substituted variable, set by
8709 --disable-nscd. If enabled, define USE_NSCD.
8710 * configure: Regenerated.
8711 * config.h.in: Add USE_NSCD.
8712 * config.make.in (use-nscd): New substituted variable.
8713 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8714 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8715 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8716 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8717 (CFLAGS-getgrnam_r.c): Likewise.
8718 (CFLAGS-initgroups.c): Likewise.
8719 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8720 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8721 Variables removed.
8722 * inet/getnetgrent_r.c
8723 (nscd_setnetgrent): New function, broken out of ...
8724 (setnetgrent): ... here. Call it.
8725 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8726 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8727 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8728 * nscd/Makefile (routines, aux): Move definitions after include of
8729 Makeconfig. Conditionalize on [$(use-nscd) != no].
8730 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8731 Conditionalize on [USE_NSCD].
8732 (is_nscd, nscd_init_cb): Likewise.
8733 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8734 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8735 * nss/nss_db/db-init.c: Likewise.
8736 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8737 [USE_NSCD].
8738 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8739 (make_request): Use it.
8740 (cache_valid_p): New function.
8741 (__check_pf): Use it.
8742 * NEWS: Add item for --disable-nscd.
8743
8744 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8745
8746 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8747 to support sed >= 4.2.1-20-ga9bf076.
8748 * configure: Regenerated.
8749
8750 2012-08-22 Roland McGrath <roland@hack.frob.com>
8751
8752 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8753 Conditionalize whole body on [IREL].
8754
8755 2012-08-22 Jeff Law <law@redhat.com>
8756
8757 [BZ #14505]
8758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8759 if the family is PF_UNSPEC.
8760
8761 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8762
8763 * Makerules (lib-version): Rename from V.
8764 (install-lib-nosubdir): Change V to lib-version.
8765
8766 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8767
8768 [BZ #14252]
8769 * powerpc32/power6/wcschr.c: New file.
8770 * powerpc32/power6/wcscpy.c: New file.
8771 * powerpc32/power6/wcsrchr.c: New file.
8772 * powerpc64/power6/wcschr.c: New file.
8773 * powerpc64/power6/wcscpy.c: New file.
8774 * powerpc64/power6/wcsrchr.c: New file.
8775
8776 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8777
8778 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8779 (two_way_short_needle): Use it.
8780 * string/strstr.c (AVAILABLE1_USES_J): Define.
8781 * string/strcasestr.c: Likewise.
8782
8783 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8784 array references.
8785 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8786
8787 [BZ #11607]
8788 * NEWS: Add an entry.
8789 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8790 define their defaults.
8791 (two_way_short_needle): Detect end-of-string on-the-fly.
8792 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8793 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8794 * string/bug-strcasestr1.c: New test.
8795 * string/Makefile: Run it.
8796
8797 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8798
8799 [BZ #11607]
8800 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8801 the first character.
8802
8803 2012-08-21 Roland McGrath <roland@hack.frob.com>
8804
8805 * csu/elf-init.c (__libc_csu_irel): Function removed.
8806 * csu/libc-start.c (apply_irel): New function.
8807 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8808
8809 2012-08-21 Joseph Myers <joseph@codesourcery.com>
8810
8811 * sysdeps/unix/sysv/linux/kernel-features.h
8812 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8813 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8814 <kernel-features.h>.
8815 [__NR_fadvise64_64]: Make code unconditional.
8816 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8817 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8818 !__NR_fadvise64_64)]: Likewise.
8819 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8820 !__NR_fadvise64_64))]: Likewise.
8821 [__NR_fadvise64]: Make code unconditional.
8822 [!__NR_fadvise64]: Remove conditional code.
8823 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8824 <kernel-features.h>.
8825 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8826 unconditional.
8827 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8828 conditional code.
8829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8830 not include <kernel-features.h>.
8831 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8832 unconditional.
8833 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8834 conditional code.
8835 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8836 include <kernel-features.h>.
8837 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8838 unconditional.
8839 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8840 conditional code.
8841
8842 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8843
8844 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8845 slight instruction rearrangements per scrollpipe analysis.
8846 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8847
8848 2012-08-20 Roland McGrath <roland@hack.frob.com>
8849
8850 * manual/syslog.texi (syslog; vsyslog, closelog):
8851 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8852 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8853
8854 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8855 DSOCAPS to match condition on defining it.
8856
8857 2012-08-20 Joseph Myers <joseph@codesourcery.com>
8858
8859 * sysdeps/unix/sysv/linux/kernel-features.h
8860 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8862 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8863 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8865 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8866 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8868 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8869 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8870
8871 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8872 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8873
8874 * sysdeps/unix/sysv/linux/kernel-features.h
8875 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8876 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8877 unconditional.
8878 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8879 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8880 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8881 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8882 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8883 Make code unconditional.
8884 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8885 (__mmap64) [!__NR_mmap2]: Likewise.
8886 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8887 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8888 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8889 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8890 [__NR_mmap2]: Make code unconditional.
8891 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8892 (__mmap64) [!__NR_mmap2]: Likewise.
8893
8894 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8895
8896 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8897
8898 2012-08-18 Andreas Jaeger <aj@suse.de>
8899
8900 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8901
8902 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8903
8904 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8905 * include/unistd.h (__have_sock_cloexec): Likewise.
8906 (__have_pipe2): Likewise.
8907 (__have_dup3): Likewise.
8908
8909 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8910
8911 [BZ #9685]
8912 * include/unistd.h (__have_pipe2): Change define into an extern int.
8913 (__have_dup3): Likewise.
8914 * socket/have_sock_cloexec.c: Include fcntl.h.
8915 (__have_pipe2): New variable.
8916 (__have_dup3): Likewise.
8917
8918 2012-08-17 Mike Frysinger <vapier@gentoo.org>
8919
8920 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8921
8922 2012-08-17 Marek Polacek <polacek@redhat.com>
8923
8924 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8925 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8926
8927 2012-08-17 Roland McGrath <roland@hack.frob.com>
8928
8929 * configure.in: Add AC_SUBST for sysheaders.
8930 * configure: Regenerated.
8931 * config.make.in (sysheaders): New substituted variable.
8932
8933 * sysdeps/unix/mkfifo.c: Moved ...
8934 * sysdeps/posix/mkfifo.c: ... here.
8935 * sysdeps/unix/mkfifoat.c: Moved ...
8936 * sysdeps/posix/mkfifoat.c: ... here.
8937
8938 * sysdeps/unix/utime.c: Moved ...
8939 * sysdeps/posix/utime.c: ... here.
8940
8941 * sysdeps/unix/time.c: Moved ...
8942 * sysdeps/posix/time.c: ... here.
8943 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8944 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8945
8946 * sysdeps/unix/nice.c: Moved ...
8947 * sysdeps/posix/nice.c: ... here.
8948
8949 * sysdeps/unix/alarm.c: Moved ...
8950 * sysdeps/posix/alarm.c: ... here.
8951
8952 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8953
8954 2012-08-17 Jeff Law <law@redhat.com>
8955
8956 * intl/Makefile (codeset_mo): New variable.
8957 ($(codeset_mo)): New target.
8958 (tst-codeset.out): Depend on that. Remove explicit rule.
8959 (tst-gettext3.out, tst-gettext5.out): Likewise.
8960 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8961 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8962 * intl/tst-codeset.sh: Remove.
8963 * intl/tst-gettext3.sh: Likewise.
8964 * intl/tst-gettext5.sh: Likewise.
8965
8966 2012-08-17 Roland McGrath <roland@hack.frob.com>
8967
8968 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8969 * sysdeps/unix/syscalls.list: ... here.
8970
8971 * sysdeps/posix/getaddrinfo.c
8972 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8973 (gaiconf_init, gaiconf_reload): Use them.
8974 [!_STATBUF_ST_NSEC]
8975 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8976 Define using time_t rather than struct timespec.
8977
8978 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8979 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8980 Macros removed.
8981 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8982 [!NO_THREADS].
8983 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8984 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8985 Likewise.
8986
8987 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8988 __libc_cleanup_push argument.
8989
8990 * bits/param.h: New file.
8991 * misc/sys/param.h: New file.
8992 * include/sys/param.h: New file.
8993 * misc/Makefile (headers): Add bits/param.h.
8994 * sysdeps/generic/sys/param.h: File removed.
8995 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8996 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8997 * sysdeps/mach/hurd/bits/param.h: New file.
8998 * sysdeps/mach/hurd/sys/param.h: File removed.
8999
9000 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9001 last change.
9002
9003 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9004 [_IO_MTSAFE_IO].
9005 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9006 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9007 New macros.
9008
9009 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9010 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9011 rather than -D_IO_MTSAFE_IO conditionally.
9012 * stdio-common/Makefile (CPPFLAGS): Likewise.
9013 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9014 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9015 Use $(libio-mtsafe).
9016 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9017 of -D_IO_MTSAFE_IO.
9018 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9019 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9020 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9021 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9022 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9023 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9024 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9025 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9026 (CFLAGS-fread_u_chk.c): Likewise.
9027 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9028 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9029 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9030 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9031 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9032 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9033 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9034 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9035 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9036
9037 * libio/Makefile: Test [$(libc-reentrant) = yes]
9038 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9039
9040 * Makeconfig
9041 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9042 * sysdeps/pthread/configure: File removed.
9043 * sysdeps/pthread/Makeconfig: New file.
9044 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9045 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9046
9047 2012-08-16 Gary Benson <gbenson@redhat.com>
9048
9049 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9050 unmapping the first object in a namespace.
9051
9052 2012-08-16 Roland McGrath <roland@hack.frob.com>
9053
9054 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9055 (__internal_setnetgrent): ... this. Add internal_function to
9056 definition. Add libc_hidden_def.
9057 (setnetgrent): Update caller.
9058 (internal_endnetgrent): Renamed to ...
9059 (__internal_endnetgrent): ... this. Add internal_function to
9060 definition. Add libc_hidden_def.
9061 (endnetgrent): Update caller.
9062 (internal_getnetgrent_r): Renamed to ...
9063 (__internal_getnetgrent_r): ... this. Add internal_function to
9064 definition. Add libc_hidden_def.
9065 (__getnetgrent_r): Update caller.
9066 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9067
9068 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9069
9070 * stdlib/longlong.h: Update from GCC.
9071
9072 2012-08-16 Roland McGrath <roland@hack.frob.com>
9073
9074 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9075 on _QL, which is set by umul_ppmm but never used.
9076 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9077 variables, which are set by GMP macros but never used.
9078 * stdio-common/_itowa.c (_itowa): Likewise.
9079 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9080 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9081
9082 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9083
9084 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9085 struct La_sh_regs is not constant.
9086 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9087 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9088 and struct La_sparc64_regs are not constant.
9089
9090 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9091
9092 * sysdeps/unix/sysv/linux/kernel-features.h
9093 (__ASSUME_POSIX_TIMERS): Remove.
9094 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9095 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9096 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9097 Make code unconditional.
9098 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9099 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9100 Make code unconditional.
9101 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9102 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9103 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9104 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9105 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9106 Make code unconditional.
9107 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9108 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9109 (__libc_missing_posix_timers): Remove.
9110
9111 2012-08-15 Roland McGrath <roland@hack.frob.com>
9112
9113 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9114 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9115
9116 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9117
9118 * elf/dl-sym.c: Include <stdlib.h>.
9119
9120 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9121 constants, which avoids warnings in 32-bit builds.
9122
9123 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9124 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9125
9126 * misc/lseek.c: File moved to ...
9127 * io/lseek.c: ... here.
9128
9129 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9130
9131 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9132 shifting LEN more than 31 bits at once.
9133
9134 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9135
9136 [BZ #14195]
9137 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9138 segmentation fault for a case of two empty input strings.
9139 * string/test-strncasecmp.c (check1): Renamed to...
9140 (bz12205): ...this.
9141 (bz14195): Add new testcase for two empty input strings and N > 0.
9142 (test_main): Call new testcase, adapt for renamed function.
9143
9144 2012-08-15 Andreas Jaeger <aj@suse.de>
9145
9146 [BZ #14090]
9147 * crypt/md5test2.c: New test, based on test supplied by Serge
9148 Belyshev <belyshev@depni.sinp.msu.ru>.
9149 * crypt/Makefile (xtests): Add md5test-giant..
9150 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9151
9152 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9153
9154 [BZ #14090]
9155 * crypt/md5.c (md5_process_block): Don't assume the buffer
9156 length is less than 2**32.
9157 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9158 length is less than 2**64.
9159
9160 2012-08-15 Roland McGrath <roland@hack.frob.com>
9161
9162 * string/str-two-way.h: Include <sys/param.h>.
9163 (MAX): Macro removed.
9164
9165 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9166 Move #define and #undef of memmove to just before and after
9167 including <string.h>.
9168
9169 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9170 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9171 and after including <string.h>. Move declarations of
9172 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9173 to before #include "string/memmove.c".
9174
9175 * include/dirent.h: Declare __getdirentries.
9176
9177 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9178 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9179
9180 2012-08-14 Mike Frysinger <vapier@gentoo.org>
9181
9182 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9183 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9184 * sysdeps/i386/configure: Regenerated.
9185 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9186 STABS_CURRENT_FILE, and STABS_FUN.
9187 (END): Remove call to STABS_FUN_END.
9188 (STABS_CURRENT_FILE1): Delete.
9189 (STABS_CURRENT_FILE): Likewise.
9190 (STABS_FUN): Likewise.
9191 (STABS_FUN_END): Likewise.
9192 (STABS_FUN2): Likewise.
9193 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9194 * sysdeps/x86_64/configure: Regenerated.
9195
9196 2012-08-14 Roland McGrath <roland@hack.frob.com>
9197
9198 * elf/dl-open.c: Include <atomic.h>.
9199 * elf/dl-lookup.c: Likewise.
9200
9201 2012-08-14 Joseph Myers <joseph@codesourcery.com>
9202
9203 * sysdeps/unix/sysv/linux/kernel-features.h
9204 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9205 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9206 unconditionally.
9207 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9208 unconditionally.
9209 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9210 condition on __ASSUME_CLONE_THREAD_FLAGS.
9211
9212 2012-08-14 Andreas Jaeger <aj@suse.de>
9213
9214 * sysdeps/i386/fpu/libm-test-ulps: Update.
9215
9216 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9217
9218 * include/atomic.h (atomic_exchange_and_add): Split into ...
9219 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9220 New atomic macros.
9221
9222 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9223
9224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9225
9226 2012-08-13 Jeff Law <law@redhat.com>
9227
9228 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9229 null byte in the output string.
9230
9231 2012-08-10 Joseph Myers <joseph@codesourcery.com>
9232
9233 * sysdeps/unix/sysv/linux/kernel-features.h
9234 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9235 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9236 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9237 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9238 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9239 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9240 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9241
9242 2012-08-09 Jeff Law <law@redhat.com>
9243
9244 [BZ #13939]
9245 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9246 When avoid_arena is set, don't retry in the that arena. Pick the
9247 next one, whatever it might be.
9248 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9249 (arena_lock): Pass in new parameter to arena_get2.
9250 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9251 arena_get2.
9252 (__libc_malloc): Unify retrying after main arena failure with
9253 __libc_memalign version.
9254 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9255
9256 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9257
9258 [BZ #14166]
9259 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9260 to __redirect_strstr.
9261 (__strstr_sse42): Use typeof __redirect_strstr.
9262 (__strstr_ia32): Likewise.
9263 (__libc_strstr): New prototype.
9264 (strstr): Renamed to ...
9265 (__libc_strstr): This.
9266 (strstr): New strong alias of __libc_strstr.
9267 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9268 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9269 __redirect_time.
9270 Include <time.h>.
9271 (__libc_time): New prototype.
9272 (time_ifunc): Replace time with __libc_time.
9273 (time): New strong alias and hidden definition of __libc_time.
9274 (__GI_time): Remove strong alias.
9275 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9276 Include <stddef.h>.
9277 (memmove): Redefined to __redirect_memmove.
9278 (__memmove_sse2): Use typeof __redirect_memmove.
9279 (__memmove_ssse3): Likewise.
9280 (__memmove_ssse3_back): Likewise.
9281 (__libc_memmove): New prototype.
9282 (memmove): Renamed to ...
9283 (__libc_memmove): This.
9284 (memmove): New strong alias of __libc_memmove.
9285
9286 2012-08-08 Mark Salter <msalter@redhat.com>
9287
9288 * elf/elf.h
9289 (R_MN10300_TLS_GD): Define.
9290 (R_MN10300_TLS_LD): Likewise.
9291 (R_MN10300_TLS_LDO): Likewise.
9292 (R_MN10300_TLS_GOTIE): Likewise.
9293 (R_MN10300_TLS_IE): Likewise.
9294 (R_MN10300_TLS_LE): Likewise.
9295 (R_MN10300_TLS_DTPMOD): Likewise.
9296 (R_MN10300_TLS_DTPOFF): Likewise.
9297 (R_MN10300_TLS_TPOFF): Likewise.
9298 (R_MN10300_SYM_DIFF): Likewise.
9299 (R_MN10300_ALIGN): Likewise.
9300 (R_MN10300_NUM): Update.
9301
9302 2012-08-08 Joseph Myers <joseph@codesourcery.com>
9303
9304 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9305 Remove.
9306
9307 2012-08-08 Roland McGrath <roland@hack.frob.com>
9308
9309 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9310
9311 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9312 sysdeps/unix -> sysdeps/posix move.
9313 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9314
9315 2012-08-07 Allan McRae <allan@archlinux.org>
9316
9317 [BZ #14303]
9318 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9319 (SUNOS_CPP): Likewise.
9320 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9321 not found.
9322 (open_input): Call CPP using execvp.
9323
9324 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9325
9326 * sysdeps/unix/sysv/linux/kernel-features.h
9327 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9328 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9329 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9330 (__ASSUME_WAITID_SYSCALL): Likewise.
9331 * sysdeps/unix/sysv/linux/dl-execstack.c
9332 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9333 code unconditional.
9334 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9335 conditional code.
9336 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9337 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9338 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9339 code.
9340 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9341 unconditional.
9342 [__ASSUME_WAITID_SYSCALL]: Likewise.
9343 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9344
9345 2012-08-07 Roland McGrath <roland@hack.frob.com>
9346
9347 * sysdeps/unix/closedir.c: Renamed to ...
9348 * sysdeps/posix/closedir.c: ... here.
9349 * sysdeps/unix/dirfd.c: Renamed to ...
9350 * sysdeps/posix/dirfd.c: ... here.
9351 * sysdeps/unix/dirstream.h: Renamed to ...
9352 * sysdeps/posix/dirstream.h: ... here.
9353 * sysdeps/unix/fdopendir.c: Renamed to ...
9354 * sysdeps/posix/fdopendir.c: ... here.
9355 * sysdeps/unix/opendir.c: Renamed to ...
9356 * sysdeps/posix/opendir.c: ... here.
9357 * sysdeps/unix/readdir.c: Renamed to ...
9358 * sysdeps/posix/readdir.c: ... here.
9359 * sysdeps/unix/readdir_r.c: Renamed to ...
9360 * sysdeps/posix/readdir_r.c: ... here.
9361 * sysdeps/unix/rewinddir.c: Renamed to ...
9362 * sysdeps/posix/rewinddir.c: ... here.
9363 * sysdeps/unix/seekdir.c: Renamed to ...
9364 * sysdeps/posix/seekdir.c: ... here.
9365 * sysdeps/unix/telldir.c: Renamed to ...
9366 * sysdeps/posix/telldir.c: ... here.
9367 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9368 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9369 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9370 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9371
9372 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9373 * bits/fcntl.h: ... here.
9374
9375 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9376 not 0.
9377 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9378 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9379 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9380 (struct flock): Move l_start, l_len to the beginning.
9381 Use __pid_t for l_pid.
9382 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9383 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9384 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9385 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9386 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9387 [__USE_LARGEFILE64] (struct flock64): New type.
9388 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9389
9390 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9391 * bits/dirent.h: ... here.
9392
9393 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9394 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9395
9396 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9397
9398 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9399 Change from 2.6.0 to 2.6.16.
9400 * sysdeps/unix/sysv/linux/configure: Regenerated.
9401 * sysdeps/unix/sysv/linux/kernel-features.h
9402 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9403 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9404 version.
9405 (__ASSUME_UTIMES): Likewise.
9406 (__ASSUME_CLONE_STOPPED): Remove.
9407 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9408 architectures, not kernel version.
9409 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9410 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9411 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9412 (__ASSUME_WAITID_SYSCALL): Likewise.
9413 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9414 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9415 * README: State 2.6.16 as minimum Linux kernel version. Do not
9416 refer to older versions.
9417
9418 2012-08-06 Roland McGrath <roland@hack.frob.com>
9419
9420 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9421 Define alphasort64 as an alias.
9422 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9423 Define versionsort64 as an alias.
9424 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9425 Define scandir64 as an alias.
9426 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9427 Define scandirat64 as an alias.
9428 * dirent/alphasort64.c (alphasort64):
9429 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9430 * dirent/versionsort64.c: Likewise.
9431 * dirent/scandir64.c: Likewise.
9432 * dirent/scandirat64.c: Likewise.
9433 * sysdeps/wordsize-64/alphasort.c: File removed.
9434 * sysdeps/wordsize-64/alphasort64.c: File removed.
9435 * sysdeps/wordsize-64/scandir.c: File removed.
9436 * sysdeps/wordsize-64/scandir64.c: File removed.
9437 * sysdeps/wordsize-64/scandirat.c: File removed.
9438 * sysdeps/wordsize-64/scandirat64.c: File removed.
9439 * sysdeps/wordsize-64/versionsort.c: File removed.
9440 * sysdeps/wordsize-64/versionsort64.c: File removed.
9441 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9442 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9443 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9444 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9445 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9446 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9447 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9448 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9449
9450 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9451 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9452 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9453 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9454 [defined __arch64__ || defined __sparcv9]
9455 (__INO_T_MATCHES_INO64_T): New macro.
9456 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9457 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9458 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9459 * sysdeps/unix/sysv/linux/bits/dirent.h
9460 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9461 (_DIRENT_MATCHES_DIRENT64): New macro.
9462
9463 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9464 Define lockf64 as an alias.
9465 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9466 Define fseeko64 as an alias.
9467 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9468 Define ftello64 as an alias.
9469 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9470 Define _IO_fgetpos64 and fgetpos64 as aliases.
9471 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9472 Define _IO_fsetpos64 and fsetpos64 as aliases.
9473 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9474 Conditionalize body on this.
9475 * libio/fseeko64.c: Likewise.
9476 * libio/ftello64.c: Likewise.
9477 * libio/iofgetpos64.c: Likewise.
9478 * libio/iofsetpos64.c: Likewise.
9479 * sysdeps/wordsize-64/lockf.c: File removed.
9480 * sysdeps/wordsize-64/lockf64.c: File removed.
9481 * sysdeps/wordsize-64/fseeko.c: File removed.
9482 * sysdeps/wordsize-64/fseeko64.c: File removed.
9483 * sysdeps/wordsize-64/ftello.c: File removed.
9484 * sysdeps/wordsize-64/ftello64.c: File removed.
9485 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9486 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9487 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9488 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9489 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9490 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9491 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9492 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9493 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9494 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9495 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9496 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9497 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9498 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9499
9500 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9502 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9504 [defined __arch64__ || defined __sparcv9]
9505 (__OFF_T_MATCHES_OFF64_T): New macro.
9506 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9507 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9508 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9509 (__OFF_T_MATCHES_OFF64_T): New macro.
9510
9511 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9512
9513 * stdlib/secure-getenv.c (__secure_getenv): Replace
9514 GLIBC_2_16 with GLIBC_2_17.
9515
9516 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9517
9518 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9519 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9520
9521 2012-08-03 David S. Miller <davem@davemloft.net>
9522
9523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9524
9525 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9526
9527 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9528 Remove.
9529 (__ASSUME_CORRECT_SI_PID): Likewise.
9530 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9531 (__ASSUME_TMPFS_NAME): Likewise.
9532 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9533 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9534 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9535 (HAVE_AUX_SECURE): Make definition unconditional.
9536 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9537 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9538
9539 2012-08-03 Roland McGrath <roland@hack.frob.com>
9540
9541 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9542 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9543 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9544 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9545 __eloop_threshold instead of SYMLOOP_MAX.
9546
9547 * sysdeps/generic/eloop-threshold.h: New file.
9548 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9549 of MAXSYMLINKS.
9550 * elf/chroot_canon.c (chroot_canon): Likewise.
9551
9552 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9553
9554 [BZ #13717]
9555 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9556 Change to 2.6.0 everywhere.
9557 * sysdeps/unix/sysv/linux/configure: Regenerated.
9558 * sysdeps/unix/sysv/linux/kernel-features.h
9559 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9560 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9561 kernel versions.
9562 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9563 (__ASSUME_FUTEX_REQUEUE): Remove.
9564 (__ASSUME_STATFS64): Define unconditionally.
9565 (__ASSUME_AT_SECURE): Likewise.
9566 (__ASSUME_CORRECT_SI_PID): Likewise.
9567 (__ASSUME_TGKILL): Define without depending on kernel version for
9568 i386.
9569 (__ASSUME_UTIMES): Likewise.
9570 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9571 kernel version.
9572 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9573 (__ASSUME_TMPFS_NAME): Likewise.
9574 * README: Update reference to Linux kernel versions.
9575
9576 2012-08-02 Marek Polacek <polacek@redhat.com>
9577
9578 [BZ# 14150]
9579 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9580 libc_cv_asm_type_prefix with %.
9581 * configure: Regenerated.
9582 * include/libc-symbols.h: Remove comment about
9583 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9584 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9585 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9586 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9587 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9588 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9589 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9590 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9591 * elf/tst-unique2mod1.c: Likewise.
9592 * elf/tst-unique1mod2.c: Likewise.
9593 * elf/tst-unique1mod1.c: Likewise.
9594 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9595 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9596 Replace ASM_TYPE_DIRECTIVE with .type.
9597 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9598 * sysdeps/i386/sysdep.h: Likewise.
9599 * sysdeps/x86_64/sysdep.h: Likewise.
9600 * sysdeps/sh/sysdep.h: Likewise.
9601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9602 Do not define ASM_TYPE_DIRECTIVE.
9603 * sysdeps/powerpc/sysdep.h: Likewise.
9604 * sysdeps/powerpc/powerpc32/sysdep.h:
9605 Replace ASM_TYPE_DIRECTIVE with .type.
9606 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9607 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9608 * sysdeps/i386/fpu/e_powf.S: Likewise.
9609 * sysdeps/i386/fpu/e_expl.S: Likewise.
9610 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9611 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9612 * sysdeps/i386/fpu/e_pow.S: Likewise.
9613 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9614 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9615 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9616 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9617 * sysdeps/i386/fpu/e_log2.S: Likewise.
9618 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9619 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9620 * sysdeps/i386/fpu/e_powl.S: Likewise.
9621 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9622 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9623 * sysdeps/i386/fpu/e_logl.S: Likewise.
9624 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9625 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9626 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9627 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9628 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9629 * sysdeps/i386/fpu/e_log.S: Likewise.
9630 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9631 * sysdeps/i386/fpu/e_logf.S: Likewise.
9632 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9633 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9634 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9635 * sysdeps/i386/fpu/e_log10.S: Likewise.
9636 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9637 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9638 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9639 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9640 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9641 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9642 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9643 * sysdeps/i386/i686/strtok.S: Likewise.
9644 * sysdeps/i386/i386-mcount.S: Likewise.
9645 * sysdeps/i386/strtok.S: Likewise.
9646 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9647 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9648 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9649 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9650 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9651 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9652 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9653 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9654 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9655 * sysdeps/x86_64/_mcount.S: Likewise.
9656 * sysdeps/x86_64/strtok.S: Likewise.
9657 * sysdeps/sh/_mcount.S: Likewise.
9658
9659 2012-08-01 Roland McGrath <roland@hack.frob.com>
9660
9661 * libio/iofopen.c: Include <fcntl.h>.
9662 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9663 (_IO_fopen64, fopen64): Define as aliases.
9664 * libio/iofopen64.c: Include <fcntl.h>.
9665 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9666 Conditionalize body on this.
9667 * sysdeps/wordsize-64/iofopen.c: File removed.
9668 * sysdeps/wordsize-64/iofopen64.c: File removed.
9669
9670 2012-08-01 Marek Polacek <polacek@redhat.com>
9671
9672 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9673 Use dlfcn directly instead of a variable.
9674 (binfmt-subdir): Do not define.
9675 (dlfcn): Likewise.
9676
9677 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9678
9679 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9680 Remove all definitions.
9681 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9682 <kernel-features.h>.
9683 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9684 (miss_F_GETOWN_EX): Remove all definitions.
9685 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9686 macro definition.
9687 [!__ASSUME_FCNTL64]: Remove conditional code.
9688 [__ASSUME_FCNTL64]: Make code unconditional.
9689 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9690 <kernel-features.h>.
9691 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9692 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9693 (lockf64) [__NR_fcntl64]: Make code unconditional.
9694 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9695
9696 * sysdeps/unix/sysv/linux/kernel-features.h
9697 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9698 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9699 Make code unconditional.
9700 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9701 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9703 [__NR_vfork]: Make code unconditional.
9704 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9705 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9707 [__NR_vfork]: Make code unconditional.
9708 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9709 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9710
9711 2012-08-01 Roland McGrath <roland@hack.frob.com>
9712
9713 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9714 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9715
9716 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9717 Define mkstemp64 as an alias.
9718 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9719 Define mkstemps64 as an alias.
9720 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9721 Define mkostemp64 as an alias.
9722 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9723 Define mkostemps64 as an alias.
9724 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9725 Conditionalize body on this.
9726 * misc/mkostemp64.c: Likewise.
9727 * misc/mkostemps64.c: Likewise.
9728 * misc/mkstemps64.c: Likewise.
9729 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9730 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9731 * sysdeps/wordsize-64/mkostemp.c: File removed.
9732 * sysdeps/wordsize-64/mkstemp.c: File removed.
9733 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9734 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9735 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9736 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9737
9738 [BZ #14138]
9739 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9740 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9741 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9742 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9743
9744 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9745 compat_symbol macros from <shlib-compat.h> rather than the underlying
9746 default_symbol_version and symbol_version macros, so that DEFAULT
9747 lines in shlib-versions are respected.
9748 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9749
9750 2012-08-01 Florian Weimer <fweimer@redhat.com>
9751
9752 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9753 Declare with warn_unused_result.
9754 (setgid, setregid, setegid, setresgid): Likewise.
9755 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9756 Likewise.
9757 * WUR-REPORT: Remove set*id functions.
9758
9759 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9760
9761 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9762
9763 2012-07-31 Roland McGrath <roland@hack.frob.com>
9764
9765 * include/sys/socket.h (__libc_accept, __libc_accept4):
9766 Add attribute_hidden.
9767 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9768
9769 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9770 use of PTR_MANGLE.
9771 * inet/getnetgrent_r.c (setup): Likewise.
9772
9773 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9774
9775 2012-07-31 David S. Miller <davem@davemloft.net>
9776
9777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9778
9779 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9780
9781 [BZ #13629]
9782 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9783 value between 1.0 and 2.0 and smaller part has absolute value less
9784 than 1.0.
9785 * math/s_clog10.c (__clog10): Likewise.
9786 * math/s_clog10f.c (__clog10f): Likewise.
9787 * math/s_clog10l.c (__clog10l): Likewise.
9788 * math/s_clogf.c (__clogf): Likewise.
9789 * math/s_clogl.c (__clogl): Likewise.
9790 * math/libm-test.inc (clog_test): Add more tests.
9791 (clog10_test): Likewise.
9792 * sysdeps/i386/fpu/libm-test-ulps: Update.
9793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9794
9795 2012-07-31 Florian Weimer <fweimer@redhat.com>
9796
9797 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9798 Exit with zero in case no suitable GID is found, and write a
9799 message to standard error.
9800
9801 2012-07-30 Roland McGrath <roland@hack.frob.com>
9802
9803 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9804 rather than to 1.
9805 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9806 (MAXPATHLEN): Removed.
9807 (NOGROUP, NODEV): New macros.
9808 (setbit, clrbit, isset, isclr): New macros.
9809 (howmany, roundup, powerof2): New macros.
9810 (DEV_BSIZE): New macro.
9811
9812 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9813 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9814
9815 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9816 definition on [!__NO_LONG_DOUBLE_MATH].
9817
9818 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9819 PTR_MANGLE and PTR_DEMANGLE.
9820
9821 * socket/accept4.c (accept4): Rename to __libc_accept4.
9822 Define accept4 as a weak alias.
9823
9824 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9825 on [_DIRENT_HAVE_D_TYPE].
9826 * io/ftw.c (ftw_dir): Likewise.
9827
9828 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9829
9830 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9831
9832 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9833 Use the BSD numbers rather than the arbitrary ones we had.
9834 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9835 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9836 (SIGXCPU, SIGXFSZ): New macros.
9837 (_NSIG): Now 32.
9838
9839 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9840 initializer on [_LIBC_REENTRANT].
9841
9842 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9843 definitions inside [_POSIX_MAPPED_FILES].
9844
9845 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9846
9847 * dirent/opendir.c: Include <fcntl.h>.
9848
9849 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9850 (__libc_getspecific): Likewise.
9851 (__libc_key_create): Likewise.
9852
9853 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9854 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9855 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9856 (tmpfile64): Define as alias.
9857 * sysdeps/wordsize-64/tmpfile.c: File removed.
9858 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9859 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9860 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9861
9862 * stdio-common/vfscanf.c: Include <stdbool.h>.
9863 * nss/makedb.c: Likewise.
9864 * stdio-common/_i18n_number.h: Likewise.
9865 * argp/argp-help.c: Likewise.
9866 * posix/wordexp.c: Likewise.
9867 * sysdeps/posix/spawni.c: Likewise.
9868 * nss/nss_files/files-initgroups.c: Likewise.
9869 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9870 * nss/nss_files/files-initgroups.c: Likewise.
9871 * nss/nss_db/db-netgrp.c: Likewise.
9872 * nss/nss_db/db-initgroups.c: Likewise.
9873 * io/fchmodat.c: Include <sys/stat.h>.
9874
9875 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9876 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9877
9878 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9879 [HAVE_MMAP].
9880
9881 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9882 Add multiple inclusion protection.
9883
9884 2012-07-27 David S. Miller <davem@davemloft.net>
9885
9886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9887
9888 2012-07-27 Gary Benson <gbenson@redhat.com>
9889
9890 [BZ #14298]
9891 * elf/rtld.c: Include <stap-probe.h>.
9892 (dl_main): Added static probes "init_start" and "init_complete".
9893 * elf/dl-load.c: Include <stap-probe.h>.
9894 (lose): Take new parameter "nsid".
9895 Added static probe "map_failed".
9896 (_dl_map_object_from_fd): Pass namespace id to lose.
9897 Added static probe "map_start".
9898 (open_verify): Pass namespace id to lose.
9899 * elf/dl-open.c: Include <stap-probe.h>.
9900 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9901 and "reloc_complete".
9902 * elf/dl-close.c: Include <stap-probe.h>.
9903 (_dl_close_worker): Added static probes "unmap_start" and
9904 "unmap_complete".
9905 * elf/rtld-debugger-interface.txt: New file documenting the above.
9906
9907 2012-07-26 Roland McGrath <roland@hack.frob.com>
9908
9909 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9910 rather than a string variable.
9911 * sunrpc/rpc_main.c (h_output): Likewise.
9912 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9913
9914 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9915
9916 * inet/check_native.c: New file.
9917
9918 2012-07-26 Joseph Myers <joseph@codesourcery.com>
9919
9920 [BZ #13629]
9921 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9922 if larger part has absolute value 1.0.
9923 * math/s_clog10.c (__clog10): Likewise.
9924 * math/s_clog10f.c (__clog10f): Likewise.
9925 * math/s_clog10l.c (__clog10l): Likewise.
9926 * math/s_clogf.c (__clogf): Likewise.
9927 * math/s_clogl.c (__clogl): Likewise.
9928 * math/libm-test.inc (clog_test): Add more tests.
9929 (clog10_test): Likewise.
9930 * sysdeps/i386/fpu/libm-test-ulps: Update.
9931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9932
9933 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9934 (pltexit): Likewise.
9935 (La_regs): Likewise.
9936 (La_retval): Likewise.
9937 (int_retval): Likewise.
9938 Update #error for removed macros to refer only to definitions in
9939 tst-audit.h.
9940 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9941 macro.
9942 (pltexit): Likewise.
9943 (La_regs): Likewise.
9944 (La_retval): Likewise.
9945 (int_retval): Likewise.
9946 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9947 macro.
9948 (pltexit): Likewise.
9949 (La_regs): Likewise.
9950 (La_retval): Likewise.
9951 (int_retval): Likewise.
9952 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9953 macro.
9954 (pltexit): Likewise.
9955 (La_regs): Likewise.
9956 (La_retval): Likewise.
9957 (int_retval): Likewise.
9958 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9959 macro.
9960 (pltexit): Likewise.
9961 (La_regs): Likewise.
9962 (La_retval): Likewise.
9963 (int_retval): Likewise.
9964 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9965 macro.
9966 (pltexit): Likewise.
9967 (La_regs): Likewise.
9968 (La_retval): Likewise.
9969 (int_retval): Likewise.
9970 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9971 macro.
9972 (pltexit): Likewise.
9973 (La_regs): Likewise.
9974 (La_retval): Likewise.
9975 (int_retval): Likewise.
9976 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9977 macro definitions in tst-audit.h.
9978 * sysdeps/i386/tst-audit.h: New file.
9979 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9980 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9981 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9982 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9983 * sysdeps/sh/tst-audit.h: Likewise.
9984 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9985 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9986 * sysdeps/x86_64/tst-audit.h: Likewise.
9987
9988 2012-07-26 Andreas Jaeger <aj@suse.de>
9989
9990 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9991 ptrace.
9992
9993 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9994 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9995 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9996 PTRACE_O_MASK.
9997 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9998 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9999 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10000
10001 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10002 value.
10003
10004 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10005 _sigsys.
10006 (si_call_addr, si_syscall, si_arch): Define new macro.
10007 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10008 _sigsys.
10009 (si_call_addr, si_syscall, si_arch): Define new marcro.
10010 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10011 _sigsys.
10012 (si_call_addr, si_syscall, si_arch): Define new macro.
10013 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10014 _sigsys.
10015 (si_call_addr, si_syscall, si_arch): Define new macro.
10016
10017 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10018
10019 [BZ #13717]
10020 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10021 Change to 2.4.21 where previously 2.4.1.
10022 * sysdeps/unix/sysv/linux/configure: Regenerated.
10023 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10024 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10025 Linux kernel version.
10026 (__ASSUME_STD_AUXV): Remove.
10027 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10028 kernel version.
10029 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10030 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10031 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10032 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10033 (__ASSUME_NETLINK_SUPPORT): Likewise.
10034 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10035 (__no_netlink_support): Remove conditional definition.
10036 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10037 Remove.
10038 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10039 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10040 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10041 (if_nameindex_ioctl): Remove.
10042 (if_nameindex_netlink): Do not handle __no_netlink_support.
10043 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10044 code.
10045 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10046 Remove conditional code.
10047 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10048 code.
10049 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10050 unconditional.
10051 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10052 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10053 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10054 Remove.
10055 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10056 [!__ASSUME_STD_AUXV]: Remove conditional code.
10057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10058 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10059 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10061 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10062 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10063 code.
10064 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10066 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10067 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10068 conditional code.
10069 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10071 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10072 code.
10073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10074 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10075 conditional code.
10076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10077 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10078 code unconditional.
10079 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10080 conditional code.
10081 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10082 unconditional.
10083 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10084 conditional code.
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10086 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10087 unconditional.
10088 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10089 conditional code.
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10091 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10092 code unconditional.
10093 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10094 conditional code.
10095 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10096 unconditional.
10097 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10098 conditional code.
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10100 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10101 code unconditional.
10102 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10103 conditional code.
10104 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10105 unconditional.
10106 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10107 conditional code.
10108
10109 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10110
10111 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10112 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10113 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10114 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10115 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10116 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10117 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10118 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10119 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10120 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10121 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10122 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10123 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10124 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10125 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10126 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10127 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10128 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10129 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10131 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10132 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10133 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10134
10135 2012-07-25 Florian Weimer <fweimer@redhat.com>
10136
10137 * Versions.def: Add GLIBC_2.17.
10138 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10139 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10140 Introduce __libc_secure_getenv.
10141 * stdlib/Versions (2.17): Add secure_getenv
10142 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10143 * stdlib/secure-getenv.c: Rename __secure_getenv to
10144 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10145 symbol __secure_getenv for GLIBC_2.0.
10146 * stdlib/tst-secure-getenv.c: New.
10147 * stdlib/Makefile (tests): Add testcase.
10148 * manual/startup.texi (Environment Access): Document
10149 secure_getenv.
10150 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10151 __libc_secure_getenv.
10152 * inet/ruserpass.c (ruserpass): Likewise.
10153 * malloc/mtrace.c (mtrace): Likewise.
10154 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10155 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10156 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10157 * sysdeps/posix/tempname.c: Likewise. Evaluate
10158 HAVE_SECURE_GETENV.
10159 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10160 __secure_getenv to __libc_secure_getenv.
10161 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10163 Likewise.
10164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10165 Likewise.
10166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10168 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10173
10174 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10175
10176 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10177 (struct La_i86_retval): Likewise.
10178 (struct La_x86_64_regs): Likewise.
10179 (struct La_x86_64_retval): Likewise.
10180 (struct La_x32_regs): Likewise.
10181 (struct La_x32_retval): Likewise.
10182 (struct La_ppc32_regs): Likewise.
10183 (struct La_ppc32_retval): Likewise.
10184 (struct La_ppc64_regs): Likewise.
10185 (struct La_ppc64_retval): Likewise.
10186 (struct La_sh_regs): Likewise.
10187 (struct La_sh_retval): Likewise.
10188 (struct La_s390_32_regs): Likewise.
10189 (struct La_s390_32_retval): Likewise.
10190 (struct La_s390_64_regs): Likewise.
10191 (struct La_s390_64_retval): Likewise.
10192 (struct La_sparc32_regs): Likewise.
10193 (struct La_sparc32_retval): Likewise.
10194 (struct La_sparc64_regs): Likewise.
10195 (struct La_sparc64_retval): Likewise.
10196 (struct audit_ifaces): Remove architecture-specific pltenter and
10197 pltexit members.
10198 * sysdeps/i386/ldsodefs.h: New file.
10199 * sysdeps/powerpc/ldsodefs.h: Likewise.
10200 * sysdeps/s390/ldsodefs.h: Likewise.
10201 * sysdeps/sh/ldsodefs.h: Likewise.
10202 * sysdeps/sparc/ldsodefs.h: Likewise.
10203 * sysdeps/x86_64/ldsodefs.h: Likewise.
10204
10205 2012-07-25 Marek Polacek <polacek@redhat.com>
10206
10207 [BZ #6808]
10208 * math/libm-test.inc (yn_test): Add another test.
10209 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10210 to ERANGE when the result is +-Inf.
10211 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10212 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10213 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10214 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10215
10216 2012-07-24 Joseph Myers <joseph@codesourcery.com>
10217
10218 * conform/data/time.h-data (NULL): Use macro-constant. Require
10219 equal to 0.
10220 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10221 clock_t.
10222 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10223
10224 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10225
10226 * configure.in <sysdeps resolving>: Correct printing
10227 Implies_before.
10228 * configure: Regenerate.
10229
10230 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10231
10232 * math/w_ilogb.c: Include <limits.h>.
10233 * math/w_ilogbl.c: Likewise.
10234
10235 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10236
10237 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10238 va_copy. Document allowing for unavailable va_copy only as
10239 pre-C99 compatibility.
10240 * manual/string.texi (Copying and Concatenation): Use va_copy
10241 instead of __va_copy in concat example.
10242
10243 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10244
10245 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10246 (__sendto): Use create_address_port. Initialize APORT and deallocate
10247 it if not null.
10248
10249 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10250 with O_NOLINK passed to __file_name_lookup.
10251
10252 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10253 with O_NOLINK passed to __file_name_lookup.
10254
10255 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10256 negative N or less than NGIDS.
10257
10258 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10259 type to string_t. Set ERANGE as errno and return it if NAME is not big
10260 enough. Use memcpy instead of strncpy.
10261
10262 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10263
10264 * elf/Makefile (check-data): Remove.
10265 (localplt.data): New vpath directive.
10266 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10267 instead of $(check-data).
10268 * scripts/data/localplt-generic.data: Move to ...
10269 * sysdeps/generic/localplt.data: ... here.
10270 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10271 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10272 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10274 ... here.
10275 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10277 ... here.
10278 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10280 ... here.
10281 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10283 ... here.
10284 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10286 ... here.
10287 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10289 ... here.
10290
10291 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10292
10293 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10294 PPC32 and PPC64 files.
10295 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10296 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10297
10298 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10299
10300 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10301 __makecontext_ret to ...
10302 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10303 ... here and call exit if uc_link is NULL. New file.
10304 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10305 __makecontext_ret.S.
10306 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10307 __makecontext_ret to ...
10308 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10309 ... here and call exit if uc_link is NULL. New file.
10310 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10311 __makecontext_ret.S.
10312
10313 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10314
10315 * elf/elf.h (R_390_IRELATIVE): New definition.
10316 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10317 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10318 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10319 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10320 (elf_machine_lazy_rel): Likewise.
10321 * sysdeps/s390/dl-irel.h: New file.
10322 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10323 * sysdeps/s390/s390-64/memset.S: New asm code.
10324 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10325 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10326 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10327 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10328 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10329 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10330 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10331 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10332 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10333 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10334 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10335 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10336 * sysdeps/s390/s390-32/memset.S: New asm code.
10337 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10338
10339 2012-07-17 Marek Polacek <polacek@redhat.com>
10340
10341 [BZ #14349]
10342 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10343 * sysdeps/s390/s390-64/configure.in: Likewise.
10344 * sysdeps/sparc/configure.in: Likewise.
10345 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10346 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10347 * sysdeps/i386/configure.in: Likewise.
10348 * sysdeps/x86_64/configure.in: Likewise.
10349 * sysdeps/sh/configure.in: Likewise.
10350 * sysdeps/s390/s390-32/configure: Regenerated.
10351 * sysdeps/s390/s390-64/configure: Likewise.
10352 * sysdeps/x86_64/configure: Likewise.
10353 * sysdeps/sh/configure: Likewise.
10354 * sysdeps/powerpc/powerpc64/configure: Likewise.
10355 * sysdeps/powerpc/powerpc32/configure: Likewise.
10356 * sysdeps/sparc/configure: Likwise.
10357 * sysdeps/i386/configure: Likewise.
10358
10359 * elf/dl-open.c: Comment fixes.
10360
10361 2012-07-17 Joseph Myers <joseph@codesourcery.com>
10362
10363 * Makefile [CXX] (check-data): Remove.
10364 [CXX] (c++-types.data): New vpath directive.
10365 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10366 vpath. Do not allow for C++ type data being missing.
10367 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10368 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10369 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10370 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10371 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10372 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10373 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10375 ... here.
10376 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10378 ... here.
10379 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10381 ... here.
10382 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10384 ... here.
10385 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10387 ... here.
10388 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10390 ... here.
10391 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10393 ... here.
10394 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10396
10397 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10398 definitions to architecture-specific files.
10399 (TLS_IE): Likewise.
10400 (TLS_LD): Likewise.
10401 (TLS_GD): Likewise.
10402 * sysdeps/i386/tls-macros.h: New file.
10403 * sysdeps/powerpc/tls-macros.h: Likewise.
10404 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10405 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10406 * sysdeps/sh/tls-macros.h: Likewise.
10407 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10408 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10409 * sysdeps/x86_64/tls-macros.h: Likewise.
10410
10411 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10412
10413 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10414 zero value for regular exit case.
10415
10416 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10417 (__start_context): Preserve zero value for regular exit case.
10418
10419 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10420 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10421
10422 * manual/setjmp.texi (setcontext): Clarify normal process
10423 termination when uc_link is the null pointer.
10424 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10425 exit call.
10426
10427 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10428
10429 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10430 preprocessor. Test for each exception mask separately.
10431
10432 2012-07-16 Andreas Jaeger <aj@suse.de>
10433
10434 * po/ru.po: Update from translation team.
10435
10436 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10437
10438 * conform/data/string.h-data (NULL): Use macro-constant. Require
10439 equal to 0.
10440 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10441 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10442 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10443 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10444 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10445
10446 2012-07-13 Andreas Jaeger <aj@suse.de>
10447
10448 * po/fr.po: Update from translation team.
10449
10450 2012-07-12 Marek Polacek <polacek@redhat.com>
10451
10452 [BZ #14173]
10453 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10454 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10455 loop condition.
10456
10457 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10458
10459 [BZ #13717]
10460 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10461 Change to 2.4.1 where previously 2.4.0.
10462 * sysdeps/unix/sysv/linux/configure: Regenerated.
10463 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10464 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10465 version.
10466 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10467 (__ASSUME_AT_CLKTCK): Remove.
10468 (__ASSUME_AT_PAGESIZE): Likewise.
10469 (__ASSUME_AT_XID): Likewise.
10470 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10471 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10472 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10473 unconditionally.
10474 (HAVE_AUX_PAGESIZE): Likewise.
10475 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10476 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10477 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10478
10479 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10480
10481 [BZ #14307]
10482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10483 the temporary buffer used to invoke __gethostbyname2_r,
10484 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10485 host_data / struct gaih_addrtuple.
10486 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10487 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10488 header file nss/nsswitch.h.
10489 * nss/nsswitch.h (global scope): Add definition of implementation
10490 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10491 resolv/nss_dns/dns-host.c).
10492
10493 2012-07-11 Andreas Jaeger <aj@suse.de>
10494
10495 * po/fr.po: Update from translation team.
10496
10497 * po/sv.po: Update from translation team
10498 * po/fr.po: Another update from translation team.
10499
10500 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10501
10502 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10503 for subnormals or multiply small sinh result by itself.
10504 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10506
10507 2012-07-11 David S. Miller <davem@davemloft.net>
10508
10509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10510
10511 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10512
10513 [BZ #14347]
10514 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10515 (INTERNAL_MARK): Shift it here.
10516
10517 2012-07-10 Marek Polacek <polacek@redhat.com>
10518
10519 [BZ #14151]
10520 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10521 libc_cv_asm_global_directive with .globl.
10522 * configure: Regenerated.
10523 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10524 with .globl.
10525 * sysdeps/i386/configure: Regenerated.
10526 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10527 with .globl.
10528 * sysdeps/x86_64/configure: Regenerated.
10529 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10530 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10531 * elf/tst-unique2mod2.c: Likewise.
10532 * elf/tst-unique2mod1.c: Likewise.
10533 * elf/tst-unique1mod2.c: Likewise.
10534 * elf/tst-unique1mod1.c: Likewise.
10535 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10536 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10537 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10538 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10539 * sysdeps/mach/sysdep.h: Likewise.
10540 * sysdeps/i386/sysdep.h: Likewise.
10541 * sysdeps/i386/i386-mcount.S: Likewise.
10542 * sysdeps/x86_64/_mcount.S: Likewise.
10543 * sysdeps/x86_64/sysdep.h: Likewise.
10544 * sysdeps/sh/_mcount.S: Likewise.
10545 * sysdeps/sh/sysdep.h: Likewise.
10546 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10547 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10548 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10549 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10550 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10551 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10552 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10553 * locale/localeinfo.h: Likewise.
10554 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10555 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10556
10557 2012-07-09 Roland McGrath <roland@hack.frob.com>
10558
10559 [BZ #14336]
10560 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10561 system".
10562 * manual/message.texi (The Uniforum approach): Likewise.
10563 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10564 (glibc iconv Implementation): Likewise.
10565
10566 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10567
10568 [BZ #14337]
10569 * math/s_clog.c (__clog): Avoid scaling a value down where that
10570 could result in underflow.
10571 * math/s_clog10.c (__clog10): Likewise.
10572 * math/s_clog10f.c (__clog10f): Likewise.
10573 * math/s_clog10l.c (__clog10l): Likewise.
10574 * math/s_clogf.c (__clogf): Likewise.
10575 * math/s_clogl.c (__clogl): Likewise.
10576 * math/libm-test.inc (clog_test): Add more tests.
10577 (clog10_test): Likewise.
10578 * sysdeps/i386/fpu/libm-test-ulps: Update.
10579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10580
10581 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10582
10583 [BZ #14283]
10584 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10585 by 7 not 8 to examine high bit of fractional part.
10586
10587 [BZ #14042]
10588 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10589 for call to __mcount_internal.
10590 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10591 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10592 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10593
10594 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10595
10596 [BZ #14154]
10597 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10598 approximation for values within 0x1p-13f of an odd multiple of
10599 pi/4.
10600 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10601 exception. Add more tests.
10602 * sysdeps/i386/fpu/libm-test-ulps: Update.
10603
10604 [BZ #6778]
10605 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10606 inputs and return -1 for them. Do not check for +Inf in case not
10607 reachable for +Inf.
10608 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10609 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10610 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10611 and return -1 for them. Do not check for +Inf in case not
10612 reachable for +Inf.
10613 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10614 define.
10615 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10616 and return -1 for them. Do not check for +Inf in case not
10617 reachable for +Inf.
10618 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10619 spurious underflow.
10620 * sysdeps/i386/fpu/libm-test-ulps: Update.
10621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10622
10623 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10624
10625 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10626
10627 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10628
10629 [BZ #14157]
10630 [BZ #14331]
10631 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10632 could result in spurious underflow. Scale down values above
10633 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10634 * math/s_csqrtf.c (__csqrtf): Likewise.
10635 * math/s_csqrtl.c (__csqrtl): Likewise.
10636 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10637 spurious underflow.
10638 * sysdeps/i386/fpu/libm-test-ulps: Update.
10639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10640
10641 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10642
10643 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10644 xopen-msg.sed.
10645 * catgets/xopen-msg.awk: New file.
10646 * catgets/xopen-msg.sed: Removed.
10647
10648 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10649 po2text.sed.
10650 * intl/po2test.awk: New file.
10651 * intl/po2test.sed: Removed.
10652
10653 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10654
10655 [BZ #14328]
10656 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10657 or multiply small sinh result by itself.
10658 * math/s_ctanf.c (__ctanf): Likewise.
10659 * math/s_ctanh.c (__ctanh): Likewise.
10660 * math/s_ctanhf.c (__ctanhf): Likewise.
10661 * math/s_ctanhl.c (__ctanhl): Likewise.
10662 * math/s_ctanl.c (__ctanl): Likewise.
10663 * math/libm-test.inc (ctan_test_tonearest): New function.
10664 (ctan_test_towardzero): Likewise.
10665 (ctan_test_downward): Likewise.
10666 (ctan_test_upward): Likewise.
10667 (ctanh_test_tonearest): Likewise.
10668 (ctanh_test_towardzero): Likewise.
10669 (ctanh_test_downward): Likewise.
10670 (ctanh_test_upward): Likewise.
10671 (main): Call these new functions.
10672 * sysdeps/i386/fpu/libm-test-ulps: Update.
10673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10674
10675 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10676
10677 * .gitignore: Delete /ports entry.
10678
10679 2012-07-03 Andreas Jaeger <aj@suse.de>
10680
10681 * po/bg.po: Update from translation team.
10682 * po/cs.po: Likewise.
10683 * po/de.po: Likewise.
10684 * po/hr.po: Likewise.
10685 * po/nl.pl: Likewise.
10686 * po/pl.po: Likewise.
10687 * po/vi.po: Likewise.
10688
10689 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10690
10691 * Makeconfig [!+link] (+link-before-libc): New variable.
10692 [!+link] (+link-after-libc): Likewise.
10693 [!+link] (+link-tests): Likewise.
10694 [!+link] (+link): Define in terms of $(+link-before-libc) and
10695 $(+link-after-libc).
10696 [!+link-static] (+link-static-before-libc): New variable.
10697 [!+link-static] (+link-static-after-libc): Likewise.
10698 [!+link-static] (+link-static-tests): Likewise.
10699 [!+link-static] (+link-static): Define in terms of
10700 $(+link-static-before-libc) and $(+link-static-after-libc).
10701 [build-shared] (link-libc-before-gnulib): New variable.
10702 [build-shared] (link-libc-tests): Likewise.
10703 [build-shared] (link-libc): Define in terms of
10704 $(link-libc-before-gnulib).
10705 [!build-shared] (link-libc-tests): New variable.
10706 (link-libc-static-tests): New variable.
10707 [!gnulib] (gnulib-arch): New variable.
10708 [!gnulib] (gnulib-tests): Likewise.
10709 [!gnulib] (static-gnulib-arch): Likewise.
10710 [!gnulib] (static-gnulib-tests): Likewise.
10711 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10712 Define with "=" instead of ":=".
10713 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10714 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10715 * Rules (binaries-all-notests): New variable.
10716 (binaries-all-tests): Likewise.
10717 (binaries-static-notests): Likewise.
10718 (binaries-static-tests): Likewise.
10719 (binaries-all): Define using $(binaries-all-notests) and
10720 $(binaries-all-tests).
10721 (binaries-static): Define using $(binaries-static-notests) and
10722 $(binaries-static-tests).
10723 (binaries-shared-tests): New variable.
10724 (binaries-shared-notests): Likewise.
10725 (binaries-shared): Remove variable.
10726 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10727 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10728 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10729 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10730 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10731 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10732 * elf/Makefile (sln-modules): New variable.
10733 (extra-objs): Add $(sln-modules:=.o).
10734 (ldconfig-modules): Add static-stubs.
10735 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10736 * elf/static-stubs.c: New file.
10737
10738 [BZ #14283]
10739 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10740 by 7 not 8 to examine high bit of fractional part. Use volatile
10741 variables when splitting into final array of floats if
10742 __FLT_EVAL_METHOD__ != 0.
10743 * math/libm-test.inc (cos_test): Add another test.
10744 (sin_test): Likewise.
10745 * sysdeps/i386/fpu/libm-test-ulps: Update.
10746
10747 [BZ #14273]
10748 * math/libm-test.inc (cosh_test): Add more tests.
10749
10750 * version.h (RELEASE): Set to "development".
10751 (VERSION): Set to "2.16.90".
10752
10753 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10754
10755 * NEWS: Update copyright. Remove last-updated date.
10756 Mention math library bug fixes and timezone data changes.
10757 * README: Mention GNU/Hurd, x32, and HPPA support status.
10758
10759 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10760
10761 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10762
10763 2012-06-27 Andreas Jaeger <aj@suse.de>
10764
10765 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10766
10767 2012-06-25 Andreas Jaeger <aj@suse.de>
10768
10769 * sysdeps/s390/fpu/libm-test-ulps: Update.
10770
10771 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10772 Thomas Schwinge <thomas@codesourcery.com>
10773
10774 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10775 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10776 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10777 fanotify_mark.
10778
10779 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10780
10781 * sysdeps/mach/start.c: Remove file.
10782 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10783 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10784 * sysdeps/sh/init-first.c: Likewise.
10785
10786 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10787 registers for frame unwinding purposes, add CFI directives.
10788 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10789 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10790 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10791 Likewise.
10792
10793 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10794 __fortify_fail returning.
10795 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10796
10797 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10798 sysdeps/sh/____longjmp_chk.S.
10799 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10800 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10801 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10802 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10803
10804 * sysdeps/sh/abort-instr.h: New file.
10805 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10806 process in case exit returns.
10807
10808 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10809 initialize the GOT register before use.
10810
10811 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10812 calculation of ARGC > 4.
10813
10814 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10815 meaningful names to some local labels.
10816
10817 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10818 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10819
10820 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10821 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10822 (__arch_compare_and_exchange_val_16_acq): Likewise.
10823 (__arch_compare_and_exchange_val_32_acq): Likewise.
10824 (atomic_exchange_and_add): Fix gUSA sequence.
10825 (atomic_add): Likewise.
10826 (atomic_add_negative): Likewise.
10827 (atomic_add_zero): Likewise.
10828 (atomic_bit_test_set): Likewise.
10829
10830 2012-06-22 Andreas Schwab <schwab@redhat.com>
10831
10832 [BZ #13579]
10833 * include/link.h (struct link_map): Add l_free_initfini.
10834 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10835 l_initfini.
10836 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10837 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10838 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10839 set.
10840
10841 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10842
10843 * configure.in: Use AC_LANG_SOURCE.
10844 * configure: Regenerate.
10845
10846 2012-06-22 Roland McGrath <roland@hack.frob.com>
10847
10848 * configure.in (libc_cv_localstatedir): New substituted variable.
10849 * configure: Regenerated.
10850 * config.make.in (localstatedir): New variable, substituted from
10851 libc_cv_localstatedir.
10852 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10853 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10854 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10855 * sysdeps/gnu/configure: Regenerated.
10856
10857 2012-06-21 Jeff Law <law@redhat.com>
10858
10859 [BZ #14277]
10860 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10861 free. Simplify list management for _LIBC case.
10862
10863 2012-06-21 Joseph Myers <joseph@codesourcery.com>
10864
10865 [BZ #14273]
10866 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10867 Clear sign bit of 64-bit integer value before comparing against
10868 overflow value.
10869
10870 * sysdeps/mach/configure: Regenerated.
10871
10872 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10873
10874 [BZ #14278]
10875 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10876
10877 2012-06-21 Jeff Law <law@redhat.com>
10878
10879 [BZ #13882]
10880 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10881 uint16_t for elements in the "seen" array to avoid char overflows.
10882 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10883 * elf/dl-open.c (dl_open_worker): Likewise.
10884
10885 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10886
10887 * scripts/list-sources.sh: Scan PORTS for translations.
10888 * po/libc.pot: Regenerated.
10889
10890 2012-06-21 Andreas Jaeger <aj@suse.de>
10891
10892 [BZ #12194]
10893 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10894 warning.
10895 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10896 * bits/byteswap-16.h (__bswap_16): Likewise.
10897 * bits/byteswap.h (__bswap_constant_16): Likewise.
10898
10899 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10900
10901 [BZ #14117]
10902 * sysdeps/i386/fpu_control.h: Removed.
10903 * sysdeps/x86_64/fpu_control.h: Moved to ...
10904 * sysdeps/x86/fpu_control.h: Here.
10905
10906 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10907 (_FPU_SETCW): Likewise.
10908
10909 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10910
10911 [BZ #14117]
10912 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10913 * sysdeps/x86/fpu/bits/mathinline.h: This.
10914 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10915
10916 [BZ #14050]
10917 [BZ #14117]
10918 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10919 functions if __x86_64__ is defined.
10920
10921 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10922
10923 * string/endian.h: Add !__ASSEMBLER__ condition for including
10924 conversion interfaces.
10925
10926 2012-06-15 Joseph Myers <joseph@codesourcery.com>
10927
10928 [BZ #14241]
10929 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10930 of ABS(x) in calculating zero to negative powers other than odd
10931 integers.
10932 * math/libm-test.inc (pow_test): Add more tests.
10933
10934 2012-06-15 Andreas Jaeger <aj@suse.de>
10935
10936 * manual/contrib.texi (Contributors): Update entry of Liubov
10937 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10938 Machado Filho.
10939
10940 2012-06-15 Cyril Hrubis <metan@ucw.cz>
10941
10942 * string/string.h: Add __wur to GNU version of strerror_r.
10943
10944 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10945
10946 [BZ #14229]
10947 * string/Makefile (tests): Add tst-strtok_r.
10948 * string/tst-strtok_r.c: New file.
10949 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10950 RAX_LP/RDX_LP on SAVE_PTR.
10951
10952 2012-06-14 Roland McGrath <roland@hack.frob.com>
10953
10954 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10955
10956 2012-06-14 Joseph Myers <joseph@codesourcery.com>
10957
10958 * libm_test.inc (csqrt_test): Allow more spurious underflow
10959 exceptions.
10960 (j0_test): Likewise.
10961 (j1_test): Likewise.
10962 (y0_test): Likewise.
10963 (y1_test): Likewise.
10964
10965 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10966
10967 * po/Makefile (libc.pot): Use UTF-8 charset.
10968
10969 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10970
10971 [BZ #14210]
10972 Suppress sign-conversion warning from FD_SET.
10973 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10974 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10975 not unsigned long int.
10976 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10977
10978 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10979
10980 [BZ #14050]
10981 [BZ #14117]
10982 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10983 __extern_always_inline instead of __extern_inline.
10984 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10985 (__signbit): Likewise.
10986 (__signbitl): Support C++ namespace.
10987 (lrintf): New inline function.
10988 (lrint): Likewise.
10989 (llrintf): Likewise.
10990 (llrint): Likewise.
10991 (fmaxf): Likewise.
10992 (fmax): Likewise.
10993 (fminf): Likewise.
10994 (fmin): Likewise.
10995 (rint): Likewise.
10996 (rintf): Likewise.
10997 (ceil): Likewise.
10998 (ceilf): Likewise.
10999 (floor): Likewise.
11000 (floorf): Likewise.
11001 (nearbyint): Likewise.
11002 (nearbyintf): Likewise.
11003
11004 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11005
11006 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11007 non-default versions.
11008
11009 2012-06-11 Roland McGrath <roland@hack.frob.com>
11010
11011 [BZ #14218]
11012 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11013
11014 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11015
11016 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11017 (FE_UPWARD, FE_DOWNWARD): Don't define.
11018 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11019 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11020
11021 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11022 reading it.
11023 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11024 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11025
11026 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11027
11028 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11029 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11030 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11031 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11032
11033 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11034
11035 [BZ #14117]
11036 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11037 * sysdeps/i386/fpu/Implies: New file.
11038 * sysdeps/x86_64/fpu/Implies: Likewise.
11039 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11040 * sysdeps/x86/fpu/bits/fenv.h: This.
11041
11042 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11043 __SSE_MATH__.
11044
11045 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11046
11047 [BZ #14134]
11048 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11049 character 0xffff that matches the last element of the
11050 conversion table.
11051
11052 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11053
11054 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11055 fmodl commit.
11056
11057 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11058
11059 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11060 values higher than 25.6283.
11061
11062 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11063
11064 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11065 subnormal exponent extraction and add some __builtin_expect.
11066 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11067 Fix for subnormal mantissa calculation.
11068
11069 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11070
11071 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11072 cpu2 is -1 and errno is not ENOSYS.
11073
11074 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11075
11076 [BZ #14117]
11077 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11078 * sysdeps/x86/bits/string.h: This.
11079 * sysdeps/x86_64/bits/string.h: Removed.
11080
11081 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11082 if not compiling for x86-64, but compiling for >= i486.
11083
11084 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11085 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11086
11087 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11088 New macro from Linux kernel 3.4.0.
11089 (FP_XSTATE_MAGIC2): Likewise.
11090 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11091 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11092 (struct _fpx_sw_bytes): New struct.
11093 (struct _xsave_hdr): Likewise.
11094 (struct _ymmh_state): Likewise.
11095 (struct _xstate): Likewise.
11096
11097 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11098 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11099 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11100 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11101 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11102 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11103
11104 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11105 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11106 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11107 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11108 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11109 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11110
11111 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11112
11113 [BZ #13743]
11114 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11115 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11116 (sysdep_headers): Include sys/platform/ppc.h.
11117 * sysdeps/powerpc/test-gettimebase.c: Test for
11118 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11119 * manual/Makefile (appendices): Include platform.texi.
11120 * manual/contrib.texi (Contributors): Update @node pointers.
11121 * manual/maint.texi (Maintenance): Likewise.
11122 (Platform): New node.
11123 * manual/platform.texi: New file. Document the new features.
11124
11125 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11126 Jakub Jelinek <jakub@redhat.com>
11127
11128 [BZ #14188]
11129 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11130 where __builtin_expect is unavailable.
11131
11132 2012-06-03 David S. Miller <davem@davemloft.net>
11133
11134 * stdlib/longlong.h: Updated from GCC.
11135
11136 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11137
11138 [BZ #14042]
11139 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11140 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11141 __mcount_internal.
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11143 (GLIBC_2.16): Likewise.
11144
11145 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11146
11147 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11148
11149 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11150
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11152 (default-abi): New variable.
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11154 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11155 variable.
11156 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11157 Likewise.
11158 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11159 Likewise.
11160 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11161 Likewise.
11162
11163 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11164 definition. Document in comment.
11165
11166 2012-06-01 David S. Miller <davem@davemloft.net>
11167
11168 * stdlib/longlong.h: Updated from GCC.
11169
11170 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11171
11172 [BZ #14117]
11173 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11174 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11175 sys/debugreg.h sys/io.h here.
11176 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11177 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11178 sys/io.h.
11179 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11180 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11181 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11182 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11183 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11184 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11185
11186 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11187 Define only if __x86_64__ is defined.
11188
11189 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11190
11191 [BZ #14048]
11192 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11193 Use int64_t for variable i.
11194 * math/libm-test.inc (fmod_test): Add more tests.
11195
11196 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11197 z computation is not scheduled after fetestexcept.
11198 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11199 Use math_force_eval instead of asm to ensure calculation scheduled
11200 before exception test.
11201 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11202 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11203
11204 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11205
11206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11207 computation is not scheduled after fetestexcept.
11208
11209 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11210
11211 [BZ #14117]
11212 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11213 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11214
11215 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11216
11217 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11218 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11219
11220 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11221
11222 [BZ #14117]
11223 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11224 <bits/wordsize.h>.
11225 (__WCHAR_MIN): Support __WORDSIZE == 64.
11226 (__WCHAR_MAX): Likewise.
11227
11228 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11229 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11230
11231 [BZ #14183]
11232 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11233 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11234
11235 [BZ #14117]
11236 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11237 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11238
11239 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11240 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11241
11242 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11243 Defined to 1 if __x86_64__ isn't defined.
11244 (_STAT_VER_LINUX_OLD): New.
11245 (st_atime): Remove duplicate.
11246 (st_mtime): Likewise.
11247 (st_ctime): Likewise.
11248
11249 2012-05-31 David S. Miller <davem@davemloft.net>
11250
11251 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11252 entries.
11253
11254 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11255
11256 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11257 gen-libm-test.pl.
11258
11259 [BZ #14132]
11260 * elf/dl-reloc.c: Include <_itoa.h>.
11261 (_dl_reloc_bad_type): Remove use of INTUSE.
11262 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11263 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11264 * stdio-common/psiginfo.c (psiginfo): Likewise.
11265 * stdio-common/psignal.c (psignal): Likewise.
11266 * string/strsignal.c (strsignal): Likewise.
11267 * include/signal.h (_sys_siglist): Declare hidden proto.
11268 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11269 INTVARDEF with libc_hidden_data_def.
11270 * stdio-common/itoa-udigits.c: Likewise.
11271 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11272 (_itoa_lower_digits_internal): Remove declaration.
11273 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11274 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11275 (_sys_sigabbrev_internal): Remove aliases.
11276 (_sys_siglist): Define hidden alias.
11277
11278 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11279
11280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11281 bits/sysctl.h.
11282
11283 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11284
11285 [BZ #14117]
11286 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11287 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11288
11289 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11290 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11291 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11292 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11293 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11294 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11295
11296 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11297 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11298 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11299
11300 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11301 with __addr.
11302 (insw): Likewise.
11303 (insl): Likewise.
11304 (outsb): Likewise.
11305 (outsw): Likewise.
11306 (outsl): Likewise.
11307
11308 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11309 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11310 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11311
11312 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11313 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11314 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11315 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11316 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11317 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11318
11319 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11320 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11321
11322 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11323 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11324
11325 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11326 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11327 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11328
11329 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11330 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11331 to ...
11332 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11333
11334 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11335 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11336 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11337
11338 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11339 for x86-64.
11340 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11341
11342 2012-05-31 Joseph Myers <joseph@codesourcery.com>
11343
11344 * math/math.h (M_El): Use two more decimal places.
11345 (M_LOG2El): Likewise.
11346 (M_LOG10El): Likewise.
11347 (M_LN2l): Likewise.
11348 (M_LN10l): Likewise.
11349 (M_PIl): Likewise.
11350 (M_PI_2l): Likewise.
11351 (M_PI_4l): Likewise.
11352 (M_1_PIl): Likewise.
11353 (M_2_PIl): Likewise.
11354 (M_2_SQRTPIl): Likewise.
11355 (M_SQRT2l): Likewise.
11356 (M_SQRT1_2l): Likewise.
11357
11358 2012-05-31 David S. Miller <davem@davemloft.net>
11359
11360 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11361 values between float registers.
11362 * sysdeps/sparc/sparc64/memset.S: Likewise.
11363 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11364
11365 2012-05-31 Mike Frysinger <vapier@gentoo.org>
11366
11367 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11368 -D_FORTIFY_SOURCE=1.
11369 (CPPFLAGS-tst-longjmp_chk.c): Define.
11370 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11371 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11372 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11373 CFLAGS-tst-wchar-h.c.
11374
11375 2012-05-31 Marek Polacek <polacek@redhat.com>
11376
11377 [BZ #14132]
11378 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11379 __endmntent_internal): Remove declaration.
11380 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11381 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11382 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11383
11384 2012-05-30 David S. Miller <davem@davemloft.net>
11385
11386 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11387 (___Q_simulate_exceptions): Use real FP ops rather than writing
11388 into the %fsr.
11389 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11390 Likewise.
11391
11392 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11393
11394 [BZ #14117]
11395 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11396 * sysdeps/x86/bits/xtitypes.h: This.
11397
11398 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11399 * sysdeps/x86/bits/wordsize.h: This.
11400
11401 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11402 * sysdeps/x86/bits/huge_vall.h: This.
11403
11404 * sysdeps/i386/bits/select.h: Removed.
11405 * sysdeps/x86_64/bits/select.h: Renamed to ...
11406 * sysdeps/x86/bits/select.h: This.
11407
11408 * sysdeps/i386/bits/setjmp.h: Removed.
11409 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11410 * sysdeps/x86/bits/setjmp.h: This.
11411
11412 * sysdeps/i386/bits/mathdef.h: Removed.
11413 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11414 * sysdeps/x86/bits/mathdef.h: This.
11415
11416 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11417
11418 [BZ #14132]
11419 * include/sys/socket.h (__connect_internal)
11420 (__libc_sa_len_internal): Remove declaration.
11421 (__connect, __libc_sa_len): Declare hidden_proto.
11422 (SA_LEN): Remove use of INTUSE.
11423 * socket/connect.c: Add libc_hidden_def.
11424 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11425 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11426 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11427 alias.
11428 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11429 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11430 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11431 of adding _internal alias.
11432
11433 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11434
11435 [BZ #14117]
11436 * sysdeps/i386/bits/link.h: Removed.
11437 * sysdeps/i386/bits/linkmap.h: Likewise.
11438 * sysdeps/x86_64/bits/link.h: Renamed to ...
11439 * sysdeps/x86/bits/link.h: This.
11440 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11441 * sysdeps/x86/bits/linkmap.h: This.
11442
11443 * sysdeps/i386/bits/endian.h: Removed.
11444 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11445 * sysdeps/x86/bits/endian.h: This.
11446
11447 * sysdeps/i386/bits/byteswap.h: Removed.
11448 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11449 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11450 * sysdeps/x86/bits/byteswap.h: This.
11451 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11452 * sysdeps/x86/bits/byteswap-16.h: This.
11453 * sysdeps/i386/Implies: Add x86.
11454 * sysdeps/x86_64/Implies: Likewise.
11455
11456 2012-05-30 David S. Miller <davem@davemloft.net>
11457
11458 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11459 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11460 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11461 (FP_TRAPPING_EXCEPTIONS): Define.
11462 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11463 (FP_TRAPPING_EXCEPTIONS): Define.
11464 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11465 subnormals only when inexact has been signalled or underflow
11466 exceptions are enabled.
11467 (_FP_PACK_CANONICAL): Likewise.
11468
11469 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11470
11471 [BZ #14183]
11472 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11473 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11474
11475 2012-05-30 Richard Henderson <rth@twiddle.net>
11476
11477 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11478 with #ifndef NOT_IN_libc.
11479
11480 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11481 marked to avoid plt entry.
11482
11483 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11484
11485 [BZ #14112]
11486 * Makeconfig (default-abi): New macro.
11487 (abi-includes): Likewise.
11488 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11489 $(abi-$(default-abi)-lib-soname) for soname if defined.
11490 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11491 abi-variants.
11492 * Makefile (installed-stubs): Likewise.
11493 * include/stubs-biarch.h: Removed.
11494 * scripts/lib-names.awk: Only handle one library at a time.
11495 * scripts/soversions.awk: Remove WORDSIZE support.
11496 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11497 entries.
11498 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11499 Removed.
11500 (syscall-list-default-condition): Likewise.
11501 (syscall-list-default-condition): Likewise.
11502 (syscall-list-includes): Likewise.
11503 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11504 syscall-list-* with abi-*. Handle undefined abi-variants.
11505 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11506 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11507 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11508 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11509 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11510 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11511 Removed.
11512 (syscall-list-32-options): Likewise.
11513 (syscall-list-32-condition): Likewise.
11514 (syscall-list-64-options): Likewise.
11515 (syscall-list-64-condition): Likewise.
11516 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11517 macro.
11518 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11519 Renamed to ...
11520 (abi-*): This.
11521 (abi-64-ld-soname): New macro.
11522 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11523 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11524 Renamed to ...
11525 (abi-*): This.
11526 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11527 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11528
11529 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11530
11531 * sysdeps/unix/sysv/linux/kernel-features.h
11532 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11533 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11534 include <kernel-features.h>.
11535 [!__NR_ftruncate64]: Remove conditional code.
11536 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11537 [__NR_ftruncate64]: Make code unconditional.
11538 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11539 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11540 include <kernel-features.h>.
11541 [!__NR_ftruncate64]: Remove conditional code.
11542 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11543 [__NR_ftruncate64]: Make code unconditional.
11544 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11546 include <kernel-features.h>.
11547 [!__NR_ftruncate64]: Remove conditional code.
11548 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11549 [__NR_ftruncate64]: Make code unconditional.
11550 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11552 include <kernel-features.h>.
11553 [!__NR_ftruncate64]: Remove conditional code.
11554 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11555 [__NR_ftruncate64]: Make code unconditional.
11556 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11557
11558 * configure.in (libc_cv_fpie): Weaken to a compile test using
11559 LIBC_TRY_CC_OPTION.
11560 * configure: Regenerated.
11561
11562 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11563
11564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11568 Refreshed.
11569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11575 Refreshed.
11576
11577 2012-05-27 David S. Miller <davem@davemloft.net>
11578
11579 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11580 (___Q_zero): New.
11581 (__Q_simulate_exceptions): Return void. Change to simulate
11582 exceptions by writing into the %fsr.
11583 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11584 (__Qp_handle_exceptions): Likewise.
11585 (numbers): Delete.
11586 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11587 __Qp_handle_exceptions.
11588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11589 __Qp_handle_exceptions.
11590 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11591 as unused and give dummy FP_RND_NEAREST initializer.
11592 (FP_INHIBIT_RESULTS): Define.
11593 (___Q_simulate_exceptions): Update declaration.
11594 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11595 formatting.
11596 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11597 as unused and give dummy FP_RND_NEAREST initializer.
11598 (__Qp_handle_exceptions): Update declaration.
11599 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11600 formatting.
11601
11602 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11603
11604 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11605 the temporary FPU control word.
11606 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11607 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11608 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11609 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11610 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11611 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11612 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11613 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11614 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11615 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11616 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11617
11618 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11619
11620 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11621 fields.
11622
11623 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11624
11625 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11626 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11627 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11628 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11629 Likewise.
11630 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11631 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11632 Likewise.
11633
11634 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11635
11636 * po/h.po: Update from translation team.
11637
11638 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11639
11640 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11641
11642 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11643 handling of denormals.
11644 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11645 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11646 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11647 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11648 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11650 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11651 Likewise.
11652
11653 2012-05-26 Marek Polacek <polacek@redhat.com>
11654
11655 [BZ #14152]
11656 * math/libm-test.inc (fma_test): Don't always expect underflow
11657 exception.
11658
11659 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11660
11661 [BZ #12416]
11662 * elf/tst-execstack.c: Include stackinfo.h.
11663 (do_test): Adjust test case to ensure that pthread_getattr_np
11664 behaviour remains the same after marking stack executable.
11665
11666 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11667
11668 * sysdeps/unix/sysv/linux/kernel-features.h
11669 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11670 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11671 kernel-features.h.
11672 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11673 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11674 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11675 kernel-features.h.
11676 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11677 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11678
11679 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11680
11681 * configure.in: Define the default includes to being none.
11682 * configure: Regenerated.
11683
11684 2012-05-25 Roland McGrath <roland@hack.frob.com>
11685
11686 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11687 * sysdeps/x86_64/setjmp.S: Likewise.
11688 * sysdeps/i386/bsd-setjmp.S: Likewise.
11689 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11690 * sysdeps/i386/setjmp.S: Likewise.
11691 * sysdeps/i386/__longjmp.S: Likewise.
11692 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11693 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11694
11695 * include/stap-probe.h: New file.
11696 * configure.in: Handle --enable-systemtap.
11697 * configure: Regenerated.
11698 * config.h.in (USE_STAP_PROBE): New #undef.
11699 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11700 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11701 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11702
11703 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11704
11705 [BZ #13717]
11706 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11707 to 2.4.0 where earlier.
11708 * sysdeps/unix/sysv/linux/configure: Regenerated.
11709 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11710 <kernel-features.h>.
11711 [__ASSUME_32BITUIDS]: Make code unconditional.
11712 [!__ASSUME_32BITUIDS]: Remove conditional code.
11713 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11714 <kernel-features.h>.
11715 [__ASSUME_32BITUIDS]: Make code unconditional.
11716 [!__ASSUME_32BITUIDS]: Remove conditional code.
11717 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11718 [__ASSUME_32BITUIDS]: Make code unconditional.
11719 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11720 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11721 <kernel-features.h>.
11722 [__ASSUME_32BITUIDS]: Make code unconditional.
11723 [!__ASSUME_32BITUIDS]: Remove conditional code.
11724 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11725 <kernel-features.h>.
11726 [__ASSUME_32BITUIDS]: Make code unconditional.
11727 [!__ASSUME_32BITUIDS]: Remove conditional code.
11728 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11729 <kernel-features.h>.
11730 [__ASSUME_32BITUIDS]: Make code unconditional.
11731 [!__ASSUME_32BITUIDS]: Remove conditional code.
11732 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11733 <kernel-features.h>.
11734 [__ASSUME_32BITUIDS]: Make code unconditional.
11735 [!__ASSUME_32BITUIDS]: Remove conditional code.
11736 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11737 <kernel-features.h>.
11738 [__ASSUME_32BITUIDS]: Make code unconditional.
11739 [!__ASSUME_32BITUIDS]: Remove conditional code.
11740 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11741 <kernel-features.h>.
11742 [__ASSUME_32BITUIDS]: Make code unconditional.
11743 [!__ASSUME_32BITUIDS]: Remove conditional code.
11744 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11745 <kernel-features.h>.
11746 [__ASSUME_32BITUIDS]: Make code unconditional.
11747 [!__ASSUME_32BITUIDS]: Remove conditional code.
11748 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11749 <kernel-features.h>.
11750 [__ASSUME_32BITUIDS]: Make code unconditional.
11751 [!__ASSUME_32BITUIDS]: Remove conditional code.
11752 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11753 <kernel-features.h>.
11754 [__ASSUME_32BITUIDS]: Make code unconditional.
11755 [!__ASSUME_32BITUIDS]: Remove conditional code.
11756 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11757 <kernel-features.h>.
11758 [__ASSUME_32BITUIDS]: Make code unconditional.
11759 [!__ASSUME_32BITUIDS]: Remove conditional code.
11760 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11761 <kernel-features.h>.
11762 [__NR_setresgid] (__setresgid): Do not declare.
11763 [__ASSUME_32BITUIDS]: Make code unconditional.
11764 [!__ASSUME_32BITUIDS]: Remove conditional code.
11765 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11766 <kernel-features.h>.
11767 [__NR_setresuid] (__setresuid): Do not declare.
11768 [__ASSUME_32BITUIDS]: Make code unconditional.
11769 [!__ASSUME_32BITUIDS]: Remove conditional code.
11770 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11771 <kernel-features.h>.
11772 [__ASSUME_32BITUIDS]: Make code unconditional.
11773 [!__ASSUME_32BITUIDS]: Remove conditional code.
11774 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11775 <kernel-features.h>.
11776 [__ASSUME_32BITUIDS]: Make code unconditional.
11777 [!__ASSUME_32BITUIDS]: Remove conditional code.
11778 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11779 <kernel-features.h>.
11780 [__ASSUME_32BITUIDS]: Make code unconditional.
11781 [!__ASSUME_32BITUIDS]: Remove conditional code.
11782 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11783 <kernel-features.h>.
11784 [__ASSUME_32BITUIDS]: Make code unconditional.
11785 [!__ASSUME_32BITUIDS]: Remove conditional code.
11786 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11787 <kernel-features.h>.
11788 [__ASSUME_32BITUIDS]: Make code unconditional.
11789 [!__ASSUME_32BITUIDS]: Remove conditional code.
11790 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11791 <kernel-features.h>.
11792 [__ASSUME_32BITUIDS]: Make code unconditional.
11793 [!__ASSUME_32BITUIDS]: Remove conditional code.
11794 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11795 <kernel-features.h>.
11796 [__ASSUME_32BITUIDS]: Make code unconditional.
11797 [!__ASSUME_32BITUIDS]: Remove conditional code.
11798 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11799 <kernel-features.h>.
11800 [__ASSUME_32BITUIDS]: Make code unconditional.
11801 [!__ASSUME_32BITUIDS]: Remove conditional code.
11802 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11803 <kernel-features.h>.
11804 [__ASSUME_32BITUIDS]: Make code unconditional.
11805 [!__ASSUME_32BITUIDS]: Remove conditional code.
11806 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11807 <kernel-features.h>.
11808 [__ASSUME_32BITUIDS]: Make code unconditional.
11809 [!__ASSUME_32BITUIDS]: Remove conditional code.
11810 * sysdeps/unix/sysv/linux/kernel-features.h
11811 (__ASSUME_SETRESUID_SYSCALL): Remove.
11812 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11813 (__ASSUME_32BITUIDS): Likewise.
11814 (__ASSUME_LDT_WORKS): Likewise.
11815 (__ASSUME_O_DIRECTORY): Likewise.
11816 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11817 architecture but not kernel version.
11818 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11819 (__ASSUME_MMAP2_SYSCALL): Likewise.
11820 (__ASSUME_STAT64_SYSCALL): Likewise.
11821 (__ASSUME_IPC64): Likewise.
11822 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11823 <kernel-features.h>.
11824 [__ASSUME_32BITUIDS]: Make code unconditional.
11825 [!__ASSUME_32BITUIDS]: Remove conditional code.
11826 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11827 <kernel-features.h>.
11828 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11829 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11830 132096]: Remove conditional code.
11831 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11832 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11833 <kernel-features.h>.
11834 [__ASSUME_32BITUIDS]: Make code unconditional.
11835 [!__ASSUME_32BITUIDS]: Remove conditional code.
11836 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11837 <kernel-features.h>.
11838 [__ASSUME_32BITUIDS]: Make code unconditional.
11839 [!__ASSUME_32BITUIDS]: Remove conditional code.
11840 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11841 <kernel-features.h>.
11842 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11843 unconditional.
11844 (__setresgid): Do not declare.
11845 [__ASSUME_32BITUIDS]: Make code unconditional.
11846 [!__ASSUME_32BITUIDS]: Remove conditional code.
11847 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11848 <kernel-features.h>.
11849 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11850 unconditional.
11851 (__setresuid): Do not declare.
11852 [__ASSUME_32BITUIDS]: Make code unconditional.
11853 [!__ASSUME_32BITUIDS]: Remove conditional code.
11854 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11855 <kernel-features.h>.
11856 [__ASSUME_32BITUIDS]: Make code unconditional.
11857 [!__ASSUME_32BITUIDS]: Remove conditional code.
11858 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11859 <kernel-features.h>.
11860 [__ASSUME_32BITUIDS]: Make code unconditional.
11861 [!__ASSUME_32BITUIDS]: Remove conditional code.
11862
11863 2012-05-25 Richard Henderson <rth@twiddle.net>
11864
11865 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11866 dl_hwcap to ifunc resolver.
11867 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11868 elf_ifunc_invoke.
11869 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11870 dl_hwcap to ifunc resolver.
11871 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11872
11873 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11874
11875 [BZ #14153]
11876 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11877 for |x| <= 2**-26, not 2**-57.
11878 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11879 exception.
11880
11881 2012-05-24 Jeff Law <law@redhat.com>
11882
11883 * stdio-common/Makefile (tests): Add bug25.
11884 * stdio-common/bug25.c: New test.
11885
11886 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11887
11888 [BZ #13576]
11889 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11890 multiple of MALLOC_ALIGNMENT in size.
11891 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11892
11893 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11894
11895 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11896 Require >= 256.
11897 (FILENAME_MAX): Use macro-int-constant.
11898 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11899 (_IOFBF): Use macro-int-constant.
11900 (_IOLBF): Likewise.
11901 (_IONBF): Likewise.
11902 (SEEK_CUR): Likewise.
11903 (SEEK_END): Likewise.
11904 (SEEK_SET): Likewise.
11905 (TMP_MAX): Likewise.
11906 (EOF): Use macro-int-constant. Require < 0.
11907 (NULL): Use macro-constant. Require == 0.
11908 (stdin): Require type to be FILE *.
11909 (stdout): Likewise.
11910 (stderr): Likewise.
11911 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11912 macro-int-constant.
11913 (EXIT_SUCCESS): Likewise.
11914 (NULL): Use macro-constant. Require == 0.
11915 (RAND_MAX): Use macro-int-constant.
11916 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11917 [C99-based standards] (strtof): Require function.
11918 [C99-based standards] (strtold): Likewise.
11919 [C99-based standards] (strtoll): Likewise.
11920 [C99-based standards] (strtoull): Likewise.
11921 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11922 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11923 [ISO || ISO99 || ISO11] (math.h): Likewise.
11924 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11925 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11926 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11927
11928 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11929
11930 [BZ #14132]
11931 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11932 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11933 * intl/dgettext.c (DCGETTEXT): Likewise.
11934 * intl/gettext.c (DCGETTEXT): Likewise.
11935 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11936 * posix/regex_internal.h (gettext): Likewise.
11937 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11938 Remove declaration.
11939 * include/argz.h (__argz_count_internal)
11940 (__argz_stringify_internal): Remove declaration.
11941 (__argz_count, __argz_stringify): Declare hidden proto.
11942 * intl/dcgettext.c: Remove use of INTDEF.
11943 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11944 * string/argz-stringify.c: Likewise.
11945 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11946 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11947 Declare hidden proto.
11948 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11949 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11950 Declare hidden proto.
11951 * include/stdio.h (__asprintf_internal): Don't declare.
11952 (__asprintf): Don't define as macro. Declare hidden proto.
11953 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11954 (__fsetlocking): Declare hidden proto.
11955 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11956 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11957 hidden proto.
11958 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11959 (_IO_setlinebuf): Remove use of INTUSE.
11960 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11961 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11962 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11963 Remove declaration.
11964 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11965 (_IO_do_flush): Remove use of INTUSE.
11966 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11967 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11968 (_IO_adjust_column, _IO_least_wmarker)
11969 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11970 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11971 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11972 (_IO_default_doallocate, _IO_wdefault_doallocate)
11973 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11974 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11975 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11976 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11977 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11978 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11979 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11980 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11981 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11982 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11983 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11984 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11985 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11986 proto.
11987 (_IO_flush_all_internal, _IO_adjust_column_internal)
11988 (_IO_default_uflow_internal, _IO_default_finish_internal)
11989 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11990 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11991 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11992 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11993 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11994 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11995 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11996 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11997 (_IO_file_close_internal, _IO_file_close_it_internal)
11998 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11999 (_IO_file_init_internal, _IO_file_attach_internal)
12000 (_IO_file_fopen_internal, _IO_file_read_internal)
12001 (_IO_file_sync_internal, _IO_file_seek_internal)
12002 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12003 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12004 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12005 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12006 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12007 (_IO_list_all_internal, _IO_link_in_internal)
12008 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12009 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12010 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12011 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12012 (_IO_do_write_internal, _IO_padn_internal)
12013 (_IO_getline_info_internal, _IO_getline_internal)
12014 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12015 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12016 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12017 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12018 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12019 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12020 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12021 with libc_hidden_ver, remove use of INTUSE.
12022 * libio/genops.c: Likewise.
12023 * libio/freopen.c: Likewise.
12024 * libio/freopen64.c: Likewise.
12025 * libio/iofclose.c: Likewise.
12026 * libio/iofdopen.c: Likewise.
12027 * libio/iofflush.c: Likewise.
12028 * libio/iofflush_u.c: Likewise.
12029 * libio/iofgets.c: Likewise.
12030 * libio/iofgets_u.c: Likewise.
12031 * libio/iofopen.c: Likewise.
12032 * libio/iofopncook.c: Likewise.
12033 * libio/iofread.c: Likewise.
12034 * libio/iofread_u.c: Likewise.
12035 * libio/ioftell.c: Likewise.
12036 * libio/iofwrite.c: Likewise.
12037 * libio/iogetline.c: Likewise.
12038 * libio/iogets.c: Likewise.
12039 * libio/iogetwline.c: Likewise.
12040 * libio/iopadn.c: Likewise.
12041 * libio/iopopen.c: Likewise.
12042 * libio/ioseekoff.c: Likewise.
12043 * libio/ioseekpos.c: Likewise.
12044 * libio/iosetbuffer.c: Likewise.
12045 * libio/iosetvbuf.c: Likewise.
12046 * libio/ioungetc.c: Likewise.
12047 * libio/ioungetwc.c: Likewise.
12048 * libio/iovdprintf.c: Likewise.
12049 * libio/iovsprintf.c: Likewise.
12050 * libio/iovsscanf.c: Likewise.
12051 * libio/memstream.c: Likewise.
12052 * libio/obprintf.c: Likewise.
12053 * libio/oldfileops.c: Likewise.
12054 * libio/oldiofclose.c: Likewise.
12055 * libio/oldiofdopen.c: Likewise.
12056 * libio/oldiofopen.c: Likewise.
12057 * libio/oldiopopen.c: Likewise.
12058 * libio/oldstdfiles.c: Likewise.
12059 * libio/putc.c: Likewise.
12060 * libio/setbuf.c: Likewise.
12061 * libio/setlinebuf.c: Likewise.
12062 * libio/stdfiles.c: Likewise.
12063 * libio/strops.c: Likewise.
12064 * libio/vasprintf.c: Likewise.
12065 * libio/vscanf.c: Likewise.
12066 * libio/vsnprintf.c: Likewise.
12067 * libio/vswprintf.c: Likewise.
12068 * libio/wfiledoalloc.c: Likewise.
12069 * libio/wfileops.c: Likewise.
12070 * libio/wgenops.c: Likewise.
12071 * libio/wmemstream.c: Likewise.
12072 * libio/wstrops.c: Likewise.
12073 * libio/__fpurge.c: Likewise.
12074 * libio/__fsetlocking.c: Likewise.
12075 * assert/assert.c: Likewise.
12076 * debug/fgets_chk.c: Likewise.
12077 * debug/fgets_u_chk.c: Likewise.
12078 * debug/fread_chk.c: Likewise.
12079 * debug/fread_u_chk.c: Likewise.
12080 * debug/gets_chk.c: Likewise.
12081 * debug/obprintf_chk.c: Likewise.
12082 * debug/vasprintf_chk.c: Likewise.
12083 * debug/vdprintf_chk.c: Likewise.
12084 * debug/vsnprintf_chk.c: Likewise.
12085 * debug/vsprintf_chk.c: Likewise.
12086 * malloc/mtrace.c: Likewise.
12087 * misc/error.c: Likewise.
12088 * misc/syslog.c: Likewise.
12089 * stdio-common/asprintf.c: Likewise.
12090 * stdio-common/fxprintf.c: Likewise.
12091 * stdio-common/getw.c: Likewise.
12092 * stdio-common/isoc99_fscanf.c: Likewise.
12093 * stdio-common/isoc99_scanf.c: Likewise.
12094 * stdio-common/isoc99_vfscanf.c: Likewise.
12095 * stdio-common/isoc99_vscanf.c: Likewise.
12096 * stdio-common/isoc99_vsscanf.c: Likewise.
12097 * stdio-common/printf-prs.c: Likewise.
12098 * stdio-common/printf_fp.c: Likewise.
12099 * stdio-common/printf_fphex.c: Likewise.
12100 * stdio-common/printf_size.c: Likewise.
12101 * stdio-common/putw.c: Likewise.
12102 * stdio-common/scanf.c: Likewise.
12103 * stdio-common/sprintf.c: Likewise.
12104 * stdio-common/tmpfile.c: Likewise.
12105 * stdio-common/vfprintf.c: Likewise.
12106 * stdio-common/vfscanf.c: Likewise.
12107 * stdlib/strfmon_l.c: Likewise.
12108 * sunrpc/openchild.c: Likewise.
12109 * sunrpc/xdr_stdio.c: Likewise.
12110 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12111 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12112
12113 2012-05-24 Roland McGrath <roland@hack.frob.com>
12114
12115 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12116
12117 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12118 in the third column, to generate for the shared library an IFUNC
12119 that uses _dl_vdso_vsym.
12120 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12121 * Makeconfig (object-suffixes-noshared): New variable.
12122
12123 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12124 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12125 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12126 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12127
12128 [BZ #14132]
12129 * include/sys/time.h (__gettimeofday): Remove macro.
12130 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12131 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12132 Remove INTDEF.
12133 (__gettimeofday): Add libc_hidden_def.
12134 (gettimeofday): Add libc_hidden_weak.
12135 * sysdeps/mach/gettimeofday.c: Likewise.
12136 * sysdeps/posix/gettimeofday.c: Likewise.
12137 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12138 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12140 (__gettimeofday_internal): Remove strong_alias.
12141 (__gettimeofday): Add libc_hidden_def.
12142 (gettimeofday): Add libc_hidden_weak.
12143 * sysdeps/unix/syscalls.list (gettimeofday):
12144 Remove __gettimeofday_internal alias.
12145
12146 2012-05-24 Daniel Jacobowitz <drow@false.org>
12147 H.J. Lu <hongjiu.lu@intel.com>
12148
12149 [BZ #12495]
12150 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12151 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12152 (largebin_index_32_big): New.
12153 (largebin_index): Use it for 16-byte alignment.
12154 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12155 correction with front_misalign.
12156
12157 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12158
12159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12161 Likewise.
12162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12163 Likewise.
12164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12165 Likewise.
12166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12167 Likewise.
12168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12169 Likewise.
12170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12171 Likewise.
12172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12173 Likewise.
12174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12175 Likewise.
12176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12177 Likewise.
12178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12179 Likewise.
12180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12181 Likewise.
12182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12183 Likewise.
12184
12185 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12186 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12187
12188 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12189
12190 [BZ #10846]
12191 [BZ #14036]
12192 * math/libm-test.inc (exp_test): Add test from bug 14036.
12193 (pow_test): Add test from bug 10846.
12194
12195 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12196 and other flags.
12197 (special_function): Do not include flags in test name.
12198 (parse_args): Likewise.
12199 * sysdeps/i386/fpu/libm-test-ulps: Update.
12200 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12201 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12202 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12204
12205 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12206 exceptions.
12207 * math/libm-test.inc ("Philosophy"): Update comment about
12208 exception testing.
12209 (UNDERFLOW_EXCEPTION): New macro.
12210 (UNDERFLOW_EXCEPTION_OK): Likewise.
12211 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12212 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12213 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12214 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12215 (INVALID_EXCEPTION_OK): Update value.
12216 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12217 (OVERFLOW_EXCEPTION_OK): Likewise.
12218 (IGNORE_ZERO_INF_SIGN): Likewise.
12219 (test_exceptions): Handle underflow exceptions.
12220 (acos_test): Update for underflow exception expectations.
12221 (cexp_test): Likewise.
12222 (clog_test): Likewise.
12223 (clog10_test): Likewise.
12224 (csqrt_test): Likewise.
12225 (ctan_test): Likewise.
12226 (ctanh_test): Likewise.
12227 (exp_test): Likewise.
12228 (exp10_test): Likewise.
12229 (exp2_test): Likewise.
12230 (expm1_test): Likewise.
12231 (fma_test): Likewise.
12232 (j0_test): Likewise.
12233 (jn_test): Likewise.
12234 (nexttoward_test): Likewise.
12235 (pow_test): Likewise.
12236 (scalbn_test): Likewise.
12237 (scalbln_test): Likewise.
12238 (tan_test): Likewise.
12239 (y1_test): Likewise.
12240 * sysdeps/i386/fpu/libm-test-ulps: Update.
12241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12242
12243 2012-05-23 David S. Miller <davem@davemloft.net>
12244
12245 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12246 (__libc_sigaction): Remove unused local variables.
12247
12248 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12249
12250 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12251
12252 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12253
12254 mktime: avoid signed integer overflow
12255 * time/mktime.c (__mktime_internal): Do not mishandle the case
12256 where diff == INT_MIN.
12257
12258 mktime: simplify computation of average
12259 * time/mktime.c (ranged_convert): Use new time_t_avg function
12260 instead of rolling our own (probably-slower) code.
12261
12262 mktime: do not assume signed right shift propagates sign bit
12263 * time/mktime.c (isdst_differ): New static function.
12264 (__mktime_internal): No need to normalize tm_isdst now.
12265 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12266 tm_isdst values.
12267
12268 mktime: merge another wrapv change from gnulib
12269 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12270 from some compilers.
12271
12272 mktime: remove incorrect attempt at unusual arithmetics
12273 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12274 The code didn't really work on such machines anyway.
12275 (TYPE_MINIMUM): Assume two's complement.
12276 (twos_complement_arithmetic): Verify that long_int and time_t
12277 are two's complement (or unsigned, in the latter case).
12278
12279 mktime: check signed shifts on long_int and time_t, too
12280 * time/mktime.c (SHR): Check that shifts work as desired
12281 on the types long_int and time_t too, as SHR is used on
12282 such types.
12283
12284 mktime: do not assume 'long' is wide enough
12285 * time/mktime.c (verify): Move decl up.
12286 (long_int): New type.
12287 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12288 to remove assumption in the code that 'long' is wide enough to
12289 store year values. This assumption is not true on x32 and on
12290 some non-glibc platforms.
12291
12292 mktime: merge wrapv change from gnulib
12293 * time/mktime.c (WRAPV): New macro.
12294 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12295 (guess_time_tm, __mktime_internal): Do not assume that signed
12296 integer overflow wraps around; modern compilers generate code
12297 where this assumption is no longer valid.
12298
12299 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12300
12301 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12302 Replace "jmp L(pseudo_end)" with "ret".
12303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12304 Likewise.
12305
12306 2012-05-23 Andreas Jaeger <aj@suse.de>
12307
12308 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12309 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12310
12311 2012-05-23 Andreas Jaeger <aj@suse.de>
12312 Maximilian Attems <max@stro.at>
12313
12314 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12315 New macros.
12316
12317 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12318
12319 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12320 code so that pseudo_end is just ret and the stack pointer is
12321 correct also for static library in error case.
12322
12323 2012-05-23 Joseph Myers <joseph@codesourcery.com>
12324
12325 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12326 move to syscalls.list.
12327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12331
12332 * manual/install.texi (Running make install): Do not mention Linux
12333 kernel version for which pt_chown is not needed.
12334 (Linux): Do not mention problems with nscd with 2.0 kernels.
12335 * INSTALL: Regenerated.
12336
12337 2012-05-23 Andreas Jaeger <aj@suse.de>
12338
12339 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12340 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12341 macro.
12342 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12343 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12344 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12345 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12346 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12347 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12348 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12349 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12350 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12351 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12352 * sysdeps/unix/sysv/linux/bits/in.h
12353 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12354
12355 2012-05-22 Roland McGrath <roland@hack.frob.com>
12356
12357 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12358 (PREPARE_VERSION): Just use assert instead, it will be elided
12359 under [NDEBUG] anyway.
12360
12361 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12362
12363 * sysdeps/unix/sysv/linux/Makefile: Include
12364 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12365 (sysdep_routines): Remove sysctl.
12366 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12367 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12368 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12369 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12370 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12371
12372 2012-05-22 Andreas Jaeger <aj@suse.de>
12373
12374 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12375 that pseudo_end is just ret and the stack pointer is correct also
12376 for static library in error case.
12377
12378 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12379
12380 [BZ #14122]
12381 * nss/nsswitch.c (defconfig_entries): New variable.
12382 (__nss_database_lookup): Don't leak defconfig entries.
12383 (nss_parse_service_list): Don't leak on error paths.
12384 (free_database_entries): New function.
12385 (free_defconfig): New function.
12386 (free_mem): Move common code to free_database_entries.
12387
12388 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12389
12390 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12391 Add arch_prctl.
12392 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12393
12394 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12395 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12397 New macro.
12398 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12399 (INTERNAL_SYSCALL_TYPES): Likewise.
12400 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12401 (LOAD_REGS_TYPES_[1-6]): Likewise.
12402 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12403 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12404
12405 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12406
12407 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12408 copysignl for GLIBC_2_0.
12409 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12410 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12411 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12412 logbl for GLIBC_2_0.
12413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12414 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12415
12416 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12417
12418 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12419 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12420
12421 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12422 Use "neg %eax".
12423
12424 * time/mktime.c: Update copyright years.
12425
12426 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12427
12428 mktime: merge comment-quoting-style change from gnulib
12429 * time/mktime.c: Quote 'like this' in comments.
12430 The GNU coding standards suggest that we no longer quote `like this',
12431 as "`" and "'" are typically rendered asymmetrically nowadays.
12432 The typical gnulib style is to quote 'like this' when quoting
12433 code, and "like this" when quoting English.
12434
12435 * time/mktime.c (compile-command): Add "-I.".
12436
12437 mktime: merge mktime-internal.h change from gnulib
12438 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12439
12440 mktime: merge time_r change from gnulib
12441 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12442
12443 mktime: merge DEBUG change from gnulib
12444 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12445 case system <time.h> has a #define.
12446
12447 mktime: merge <sys/types.h> change from gnulib
12448 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12449 since <time.t> is now guaranteed to define time_t.
12450
12451 mktime: merge HAVE_CONFIG_H change from gnulib
12452 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12453
12454 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12455
12456 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12457 Use "neg %eax".
12458
12459 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12460 __rlim_t cast.
12461 (struct rusage): Use anonymous union to pad each field to
12462 __syscall_slong_t.
12463
12464 2012-05-21 David S. Miller <davem@davemloft.net>
12465
12466 * Makefules (o-iterator): Remove .s cases.
12467 (compile-command.s): Delete.
12468 (COMPILE.s): Delete.
12469 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12470
12471 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12472
12473 * configure.in (libc_cv_predef_stack_protector): Only consider
12474 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12475 * configure: Regenerated.
12476
12477 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12478
12479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12480 New macro. Use R*LP on int and pointer.
12481 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12482 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12483 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12484 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12485
12486 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12487 [__WORDSIZE_TIME64_COMPAT32] instead of
12488 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12489 (struct utmp): Likewise.
12490 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12491 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12492 Renamed to ...
12493 (__WORDSIZE_TIME64_COMPAT32): This.
12494 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12495 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12496 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12497 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12498 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12499 (__WORDSIZE_TIME64_COMPAT32): New macro.
12500
12501 2012-05-21 Andreas Jaeger <aj@suse.de>
12502
12503 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12504 only if [SHARED]. Add prototype for __wcschr_ia32.
12505
12506 2012-05-21 Roland McGrath <roland@hack.frob.com>
12507
12508 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12509 of %rbp unmolested in the jmp_buf while mangling the low bits.
12510 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12511 unmolested high bits of %rbp while demangling the low bits.
12512 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12513
12514 2012-05-21 Andreas Jaeger <aj@suse.de>
12515
12516 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12517 * sunrpc/svc_simple.c: Use it for registerrpc.
12518 * sunrpc/xcrypt.c: Use it for passwd2des.
12519
12520 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12521
12522 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12523
12524 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12525 Don't define if [__SYSCALL_WORDSIZE != 32].
12526 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12527 New macro.
12528
12529 2012-05-21 Bruno Haible <bruno@clisp.org>
12530 Andreas Jaeger <aj@suse.de>
12531
12532 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12533 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12534 inptr and inend for must_buffer_ch.
12535 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12536 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12537 * stdio-common/Makefile (tests): Remove bug15.
12538 (bug15-ENV): Remove macro.
12539 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12540 anymore.
12541
12542 2012-05-19 Andreas Jaeger <aj@suse.de>
12543 Roland McGrath <roland@hack.frob.com>
12544
12545 * manual/contrib.texi: Completely rewritten. It contains now an
12546 alphabetical list of contributors and their contributions.
12547
12548 2012-05-21 Richard Henderson <rth@twiddle.net>
12549
12550 * misc/getauxval.c (__getauxval): Use unsigned long int.
12551 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12552 (getauxval): Use unsigned long int.
12553
12554 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12555
12556 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12557
12558 2012-05-21 Roland McGrath <roland@hack.frob.com>
12559
12560 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12561 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12562 __alignof__ (long double).
12563
12564 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12565
12566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12567
12568 2012-05-20 Richard Henderson <rth@twiddle.net>
12569
12570 * misc/getauxval.c: New file.
12571 * misc/sys/auxv.h: New file.
12572 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12573 (routines): Add getauxval.
12574 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12575 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12576 * elf/dl-sysdep.c (_dl_auxv): Remove.
12577 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12578 * elf/dl-support.c (_dl_auxv): New variable.
12579 (_dl_aux_init): Initialize it.
12580 * manual/startup.texi (Auxiliary Vector): New node.
12581 * sysdeps/generic/bits/hwcap.h: New file.
12582 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12583 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12584 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12585 * sysdeps/sparc/sysdep.h: ... here. Include it.
12586 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12587 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12589 Update.
12590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12593 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12598
12599 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12600
12601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12602
12603 2012-05-19 David S. Miller <davem@davemloft.net>
12604
12605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12606
12607 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12608
12609 [BZ #14123]
12610 * math/s_ccosh.c: Include <float.h>
12611 (__ccosh): Avoid internal overflow calculating sinh and cosh
12612 values before multiplying by sin and cos values.
12613 * math/s_ccoshf.c: Likewise.
12614 * math/s_ccoshl.c: Likewise.
12615 * math/s_csin.c: Likewise.
12616 * math/s_csinf.c: Likewise.
12617 * math/s_csinl.c: Likewise.
12618 * math/s_csinh.c: Likewise.
12619 * math/s_csinhf.c: Likewise.
12620 * math/s_csinhl.c: Likewise.
12621 * math/libm-test.inc (ccos_test): Add more tests.
12622 (ccosh_test): Likewise.
12623 (csin_test): Likewise.
12624 (csinh_test): Likewise.
12625 * sysdeps/i386/fpu/libm-test-ulps: Update.
12626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12627
12628 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12629
12630 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12631 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12632
12633 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12634
12635 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12636
12637 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12638 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12639 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12640 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12641 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12642 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12643 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12644 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12645 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12646 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12647 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12648 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12649 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12650 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12651 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12652 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12653 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12654 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12655 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12656 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12657 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12658 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12659 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12660 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12661 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12662 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12663 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12664 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12665 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12666 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12667 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12668
12669 2012-05-18 Andreas Jaeger <aj@suse.de>
12670
12671 * csu/.gitignore: Delete.
12672
12673 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12674
12675 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12676 (timex): Use __syscall_slong_t.
12677
12678 2012-05-18 Andreas Jaeger <aj@suse.de>
12679 Carlos O'Donell <carlos_odonell@mentor.com>
12680
12681 * manual/install.texi (Configuring and compiling): Update
12682 description about files modified in the source directory.
12683 * INSTALL: Regenerated.
12684
12685 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12686
12687 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12688 value. Use "or" to set return value to -1.
12689 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12690 negate return value.
12691
12692 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12693
12694 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12695 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12696 failure if the compiler has Graphite support disabled.
12697 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12698 Likewise.
12699 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12700 CFLAGS-memmove.c): Likewise.
12701 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12702 Likewise.
12703
12704 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12705
12706 * sysdeps/x86_64/x32/_itoa.h: New file.
12707
12708 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12709 getdents system call only if kernel and user dirents have the
12710 same d_ino and d_off.
12711
12712 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12713 LLONG_MAX != LONG_MAX.
12714 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12715 (_fitoa_word): Likewise.
12716
12717 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12718 years.
12719 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12720 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12721 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12722
12723 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12724 include <bits/wordsize.h>. Check __x86_64__ instead of
12725 __WORDSIZE.
12726 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12727 if __x86_64__ is defined. Use anonymous union on fpstate.
12728
12729 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12730 anonymous union.
12731
12732 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12733
12734 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12735 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12736 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12737 Refer to _rtld_local_ro instead of _rtld_global_ro.
12738 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12739 Likewise.
12740 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12741 Likewise.
12742 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12743 Likewise.
12744 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12745 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12746 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12747
12748 * sysdeps/powerpc/powerpc32/dl-machine.c
12749 (__elf_machine_runtime_setup) [PROF]: Don't reference
12750 _dl_prof_resolve.
12751
12752 2012-05-18 Andreas Jaeger <aj@suse.de>
12753
12754 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12755 function only available for GCCs before 3.4 since GCC 3.4
12756 introduced a builtin.
12757 (lrint): Likewise.
12758 (llrintf): Likewise.
12759 (llrint): Likewise.
12760 (fmaxf): Likewise.
12761 (fmax): Likewise.
12762 (fminf): Likewise.
12763 (fmin): Likewise.
12764 (rint): Likewise.
12765 (rintf): Likewise.
12766 (nearbyint): Likewise.
12767 (nearbyintf): Likewise.
12768 (ceil): Likewise.
12769 (ceilf): Likewise.
12770 (floor): Likewise.
12771 (floorf): Likewise.
12772
12773 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12774
12775 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12776 on both fields and cast pointer to __syscall_ulong_t.
12777
12778 * bits/types.h (__fsword_t): New type.
12779 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12780 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12782 (__FSWORD_T_TYPE): Likewise.
12783 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12784 (__FSWORD_T_TYPE): Likewise.
12785 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12786 (__FSWORD_T_TYPE): Likewise.
12787 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12788 (__FSWORD_T_TYPE): Likewise.
12789 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12790 __SWORD_TYPE with __fsword_t.
12791 (statfs64): Likewise.
12792
12793 2012-05-17 David S. Miller <davem@davemloft.net>
12794
12795 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12796
12797 2012-05-17 Andreas Jaeger <aj@suse.de>
12798
12799 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12800 warning.
12801
12802 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12803
12804 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12805
12806 2012-05-17 Andreas Jaeger <aj@suse.de>
12807
12808 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12809 when it is used.
12810
12811 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12812
12813 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12814
12815 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12816
12817 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12818 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12819
12820 2012-05-17 Andreas Jaeger <aj@suse.de>
12821 Carlos O'Donell <carlos_odonell@mentor.com>
12822
12823 [BZ #14059]
12824 * sysdeps/x86_64/multiarch/init-arch.h
12825 (bit_YMM_Usable): Rename to...
12826 (bit_AVX_Usable): ... this.
12827 (bit_FMA4_Usable): New macro.
12828 (bit_XMM_state): New macro.
12829 (bit_YMM_state): New macro.
12830 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12831 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12832 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12833 (CPUID_OSXSAVE): New macro.
12834 (CPUID_AVX): New macro.
12835 (CPUID_FMA4): New macro.
12836 (index_YMM_Usable): Rename to...
12837 (index_AVX_Usable): ... this.
12838 (HAS_AVX): Use HAS_ARCH_FEATURE.
12839 (HAS_FMA4): Likewise.
12840 (HAS_YMM_USABLE): Remove.
12841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12842 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12843 are present.
12844 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12845 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12846 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12847 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12848 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12849
12850 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12851
12852 * math/libm-test.c: Support platforms without multiple rounding modes.
12853 * math/bug-nextafter.c: Support platforms without FP exceptions.
12854 * math/bug-nexttoward.c: Likewise.
12855 * math/test-fenv.c: Likewise.
12856 * math/test-misc.c: Likewise.
12857 * stdlib/bug-getcontext.c: Likewise.
12858
12859 2012-05-17 Andreas Jaeger <aj@suse.de>
12860
12861 * manual/examples/search.c (critter_cmp): Change signature to
12862 avoid warnings.
12863 * manual/string.texi (Collation Functions): Likewise.
12864
12865 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12866
12867 * bits/types.h: Fold copyright years.
12868 * bits/typesizes.h: Likewise.
12869 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12870 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12871 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12873 * time/time.h: Likewise.
12874
12875 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12876
12877 [BZ #208]
12878 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12879 in instead of returning them. Return void.
12880 (__libc_mallinfo): Accumulate over all arenas.
12881 (__malloc_stats): Adjust for change in int_mallinfo interface.
12882
12883 2012-05-16 Roland McGrath <roland@hack.frob.com>
12884
12885 [BZ #10375]
12886 * configure.in (NM): Add AC_CHECK_TOOL for it.
12887 (libc_extra_cflags): New substituted variable.
12888 Check for -fstack-protector being used implicitly.
12889 * configure: Regenerated.
12890 * config.make.in (config-extra-cflags): New variable,
12891 gets @libc_extra_cflags@.
12892 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12893
12894 [BZ #10375]
12895 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12896 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12897 * configure: Regenerated.
12898 * config.make.in (CPPUNDEFS): New substituted variable.
12899 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12900 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12901 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12902
12903 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12904
12905 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12906 (mq_attr): Use __syscall_slong_t.
12907
12908 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12909
12910 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12911 Check __x86_64__ instead of __WORDSIZE.
12912 (_STAT_VER_LINUX): Likewise.
12913 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12914 __syscall_ulong_t and __syscall_slong_t.
12915 (stat64): Likewise.
12916
12917 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12918
12919 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12920
12921 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12922
12923 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12924
12925 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12926
12927 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12928 __syscall_ulong_t.
12929
12930 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12931 include <bits/wordsize.h>. Check __x86_64__ instead of
12932 __WORDSIZE.
12933 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12934 defined.
12935 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12936
12937 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12938 include <bits/wordsize.h>. Check __x86_64__ instead of
12939 __WORDSIZE.
12940 (user_regs_struct): Use "__extension__ unsigned long long"
12941 instead of "unsigned long" if __x86_64__ is defined.
12942 (user): Likewise. Pad after pointer field if __ILP32__ is
12943 defined.
12944
12945 2012-05-16 Joseph Myers <joseph@codesourcery.com>
12946
12947 * configure.in (makeinfo): Require version 4.5 or later. Allow
12948 versions 5 to 9.
12949 * configure: Regenerated.
12950 * manual/install.texi (texinfo): Increase version requirement to
12951 4.5 or later.
12952 * INSTALL: Regenerated.
12953
12954 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12955
12956 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12957
12958 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12959
12960 * sysdeps/x86_64/x32/ffs.c: New file.
12961
12962 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12963 __syscall_ulong_t.
12964 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12965 defined. Use __syscall_ulong_t.
12966 (shminfo): Use __syscall_ulong_t.
12967 (shm_info): Likewise.
12968
12969 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12970 __syscall_ulong_t.
12971
12972 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12973 <bits/wordsize.h>.
12974 (msgqnum_t): Use __syscall_ulong_t.
12975 (msglen_t): Likewise.
12976 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12977 __syscall_ulong_t.
12978
12979 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12980 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12981
12982 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12983
12984 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12985 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12986
12987 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12988 __syscall_slong_t.
12989
12990 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12991 include <bits/wordsize.h>. Check __x86_64__ instead of
12992 __WORDSIZE.
12993
12994 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12995 "unsigned long long int" if __x86_64__ is defined.
12996 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12997
12998 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12999 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13000 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13001
13002 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13003 <stdint.h>.
13004 (GET_PC): Cast to uintptr_t first.
13005 (GET_FRAME): Likewise.
13006 (GET_STACK): Likewise.
13007
13008 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13009 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13010 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13011 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13012 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13013 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13014 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13015 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13016 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13017 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13018 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13019 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13020 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13021 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13022 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13023 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13024 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13025 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13026 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13027 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13028 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13029 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13030 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13031 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13032 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13033 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13034 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13035 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13036 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13037
13038 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13039
13040 * Makerules (+depfiles): Also collect depfiles from .oS in
13041 $(extra-objs).
13042 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13043 .oS, $(libnldbl-routines)).
13044
13045 * Makerules (native-compile-mkdep-flags): Define.
13046 * sunrpc/Makefile (extra-objs): Add $(addprefix
13047 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13048 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13049 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13050 calling $(make-target-directory).
13051
13052 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13053
13054 * bits/types.h (__snseconds_t): Removed.
13055 * time/time.h (struct timespec): Replace __snseconds_t with
13056 __syscall_slong_t.
13057 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13058 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13059 Likewise.
13060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13061 (__SNSECONDS_T_TYPE): Likewise.
13062 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13063 (__SNSECONDS_T_TYPE): Likewise.
13064 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13065 (__SNSECONDS_T_TYPE): Likewise.
13066
13067 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13068
13069 * sysdeps/mach/hurd/bits/typesizes.h
13070 (__SYSCALL_SLONG_TYPE): New macro.
13071 (__SYSCALL_ULONG_TYPE): Likewise.
13072
13073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13074
13075 * bits/types.h (__syscall_slong_t): New type.
13076 (__syscall_ulong_t): Likewise.
13077
13078 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13079 (__SYSCALL_ULONG_TYPE): Likewise.
13080 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13081 (__SYSCALL_SLONG_TYPE): Likewise.
13082 (__SYSCALL_ULONG_TYPE): Likewise.
13083 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13084 (__SYSCALL_SLONG_TYPE): Likewise.
13085 (__SYSCALL_ULONG_TYPE): Likewise.
13086 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13087 (__SYSCALL_SLONG_TYPE): Likewise.
13088 (__SYSCALL_ULONG_TYPE): Likewise.
13089
13090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13091
13092 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13093 Add sigaltstack-offsets.sym.
13094 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13095 <sigaltstack-offsets.h>.
13096 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13097 longjmp_msg pointer.
13098 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13099 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13100 signal stack.
13101 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13102
13103 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13104
13105 * elf/stackguard-macros.h: Remove file.
13106 * sysdeps/generic/stackguard-macros.h: New file.
13107 * sysdeps/i386/stackguard-macros.h: Likewise.
13108 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13109 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13110 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13111 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13112 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13113 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13114 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13115 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13116 <elf/stackguard-macros.h>.
13117
13118 [BZ #14109]
13119 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13120 __aligned__ in attribute.
13121 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13122 (gregset_t): Likewise.
13123
13124 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13125
13126 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13127 * sysdeps/x86_64/64/Implies-after: Here. New file.
13128 * sysdeps/x86_64/x32/Implies-after: New file.
13129
13130 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13131
13132 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13133 and access return value for _dl_profile_fixup. Use R10_LP to
13134 load frame size.
13135
13136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13137
13138 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13139
13140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13141
13142 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13143 * sysdeps/x86_64/x32/sysdep.h: New file.
13144
13145 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13146
13147 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13148 * sysdeps/x86_64/setjmp.S: Likewise.
13149
13150 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13151
13152 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13153 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13154 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13155 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13156 remove unused global constant.
13157
13158 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13159
13160 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13161 include of <not-cancel.h>.
13162
13163 2012-05-15 Roland McGrath <roland@hack.frob.com>
13164
13165 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13166
13167 2012-05-15 Jeff Law <law@redhat.com>
13168 Andreas Jaeger <aj@suse.de>
13169
13170 [BZ #13594]
13171 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13172 out from...
13173 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13174 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13175 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13176 code changing __hst_map_handle.map.
13177
13178 2012-05-15 Roland McGrath <roland@hack.frob.com>
13179
13180 * configure.in (sysnames): Look for Implies-before and Implies-after
13181 files.
13182 * configure: Regenerated.
13183
13184 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13185
13186 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13187 8-byte data alignment with LP_SIZE alignment.
13188
13189 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13190
13191 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13192 into R10_LP.
13193
13194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13195
13196 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13197
13198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13199
13200 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13201 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13202 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13203 Likewise.
13204 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13205
13206 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13207
13208 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13209 (stackinfo_sub_sp): Likewise.
13210
13211 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13212
13213 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13214 RAX_LP.
13215
13216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13217
13218 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13219 into R*_LP.
13220
13221 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13222
13223 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13224 sizes into R*_LP.
13225
13226 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13227
13228 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13229
13230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13231
13232 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13233 into R11_LP and load __x86_64_shared_cache_size_half into
13234 R8_LP.
13235
13236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13237
13238 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13239 R8_LP.
13240
13241 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13242
13243 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13244 logb for POWER7.
13245 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13246 logbf for POWER7.
13247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13248 logbl for POWER7.
13249 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13250 powerpc32/power7/fpu/s_logb.c via #include.
13251 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13252 powerpc32/power7/fpu/s_logbf.c via #include.
13253 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13254 powerpc32/power7/fpu/s_logbl.c via #include.
13255
13256 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13257
13258 * README.libm: Remove file.
13259
13260 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13261
13262 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13263 count for x32. Use R*_LP and omit operand-size suffix.
13264
13265 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13266
13267 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13268 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13269 * sysdeps/x86_64/x32/shlib-versions: New file.
13270
13271 2012-05-14 Roland McGrath <roland@hack.frob.com>
13272
13273 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13274 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13275 Use _dl_fatal_printf instead.
13276
13277 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13278
13279 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13280 set if not set by the user. Do not allow for being unset.
13281 * sysdeps/unix/sysv/linux/configure: Regenerated.
13282
13283 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13284
13285 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13286 the `q' suffix from lea and replace .quad with ASM_ADDR.
13287
13288 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13289
13290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13291 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13292 instead of $17.
13293 (PTR_DEMANGLE): Likewise.
13294
13295 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13296
13297 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13298 (LP_OP): Likewise.
13299 (ASM_ADDR): Likewise.
13300 (RAX_LP): Likewise.
13301 (RBP_LP): Likewise.
13302 (RBX_LP): Likewise.
13303 (RCX_LP): Likewise.
13304 (RDI_LP): Likewise.
13305 (RSI_LP): Likewise.
13306 (RSP_LP): Likewise.
13307 (R8_LP): Likewise.
13308 (R9_LP): Likewise.
13309 (R10_LP): Likewise.
13310 (R10_LP): Likewise.
13311 (R11_LP): Likewise.
13312 (R12_LP): Likewise.
13313 (R13_LP): Likewise.
13314 (R14_LP): Likewise.
13315 (R15_LP): Likewise.
13316
13317 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13318
13319 * sysdeps/x86_64/x32/dl-machine.h: New file.
13320
13321 2012-05-14 Andreas Jaeger <aj@suse.de>
13322
13323 * manual/Makefile (subdir): Remove export of subdir.
13324 (all): Remove target.
13325 (.PHONY): Remove all from list.
13326 (mkinstalldirs): Remove.
13327 (.PHONY): Remove installdirs from list.
13328 ($(inst_infodir)/libc.info): Use make-target-directory.
13329 (installdirs): Remove.
13330 (subdir_%): Remove.
13331 (glibc-targets): Remove.
13332 (lib): Remove.
13333 (stubs): Remove.
13334 ($(objpfx)stubs ../po/manual.pot): Remove.
13335 ($(objpfx)stamp%): Remove.
13336 (make-target-directory): Remove.
13337 (subdir_install): Remove.
13338 (routines): Remove.
13339 (aux): Remove.
13340 (sources): Remove.
13341 (objects): Remove.
13342 (headers): Remove.
13343
13344 [BZ #13750]
13345 * manual/.gitignore: Remove, it's not needed anymore.
13346 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13347 all files in it.
13348 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13349 directory.
13350 (texis): Renamed to $(objpfx)texis.
13351 (texis-path): New, contains path to generated files.
13352 (chapters.%): Use texis-path for complete path, add extra argument
13353 libc-texinfo.sh.
13354 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13355 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13356 (summary,texi, stamp-summary): Use complete path of
13357 files. Generate files in build dir.
13358 (dir-add.texi): Build in build dir.
13359 (libm-err.texi,stamp-libm-err): Likewise.
13360 (version.texi, stamp-version): Likewise.
13361 (.%c.texi): Likewise.
13362 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13363 (mostlyclean): Remove target.
13364 (realclean): Remove target.
13365 (generated): Add new variable with contents from mostlyclean and
13366 realclean, remove entries duplicated in common-mostlyclean, add
13367 stamp-libm-err and stamp-version.
13368 (generated-dirs): Add libc directory.
13369 ($(inst_infodir)/libc.info): Install files from build dir.
13370
13371 * manual/install.texi (Configuring and compiling): Adjust since
13372 the info files are not part of the tar ball anymore.
13373
13374 2012-05-14 Andreas Jaeger <aj@suse.de>
13375
13376 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13377 variable.
13378
13379 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13380
13381 [BZ #13717]
13382 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13383 to 2.2.0 where earlier.
13384 * sysdeps/unix/sysv/linux/configure: Regenerated.
13385 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13386 Remove conditional code.
13387 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13388 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13389 Remove conditional code.
13390 [!__NR_lchown]: Likewise.
13391 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13392 [__NR_lchown]: Likewise.
13393 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13394 comment referencing __ASSUME_LCHOWN_SYSCALL.
13395 * sysdeps/unix/sysv/linux/i386/sigaction.c
13396 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13397 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13398 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13399 Remove conditional code.
13400 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13401 (__protocol_available): Remove #if 0 code.
13402 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13403 conditional code.
13404 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13405 * sysdeps/unix/sysv/linux/kernel-features.h
13406 (__ASSUME_GETCWD_SYSCALL): Don't define.
13407 (__ASSUME_REALTIME_SIGNALS): Likewise.
13408 (__ASSUME_PREAD_SYSCALL): Likewise.
13409 (__ASSUME_PWRITE_SYSCALL): Likewise.
13410 (__ASSUME_POLL_SYSCALL): Likewise.
13411 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13412 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13413 non-SPARC.
13414 (__ASSUME_SIOCGIFNAME): Don't define.
13415 (__ASSUME_MSG_NOSIGNAL): Likewise.
13416 (__ASSUME_SENDFILE): Define unconditionally.
13417 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13418 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13419 conditional code.
13420 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13421 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13422 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13423 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13424 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13425 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13426 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13428 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13429 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13431 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13432 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13434 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13435 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13437 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13438 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13440 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13441 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13443 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13444 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13446 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13447 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13449 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13450 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13451 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13452 Remove conditional code.
13453 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13454 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13455 Remove conditional code.
13456 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13457 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13458 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13459 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13460 Remove conditional code.
13461 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13462 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13463 Remove conditional code.
13464 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13465 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13466 Remove conditional code.
13467 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13468 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13469 Remove conditional code.
13470 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13471 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13472 Remove conditional code.
13473 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13474 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13475 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13476 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13477 * sysdeps/unix/sysv/linux/sigaction.c
13478 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13479 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13480 * sysdeps/unix/sysv/linux/sigpending.c
13481 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13482 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13483 * sysdeps/unix/sysv/linux/sigprocmask.c
13484 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13485 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13486 * sysdeps/unix/sysv/linux/sigsuspend.c
13487 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13488 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13489 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13490 (__libc_missing_rt_sigs): Remove.
13491 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13492 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13493 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13494 Remove conditional code.
13495 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13496 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13497 return 1.
13498 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13499 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13500 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13501 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13502
13503 2012-05-14 Andreas Jaeger <aj@suse.de>
13504
13505 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13506 it's not used in glibc.
13507 (__coshm1): Likewise.
13508 (__acosh1p): Likewise.
13509 (__sgn): Likewise.
13510
13511 * manual/string.texi (Copying and Concatenation): Add missing
13512 variable in concat example.
13513 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13514
13515 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13516
13517 [BZ #14103]
13518 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13519 __builtin_clzl with __builtin_clzll.
13520
13521 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13522
13523 [BZ #14104]
13524 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13525 libc_freeres_ptr.
13526
13527 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13528
13529 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13530 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13531 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13532 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13533
13534 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13535
13536 * NEWS: Update ia64 info.
13537
13538 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13539
13540 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13541 used as bcopy.
13542
13543 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13544
13545 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13546 * sysdeps/unix/syscalls.list (dup3): Likewise.
13547 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13548 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13549
13550 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13551
13552 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13553 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13554
13555 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13556
13557 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13558 thread pointer.
13559 (TLS_IE): Use mov/add instead of movq/addq to load thread
13560 pointer.
13561 (TLS_GD_PREFIX): New.
13562 (TLS_GD): Use it.
13563
13564 2012-05-11 David S. Miller <davem@davemloft.net>
13565
13566 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13567 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13568 (_FPU_SETCW): Likewise.
13569
13570 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13571
13572 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13573 is 32-byte aligned.
13574
13575 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13576
13577 [BZ #11837]
13578 * iconvdata/gb18030.c: Update tables.
13579 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13580 characters specially.
13581 (BODY for TO_LOOP): Add encoding of missing ranges.
13582
13583 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13584
13585 [BZ #13673]
13586 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13587 * sysdeps/mach/hurd/dup3.c: Likewise.
13588 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13589 * sysdeps/powerpc/memmove.c:: Likewise.
13590
13591 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13592
13593 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13594 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13595
13596 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13597
13598 * elf/elf.h (R_X86_64_RELATIVE64): New.
13599 (R_X86_64_NUM): Updated.
13600 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13601 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13602 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13603 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13604 tst-quad1pie tst-quad2pie
13605 (modules-names): Add tst-quadmod1 tst-quadmod2.
13606 ($(objpfx)tst-quad1): New dependency.
13607 ($(objpfx)tst-quad2): Likewise.
13608 ($(objpfx)tst-quad1pie): Likewise.
13609 ($(objpfx)tst-quad2pie): Likewise.
13610 * sysdeps/x86_64/tst-quad1.c: New file.
13611 * sysdeps/x86_64/tst-quad1pie.c: New file.
13612 * sysdeps/x86_64/tst-quad2.c: Likewise.
13613 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13614 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13615 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13616 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13617 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13618
13619 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13620
13621 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13622 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13623 * streams/stropts.h (t_scalar_t): Define type.
13624
13625 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13626 (_PATH_PRESERVE): Set to "/var/lib".
13627 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13628
13629 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13630 instead of int.
13631
13632 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13633 if __dir_mkfile succeeded.
13634
13635 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13636 checking for _hurd_dtablesize. Unlock it right after having
13637 finished _hurd_dtable allocation.
13638
13639 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13640
13641 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13642 * sysdeps/mach/hurd/configure: Regenerated.
13643 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13644 special-casing to...
13645 * sysdeps/gnu/configure.in: ... this new file.
13646 * sysdeps/unix/sysv/linux/configure: Regenerated.
13647 * sysdeps/gnu/configure: New generated file.
13648
13649 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13650 for Linux: use nsec instead of usec, as well as:
13651 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13652 members of type struct timespec.
13653 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13654 New macros.
13655 (struct stat64): Likewise.
13656 (_STATBUF_ST_NSEC): New macro.
13657 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13658
13659 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13660 __strtoul_internal rather than strtoul.
13661
13662 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13663
13664 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13665 and reject them.
13666
13667 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13668
13669 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13670 which preserves existing values.
13671 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13672
13673 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13674
13675 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13676 TIMEOUT values. Return EINVAL for NFDS values either negative or
13677 greater than FD_SETSIZE.
13678
13679 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13680
13681 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13682 allocated, call __vm_protect to finish enabling the existing space, and
13683 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13684 allocate the remainder.
13685
13686 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13687
13688 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13689 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13690
13691 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13692
13693 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13694 sysdeps/mach/hurd/readlink.c.
13695
13696 * posix/tst-sysconf.c (posix_options): Only use
13697 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13698 _POSIX_SYNCHRONIZED_IO when they are defined
13699 * sysdeps/mach/hurd/bits/posix_opt.h:
13700 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13701 (_XOPEN_REALTIME): Undefine macro.
13702 (_XOPEN_REALTIME_THREADS): Undefine macro.
13703 (_XOPEN_SHM): Undefine macro.
13704 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13705 macro to -1.
13706 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13707 macro to -1.
13708 (_POSIX_ASYNC_IO): Undefine macro.
13709 (_POSIX_PRIORITIZED_IO): Undefine macro.
13710 (_POSIX_SPIN_LOCKS): Define macro to -1.
13711
13712 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13713 SA_NODEFER, SA_RESETHAND.
13714 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13715 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13716 F_DUPFD_CLOEXEC.
13717
13718 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13719
13720 * elf/Makefile (pldd-modules): Define unconditionally.
13721
13722 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13723
13724 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13725
13726 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13727
13728 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13729 Return ENOENT when name is empty.
13730 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13731
13732 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13733
13734 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13735
13736 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13737
13738 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13739
13740 Fix mlock in all cases except non-readable pages.
13741 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13742 instead of VM_PROT_ALL as parameter to __vm_wire function.
13743
13744 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13745 (__mkdir): When path is `/', just fail with EEXIST.
13746 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13747
13748 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13749
13750 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13751 <sys/uio.h> (for writev).
13752 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13753 and <sys/param.h> (for MIN).
13754
13755 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13756
13757 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13758 REQUESTED_TIME. Properly set the remaining time and return EINTR
13759 if interrupted.
13760
13761 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13762
13763 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13764 Depend on against $(link-rpcuserlibs).
13765
13766 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13767
13768 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13769 (__libc_stack_end): Do not use attribute_relro.
13770 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13771 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13772 to libthread-provided value.
13773 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13774 attribute_relro.
13775
13776 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13777
13778 [BZ #3748]
13779 * bits/libc-lock.h (__libc_once_get): New macro.
13780 * sysdeps/mach/bits/libc-lock.h: Likewise.
13781 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13782 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13783 instead of using implementation details.
13784
13785 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13786 * libio/freopen.c: Likewise.
13787 * libio/freopen64.c: Likewise.
13788 * misc/syslog.c: Likewise.
13789 * nscd/connections.c: Likewise.
13790 * nscd/netgroupcache.c: Likewise.
13791 * sysdeps/posix/getcwd.c: Likewise.
13792
13793 2012-05-10 Roland McGrath <roland@hack.frob.com>
13794
13795 * math/w_ilogbf.c: Add #include <limits.h>.
13796
13797 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13798
13799 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13800 path instead of returning without unlocking.
13801
13802 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13803 immediate-write ioctls.
13804 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13805
13806 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13807
13808 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13809 __builtin_frame_address instead of making assumptions about the
13810 location of the return address relative to DATA. Force early load of
13811 the return address.
13812 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13813 __builtin_frame_address.
13814
13815 dup3 for GNU Hurd.
13816 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13817 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13818 implement dup3 and do some further code clean-ups.
13819 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13820 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13821
13822 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13823
13824 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13825
13826 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13827 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13828 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13829 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13830 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13831 d->port.lock.
13832
13833 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13834 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13835 when handler == SIG_ERR, not when handler != SIG_ERR.
13836
13837 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13838
13839 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13840 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13841 definitions.
13842
13843 accept4 for GNU Hurd.
13844 * include/sys/socket.h (__libc_accept4): New prototype.
13845 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13846 to implement __libc_accept4.
13847 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13848 __libc_accept4.
13849 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13850
13851 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13852 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13853 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13854 signal-defines.sym.
13855
13856 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13857
13858 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13859
13860 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13861
13862 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13863 assertion on O_CLOEXEC flag.
13864 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13865 * hurd/intern-fd.c: Likewise.
13866 * hurd/port2fd.c: Likewise.
13867
13868 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13869
13870 [BZ #3906]
13871 * bits/in.h (IPV6_PKTINFO): Define new macro.
13872 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13873
13874 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13875
13876 [BZ #13954]
13877 [BZ #13955]
13878 [BZ #13956]
13879 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13880 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13881 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13882 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13883 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13884 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13885 * math/libm-test.inc (logb_test) : Additional logb tests.
13886
13887 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13888 Andreas Jaeger <aj@suse.de>
13889
13890 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13891 * configure: Regenerated.
13892 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13893 * config.make.in (link-obsolete-rpc): New substituted variable.
13894 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13895 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13896 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13897 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13898 so that libc.a contains the symbols.
13899 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13900 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13901 * sunrpc/auth_none.c: Likewise.
13902 * sunrpc/auth_unix.c: Likewise.
13903 * sunrpc/authdes_prot.c: Likewise.
13904 * sunrpc/authuxprot.c: Likewise.
13905 * sunrpc/clnt_gen.c: Likewise.
13906 * sunrpc/clnt_perr.c: Likewise.
13907 * sunrpc/clnt_raw.c: Likewise.
13908 * sunrpc/clnt_simp.c: Likewise.
13909 * sunrpc/clnt_tcp.c: Likewise.
13910 * sunrpc/clnt_udp.c: Likewise.
13911 * sunrpc/clnt_unix.c: Likewise.
13912 * sunrpc/des_crypt.c: Likewise.
13913 * sunrpc/des_soft.c: Likewise.
13914 * sunrpc/get_myaddr.c: Likewise.
13915 * sunrpc/key_call.c: Likewise.
13916 * sunrpc/key_prot.c: Likewise.
13917 * sunrpc/netname.c: Likewise.
13918 * sunrpc/pm_getmaps.c: Likewise.
13919 * sunrpc/pm_getport.c: Likewise.
13920 * sunrpc/pmap_clnt.c: Likewise.
13921 * sunrpc/pmap_prot.c: Likewise.
13922 * sunrpc/pmap_prot2.c: Likewise.
13923 * sunrpc/pmap_rmt.c: Likewise.
13924 * sunrpc/publickey.c: Likewise.
13925 * sunrpc/rpc_cmsg.c: Likewise.
13926 * sunrpc/rpc_common.c: Likewise.
13927 * sunrpc/rpc_dtable.c: Likewise.
13928 * sunrpc/rpc_prot.c: Likewise.
13929 * sunrpc/rpc_thread.c: Likewise.
13930 * sunrpc/rtime.c: Likewise.
13931 * sunrpc/svc.c: Likewise.
13932 * sunrpc/svc_auth.c: Likewise.
13933 * sunrpc/svc_raw.c: Likewise.
13934 * sunrpc/svc_run.c: Likewise.
13935 * sunrpc/svc_tcp.c: Likewise.
13936 * sunrpc/svc_udp.c: Likewise.
13937 * sunrpc/svc_unix.c: Likewise.
13938 * sunrpc/svcauth_des.c: Likewise.
13939 * sunrpc/xcrypt.c: Likewise.
13940 * sunrpc/xdr.c: Likewise.
13941 * sunrpc/xdr_array.c: Likewise.
13942 * sunrpc/xdr_float.c: Likewise.
13943 * sunrpc/xdr_intXX_t.c: Likewise.
13944 * sunrpc/xdr_mem.c: Likewise.
13945 * sunrpc/xdr_rec.c: Likewise.
13946 * sunrpc/xdr_ref.c: Likewise.
13947 * sunrpc/xdr_sizeof.c: Likewise.
13948 * sunrpc/xdr_stdio.c: Likewise.
13949
13950 2012-05-10 Roland McGrath <roland@hack.frob.com>
13951
13952 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13953 change. Update copyright years.
13954
13955 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13956
13957 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13958
13959 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13960 Joseph Myers <joseph@codesourcery.com>
13961 Paul Pluzhnikov <ppluzhnikov@google.com>
13962
13963 [BZ #14012]
13964 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13965 requiring rpcgen.
13966 [cross-compiling] (extra-libs): Likewise.
13967 [cross-compiling] (extra-libs-others): Likewise.
13968 [cross-compiling] (librpcsvc-routines): Likewise.
13969 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13970 [cross-compiling] (omit-deps): Likewise.
13971 (sunrpc-CPPFLAGS): New variable.
13972 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13973 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13974 (cross-rpcgen-objs): New variable.
13975 (extra-objs): Append $(cross-rpcgen-objs).
13976 ($(cross-rpcgen-objs)): New rule.
13977 ($(objpfx)cross-rpcgen): Likewise.
13978 (rpcgen-cmd): Define to use $(built-program-file). Expand
13979 comment.
13980 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13981 ($(objpfx)x%.stmp): Likewise.
13982 * sunrpc/proto.h [IS_IN_build] (_): Define.
13983 [IS_IN_build] (_libc_intl_domainname): Likewise.
13984
13985 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13986
13987 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13988 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13989 and R_X86_64_TPOFF64.
13990
13991 2012-05-10 Joseph Myers <joseph@codesourcery.com>
13992
13993 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13994 sysdeps/unix/sysv/syscalls.list.
13995 (stime): Likewise.
13996 (utime): Likewise.
13997 * sysdeps/unix/sysv/syscalls.list: Remove file.
13998
13999 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14000
14001 [BZ #3440]
14002 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14003 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14004 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14005 (__LC_IDENTIFICATION): Make these macros useful in #if
14006 expressions, as required by C99.
14007
14008 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14009
14010 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14011 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14012 after this.
14013
14014 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14015
14016 * stdlib/longlong.h: Updated from GCC.
14017
14018 2012-05-09 Andreas Jaeger <aj@suse.de>
14019
14020 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14021 default is first entry.
14022 (run_mode): Set type.
14023 (main): Remove informal message about syslog.
14024 (options): Fix typo.
14025
14026 [BZ #14053]
14027 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14028 to asm.
14029 (lrint): Likewise.
14030 (llrintf): Likewise.
14031 (llrint): Likewise.
14032 (rint): Likewise.
14033 (rintf): Likewise.
14034 (nearbyint): Likewise.
14035 (nearbyintf): Likewise.
14036
14037 2012-05-09 Andreas Jaeger <aj@suse.de>
14038 Pedro Alves <palves@redhat.com>
14039
14040 * nscd/nscd.c (run_mode): Use enum.
14041 (main): Cleanup coding style issue.
14042
14043 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14044 Andreas Jaeger <aj@suse.de>
14045
14046 * nscd/nscd.c (go_background): Replaced with...
14047 (run_mode): ... this.
14048 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14049 (options): Add -F --foreground.
14050 (main): Implement it.
14051 (parse_opt): Parse it.
14052
14053 2012-05-09 Andreas Jaeger <aj@suse.de>
14054
14055 [BZ #14083]
14056 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14057 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14058 -Wconversion warning.
14059 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14060 Likewise.
14061
14062 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14063
14064 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14065 == 0.
14066 (LC_ALL): Use macro-int-constant.
14067 (LC_COLLATE): Likewise.
14068 (LC_CTYPE): Likewise.
14069 (LC_MESSAGES): Likewise.
14070 (LC_MONETARY): Likewise.
14071 (LC_NUMERIC): Likewise.
14072 (LC_TIME): Likewise.
14073 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14074 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14075 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14076 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14077 Specify type.
14078 [C99-based standards] (float_t): Expect type.
14079 [C99-based standards] (double_t): Expect type.
14080 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14081 type.
14082 [C99-based standards] (HUGE_VALL): Likewise.
14083 [C99-based standards] (INFINITY): Likewise.
14084 [C99-based standards] (NAN): Likewise.
14085 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14086 [C99-based standards] (FP_NAN): Likewise.
14087 [C99-based standards] (FP_NORMAL): Likewise.
14088 [C99-based standards] (FP_SUBNORMAL): Likewise.
14089 [C99-based standards] (FP_ZERO): Likewise.
14090 [C99-based standards] (FP_FAST_FMA): Use
14091 optional-macro-int-constant. Specify type. Require == 1.
14092 [C99-based standards] (FP_FAST_FMAF): Likewise.
14093 [C99-based standards] (FP_FAST_FMAL): Likewise.
14094 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14095 [C99-based standards] (FP_ILOGBNAN): Likewise.
14096 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14097 Specify type.
14098 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14099 [C99-based standards] (math_errhandling): Specify type.
14100 [ISO99 || ISO11] (signgam): Do not allow.
14101 [non-C99-based standards] (copysignf): Do not allow.
14102 [non-C99-based standards] (exp2f): Likewise.
14103 [non-C99-based standards] (log2f): Likewise.
14104 [non-C99-based standards] (modff): Allow.
14105 [non-C99-based standards] (erff): Do not allow.
14106 [non-C99-based standards] (erfcf): Likewise.
14107 [non-C99-based standards] (gammaf): Likewise.
14108 [non-C99-based standards] (hypotf): Likewise.
14109 [non-C99-based standards] (j0f): Likewise.
14110 [non-C99-based standards] (j1f): Likewise.
14111 [non-C99-based standards] (jnf): Likewise.
14112 [non-C99-based standards] (lgammaf): Likewise.
14113 [non-C99-based standards] (tgammaf): Likewise.
14114 [non-C99-based standards] (y0f): Likewise.
14115 [non-C99-based standards] (y1f): Likewise.
14116 [non-C99-based standards] (ynf): Likewise.
14117 [non-C99-based standards] (isnanf): Likewise.
14118 [non-C99-based standards] (acoshf): Likewise.
14119 [non-C99-based standards] (asinhf): Likewise.
14120 [non-C99-based standards] (atanhf): Likewise.
14121 [non-C99-based standards] (cbrtf): Likewise.
14122 [non-C99-based standards] (expm1f): Likewise.
14123 [non-C99-based standards] (ilogbf): Likewise.
14124 [non-C99-based standards] (log1pf): Likewise.
14125 [non-C99-based standards] (logbf): Likewise.
14126 [non-C99-based standards] (nextafterf): Likewise.
14127 [non-C99-based standards] (remainderf): Likewise.
14128 [non-C99-based standards] (rintf): Likewise.
14129 [non-C99-based standards] (scalbf): Likewise.
14130 [non-C99-based standards] (copysignl): Likewise.
14131 [non-C99-based standards] (exp2l): Likewise.
14132 [non-C99-based standards] (log2l): Likewise.
14133 [non-C99-based standards] (modfl): Allow.
14134 [non-C99-based standards] (erfl): Do not allow.
14135 [non-C99-based standards] (erfcl): Likewise.
14136 [non-C99-based standards] (gammal): Likewise.
14137 [non-C99-based standards] (hypotl): Likewise.
14138 [non-C99-based standards] (j0l): Likewise.
14139 [non-C99-based standards] (j1l): Likewise.
14140 [non-C99-based standards] (jnl): Likewise.
14141 [non-C99-based standards] (lgammal): Likewise.
14142 [non-C99-based standards] (tgammal): Likewise.
14143 [non-C99-based standards] (y0l): Likewise.
14144 [non-C99-based standards] (y1l): Likewise.
14145 [non-C99-based standards] (ynl): Likewise.
14146 [non-C99-based standards] (isnanl): Likewise.
14147 [non-C99-based standards] (acoshl): Likewise.
14148 [non-C99-based standards] (asinhl): Likewise.
14149 [non-C99-based standards] (atanhl): Likewise.
14150 [non-C99-based standards] (cbrtl): Likewise.
14151 [non-C99-based standards] (expm1l): Likewise.
14152 [non-C99-based standards] (ilogbl): Likewise.
14153 [non-C99-based standards] (log1pl): Likewise.
14154 [non-C99-based standards] (logbl): Likewise.
14155 [non-C99-based standards] (nextafterl): Likewise.
14156 [non-C99-based standards] (remainderl): Likewise.
14157 [non-C99-based standards] (rintl): Likewise.
14158 [non-C99-based standards] (scalbl): Likewise.
14159 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14160 [non-C99-based standards] (FP_*): Do not allow.
14161 [C99-based standards] (FP_*): Change to
14162 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14163 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14164 allow.
14165 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14166 (SIG_ERR): Likewise.
14167 [X/Open-based standards] (SIG_HOLD): Likewise.
14168 (SIG_IGN): Likewise.
14169 (SIGABRT): Use macro-int-constant. Specify type. Require
14170 positive value.
14171 (SIGFPE): Likewise.
14172 (SIGILL): Likewise.
14173 (SIGINT): Likewise.
14174 (SIGSEGV): Likewise.
14175 (SIGTER): Likewise.
14176 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14177 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14178 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14179 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14180 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14181 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14182 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14183 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14184 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14185 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14186 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14187 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14188 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14189 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14190 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14191 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14192 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14193 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14194 [X/Open-based standards] (SIGTRAP): Likewise.
14195 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14196 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14197 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14198 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14199 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14200 allow.
14201
14202 2012-05-08 Ian Wienand <ianw@vmware.com>
14203
14204 [BZ #14080]
14205 * time/tzset.c (__tzset_parse_tz): Update default rules for
14206 daylight time changes in the Energy Policy Act of 2005.
14207
14208 2012-05-09 Andreas Jaeger <aj@suse.de>
14209
14210 [BZ #13983]
14211 * elf/ldconfig.c (parse_conf): Change string to make clear that
14212 ldconfig only issued a warning if ld.so.conf does not exist.
14213
14214 2012-05-08 David S. Miller <davem@davemloft.net>
14215
14216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14217 movxtod instead of popping the value on the stack.
14218
14219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14220
14221 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14222
14223 * config.h.in: Add HAVE_ARM_PCS_VFP.
14224
14225 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
14226
14227 [BZ #13979]
14228 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14229 checking but the checks are disabled for any reason.
14230
14231 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14232
14233 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14234 and ELF64_R_TYPE with ELFW(R_TYPE).
14235
14236 2012-05-08 Joseph Myers <joseph@codesourcery.com>
14237
14238 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14239 (ulimit): Likewise.
14240
14241 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14242 (settimeofday): Likewise.
14243
14244 2012-05-08 Mike Frysinger <vapier@gentoo.org>
14245
14246 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14247 a struct th_u2 inside the union, and move tu_block/tu_code into
14248 a new th_u3 union of tu_block/tu_code inside of that. Move
14249 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14250 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14251 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14252 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14253 (th_stuff): Change to th_u1.tu_stuff.
14254 (th_data): Define.
14255 (th_msg): Change to th_u1.th_u2.tu_data.
14256
14257 2012-05-07 David S. Miller <davem@davemloft.net>
14258
14259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14260
14261 [BZ #14074]
14262 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14263 (SETUP_PIC_REG): Use it.
14264 (SETUP_PIC_REG_LEAF): Use it.
14265
14266 2012-05-07 Joseph Myers <joseph@codesourcery.com>
14267
14268 [BZ #13885]
14269 [BZ #13923]
14270 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14271 USE_AS_EXPM1L.
14272 (EXPL_FINITE): Likewise.
14273 (FLDLOG): Likewise.
14274 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14275 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14276 e_expl.S.
14277 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14278 USE_AS_EXPM1L.
14279 (EXPL_FINITE): Likewise.
14280 (FLDLOG): Likewise.
14281 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14282 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14283 e_expl.S.
14284 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14285 test of -max_value argument for long double.
14286 * sysdeps/i386/fpu/libm-test-ulps: Update.
14287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14288
14289 2012-05-06 David S. Miller <davem@davemloft.net>
14290
14291 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14292 quad soft-float symbols whose references which are compiler
14293 generated.
14294 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14295
14296 2012-05-06 Joseph Myers <joseph@codesourcery.com>
14297
14298 [BZ #13884]
14299 [BZ #13914]
14300 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14301 USE_AS_EXP10L.
14302 (EXPL_FINITE): Likewise.
14303 (FLDLOG): Likewise.
14304 (c0): Likewise.
14305 (c1): Likewise.
14306 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14307 Adjust comments for base varying.
14308 (__expl_finite): Change alias to EXPL_FINITE.
14309 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14310 e_expl.S.
14311 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14312 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14313 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14314 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14315 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14316 USE_AS_EXP10L.
14317 (EXPL_FINITE): Likewise.
14318 (FLDLOG): Likewise.
14319 (c0): Likewise.
14320 (c1): Likewise.
14321 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14322 Adjust comments for base varying.
14323 (__expl_finite): Change alias to EXPL_FINITE.
14324 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14325 tests for bugs.
14326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14327
14328 [BZ #14064]
14329 * math/libm-test.inc (check_float_internal): Correct ulp
14330 calculation for subnormal expected results.
14331
14332 2012-05-06 Andreas Jaeger <aj@suse.de>
14333
14334 * Makeconfig (+math-flags): New, set to -frounding-math.
14335 (+cflags): Add +math-flags so that all of glibc gets compiled with
14336 it.
14337
14338 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14339
14340 2012-05-05 Joseph Myers <joseph@codesourcery.com>
14341
14342 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14343 Disable one test.
14344
14345 [BZ #13787]
14346 [BZ #13922]
14347 [BZ #14036]
14348 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14349 (__ieee754_expl): Allow for and saturate large arguments.
14350 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14351 (u_threshold): Likewise.
14352 (__exp): Call __ieee754_exp before checking for overflow and
14353 underflow.
14354 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14355 (u_threshold): Likewise.
14356 (__expf): Call __ieee754_expf before checking for overflow and
14357 underflow.
14358 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14359 (u_threshold): Likewise.
14360 (__expl): Call __ieee754_expl before checking for overflow and
14361 underflow.
14362 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14363 (__ieee754_expl): Allow for and saturate large arguments.
14364 * math/libm-test.inc (exp_test): Add another test. Do not allow
14365 missing overflow exception on overflow.
14366 (expm1_test): Do not allow missing overflow exception on overflow.
14367
14368 * sysdeps/i386/fpu/e_expl.c: Move to ...
14369 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14370 rather than using inline asm.
14371 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14372 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14373 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14374
14375 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14376 (nice): Likewise.
14377 (poll): Likewise.
14378 (signal): Likewise.
14379 (time): Likewise.
14380 (times): Likewise.
14381
14382 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14383
14384 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14385 sysdeps/unix/common/syscalls.list.
14386 (fchmod): Likewise.
14387 (fchown): Likewise.
14388 (ftruncate): Likewise.
14389 (getrusage): Likewise.
14390 (gettimeofday): Likewise.
14391 (setpgid): Likewise.
14392 (setregid): Likewise.
14393 (setreuid): Likewise.
14394 (sigaction): Likewise.
14395 (truncate): Likewise.
14396 (vhangup): Likewise.
14397 * sysdeps/unix/common/syscalls.list: Remove file.
14398 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14399 * sysdeps/unix/sysv/linux/Implies: Likewise.
14400
14401 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14402
14403 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14405 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14406 Moved to ...
14407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14408 Here.
14409 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14410 to ...
14411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14412 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14413 to ...
14414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14415 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14416 to ...
14417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14418 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14419 to ...
14420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14421 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14422 to ...
14423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14424 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14425 to ...
14426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14427 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14428 to ...
14429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14430 Here.
14431 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14432 to ...
14433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14434 Here.
14435 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14436 to ...
14437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14438 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14439 Moved to ...
14440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14441 Here.
14442 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14443 to ...
14444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14445
14446 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14447
14448 * sysdeps/unix/common/bits/dirent.h: Remove file.
14449 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14450
14451 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14452 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14453 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14454 * sysdeps/unix/bsd/isatty.c: Likewise.
14455 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14456 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14457 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14458
14459 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14460
14461 [BZ #13563]
14462 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14463 long double comparison inaccuracies.
14464 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14466
14467 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14468
14469 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14470 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14471
14472 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14473
14474 [BZ #14049]
14475 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14476 nonzero digits before rounding a hex value.
14477 * stdlib/tst-strtod.c (tests): Add another test.
14478
14479 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14480
14481 * sysdeps/s390/fpu/libm-test-ulps: Update.
14482
14483 2012-05-03 Andreas Jaeger <aj@suse.de>
14484
14485 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14486 does not get optimized out.
14487 (malloc_opt_barrier): New.
14488
14489 2012-05-03 Andreas Jaeger <aj@suse.de>
14490 Roland McGrath <roland@hack.frob.com>
14491
14492 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14493 intermediate file deletion.
14494 (generated): Add .symlist files.
14495
14496 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14497
14498 [BZ #13775]
14499 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14500 Redirect under this condition.
14501 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14502 [__USE_GNU] (__dprintf_chk): Not under this condition.
14503 [__USE_GNU] (__vdprintf_chk): Likewise.
14504 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14505 under this condition.
14506 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14507 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14508 [__USE_XOPEN2K8] (vdprintf): Likewise.
14509 [__USE_GNU] (__dprintf_chk): Not under this condition.
14510 [__USE_GNU] (__vdprintf_chk): Likewise.
14511 [__USE_GNU] (dprintf): Likewise.
14512 [__USE_GNU] (vdprintf): Likewise.
14513
14514 2012-05-03 Roland McGrath <roland@hack.frob.com>
14515
14516 * elf/Makefile (common-generated): Set this instead of generated for
14517 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14518 $(all-built-dso)-derived lists.
14519
14520 2012-05-03 Andreas Jaeger <aj@suse.de>
14521
14522 * sysdeps/i386/fpu/libm-test-ulps: Update.
14523
14524 * FAQ: Removed.
14525 * FAQ.in: Likewise.
14526 * scripts/gen-FAQ.pl: Likewise.
14527 * manual/install.texi (Installation): Point to online location of
14528 FAQ.
14529 * Makefile (files-for-dist): Remove FAQ.
14530 (FAQ): Remove.
14531
14532 2012-05-02 Allan McRae <allan@archlinux.org>
14533
14534 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14535 (LDFLAGS-reldepmod5.so): Likewise.
14536 (LDFLAGS-reldep6mod1.so): Likewise.
14537 (LDFLAGS-reldep6mod4.so): Likewise.
14538 (LDFLAGS-reldep8mod3.so): Likewise.
14539 (LDFLAGS-unload4mod1.so): Likewise.
14540 (LDFLAGS-unload4mod2.so): Likewise.
14541 (LDFLAGS-tst-initorder): Likewise.
14542 (LDFLAGS-tst-initordera2.so): Likewise.
14543 (LDFLAGS-tst-initordera3.so): Likewise.
14544 (LDFLAGS-tst-initordera4.so): Likewise.
14545 (LDFLAGS-tst-initorderb2.so): Likewise.
14546 (LDFLAGS-noload): Likewise.
14547 (LDFLAGS-next): Likewise.
14548 (LDFLAGS-order2mod1.so): Likewise.
14549 (LDFLAGS-order2mod2.so): Likewise.
14550 (LDFLAGS-tst-initorder2): Likewise.
14551 (LDFLAGS-tst-initorder2a.so): Likewise.
14552 (LDFLAGS-tst-initorder2b.so): Likewise.
14553 (LDFLAGS-tst-initorder2c.so): Likewise.
14554 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14555
14556 2012-05-02 David S. Miller <davem@davemloft.net>
14557
14558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14559
14560 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14561
14562 [BZ #14055]
14563 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14564
14565 2012-05-02 Andreas Jaeger <aj@suse.de>
14566
14567 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14568 since we manipulate rounding mode.
14569 (CPPFLAGS-test-idouble.c): Likewise.
14570 (CPPFLAGS-test-ifloat.c): Likewise.
14571 (CFLAGS-test-ldouble.c): Likewise.
14572 (CFLAGS-test-double.c): Likewise.
14573 (CFLAGS-test-float.c): Likewise.
14574 (CFLAGS-test-misc.c): Likewise.
14575 (CFLAGS-test-test-fenv.c): Likewise.
14576
14577 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14578
14579 [BZ #2550]
14580 [BZ #2570]
14581 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14582 comparisons to determine direction to adjust input.
14583
14584 2012-05-01 Roland McGrath <roland@hack.frob.com>
14585
14586 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14587 output to the target.
14588
14589 * scripts/localplt.awk: New file.
14590 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14591 (check-localplt-CFLAGS): Variable removed.
14592 ($(all-built-dso:=.jmprel)): New static pattern rule.
14593 (generated): Add those targets.
14594 (localplt-built-dso): New variable.
14595 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14596
14597 * elf/check-localplt.c: File removed.
14598
14599 * scripts/check-execstack.awk: New file.
14600 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14601 (check-execstack-CFLAGS): Variable removed.
14602 ($(objpfx)check-execstack.h): Target removed.
14603 ($(objpfx)execstack-default): New target.
14604 (generated): Add that instead of check-execstack.h.
14605 ($(all-built-dso:=.phdr)): New static pattern rule.
14606 (generated): Add those targets.
14607 * elf/check-execstack.c: File removed.
14608
14609 * scripts/check-textrel.awk: New file.
14610 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14611 (check-textrel-CFLAGS): Variable removed.
14612 (all-built-dso): Use := to define.o
14613 ($(all-built-dso:=.dyn)): New static pattern rule.
14614 (generated): Add those targets.
14615 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14616 * config.make.in (READELF): New substituted variable.
14617 * elf/check-textrel.c: File removed.
14618
14619 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14620
14621 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14622 allow.
14623 * conform/data/ctype.h-data [C99-based standards] (isblank):
14624 Expect function.
14625 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14626 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14627 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14628 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14629 Specify type. Require positive value.
14630 (EILSEQ): Likewise.
14631 (ERANGE): Likewise.
14632 [ISO || POSIX] (EILSEQ): Do not expect.
14633 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14634 Specify type. Require positive value.
14635 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14636 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14637 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14638 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14639 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14640 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14641 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14642 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14643 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14644 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14645 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14646 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14647 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14648 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14649 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14650 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14651 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14652 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14653 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14654 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14655 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14656 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14657 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14658 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14659 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14660 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14661 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14662 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14663 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14664 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14665 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14666 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14667 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14668 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14669 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14670 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14671 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14672 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14673 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14674 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14675 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14676 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14677 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14678 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14679 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14680 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14681 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14682 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14683 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14684 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14685 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14686 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14687 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14688 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14689 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14690 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14691 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14692 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14693 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14694 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14695 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14696 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14697 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14698 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14699 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14700 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14701 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14702 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14703 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14704 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14705 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14706 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14707 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14708 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14709 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14710 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14711 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14712 Require >= 2.
14713 (FLT_ROUNDS): Expect as macro, not constant.
14714 (FLT_MANT_DIG): Use macro-int-constant.
14715 (DBL_MANT_DIG): Likewise.
14716 (LDBL_MANT_DIG): Likewise.
14717 (FLT_DIG): Likewise.
14718 (DBL_DIG): Likewise.
14719 (LDBL_DIG): Likewise.
14720 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14721 (DBL_MIN_EXP): Likewise.
14722 (LDBL_MIN_EXP): Likewise.
14723 (FLT_MAX_EXP): Use macro-int-constant.
14724 (DBL_MAX_EXP): Likewise.
14725 (LDBL_MAX_EXP): Likewise.
14726 (FLT_MAX_10_EXP): Likewise.
14727 (DBL_MAX_10_EXP): Likewise.
14728 (LDBL_MAX_10_EXP): Likewise.
14729 (FLT_MAX): Use macro-constant.
14730 (DBL_MAX): Likewise.
14731 (LDBL_MAX): Likewise.
14732 (FLT_EPSILON): Use macro-constant. Give upper bound.
14733 (DBL_EPSILON): Likewise.
14734 (LDBL_EPSILON): Likewise.
14735 (FLT_MIN): Likewise.
14736 (DBL_MIN): Likewise.
14737 (LDBL_MIN): Likewise.
14738 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14739 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14740 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14741 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14742 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14743 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14744 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14745 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14746 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14747 [ISO11] (FLT_TRUE_MIN): Likewise.
14748 [ISO11] (LDBL_TRUE_MIN): Likewise.
14749 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14750 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14751 (SCHAR_MIN): Use macro-int-constant. Specify type.
14752 (SCHAR_MAX): Likewise.
14753 (UCHAR_MAX): Likewise.
14754 (CHAR_MIN): Likewise.
14755 (CHAR_MAX): Likewise.
14756 (MB_LEN_MAX): Use macro-int-constant.
14757 (SHRT_MIN): Use macro-int-constant. Specify type.
14758 (SHRT_MAX): Likewise.
14759 (USHRT_MAX): Likewise.
14760 (INT_MAX): Likewise.
14761 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14762 bound negative.
14763 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14764 bound with "U".
14765 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14766 bound with "L".
14767 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14768 bound negative. Suffix upper bound with "L".
14769 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14770 bound with "UL".
14771 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14772 Specify type.
14773 [C99-based standards] (LLONG_MAX): Likewise.
14774 [C99-based standards] (ULLONG_MAX): Likewise.
14775 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14776 == 0.
14777 [ISO11] (max_align_t): Require type.
14778 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14779
14780 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14781 from $CFLAGS, without defining away __attribute__ calls.
14782 (checknamespace): Use $CFLAGS_namespace.
14783
14784 * conform/conformtest.pl (@keywords): Only include C99 keywords
14785 for standards based on C99 or C11.
14786
14787 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14788 Disable tests.
14789 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14790 UNIX98]: Likewise.
14791
14792 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14793 usability of symbols in #if.
14794
14795 * conform/conformtest.pl: If macro or constant types start
14796 "promoted:", expect the symbol to be of the following type
14797 promoted by the integer promotions.
14798
14799 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14800 in one place. Also handle "macro-constant".
14801
14802 * conform/conformtest.pl: Only accept expected macro values with
14803 "==". Parse all "macro" lines in one place.
14804 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14805
14806 * conform/conformtest.pl: Handle braced types on "constant" lines
14807 instead of handling "typed-constant".
14808 * conform/data/signal.h-data: Use "constant" instead of
14809 "typed-constant".
14810
14811 * conform/conformtest.pl: Handle "optional-" at start of lines in
14812 one place rather than duplicating several cases. Handle each
14813 format of "macro" line with initial "optional-".
14814
14815 * conform/conformtest.pl: Only accept expected constant or
14816 optional-constant values with "==". Parse all "constant" lines in
14817 one place. Parse all "optional-constant" lines in one place.
14818 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14819 * conform/data/fmtmsg.h-data: Likewise.
14820 * conform/data/netinet/in.h-data: Likewise.
14821 * conform/data/tar.h-data: Likewise.
14822 * conform/data/limits.h-data: Use "==" form on "constant" and
14823 "optional-constant" lines.
14824
14825 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14826 Use -std=c99 for XOPEN2K.
14827 (@knownproblems): Remove.
14828 (newtoken): Don't check %isknown.
14829
14830 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14831 Do not expect macro.
14832 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14833 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14834 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14835 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14836 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14837 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14838 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14839 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14840 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14841 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14842 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14843 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14844 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14845 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14846 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14847 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14848 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14849 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14850 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14851 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14852 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14853 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14854 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14855 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14856 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14857 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14858 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14859 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14860 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14861 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14862 [XPG3] (acosh): Likewise.
14863 [XPG3] (asinh): Likewise.
14864 [XPG3] (atanh): Likewise.
14865 [XPG3] (cbrt): Likewise.
14866 [XPG3] (expm1): Likewise.
14867 [XPG3] (ilogb): Likewise.
14868 [XPG3] (log1p): Likewise.
14869 [XPG3] (logb): Likewise.
14870 [XPG3] (nextafter): Likewise.
14871 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14872 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14873 [XPG3] (remainder): Likewise.
14874 [XPG3] (rint): Likewise.
14875 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14876 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14877 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14878 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14879 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14880 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14881 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14882 [UNIX98 || XOPEN2K] (scalb): Expect.
14883 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14884 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14885 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14886 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14887 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14888 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14889 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14890 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14891 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14892 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14893 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14894 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14895 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14896 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14897 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14898 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14899 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14900 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14901 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14902 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14903 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14904 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14905 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14906 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14907 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14908 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14909 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14910 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14911 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14912 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14913 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14914 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14915 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14916 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14917 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14918 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14919 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14920 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14921 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14922 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14923 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14924 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14925 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14926 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14927 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14928 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14929 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14930 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14931 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14932 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14933 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14934 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14935 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14936 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14937 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14938 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14939 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14940 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14941 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14942 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14943 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14944 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14945 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14946 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14947 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14948 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14949 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14950 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14951 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14952 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14953 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14954 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14955 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14956 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14957 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14958 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14959 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14960 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14961 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14962 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14963 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14964 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14965 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14966 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14967 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14968 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14969 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14970 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14971 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14972 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14973 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14974 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14975 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14976 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14977 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14978 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14979 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14980 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14981 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14982 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14983 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14984 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14985 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14986 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14987 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14988 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14989 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14990 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14991 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14992 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14993 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14994 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14995 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14996 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14997 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14998 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14999 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15000 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15001 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15002 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15003 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15004 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15005 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15006 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15007 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15008 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15009 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15010 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15011 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15012 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15013 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15014 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15015 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15016 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15017 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15018 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15019 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15020
15021 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15022 _XOPEN_SOURCE_EXTENDED for XPG4.
15023
15024 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15025
15026 * Makeconfig (localtime): Remove variable.
15027 (inst_localtime-file): Likewise.
15028
15029 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15030
15031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15032 Update.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15034 Update.
15035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15036 Update.
15037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15038 Update.
15039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15040 Update.
15041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15042 Update.
15043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15044 Update.
15045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15046 Update.
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15048 Update.
15049
15050 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15051
15052 [BZ #2550]
15053 [BZ #2570]
15054 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15055 comparisons to determine direction to adjust input.
15056 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15057 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15058 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15059 Likewise.
15060 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15061 Likewise.
15062 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15063 Likewise.
15064 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15065 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15066 Likewise.
15067 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15068 Likewise.
15069 * math/libm-test.inc (nexttoward_test): Add more tests.
15070
15071 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15072
15073 [BZ #14040]
15074 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15075 in version GLIBC_2.1, not GLIBC_2.0.
15076 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15077 Likewise.
15078
15079 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15080
15081 [BZ #13942]
15082 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15083 (1 - x) * (1 + x).
15084 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15085 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15086 * math/libm-test.inc (acos_test): Add more tests.
15087 (asin_test): Likewise.
15088 * sysdeps/i386/fpu/libm-test-ulps: Update.
15089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15090
15091 [BZ #14034]
15092 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15093 of square root.
15094 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15095 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15096 * math/libm-test.inc (acos_test_tonearest): New function.
15097 (acos_test_towardzero): Likewise.
15098 (acos_test_downward): Likewise.
15099 (acos_test_upward): Likewise.
15100 (asin_test_tonearest): Likewise.
15101 (asin_test_towardzero): Likewise.
15102 (asin_test_downward): Likewise.
15103 (asin_test_upward): Likewise.
15104 (main): Call the new functions.
15105 * sysdeps/i386/fpu/libm-test-ulps: Update.
15106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15107
15108 [BZ #13884]
15109 [BZ #13924]
15110 * math/e_exp10.c: Include <float.h>.
15111 (__ieee754_exp10): Handle underflow here rather than multiplying
15112 large negative argument by M_LN10.
15113 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15114 of __ieee754_expf.
15115 * math/e_exp10l.c: Include <float.h>.
15116 (__ieee754_exp10l): Handle underflow here rather than multiplying
15117 large negative argument by M_LN10l.
15118 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15119 spurious overflow exception on underflow.
15120
15121 2012-04-29 Marek Polacek <polacek@redhat.com>
15122
15123 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15124 (__fortify_function): New macro.
15125 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15126 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15127 __extern_always_inline.
15128 * libio/bits/stdio2.h: Likewise.
15129 * libio/bits/stdio.h: Likewise.
15130 * string/string.h: Likewise.
15131 * string/bits/string3.h: Likewise.
15132 * include/stdio.h: Likewise.
15133 * stdlib/bits/stdlib.h: Likewise.
15134 * stdlib/stdlib.h: Likewise.
15135 * rt/bits/mqueue2.h: Likewise.
15136 * rt/mqueue.h: Likewise.
15137 * posix/bits/unistd.h: Likewise.
15138 * posix/unistd.h: Likewise.
15139 * io/bits/poll2.h: Likewise.
15140 * io/bits/fcntl2.h: Likewise.
15141 * io/fcntl.h: Likewise.
15142 * io/sys/poll.h: Likewise.
15143 * misc/bits/syslog.h: Likewise.
15144 * misc/bits/syslog-ldbl.h: Likewise.
15145 * misc/sys/syslog.h: Likewise.
15146 * socket/bits/socket2.h: Likewise.
15147 * socket/sys/socket.h: Likewise.
15148 * debug/tst-chk1.c: Likewise.
15149 * wcsmbs/bits/wchar2.h: Likewise.
15150 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15151 * wcsmbs/wchar.h: Likewise.
15152
15153 2012-04-29 Andreas Jaeger <aj@suse.de>
15154
15155 * Makerules (tests): Remove enable-check-abi protection.
15156 (check-abi-warn): Remove.
15157 (check-abi-%): Remove check-abi-warn usage.
15158
15159 * configure.in: Remove check-abi configure option.
15160 * configure: Regenerated.
15161 * config.make.in (enable-check-abi): Remove.
15162
15163 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15164
15165 [BZ #14033]
15166 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15167 double functions to double *_finite functions.
15168
15169 [BZ #13941]
15170 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15171 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15172 LDBL_MIN_EXP.
15173 * stdio-common/Makefile (tests): Add tst-sprintf3.
15174 * stdio-common/tst-sprintf3.c: New file.
15175
15176 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15177 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15178
15179 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15180
15181 * conform/conformtest.pl: Remove duplicate typed-constant
15182 handling.
15183
15184 2012-04-28 David S. Miller <davem@davemloft.net>
15185
15186 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15187 (check-abi-%): Remove AWK script prerequisite and explicit
15188 abilist directory.
15189 (check-abi): Rewrite to just diff the symlist with the abilist.
15190 (config-tls, config-abi-config): Delete, no longer used.
15191 (update-abi-%): Remove AWK script and explicit abilist directory.
15192 (update-abi): Rewrite to simply compare and conditionally copy the
15193 symlist and the sysdep abilist file. Remove update-abi-config
15194 checks.
15195 * abilist/ld.abilist: Remove.
15196 * abilist/libBrokenLocale.abilist: Remove.
15197 * abilist/libanl.abilist: Remove.
15198 * abilist/libcrypt.abilist: Remove.
15199 * abilist/libdl.abilist: Remove.
15200 * abilist/librt.abilist: Remove.
15201 * abilist/libthread_db.abilist: Remove.
15202 * abilist/libutil.abilist: Remove.
15203 * scripts/extract-abilist.awk: Remove.
15204 * scripts/merge-abilist.awk: Remove.
15205 * sysdeps/generic/libcidn.abilist: New file.
15206 * sysdeps/generic/libnss_compat.abilist: New file.
15207 * sysdeps/generic/libnss_db.abilist: New file.
15208 * sysdeps/generic/libnss_dns.abilist: New file.
15209 * sysdeps/generic/libnss_files.abilist: New file.
15210 * sysdeps/generic/libnss_hesiod.abilist: New file.
15211 * sysdeps/generic/libnss_nis.abilist: New file.
15212 * sysdeps/generic/libnss_nisplus.abilist: New file.
15213 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15214 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15215 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15216 file.
15217 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15218 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15219 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15220 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15221 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15222 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15223 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15224 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15225 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15226 file.
15227 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15228 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15229 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15230 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15231 file.
15232 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15233 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15234 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15235 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15236 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15237 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15238 file.
15239 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15240 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15241 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15242 file.
15243 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15245 New file.
15246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15247 New file.
15248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15249 New file.
15250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15251 New file.
15252 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15253 New file.
15254 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15255 New file.
15256 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15257 New file.
15258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15259 New file.
15260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15261 New file.
15262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15263 New file.
15264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15265 New file.
15266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15267 New file.
15268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15269 New file.
15270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15271 file.
15272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15273 New file.
15274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15275 New file.
15276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15277 file.
15278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15279 New file.
15280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15281 New file.
15282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15283 file.
15284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15285 New file.
15286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15287 New file.
15288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15289 New file.
15290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15291 New file.
15292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15293 New file.
15294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15295 New file.
15296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15298 file.
15299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15300 New file.
15301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15302 file.
15303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15304 file.
15305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15306 file.
15307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15308 file.
15309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15310 file.
15311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15312 New file.
15313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15314 file.
15315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15316 file.
15317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15318 New file.
15319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15320 file.
15321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15323 file.
15324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15325 New file.
15326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15327 file.
15328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15329 file.
15330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15331 file.
15332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15333 file.
15334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15335 file.
15336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15337 New file.
15338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15339 file.
15340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15341 file.
15342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15343 New file.
15344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15345 file.
15346 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15347 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15348 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15349 file.
15350 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15351 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15352 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15353 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15354 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15355 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15356 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15357 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15358 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15359 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15362 file.
15363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15364 New file.
15365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15366 file.
15367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15368 file.
15369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15370 file.
15371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15372 file.
15373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15374 file.
15375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15376 New file.
15377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15378 New file.
15379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15380 file.
15381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15382 New file.
15383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15384 file.
15385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15387 file.
15388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15389 New file.
15390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15391 file.
15392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15393 file.
15394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15395 file.
15396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15397 file.
15398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15399 file.
15400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15401 New file.
15402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15403 New file.
15404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15405 file.
15406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15407 New file.
15408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15409 file.
15410
15411 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15412
15413 * conform/conformtest.pl: Fix typo in handling typed-constant from
15414 allow-header.
15415
15416 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15417
15418 * README: Cut down references to pre-2.6 Linux kernels and
15419 Linuxthreads. Update lists of configurations in libc and ports
15420 and sort alphabetically. Say "or newer" with Linux kernel version
15421 requirements.
15422
15423 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15424
15425 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15426
15427 [BZ #887]
15428 * math/libm-test.inc (logb_test_downward): New test to expose
15429 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15430 rounding mode.
15431
15432 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15433
15434 [BZ #14027]
15435 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15436 to be done.
15437 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15438 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15439
15440 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15441
15442 * sysdeps/unix/i386/brk.S: Remove file.
15443 * sysdeps/unix/i386/dl-brk.S: Likewise.
15444 * sysdeps/unix/i386/pipe.S: Likewise.
15445 * sysdeps/unix/i386/sigreturn.S: Likewise.
15446 * sysdeps/unix/i386/syscall.S: Likewise.
15447 * sysdeps/unix/i386/vfork.S: Likewise.
15448 * sysdeps/unix/i386/wait.S: Likewise.
15449
15450 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15451 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15452
15453 * configure.in (arm*-none*): Do not allow without
15454 --enable-hacker-mode.
15455 (netbsd*): Remove case setting base_os.
15456 (386bsd*): Likewise.
15457 (freebsd*): Likewise.
15458 (bsdi*): Likewise.
15459 (osf*): Likewise.
15460 (sunos*): Likewise.
15461 (ultrix*): Likewise.
15462 (newsos*): Likewise.
15463 (dynix*): Likewise.
15464 (*bsd*): Likewise.
15465 (sysv*): Likewise.
15466 (isc*): Likewise.
15467 (esix*): Likewise.
15468 (sco*): Likewise.
15469 (minix*): Likewise.
15470 (irix4*): Likewise.
15471 (irix6*): Likewise.
15472 (solaris[2-9]*): Likewise.
15473 (none): Likewise.
15474 * configure: Regenerated.
15475
15476 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15477
15478 [BZ #11521]
15479 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15480 overflow or cancellation in calculating denominator.
15481 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15482 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15483 down expression to avoid unexpected rounding in newer GCCs.
15484 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15485
15486 2012-04-26 David S. Miller <davem@davemloft.net>
15487
15488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15489 long-double compat symbols.
15490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15503
15504 2012-04-25 David S. Miller <davem@davemloft.net>
15505
15506 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15507 HWCAP_* values only after the memory barriers have been defined.
15508 (atomic_full_barrier): Define.
15509 (atomic_read_barrier): Define.
15510 (atomic_write_barrier): Define.
15511
15512 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15513
15514 * shlib-versions: Add libgcc_s version information.
15515 * sysdeps/generic/libgcc_s.h: Remove.
15516 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15517 libgcc_s.h.
15518 * sysdeps/gnu/unwind-resume.c: Likewise.
15519 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15520
15521 2012-04-25 David S. Miller <davem@davemloft.net>
15522
15523 * sysdeps/unix/sparc/brk.S: Delete.
15524 * sysdeps/unix/sparc/dl-brk.S: Delete.
15525 * sysdeps/unix/sparc/pipe.S: Delete.
15526 * sysdeps/unix/sparc/sysdep.S: Delete.
15527 * sysdeps/unix/sparc/sysdep.h: Delete.
15528 * sysdeps/unix/sparc/vfork.S: Delete.
15529 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15530 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15531 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15532 ret_ERRVAL, r0, r1, MOVE): Define.
15533 (JUMPTARGET): Remove.
15534 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15535 sysdeps/unix/sparc/sysdep.h
15536 (ENTRY, END): Remove.
15537 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15538
15539 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15540
15541 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15542 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15543 -DIS_IN_build.
15544
15545 * timezone/README: Update upstream location and email address for
15546 tzcode and tzdata.
15547 * timezone/zdump.c: Update from tzcode 2012b.
15548 * timezone/zic.c: Likewise.
15549
15550 * configure.in (libc_cv_as_needed): Remove test.
15551 * configure: Regenerated.
15552 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15553 conditional definition.
15554 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15555 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15556 * config.make.in (have-as-needed): Remove variable.
15557
15558 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15559 Paul Pluzhnikov <ppluzhnikov@google.com>
15560
15561 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15562 strings correctly.
15563
15564 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15565
15566 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15567 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15568 * sysdeps/sh/strlen.S: Likewise.
15569
15570 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15571
15572 * sysdeps/unix/fork.S: Remove file.
15573 * sysdeps/unix/i386/fork.S: Likewise.
15574 * sysdeps/unix/sparc/fork.S: Likewise.
15575
15576 * sysdeps/unix/system.c: Remove file.
15577 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15578
15579 * sysdeps/unix/getegid.S: Remove file.
15580 * sysdeps/unix/geteuid.S: Likewise.
15581
15582 2012-04-24 Roland McGrath <roland@hack.frob.com>
15583
15584 * scripts/check-localplt.awk: New file.
15585 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15586 of diff.
15587 * scripts/data/localplt-generic.data: Add a comment.
15588
15589 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15590 NODE when __dir_mkfile failed.
15591 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15592 Reported by Ludovic Courtès <ludo@gnu.org>.
15593
15594 2012-04-24 Andreas Jaeger <aj@suse.de>
15595
15596 * Makerules (common-clean): Also remove gen-as-const-headers
15597 files.
15598
15599 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15600
15601 * Makerules (native-compile): Do not change working directory for
15602 build. Use $(OUTPUT_OPTION) in command.
15603 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15604
15605 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15606
15607 [BZ #13886]
15608 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15609 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15610 * math/libm-test.inc (floor_test): Add more tests.
15611 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15612
15613 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15614
15615 * sysdeps/unix/getdents.c: Remove file.
15616 * sysdeps/unix/sysv/getdents.c: Likewise.
15617 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15618
15619 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15620 sysdeps/unix/mman/syscalls.list.
15621 (mmap): Likewise.
15622 (mprotect): Likewise.
15623 (msync): Likewise.
15624 (munmap): Likewise.
15625 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15626 * sysdeps/unix/mman/syscalls.list: Remove.
15627 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15628
15629 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15630 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15631 * configure: Regenerated.
15632 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15633 $(libgcc_s_suffix).
15634 * config.make.in (libgcc_s_suffix): Remove variable.
15635
15636 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15637
15638 * sysdeps/unix/sysv/gethostname.c: Move to ...
15639 * sysdeps/posix/gethostname.c: ... here.
15640
15641 * sysdeps/unix/execve.S: Remove file.
15642
15643 * sysdeps/unix/_exit.S: Remove file.
15644
15645 2012-04-23 Andreas Jaeger <aj@suse.de>
15646
15647 [BZ #13739]
15648 * manual/Makefile: Remove make dist support, there's no
15649 need for a stand-alone documentation tar ball.
15650 (TEXI2DVI): Define always, it's not in Makeconfig.
15651 (dist): Removed.
15652 (tar-it): Removed.
15653 (edition): Removed.
15654 (glibc-doc-$(edition).tar): Removed
15655 (%.Z): Removed.
15656 (%.gz): Removed.
15657 (%.uu): Removed.
15658 (ETAGS): Remove, it's in Makeconfig.
15659 (move-if-change): Remove, it's in Makeconfig.
15660
15661 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15662
15663 [BZ #13970]
15664 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15665 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15666 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15667 (strtod_l, strtof_l, strtold_l): Remove __wur.
15668 It is not necessarily an error to ignore strtol's return value.
15669 One can reliably look at the stored endptr to decide whether
15670 the number had valid syntax.
15671
15672 2012-04-21 Andreas Jaeger <aj@suse.de>
15673
15674 [BZ #13739]
15675 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15676
15677 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15678
15679 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15680 * sysdeps/unix/sysv/Versions: Remove file.
15681
15682 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15683
15684 [BZ #13927]
15685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15686
15687 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15688
15689 [BZ #7064]
15690 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15691 version from __vm86.
15692
15693 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15694
15695 * sysdeps/unix/common/lxstat.c: Remove file.
15696 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15697
15698 * sysdeps/unix/sysv/Makefile: Remove file.
15699
15700 * sysdeps/unix/sysv/direct.h: Remove file.
15701
15702 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15703 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15704 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15705 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15706 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15707 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15708 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15709
15710 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15711
15712 * sysdeps/unix/xmknod.c: Remove file.
15713 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15714
15715 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15716
15717 * sysdeps/unix/sysv/i386/time.S: Remove file.
15718
15719 * sysdeps/unix/fxstat.c: Remove file.
15720 * sysdeps/unix/xstat.c: Likewise.
15721 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15722
15723 * sysdeps/unix/sysv/sigaction.c: Remove file.
15724
15725 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15726 (sysdep_headers): Remove variable.
15727 [termio.h not in sysdep_headers] (generated): Likewise.
15728 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15729 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15730 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15731 * sysdeps/unix/sysv/tcflow.c: Likewise.
15732 * sysdeps/unix/sysv/tcflush.c: Likewise.
15733 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15734 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15735 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15736 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15737 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15738
15739 * sysdeps/unix/siglist.c: Remove file.
15740
15741 * sysdeps/unix/getppid.S: Remove file.
15742
15743 * sysdeps/unix/mkdir.c: Remove file.
15744 * sysdeps/unix/rmdir.c: Likewise.
15745
15746 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15747
15748 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15749 ERR_MAX value.
15750 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15751 errlist-compat value.
15752
15753 2012-04-18 David S. Miller <davem@davemloft.net>
15754
15755 * sysdeps/generic/memcopy.h (reg_char): Delete.
15756 * debug/strcat_chk.c: Use char, not reg_char.
15757 * debug/strcpy_chk.c: Likewise.
15758 * debug/strncat_chk.c: Likewise.
15759 * debug/strncpy_chk.c: Likewise.
15760 * string/memchr.c: Likewise.
15761 * string/memrchr.c: Likewise.
15762 * string/rawmemchr.c: Likewise.
15763 * string/strcat.c: Likewise.
15764 * string/strchr.c: Likewise.
15765 * string/strchrnul.c: Likewise.
15766 * string/strcmp.c: Likewise.
15767 * string/strcpy.c: Likewise.
15768 * string/strncat.c: Likewise.
15769 * string/strncmp.c: Likewise.
15770 * string/strncpy.c: Likewise.
15771
15772 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15773
15774 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15775 __builtin_memcopy is called when src and dest ranges are known to not
15776 overlap.
15777
15778 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15779
15780 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15781 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15782 fwd_align_merge macro call.
15783 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15784 bwd_align_merge macro call.
15785 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15786
15787 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15788
15789 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15790 bwd_align_merge macros.
15791 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15792 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15793 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15794
15795 2012-04-18 David S. Miller <davem@davemloft.net>
15796
15797 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15798
15799 2012-04-18 Andreas Jaeger <aj@suse.de>
15800
15801 [BZ# 6794]
15802 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15803 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15804 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15805
15806 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15807 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15808 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15809
15810 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15811 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15812 Adjust for changed ldbl-128 files.
15813
15814 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15815 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15816 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15817
15818 2012-04-17 David S. Miller <davem@davemloft.net>
15819
15820 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15821
15822 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15823
15824 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15825 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15826 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15827 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15828 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15829 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15830
15831 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15832
15833 [BZ #6794]
15834 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15835 * math/libm-test.inc: Add ilogb errno and exception tests.
15836 * math/w_ilogb.c: New file: ilogb wrapper.
15837 * math/w_ilogbf.c: New file: ilogbf wrapper.
15838 * math/w_ilogbl.c: New file: ilogbl wrapper.
15839 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15840 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15841 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15842 exception being thrown with 0.0 as argument.
15843 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15844 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15845 exception being thrown with 0.0 as argument.
15846 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15847 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15848 exception being thrown with 0.0 as argument.
15849 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15850 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15851 exception being thrown with 0.0 as argument.
15852 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15853 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15854 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15855 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15856 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15857 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15858 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15859 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15860 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15861
15862 2012-04-17 Petr Baudis <pasky@ucw.cz>
15863
15864 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15865 with altivec.
15866
15867 2012-04-16 Marek Polacek <polacek@redhat.com>
15868
15869 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15870
15871 2012-04-16 Marek Polacek <polacek@redhat.com>
15872
15873 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15874 operands of fdivp instruction.
15875
15876 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15877
15878 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15879 * elf/tst-auditmod3b.c: Likewise.
15880 * elf/tst-auditmod4b.c: Likewise.
15881 * elf/tst-auditmod5b.c: Likewise.
15882 * elf/tst-auditmod6b.c: Likewise.
15883 * elf/tst-auditmod6c.c: Likewise.
15884 * elf/tst-auditmod7b.c: Likewise.
15885 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15886 * sysdeps/x86_64/preconfigure.in: Likewise.
15887 * sysdeps/x86_64/preconfigure: Regenerated.
15888
15889 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15890
15891 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15892 __ILP32__.
15893
15894 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
15895
15896 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15897 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15898
15899 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15900
15901 [BZ #13973]
15902 * locale/iso-639.def: Fix gl language name. Spotted by
15903 Yaron Shahrabani.
15904
15905 2012-04-12 Roland McGrath <roland@hack.frob.com>
15906
15907 [BZ #2074]
15908 * libio/libio.h (__io_write_fn): Update comment.
15909
15910 2012-04-12 Petr Baudis <pasky@ucw.cz>
15911
15912 [BZ #2074]
15913 * stdio.texi (Hook Functions): The user provided writer function
15914 is not allowed to return -1.
15915
15916 2012-04-11 David S. Miller <davem@davemloft.net>
15917
15918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15919
15920 2012-04-11 Mike Frysinger <vapier@gentoo.org>
15921
15922 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15923 Add a leading slash to rtkaio.
15924
15925 2012-04-11 Jim Meyering <meyering@redhat.com>
15926
15927 [BZ #11959]
15928 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15929 It is not necessarily an error to ignore fwrite's return
15930 value. One can reliably use ferror to test for errors after
15931 the fact.
15932
15933 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15934
15935 * bits/types.h (__snseconds_t): New type.
15936 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15937
15938 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15939 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15940 (__SNSECONDS_T_TYPE): Likewise.
15941 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15942 (__SNSECONDS_T_TYPE): Likewise.
15943 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15944 (__SNSECONDS_T_TYPE): Likewise.
15945
15946 2012-04-10 Andreas Jaeger <aj@suse.de>
15947
15948 [BZ #2636]
15949 * manual/time.texi (Processor Time): Return type of times is
15950 elapsed real time since an arbitrary point in the past.
15951 (CPU Time): Move CLK_TCK from here...
15952 (Processor Time): ...to here. Correct description.
15953 * manual/conf.texi (Constants for Sysconf): Correct description of
15954 _SC_CLK_TCK.
15955
15956 2012-04-10 David S. Miller <davem@davemloft.net>
15957
15958 [BZ #13967]
15959 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15960 where the is a gap between DT_REL(A) and DT_JMPREL.
15961
15962 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15963
15964 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15965 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15966 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15967
15968 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15969
15970 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15971 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15972 (dl_main): Handle --inhibit-cache.
15973 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15974 _dl_inhibit_cache.
15975 * elf/dl-load.c (_dl_map_object): Use it.
15976 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15977
15978 2012-04-09 Joseph Myers <joseph@codesourcery.com>
15979
15980 [BZ #13872]
15981 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15982 (__ieee754_powl): Saturate large exponents rather than testing for
15983 overflow of y*log2(x).
15984 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15985 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15986 exceptions.
15987
15988 [BZ #11521]
15989 * math/s_ctan.c: Include <float.h>.
15990 (__ctan): Avoid internal overflow or cancellation in calculating
15991 denominator.
15992 * math/s_ctanf.c: Likewise.
15993 * math/s_ctanl.c: Likewise.
15994 * math/s_ctanh.c: Likewise.
15995 * math/s_ctanhf.c: Likewise.
15996 * math/s_ctanhl.c: Likewise.
15997 * math/libm-test.inc (ctan_test): Add more tests.
15998 (ctanh_test): Likewise.
15999 * sysdeps/i386/fpu/libm-test-ulps: Update.
16000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16001
16002 2012-04-09 Andreas Jaeger <aj@suse.de>
16003
16004 [BZ #6894]
16005 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16006 is an optional BSD extension.
16007
16008 [BZ #10254]
16009 * manual/stdio.texi (Opening Streams): Document additional fopen
16010 parameters.
16011
16012 2012-04-09 Roland McGrath <roland@hack.frob.com>
16013
16014 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16015 %eax without telling the compiler.
16016
16017 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16018
16019 [BZ # 13963]
16020 * manual/install.texi: Use sourceware.org.
16021
16022 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16023
16024 [BZ #13873]
16025 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16026 (__ieee754_pow): Generate overflow and underflow using huge*huge
16027 and tiny*tiny rather than just returning constant infinity or zero
16028 for large exponents.
16029 * math/libm-test.inc (pow_test): Require overflow exceptions for
16030 applicable cases of large exponents.
16031
16032 [BZ #706]
16033 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16034 (__ieee754_pow): Use iterative multiplication algorithm only for
16035 integer exponents with absolute value below 1024. Check for odd
16036 integer exponents when using algorithm for real exponents.
16037 * math/libm-test.inc (pow_test): Add more tests.
16038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16039
16040 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16041
16042 [BZ #13705]
16043 * math/libm-test.inc (exp_test): Do not allow overflow exception
16044 on underflow test.
16045
16046 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16047
16048 [BZ #13705]
16049 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16050 instead of __kernel_standard_f.
16051
16052 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16053
16054 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16055 * sysdeps/x86_64/memset_chk.S: Likewise.
16056
16057 2012-04-08 Andreas Jaeger <aj@suse.de>
16058
16059 [BZ #10153]
16060 * manual/startup.texi (Environment Access): Describe return value
16061 for putenv and setenv.
16062
16063 [BZ #6895]
16064 * manual/filesys.texi (Directory Entries): Add description for
16065 DT_LNK.
16066
16067 [BZ #6890]
16068 * manual/filesys.texi (Directory Entries): Clarify that it's file
16069 system not operating system in the description of DT_UNKNOWN.
16070
16071 [BZ #6578]
16072 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16073
16074 2012-04-08 Stephen Compall <s11@member.fsf.org>
16075
16076 [BZ #6649]
16077 * manual/llio.texi (Opening and Closing Files): Add cross
16078 reference to explain mode argument.
16079
16080 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16081
16082 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16083 * sysdeps/x86_64/memset_chk.S: Likewise.
16084
16085 2012-04-07 David S. Miller <davem@davemloft.net>
16086
16087 * elf/elf.h (R_SPARC_WDISP10): Define.
16088 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16089 R_SPARC_SIZE32.
16090 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16091 R_SPARC_SIZE64 and R_SPARC_H34.
16092
16093 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16094
16095 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16096 conditions and remove no longer applicable assertion.
16097
16098 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16099
16100 * bits/byteswap.h: Include <features.h>.
16101 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16102 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16103
16104 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16105
16106 * bits/byteswap.h (__bswap_16): Removed.
16107 Include <bits/byteswap-16.h> to get __bswap_16.
16108 * sysdeps/i386/bits/byteswap.h: Likewise.
16109 * sysdeps/s390/bits/byteswap.h: Likewise.
16110 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16111 * bits/byteswap-16.h: New file.
16112 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16113 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16114 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16115 * string/Makefile (headers): Add bits/byteswap-16.h.
16116
16117 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16118
16119 [BZ #13895]
16120 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16121 extra indirection.
16122 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16123 * nss/tst-nss-static.c: New.
16124
16125 2012-04-06 Robert Millan <rmh@gnu.org>
16126
16127 [BZ #6486]
16128 * manual/llio.texi (File Position Primitive): lseek
16129 refers to WHENCE when it really means OFFSET.
16130
16131 2012-04-06 Andreas Jaeger <aj@suse.de>
16132
16133 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16134 strncmp declarations.
16135
16136 * abilist/libc.abilist: Add __poll and __ppoll.
16137
16138 2012-04-05 David S. Miller <davem@davemloft.net>
16139
16140 * scripts/check-local-headers.sh: Accept a host triplet in the
16141 path matched by the exclude regexp.
16142
16143 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16144 definition.
16145 * sysdeps/powerpc/powerpc32/dl-machine.h
16146 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16147 * sysdeps/s390/s390-32/dl-machine.h
16148 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16149 * sysdeps/sparc/sparc32/dl-machine.h
16150 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16151 * sysdeps/sparc/sparc64/dl-machine.h
16152 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16153
16154 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16155 lazy binding.
16156 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16157 undefined symbol errors.
16158
16159 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16160 DT_NEEDED entries.
16161
16162 2012-04-05 Michael Matz <matz@suse.de>
16163
16164 [BZ #13592]
16165 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16166
16167 2012-04-05 Andreas Jaeger <aj@suse.de>
16168
16169 [BZ #13908]
16170 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16171 comment.
16172
16173 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16174
16175 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16176 which ROUND is no valid rounding mode.
16177
16178 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16179
16180 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16181 read again.
16182 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16183
16184 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16185
16186 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16187 an exception using FPU order intentionally.
16188
16189 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16190
16191 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16192 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16193 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16194 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16195
16196 2012-04-05 Simon Josefsson <simon@josefsson.org>
16197
16198 [BZ #12340]
16199 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16200 EINVAL when BUFLEN is too smal.
16201
16202 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16203
16204 [BZ #13553]
16205 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16206 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16207
16208 2012-04-03 Andreas Jaeger <aj@suse.de>
16209
16210 [BZ #13938]
16211 * manual/setjmp.texi (System V contexts): Fix sentence.
16212
16213 [BZ #13926]
16214 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16215 New macro for this case.
16216 [!__GNUC__] (__bswap_64): New inline function for this case.
16217 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16218 * bits/byteswap.h: Likewise.
16219 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16220 ull, guard with __GLIBC_HAVE_LONG_LONG.
16221
16222 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16223 __GLIBC_HAVE_LONG_LONG.
16224
16225 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16226 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16227
16228 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16229
16230 [BZ #13691]
16231 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16232 inptr and inend, rather than using last_ch.
16233
16234 2012-04-02 David S. Miller <davem@davemloft.net>
16235
16236 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16237 * stdio-common/printf-parse.h (read_int): Change return type to
16238 'int', return -1 on INT_MAX overflow.
16239 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16240 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16241 overflows INT_MAX. Check for overflow of in-format-string precision
16242 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16243 SIZE_MAX not INT_MAX for integer overflow test.
16244 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16245 skip the construct in the format string but do not record anything.
16246 * stdio-common/bug22.c: Adjust to test both width/prevision
16247 INT_MAX overflow as well as total length INT_MAX overflow. Check
16248 explicitly for proper errno values.
16249
16250 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16251
16252 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16253 CHAR_MAX.
16254 * string/test-strcmp.c [! WIDE]: Likewise.
16255 * time/tst-mktime2.c: Likewise for INT_MAX.
16256 * string/test-string.h: #include <sys/param.h> for MIN.
16257
16258 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16259 * sysdeps/i386/init-first.c (init): Likewise.
16260 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16261 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16262 * sysdeps/sh/init-first.c (init): Likewise.
16263
16264 2012-04-01 Ulrich Drepper <drepper@gmail.com>
16265
16266 * po/ru.po: Update from translation team.
16267 * po/vi.po: Likewise.
16268
16269 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16270
16271 * resolv/nss_dns/dns-host.c: Merge copyright years.
16272
16273 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16274
16275 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16276 Optimize memcpy with prefetch if
16277 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16278 src, dst pointers have unequal 16 byte alignments.
16279
16280 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16281
16282 [BZ #13928]
16283 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16284 from a CNAME entry and return the minimum ttl for the query.
16285 (gaih_getanswer_slice): Likewise.
16286
16287 2012-03-30 Jeff Law <law@redhat.com>
16288
16289 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16290 due to long keys.
16291 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16292 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16293
16294 * resolv/nss_dns/dns-host.c: Update copyright year.
16295
16296 2012-03-30 Ulrich Drepper <drepper@gmail.com>
16297
16298 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16299 requests to save a system call. Fix check that all bytes are sent.
16300
16301 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16302 comments for sendmmsg.
16303
16304 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16305
16306 [BZ #13691]
16307 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16308 with only 1 character between 0x0041 and 0x01b0.
16309 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16310 * wcsmbs/tst-mbsnrtowcs.c: New file.
16311
16312 2012-03-29 David S. Miller <davem@davemloft.net>
16313
16314 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16315 small copies by hand.
16316
16317 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16318
16319 [BZ #13761]
16320 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16321 _nss_compat_initgroups_dyn): Fall back to malloc/free
16322 for large group memberships.
16323
16324 2012-03-28 David S. Miller <davem@davemloft.net>
16325
16326 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16327 that branches into memcpy.
16328 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16329 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16330 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16331 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16332 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16333 bits.
16334 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16335 implementation too.
16336 * sysdeps/sparc/mempcpy.S: New file.
16337
16338 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16339 the IFUNC routine in the libc case.
16340 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16341
16342 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16343 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16344 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16345 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16346 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16347 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16348 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16349 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16350
16351 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16352 loop to 256 bytes instead of 64 bytes and fix test signedness.
16353
16354 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16355 * sysdeps/sparc/sparc32/Makefile: rather than here...
16356 * sysdeps/sparc/sparc64/Makefile: and here.
16357
16358 2012-03-28 Ulrich Drepper <drepper@gmail.com>
16359
16360 * malloc/mallocbug.c: Avoid warnings about unused variables.
16361
16362 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16363
16364 [BZ #13760]
16365 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16366 in the right place. Discard and retry query if response is
16367 larger than input buffer size.
16368
16369 2012-03-28 Joseph Myers <joseph@codesourcery.com>
16370
16371 [BZ #369]
16372 [BZ #2678]
16373 [BZ #3866]
16374 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16375 x for large integer exponent.
16376 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16377 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16378 sign of result as needed afterwards.
16379 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16380 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16381 result for underflowing pow the same as for overflow.
16382 (__kernel_standard_l): Handle powl overflow and underflow here
16383 rather than calling __kernel_standard.
16384 * math/libm-test.inc (pow_test): Add more tests.
16385
16386 [BZ #3868]
16387 [BZ #13879]
16388 [BZ #13910]
16389 [BZ #13911]
16390 [BZ #13912]
16391 [BZ #13913]
16392 [BZ #13915]
16393 [BZ #13916]
16394 [BZ #13917]
16395 [BZ #13918]
16396 [BZ #13919]
16397 [BZ #13920]
16398 [BZ #13921]
16399 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16400 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16401 (__kernel_standard_l): New function.
16402 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16403 __kernel_standard.
16404 * math/w_acosl.c (__acosl): Likewise.
16405 * math/w_asinl.c (__asinl): Likewise.
16406 * math/w_atan2l.c (__atan2l): Likewise.
16407 * math/w_atanhl.c (__atanhl): Likewise.
16408 * math/w_coshl.c (__coshl): Likewise.
16409 * math/w_exp10l.c (__exp10l): Likewise.
16410 * math/w_exp2l.c (__exp2l): Likewise.
16411 * math/w_fmodl.c (__fmodl): Likewise.
16412 * math/w_hypotl.c (__hypotl): Likewise.
16413 * math/w_j0l.c (__j0l, __y0l): Likewise.
16414 * math/w_j1l.c (__j1l, __y1l): Likewise.
16415 * math/w_jnl.c (__jnl, __ynl): Likewise.
16416 * math/w_lgammal.c (__lgammal): Likewise.
16417 * math/w_log10l.c (__log10l): Likewise.
16418 * math/w_log2l.c (__log2l): Likewise.
16419 * math/w_logl.c (__logl): Likewise.
16420 * math/w_powl.c (__powl): Likewise.
16421 * math/w_remainderl.c (__remainderl): Likewise.
16422 * math/w_scalbl.c (sysv_scalbl): Likewise.
16423 * math/w_sinhl.c (__sinhl): Likewise.
16424 * math/w_sqrtl.c (__sqrtl): Likewise.
16425 * math/w_tgammal.c (__tgammal): Likewise.
16426 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16427 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16428 * math/libm-test.inc (acos_test): Add more tests.
16429 (acosh_test): Likewise.
16430 (asin_test): Likewise.
16431 (atanh_test): Likewise.
16432 (exp_test): Likewise.
16433 (exp10_test): Likewise.
16434 (exp2_test): Likewise.
16435 (expm1_test): Likewise.
16436 (lgamma_test): Likewise.
16437 (log_test): Likewise.
16438 (log10_test): Likewise.
16439 (log1p_test): Likewise.
16440 (log2_test): Likewise.
16441 (pow_test): Do not allow some spurious overflow exceptions.
16442 (sqrt_test): Add more tests.
16443 (tgamma_test): Likewise.
16444 (y0_test): Likewise.
16445 (y1_test): Likewise.
16446 (yn_test): Likewise.
16447
16448 2012-03-27 Anton Blanchard <anton@samba.org>
16449
16450 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16451 MAP_HUGETLB.
16452 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16453 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16454 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16455
16456 2012-03-27 David S. Miller <davem@davemloft.net>
16457
16458 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16459
16460 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16461 have-as-vis3 check.
16462
16463 2012-03-27 Andreas Jaeger <aj@suse.de>
16464
16465 * sysdeps/x86_64/elf/configure.in: Moved to ...
16466 * sysdeps/x86_64/configure.in: ... here.
16467 * sysdeps/x86_64/elf/start.S: Moved to ...
16468 * sysdeps/x86_64/start.S: ... here.
16469 * sysdeps/x86_64/elf/configure: Delete.
16470
16471 * sysdeps/x86_64/configure.in: Merge contents from
16472 sysdeps/i386/configure.in (without i686 check).
16473
16474 * sysdeps/i386/elf/Versions: Merge into ...
16475 * sysdeps/i386/Versions: ... this.
16476 * sysdeps/i386/elf/Versions: Delete file.
16477 * sysdeps/i386/elf/start.S: Moved to ...
16478 * sysdeps/i386/start.S: ...here.
16479 * sysdeps/i386/elf/configure.in: Merge into...
16480 * sysdeps/i386/configure.in: ...here.
16481 * sysdeps/i386/elf/configure.in: Delete file.
16482 * sysdeps/i386/elf/configure: Delete file.
16483
16484 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16485 * debug/backtracesyms.c: ... here.
16486 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16487 * debug/backtracesymsfd.c: ... here.
16488 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16489 * sysdeps/generic/ifunc-sel.h: ... here.
16490
16491 * sysdeps/unix/i386/start.c: Delete file.
16492 * sysdeps/unix/sparc/start.c: Delete file.
16493 * sysdeps/unix/start.c: Delete file.
16494
16495 * sysdeps/sh/elf/configure.in: Moved to ...
16496 * sysdeps/sh/configure.in: ... here.
16497 * sysdeps/sh/elf/start.S: Moved to ...
16498 * sysdeps/sh/start.S: ... here.
16499 * sysdeps/sh/elf/configure: Delete file.
16500
16501 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16502 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16503 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16504 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16505 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16506 * sysdeps/powerpc/powerpc64/start.S: here.
16507 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16508 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16509 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16510 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16511 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16512
16513 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16514 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16515 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16516 * sysdeps/powerpc/powerpc32/start.S: ... here.
16517 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16518 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16519 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16520
16521 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16522 * sysdeps/powerpc/ifunc-sel.h: ... here.
16523 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16524 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16525
16526 * sysdeps/sparc/elf/configure.in: Moved to ...
16527 * sysdeps/sparc/configure.in: ... here.
16528 * sysdeps/sparc/elf/configure: Delete file.
16529 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16530 * sysdeps/sparc/sparc32/start.S: ... here.
16531 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16532 * sysdeps/sparc/sparc64/start.S: ... here.
16533 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16534 * sysdeps/sparc/sparc32/Makefile: ... this.
16535 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16536 * sysdeps/sparc/sparc64/Makefile: ... this.
16537
16538 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16539 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16540 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16541 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16542 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16543 * sysdeps/s390/s390-32/setjmp.S: ... here.
16544 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16545 * sysdeps/s390/s390-32/configure.in: ... here.
16546 * sysdeps/s390/s390-32/elf/configure: Delete file.
16547 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16548 * sysdeps/s390/s390-32/start.S: ... here.
16549
16550 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16551 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16552 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16553 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16554 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16555 * sysdeps/s390/s390-64/setjmp.S: ... here.
16556 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16557 * sysdeps/s390/s390-64/configure.in: ... here
16558 * sysdeps/s390/s390-64/elf/configure: Delete file.
16559 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16560 * sysdeps/s390/s390-64/start.S: ... here.
16561 * sysdeps/s390/s390-64/elf/configure: Delete.
16562
16563 * configure.in: Remove support for elf directories in sysdeps.
16564
16565 * configure: Regenerated.
16566 * sysdeps/i386/configure: Regenerated.
16567 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16568 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16569 * sysdeps/s390/s390-32/configure: Regenerated.
16570 * sysdeps/s390/s390-64/configure: Regenerated.
16571 * sysdeps/sh/configure: Regenerated.
16572 * sysdeps/sparc/configure: Regenerated.
16573 * sysdeps/x86_64/configure: Regenerated.
16574
16575 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16576
16577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16578
16579 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16580 denormal result into account.
16581
16582 2012-03-25 Roland McGrath <roland@hack.frob.com>
16583
16584 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16585 Reported by Allan McRae <allan@archlinux.org>.
16586
16587 2012-03-23 Jeff Law <law@redhat.com>
16588
16589 * nss/getnssent.c (__nss_getent): Fix typo.
16590
16591 2012-03-23 David S. Miller <davem@davemloft.net>
16592
16593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16594
16595 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16596
16597 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16598 to pad to uint64_t for each field.
16599 (dl_tls_index): Replace unsigned long with uint64_t.
16600
16601 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16602 Paul Pluzhnikov <ppluzhnikov@google.com>
16603
16604 [BZ #6528]
16605 * grp/Makefile (otherlibs): Don't set it.
16606 * inet/Makefile (otherlibs): Likewise.
16607 * login/Makefile (otherlibs): Likewise.
16608 * nscd/Makefile (otherlibs): Likewise.
16609 * posix/Makefile (otherlibs): Likewise.
16610 * pwd/Makefile (otherlibs): Likewise.
16611 * rt/Makefile (otherlibs): Likewise.
16612 * sunrpc/Makefile (otherlibs): Likewise.
16613 * nss/Makefile (otherlibs): Likewise.
16614 Add libnss_files to routines and static-only-routines.
16615 ($(objpfx)getent): Remove rule.
16616 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16617 static-only-routines.
16618
16619 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16620
16621 [BZ #13892]
16622 * math/s_cexp.c: Include <float.h>.
16623 (__cexp): Handle exp result overflowing not necessarily
16624 overflowing both real and imaginary parts of result.
16625 * math/s_cexpf.c: Likewise.
16626 * math/s_cexpl.c: Likewise.
16627 * math/libm-test.inc (cexp_test): Add more tests.
16628 * sysdeps/i386/fpu/libm-test-ulps: Update.
16629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16630
16631 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16632
16633 * include/link.h (ELFW): New macro.
16634 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16635 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16636
16637 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16638
16639 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16640 with uint64_t.
16641
16642 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16643
16644 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16645 declaration.
16646 (struct La_x32_retval): Likewise.
16647
16648 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16649
16650 * sysdeps/x86_64/preconfigure.in: New file.
16651 * sysdeps/x86_64/preconfigure: New generated file.
16652
16653 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16654
16655 [BZ #13824]
16656 * math/e_exp2l.c: Include <float.h>.
16657 (__ieee754_exp2l): Handle overflow and underflow cases
16658 separately. Only pass fractional part of argument to
16659 __ieee754_expl.
16660 * math/libm-test.inc (exp2_test): Add more tests.
16661
16662 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16663 negating x to take absolute value.
16664 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16665 Likewise.
16666 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16667 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16668 Likewise.
16669 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16670 computing low part if x was negated.
16671 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16672
16673 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16674
16675 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16676 la_x32_gnu_pltexit.
16677 (pltexit): Cast int_retval to ptrdiff_t.
16678 * elf/tst-auditmod3b.c: Likewise.
16679 * elf/tst-auditmod4b.c: Likewise.
16680 * elf/tst-auditmod5b.c: Likewise.
16681 * elf/tst-auditmod6b.c: Likewise.
16682 * elf/tst-auditmod6c.c: Likewise.
16683 * elf/tst-auditmod7b.c: Likewise.
16684
16685 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16686 and x32_gnu_pltexit.
16687
16688 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16689 __ELF_NATIVE_CLASS.
16690 (La_x32_regs): New macro.
16691 (La_x32_retval): Likewise.
16692 (la_x32_gnu_pltenter): New function prototype.
16693 (la_x32_gnu_pltexit): Likewise.
16694
16695 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16696
16697 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16698 exponent.
16699
16700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16701
16702 * configure.in (libc_cv_cc_nofma): Check for option to disable
16703 generation of FMA instructions.
16704 * configure: Regenerate.
16705 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16706 * sysdeps/ieee754/dbl-64/Makefile: New file.
16707 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16708 Remove brandred-fma4.
16709 (CFLAGS-brandred-fma4.c): Remove.
16710 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16711 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16712 define.
16713 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16714 define.
16715
16716 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16717
16718 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16719 LLONG_MAX != LONG_MAX.
16720 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16721 (_fitoa_word): Likewise.
16722 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16723 LLONG_MAX != LONG_MAX.
16724 * stdio-common/_itowa.h: Include <_itoa.h>.
16725 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16726 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16727 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16728 only if not defined.
16729 (_ITOA_WORD_TYPE): Likewise.
16730 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16731 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16732
16733 2012-03-21 David S. Miller <davem@davemloft.net>
16734
16735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16736
16737 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16738
16739 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16740 of x86_64 when setting libc_cv_slibdir, libdir and
16741 libc_cv_localedir.
16742 * sysdeps/unix/sysv/linux/configure: Regenerated.
16743
16744 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16745
16746 * manual/lang.texi (Old Varargs): Remove section.
16747 (How Variadic): Update menu.
16748 (va_start): Do not mention varargs.h.
16749
16750 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16751 Joseph Myers <joseph@codesourcery.com>
16752
16753 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16754 link test.
16755 * configure: Regenerated.
16756
16757 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16758
16759 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16760 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16761 conformtest.pl
16762
16763 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16764
16765 * NOTES: Remove.
16766 * Makefile (files-for-dist): Remove NOTES.
16767 (NOTES): Remove rule.
16768 * README: Don't refer to NOTES.
16769 * manual/creature.texi: Don't include macros.texi.
16770 * manual/intro.texi (creature.texi): Remove comment referring to
16771 NOTES.
16772
16773 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16774 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16775 * configure: Regenerated.
16776 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16777 LIBC_TRY_CC_OPTION.
16778 (libc_cv_as_i686): Likewise.
16779 (libc_cv_cc_avx): Likewise.
16780 (libc_cv_cc_sse2avx): Likewise.
16781 (libc_cv_cc_fma4): Likewise.
16782 (libc_cv_cc_novzeroupper): Likewise.
16783 * sysdeps/i386/configure: Regenerated.
16784
16785 [BZ #13883]
16786 * sysdeps/i386/fpu/s_cexp.S: Remove.
16787 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16788 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16789 * math/libm-test.inc (cexp_test): Add more tests.
16790 * sysdeps/i386/fpu/libm-test-ulps: Update.
16791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16792
16793 2012-03-21 Allan McRae <allan@archlinux.org>
16794
16795 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16796
16797 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16798
16799 [BZ #13871]
16800 * math/w_exp2.c: Do not include <float.h>.
16801 (o_threshold, u_threshold): Remove.
16802 (__exp2): Calculate result before checking finiteness and calling
16803 __kernel_standard.
16804 * math/w_exp2f.c: Likewise.
16805 * math/w_exp2l.c: Likewise.
16806 * math/libm-test.inc (exp2_test): Require overflow exception for
16807 1e6 input.
16808
16809 [BZ #3866]
16810 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16811 range of signed 64-bit integers before using fistpll. Remove
16812 checks for whether integers fit in mantissa bits.
16813 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16814 the range of signed 32-bit integers before using fistpl. Remove
16815 checks for whether integers fit in mantissa bits.
16816 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16817 (__ieee754_powl): Test for y outside the range of signed 64-bit
16818 integers before using fistpll. Reduce 64-bit values to 63-bit
16819 ones as needed.
16820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16821 divide-by-zero is raised for zero to large negative powers.
16822 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16823 (__ieee754_powl): Test for y outside the range of signed 64-bit
16824 integers before using fistpll. Reduce 64-bit values to 63-bit
16825 ones as needed.
16826 * math/libm-test.inc (pow_test): Add more tests.
16827
16828 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16829
16830 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16831 <stdio-common/_itoa.h>.
16832 * debug/segfault.c: Likewise.
16833 * elf/dl-cache.c: Likewise.
16834 * elf/dl-minimal.c: Likewise.
16835 * elf/dl-misc.c: Likewise.
16836 * elf/dl-sysdep.c: Likewise.
16837 * elf/dl-version.c: Likewise.
16838 * elf/rtld.c: Likewise.
16839 * hurd/hurdsock.c: Likewise.
16840 * hurd/lookup-retry.c: Likewise.
16841 * malloc/malloc.c: Likewise.
16842 * malloc/mtrace.c: Likewise.
16843 * nscd/nscd_getgr_r.c: Likewise.
16844 * nscd/nscd_getpw_r.c: Likewise.
16845 * nscd/nscd_getserv_r.c: Likewise.
16846 * posix/getopt_init.c: Likewise.
16847 * posix/wordexp.c: Likewise.
16848 * stdio-common/_itoa.c: Likewise.
16849 * stdio-common/printf_fphex.c: Likewise.
16850 * stdio-common/vfprintf.c: Likewise.
16851 * string/_strerror.c: Likewise.
16852 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16853 * sysdeps/i386/i686/hp-timing.h: Likewise.
16854 * sysdeps/mach/_strerror.c: Likewise.
16855 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16856 * sysdeps/mach/hurd/sethostid.c: Likewise.
16857 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16858 * sysdeps/mach/xpg-strerror.c: Likewise.
16859 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16860 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16861 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16862 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16863 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16864 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16865 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16866 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16867 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16868 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16869 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16870 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16871 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16872 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16873 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16874 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16875 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16876 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16877 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16878 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16879 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16880
16881 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16882
16883 * stdio-common/_itoa.h: Moved to ...
16884 * sysdeps/generic/_itoa.h: Here.
16885
16886 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16887
16888 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16889 instead of "_itoa.h" and "_itowa.h".
16890 * stdio-common/vfprintf.: Likewise.
16891
16892 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16893
16894 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16895 <bits/wordsize.h>.
16896 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16897 (__signbit): Likwise.
16898 (llrintf): Likwise.
16899 (llrint): Likwise.
16900
16901 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16902
16903 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16904 __WORDSIZE != 64.
16905
16906 2012-03-20 Joseph Myers <joseph@codesourcery.com>
16907
16908 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16909 OVERFLOW_EXCEPTION_OK.
16910 * math/libm-test.inc ("Philosophy"): Update comment about
16911 exception testing.
16912 (OVERFLOW_EXCEPTION): Define.
16913 (OVERFLOW_EXCEPTION_OK): Likewise.
16914 (INVALID_EXCEPTION_OK): Renumber.
16915 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16916 (IGNORE_ZERO_INF_SIGN): Likewise.
16917 (test_exceptions): Handle FE_OVERFLOW.
16918 (exp10_test): Expect overflow exceptions.
16919 (exp2_test): Likewise.
16920 (expm1_test): Likewise.
16921 (nextafter_test): Likewise.
16922 (pow_test): Likewise.
16923 (scalbn_test): Likewise.
16924 (scalbln_test): Likewise.
16925
16926 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16927
16928 * sysdeps/x86_64/bits/atomic.h
16929 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16930 64bit integer.
16931 (atomic_exchange_acq): Likewise.
16932 (__arch_exchange_and_add_body): Likewise.
16933 (__arch_add_body): Likewise.
16934 (atomic_add_negative): Likewise.
16935 (atomic_add_zero): Likewise.
16936
16937 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16938
16939 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16940 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16941
16942 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16943
16944 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16945 Check __x86_64__ instead of __WORDSIZE.
16946
16947 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16948
16949 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16950
16951 2012-03-19 David S. Miller <davem@davemloft.net>
16952
16953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16954
16955 * sysdeps/sparc/fpu/fenv_private.h: New file.
16956 * sysdeps/sparc/fpu/math_private.h: Use it.
16957 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16958 Remove.
16959 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16960 (libc_feholdexcept_setroundl): Remove.
16961 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16962 Remove.
16963 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16964 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16965
16966 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16967
16968 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16969 int64_t instead of long int.
16970 (INSERT_WORDS64): Likwise.
16971
16972 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16973
16974 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16975 _Unwind_GetCFA return to _Unwind_Ptr first.
16976
16977 2012-03-19 Joseph Myers <joseph@codesourcery.com>
16978
16979 [BZ #13629]
16980 * math/s_clog.c: Include <float.h>.
16981 (__clog): Scale large or subnormal inputs.
16982 * math/s_clogf.c: Likewise.
16983 * math/s_clogl.c: Likewise.
16984 * math/s_clog10.c: Include <float.h>.
16985 (M_LOG10_2): Define.
16986 (__clog10): Scale large or subnormal inputs.
16987 * math/s_clog10f.c: Likewise.
16988 * math/s_clog10l.c: Likewise.
16989 * math/libm-test.inc (clog_test): Add more tests.
16990 (clog10_test): Likewise.
16991 * sysdeps/i386/fpu/libm-test-ulps: Update.
16992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16993
16994 [BZ #11451]
16995 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16996 x and y.
16997 * math/libm-test.inc (atan2_test): Add another test.
16998
16999 * Makerules (common-objdir-compile): Remove.
17000 * sysdeps/unix/Makefile (config-generated): Do not add
17001 $(unix-generated) to variable.
17002 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17003 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17004 Remove rule.
17005 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17006 Likewise.
17007 [generic bits/local_lim.h] (before-compile): Do not append to
17008 variable.
17009 [generic bits/local_lim.h] (common-generated): Likewise.
17010 [generic sys/param.h] (before-compile): Do not append to variable.
17011 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17012 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17013 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17014 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17015 include.
17016 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17017 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17018 [generic sys/param.h] ($(addprefix
17019 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17020 [generic sys/param.h] (common-generated): Do not append to
17021 variable.
17022 [generic sys/param.h] (sysdep_headers): Likewise.
17023 [generic bits/errno.h] (before-compile): Do not append to
17024 variable.
17025 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17026 rule.
17027 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17028 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17029 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17030 [generic bits/errno.h] (common-generated): Do not append to
17031 variable.
17032 [generic bits/ioctls.h] (before-compile): Do not append to
17033 variable.
17034 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17035 rule.
17036 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17037 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17038 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17039 rule.
17040 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17041 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17042 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17043 [generic bits/ioctls.h] (common-generated): Do not append to
17044 variable.
17045 [generic sys/syscall.h] (syscall.h): Remove variable.
17046 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17047 rule.
17048 [generic sys/syscall.h] (before-compile): Do not append to
17049 variable.
17050 [generic sys/syscall.h] (common-generated): Likewise.
17051 * sysdeps/unix/errnos-tmpl.c: Remove file.
17052 * sysdeps/unix/errnos.awk: Likewise.
17053 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17054 * sysdeps/unix/ioctls.awk: Likewise.
17055 * sysdeps/unix/mk-local_lim.c: Likewise.
17056 * sysdeps/unix/snarf-ioctls: Likewise.
17057
17058 2012-03-19 Richard Henderson <rth@twiddle.net>
17059
17060 * sysdeps/i386/fpu/fenv_private.h: New file.
17061 * sysdeps/i386/fpu/math_private.h: Use it.
17062 (math_opt_barrier, math_force_eval): Remove.
17063 (libc_feholdexcept_setround_53bit): Remove.
17064 (libc_feupdateenv_53bit): Remove.
17065 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17066 (math_opt_barrier, math_force_eval): Remove.
17067 (libc_feholdexcept): Remove.
17068 (libc_feholdexcept_setround): Remove.
17069 (libc_fetestexcept, libc_fesetenv): Remove.
17070 (libc_feupdateenv_test): Remove.
17071 (libc_feupdateenv, libc_feholdsetround): Remove.
17072 (libc_feresetround): Remove.
17073
17074 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17075 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17076
17077 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17078 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17079 (libc_feupdateenv_testl): New.
17080 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17081 (libc_feupdateenv_testf): New.
17082 (libc_feupdateenv): Use libc_feupdateenv_test.
17083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17084 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17085
17086 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17087 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17088 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17089 (libc_feresetround_noex): New.
17090 (libc_feresetround_noexf): New.
17091 (libc_feresetround_noexl): New.
17092 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17093 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17094 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17095 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17096 SET_RESTORE_ROUND.
17097 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17098 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17099 (__cos): Likewise.
17100 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17101 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17102 SET_RESTORE_ROUND_NOEX.
17103 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17104 SET_RESTORE_ROUND_NOEXF.
17105 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17106 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17107 (libc_feholdsetroundf): New.
17108 (libc_feresetround, libc_feresetroundf): New.
17109
17110 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17111 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17112 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17113
17114 * sysdeps/generic/math_private.h: Include <fenv.h>.
17115 (default_libc_feholdexcept): New.
17116 (default_libc_feholdexcept_setround): New.
17117 (default_libc_fesetenv, default_libc_feupdateenv): New.
17118 (libc_feholdexcept): Only define if undefined.
17119 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17120 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17121 (libc_feholdexcept_setroundl): Likewise.
17122 (libc_feholdexcept_setround_53bit): Likewise.
17123 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17124 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17125 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17126 (libc_feupdateenv_53bit): Likewise.
17127 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17128 (libc_feholdexcept): Convert from macro to inline function.
17129 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17130 (libc_fesetenv, libc_feupdateenv): Likewise.
17131
17132 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17133 not previously defined.
17134 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17135 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17136 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17137 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17138 * sysdeps/ieee754/flt-32/math_private.h: New file.
17139 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17140 math_private.h below SET_FLOAT_WORD.
17141 (__isnan, __isinf_ns, __finite): Remove.
17142 (__isnanf, __isinf_nsf, __finitef): Remove.
17143
17144 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17145
17146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17147
17148 2012-03-17 David S. Miller <davem@davemloft.net>
17149
17150 [BZ #6471]
17151 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17152 for 2.16.
17153
17154 2012-03-16 David S. Miller <davem@davemloft.net>
17155
17156 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17157 warnings.
17158
17159 [BZ #6471]
17160 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17161 properly.
17162 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17163 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17164 sysdep_routines when subdir is sysvipc.
17165 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17166 __getshmlba helper.
17167
17168 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17169
17170 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17171
17172 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17173 [__LP64__].
17174
17175 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17176
17177 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17178 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17179 (__lround): Renamed to ...
17180 (__llround): This. Replace long int with long long int.
17181 Define lround functions as aliases of llround functions.
17182 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17183
17184 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17185
17186 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17187 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17188 adresses to uintptr_t. Replace "long int" and "unsigned long
17189 int" with "greg_t" on va_arg.
17190
17191 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17192
17193 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17194 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17195
17196 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17197 Move e_machine check before EI_CLASS check. Handle x32
17198 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17199 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17200 SKIP_EM_IA_64 and include
17201 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17202
17203 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17204 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17205 (add_system_dir): New macro.
17206
17207 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17208 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17209
17210 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17211
17212 [BZ #2551]
17213 [BZ #2552]
17214 [BZ #2553]
17215 [BZ #2554]
17216 [BZ #2562]
17217 [BZ #2563]
17218 [BZ #2565]
17219 [BZ #2566]
17220 [BZ #2576]
17221 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17222 (y0): Likewise.
17223 * math/w_j0f.c (j0f): Likewise.
17224 (y0f): Likewise.
17225 * math/w_j0l.c (__j0l): Likewise.
17226 (__y0l): Likewise.
17227 * math/w_j1.c (j1): Likewise.
17228 (y1): Likewise.
17229 * math/w_j1f.c (j1f): Likewise.
17230 (y1f): Likewise.
17231 * math/w_j1l.c (__j1l): Likewise.
17232 (__y1l): Likewise.
17233 * math/w_jn.c (jn): Likewise.
17234 (yn): Likewise.
17235 * math/w_jnf.c (jnf): Likewise.
17236 (ynf): Likewise.
17237 * math/w_jnl.c (__jnl): Likewise.
17238 (__ynl): Likewise.
17239 * math/libm-test.inc (j0_test): Add more tests.
17240 (j1_test): Likewise.
17241 (jn_test): Likewise. Add trailing semicolon to existing test.
17242 (y0_test): Likewise.
17243 (y1_test): Likewise.
17244 * sysdeps/i386/fpu/libm-test-ulps: Update.
17245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17246
17247 [BZ #13851]
17248 [BZ #13854]
17249 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17250 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17251 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17252 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17253 (__tanl): Set errno for infinite argument.
17254 * sysdeps/i386/fpu/mptan.c: Remove.
17255 * sysdeps/i386/fpu/s_tan.S: Likewise.
17256 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17257 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17258 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17259 * math/libm-test.inc (tan_test): Add more tests and enable more
17260 tests for double and long double.
17261 * sysdeps/i386/fpu/libm-test-ulps: Update.
17262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17263
17264 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17265
17266 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17267 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17268
17269 2012-03-16 Roland McGrath <roland@hack.frob.com>
17270
17271 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17272 * configure.in: Use it for both main tree and add-ons.
17273 * configure: Regenerated.
17274
17275 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17276
17277 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17278
17279 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17280
17281 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17282 in comment.
17283
17284 [BZ #13851]
17285 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17286 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17287 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17289 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17290 infinite argument.
17291 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17292 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17293 != 0 for prec == 2.
17294 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17295 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17296 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17297 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17298 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17299 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17300 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17301 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17302 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17303 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17304 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17305 * math/libm-test.inc (cos_test): Add more tests and enable more
17306 tests for long double.
17307 (sin_test): Likewise.
17308 (sincos_test): Likewise.
17309 * sysdeps/i386/fpu/libm-test-ulps: Update.
17310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17311
17312 2012-03-16 David S. Miller <davem@davemloft.net>
17313
17314 * sysdeps/sparc/fpu/math_private.h: New file.
17315
17316 2012-03-15 David S. Miller <davem@davemloft.net>
17317
17318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17319 file.
17320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17322 file.
17323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17329 sysdep routines.
17330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17331
17332 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17333 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17334
17335 * sysdeps/sparc/sparc-ifunc.h: New file.
17336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17337 sparc-ifunc.h
17338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17340 Likewise.
17341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17342 Likewise.
17343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17347 Likewise.
17348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17353 Likewise.
17354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17355 Likewise.
17356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17362 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17363 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17374 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17375 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17376 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17377 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17378 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17380
17381 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17382
17383 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17384 scaling.
17385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17386
17387 2012-03-15 Andreas Jaeger <aj@suse.de>
17388
17389 [BZ #13852]
17390 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17391 ieee754/flt-32 implementation for sin, cos and sincos.
17392 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17393 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17394 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17395 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17396 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17397 ieee754/flt-32 implementation for tan.
17398
17399 * math/libm-test.inc (cos_test): Enable some large input tests for
17400 float as well
17401 (sin_test): Likewise.
17402 (sincos_test): Likewise.
17403 (tan_test): Add tests for large input.
17404
17405 * sysdeps/i386/fpu/libm-test-ulps: Update.
17406
17407 2012-03-15 Andreas Jaeger <aj@suse.de>
17408
17409 [BZ #13658]
17410 * math/libm-test.inc (cos_test): Add more test cases.
17411 (sin_test): Likewise.
17412 (sincos_test): Likewise.
17413
17414 2012-03-15 Andreas Jaeger <aj@suse.de>
17415
17416 [BZ #13837]
17417 * math/libm-test.inc (cos_test): Add a test case for large input
17418 value.
17419 (sin_test): Likewise.
17420 (sincos_test): Likewise.
17421
17422 2012-03-15 Andreas Jaeger <aj@suse.de>,
17423 Joseph Myers <joseph@codesourcery.com>
17424
17425 [BZ #13658]
17426 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17427 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17428 * sysdeps/i386/fpu/branred.c: Likewise.
17429 * sysdeps/i386/fpu/dosincos.c: Likewise.
17430 * sysdeps/i386/fpu/mpa.c: Likewise.
17431 * sysdeps/i386/fpu/s_cos.S: Likewise.
17432 * sysdeps/i386/fpu/s_sin.S: Likewise.
17433 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17434 * sysdeps/i386/fpu/sincos32.c: Likewise.
17435
17436 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17437 Define.
17438 (libc_feupdateenv_53bit): Define.
17439 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17440 Define.
17441 (libc_feupdateenv_53bit): Define.
17442
17443 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17444 53 bit (without extend i386 double precision).
17445
17446 * math/libm-test.inc (sincos_test): Add tests for large input.
17447 (sin): Likewise.
17448 (cos): Likewise.
17449
17450 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17451
17452 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17453
17454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17455
17456 2012-03-15 David S. Miller <davem@davemloft.net>
17457
17458 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17459 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17460 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17461 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17466 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17467 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17468 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17474 file.
17475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17477 file.
17478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17480 file.
17481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17483 file.
17484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17485 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17486 fmin/fmax sysdep routines.
17487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17488
17489 2012-03-14 David S. Miller <davem@davemloft.net>
17490
17491 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17494 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17495 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17496 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17497 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17498 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17499 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17500 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17511 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17512 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17513 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17514 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17515 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17516 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17517 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17518 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17519 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17520 routines.
17521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17522 file.
17523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17525 file.
17526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17528 file.
17529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17531 file.
17532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17534 file.
17535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17537 file.
17538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17539 file.
17540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17541 file.
17542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17543 file.
17544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17545 New file.
17546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17547 file.
17548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17549 file.
17550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17552 file.
17553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17555 file.
17556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17558 file.
17559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17561 VIS3 routines.
17562
17563 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17564 New file.
17565
17566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17567
17568 * sysdeps/sparc/configure.in: New file.
17569 * sysdeps/sparc/configure: Generate.
17570 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17571 * configure: Regenerate.
17572 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17573 * config.make.in (have-as-vis3): New.
17574 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17575 available use -Av9d instead of -Av9a.
17576 * sysdeps/sparc/sparc64/Makefile: Likewise.
17577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17579 New file.
17580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17581 file.
17582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17583 New file.
17584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17585 file.
17586 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17587 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17588 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17589 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17590 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17591
17592 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17593 fzeros/fnegs to load 0x80000000 into a float register instead of
17594 using the stack.
17595 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17596
17597 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17598
17599 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17600 bits/syscall.h.
17601 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17602 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17603 ($(inst_includedir)/bits/syscall.h): Remove rule.
17604 ($(objpfx)bits/syscall.d): Include instead of
17605 $(objpfx)syscall-list.d.
17606 (generated): Change syscall-list.h and syscall-list.d to
17607 bits/syscall.h and bits/syscall.d.
17608
17609 2012-03-14 Roland McGrath <roland@hack.frob.com>
17610
17611 [BZ #13846]
17612 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17613
17614 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17615
17616 [BZ #13841]
17617 * math/s_csqrt.c: Include <float.h>.
17618 (__csqrt): Scale large or subnormal inputs.
17619 * math/s_csqrtf.c: Likewise.
17620 * math/s_csqrtl.c: Likewise.
17621 * math/libm-test.inc (csqrt_test): Add more tests.
17622 * sysdeps/i386/fpu/libm-test-ulps: Update.
17623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17624
17625 [BZ #13840]
17626 * math/libm-test.inc (hypot_test): Add more tests.
17627
17628 2012-03-13 David S. Miller <davem@davemloft.net>
17629
17630 [BZ #13840]
17631 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17632 double-precision for the calculation instead of scaling.
17633
17634 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17635
17636 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17637 manipulate bits before adding and subtracting TWO52[sx].
17638 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17639 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17640 Likewise.
17641 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17642
17643 2012-03-13 David S. Miller <davem@davemloft.net>
17644
17645 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17646 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17647 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17648 rtld-global-offsets.h
17649 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17650
17651 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17652 large parameters.
17653
17654 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17655
17656 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17657 'err' in the ifdef scope in which it is actually used.
17658
17659 * nss/nss_db/db-init.c: Include string.h
17660
17661 2012-03-12 David S. Miller <davem@davemloft.net>
17662
17663 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17664 masking out of the most significant byte of random value used.
17665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17666 Fix coding style in previous change.
17667
17668 * sysdeps/unix/sysv/linux/kernel-features.h
17669 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17670 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17671 expression.
17672 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17673 later.
17674
17675 2012-03-11 David S. Miller <davem@davemloft.net>
17676
17677 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17678 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17679 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17680 for 'resultvar' otherwise things get truncated on 64-bit.
17681
17682 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17683 Fix masking out of the most significant byte of random value used.
17684
17685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17686
17687 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17688
17689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17690
17691 2012-03-09 David S. Miller <davem@davemloft.net>
17692
17693 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17694 variables with appropriate CPP guards.
17695 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17696 frame pointer, not the stack pointer. Correct layout comments. Fix test
17697 on resulting framesize and the management of the outregs buffer for pltexit.
17698 Preserve floating point return values across _dl_call_pltexit call.
17699 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17700 framesize and the management of the outregs buffer for pltexit.
17701 Preserve floating point return values across _dl_call_pltexit
17702 call.
17703 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17704 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17705 (print_exit): Fix format string for return register value.
17706
17707 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17708
17709 * sunrpc/Makefile (others): Add rpcgen.
17710 ($(objpfx)rpcgen): Remove special build rule and dependency on
17711 libc.
17712 * sunrpc/rpcgen.c: New file.
17713
17714 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17715
17716 [BZ #13673]
17717 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17718 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17719 * sysdeps/i386/crti.S: Likewise.
17720 * sysdeps/i386/crtn.S: Likewise.
17721 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17722 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17723 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17724 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17725 * sysdeps/sh/crti.S: Likewise.
17726 * sysdeps/sh/crtn.S: Likewise.
17727 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17728
17729 [BZ #13673]
17730 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17731 with URL.
17732 * locale/programs/locfile-kw.gperf: Likewise.
17733 * locale/programs/charmap-kw.h: Regenerated.
17734 * locale/programs/locfile-kw.h: Likewise.
17735
17736 [BZ #13673]
17737 * intl/plural.y: Replace FSF snail mail address with URL.
17738 * intl/plural.c: Regenerated.
17739
17740 2012-03-09 Richard Henderson <rth@twiddle.net>
17741
17742 * include/math_private.h: Remove file.
17743 * math/math_private.h: Move file ...
17744 * sysdeps/generic/math_private.h: ... here.
17745
17746 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17747 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17748 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17749
17750 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17751 and <math_private.h>.
17752 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17753 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17754 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17755 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17756 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17757 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17758 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17759 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17760 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17761 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17762 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17763 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17764 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17765 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17766 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17767 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17768 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17769 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17770 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17771 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17773 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17774 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17775 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17776 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17777 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17778 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17779 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17780 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17781 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17782 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17783 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17784 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17785 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17786 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17787 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17788 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17789 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17790 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17791 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17792 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17793 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17794 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17795 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17796 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17797 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17798 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17799 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17800 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17801 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17802 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17803 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17804 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17805 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17806 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17807 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17808 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17809 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17810 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17811 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17812 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17813 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17814 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17815 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17816 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17817 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17818 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17819 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17820 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17821 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17822 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17823 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17824 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17825 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17826 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17827 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17828 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17829 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17830 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17831 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17832 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17833 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17834 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17835 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17836 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17837 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17838 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17839 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17840 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17841 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17842 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17843 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17844 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17845 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17846 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17847 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17848 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17849 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17850 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17851 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17852 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17853 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17854 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17855 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17856 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17857 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17858 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17859 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17860 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17861 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17862 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17863 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17864 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17865 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17866 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17867 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17868 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17869 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17870 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17871 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17872 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17873 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17874 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17875 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17876 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17877 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17878 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17879 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17880 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17881 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17882 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17883 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17884 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17885 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17886 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17887 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17888 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17889 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17890 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17891 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17892 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17893 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17894 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17895 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17896 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17897 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17898 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17899 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17900 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17901 * sysdeps/ieee754/k_standard.c: Likewise.
17902 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17903 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17904 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17905 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17906 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17907 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17908 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17909 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17910 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17911 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17912 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17913 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17914 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17915 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17916 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17917 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17918 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17919 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17920 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17921 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17922 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17923 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17924 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17925 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17926 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17927 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17928 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17929 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17930 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17931 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17932 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17933 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17934 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17935 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17936 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17937 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17938 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17939 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17940 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17941 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17942 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17943 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17944 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17945 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17946 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17947 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17948 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17949 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17950 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17951 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17952 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17953 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17954 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17955 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17956 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17957 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17958 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17959 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17960 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17961 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17962 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17963 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17964 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17965 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17966 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17967 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17968 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17969 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17970 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17971 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17972 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17973 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17974 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17975 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17976 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17977 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17978 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17979 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17980 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17981 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17982 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17983 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17984 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17985 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17986 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17987 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17988 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17989 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17990 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17991 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17992 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17993 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17994 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17995 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17996 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17997 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17998 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17999 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18000 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18001 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18002 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18004 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18005 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18006 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18007 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18008 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18009 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18010 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18011 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18012 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18013 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18014 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18015 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18016 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18017 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18018 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18019 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18020 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18021 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18022 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18023 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18024 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18025 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18026 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18027 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18028 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18029 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18030 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18031 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18032 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18033 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18034 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18035 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18036 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18037 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18038 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18039 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18040 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18041 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18042 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18043 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18044 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18045 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18046 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18047 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18048 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18049 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18050 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18051 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18052 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18053 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18054 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18055 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18056 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18057 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18058 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18059 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18060 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18061 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18062 * sysdeps/ieee754/s_lib_version.c: Likewise.
18063 * sysdeps/ieee754/s_matherr.c: Likewise.
18064 * sysdeps/ieee754/s_signgam.c: Likewise.
18065 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18066 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18067 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18068 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18069 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18070 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18071 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18072 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18073 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18074 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18075 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18076 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18077 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18078 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18079 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18080 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18081 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18082 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18083 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18084 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18085 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18086
18087 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18088
18089 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18090 * sunrpc/rpc_main.c: Likewise.
18091 * sunrpc/rpc_svcout.c: Likewise.
18092
18093 2012-03-09 David S. Miller <davem@davemloft.net>
18094
18095 * include/math_private.h: New file.
18096
18097 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18098
18099 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18100 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18101 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18102 from <bits/socket_type.h>.
18103 (enum __socket_type): Don't define here.
18104 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18106 bits/socket_type.h.
18107
18108 [BZ #13566]
18109 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18110 checking __USE_GNU.
18111
18112 * Makerules ($(inst_includedir)/%.h): New rule.
18113 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18114 (install-others): Remove variable setting.
18115 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18116
18117 2012-03-08 Richard Henderson <rth@twiddle.net>
18118
18119 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18120 from macro to inline function; merge with the
18121 !__LIBC_INTERNAL_MATH_INLINES version.
18122 (__ieee754_sqrtf): Likewise.
18123
18124 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18125 to inline function.
18126 (__rintf, __floor, __floorf): Likewise.
18127
18128 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18129 macro to inline function.
18130 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18131
18132 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18133 not <math/math_private.h>.
18134
18135 2012-03-08 David S. Miller <davem@davemloft.net>
18136
18137 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18138 copyright year.
18139 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18140
18141 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18142
18143 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18144 normalization.
18145 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18146 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18147
18148 2012-03-08 Ulrich Drepper <drepper@gmail.com>
18149
18150 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18151 be defined individually, they must be defined as a block. Define
18152 S for printing a string instead of hidint the different by using a
18153 macro for adding the 'l'.
18154 * stdio-common/tst-fphex-wide.c: Adjust.
18155
18156 2012-03-07 Marek Polacek <polacek@redhat.com>
18157
18158 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18159
18160 2012-03-08 Marek Polacek <polacek@redhat.com>
18161
18162 [BZ #13806]
18163 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18164 * stdio-common/tst-fphex.c: Define a few macros to make the
18165 test reusable. Use them.
18166 * stdio-common/tst-fphex-wide.c: New file.
18167
18168 2012-03-08 Joseph Myers <joseph@codesourcery.com>
18169
18170 [BZ #6911]
18171 * manual/macros.texi (gnusystems): New macro.
18172 (nongnusystems): Likewise.
18173 (gnulinuxhurdsystems): Likewise.
18174 (gnuhurdsystems): Likewise..
18175 (gnulinuxsystems): Likewise.
18176 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18177 variants of the GNU system, not "GNU system".
18178 * manual/conf.texi: Likewise.
18179 * manual/errno.texi: Likewise. Update example of errno macro
18180 expansion.
18181 * manual/filesys.texi: Likewise.
18182 (getumask): Document as specific to GNU/Hurd.
18183 * manual/install.texi: Likewise. Reword some references to
18184 GNU/Linux.
18185 * manual/intro.texi: Likewise.
18186 * manual/io.texi: Likewise.
18187 (File Name Portability): Detail which constraints are inapplicable
18188 to all GNU systems and which are only inapplicable to GNU/Hurd.
18189 * manual/job.texi: Likewise.
18190 * manual/llio.texi: Likewise.
18191 (O_NOCTTY): Document as present on GNU/Linux.
18192 * manual/maint.texi: Likewise.
18193 * manual/memory.texi: Likewise.
18194 * manual/pattern.texi: Likewise.
18195 * manual/pipe.texi: Likewise.
18196 * manual/process.texi: Likewise.
18197 * manual/resource.texi: Likewise.
18198 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18199 child on GNU/Hurd.
18200 * manual/setjmp.texi: Likewise.
18201 * manual/signal.texi: Likewise.
18202 * manual/startup.texi: Likewise.
18203 * manual/stdio.texi: Likewise.
18204 * manual/terminal.texi: Likewise.
18205 (ONLCR): Document as POSIX.
18206 (OXTABS): Document availability on GNU/Linux as XTABS.
18207 (ONOEOT): Document availability separately from other bits.
18208 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18209 * manual/time.texi: Likewise.
18210 * manual/users.texi: Likewise.
18211 * INSTALL: Regenerated.
18212 * sysdeps/gnu/errlist.c: Regenerated.
18213
18214 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18215 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18216 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18217 puts.
18218 * configure: Regenerated.
18219
18220 2012-03-07 Joseph Myers <joseph@codesourcery.com>
18221
18222 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18223 default includes instead of AC_HEADER_CHECK.
18224 * sysdeps/i386/configure: Regenerated.
18225
18226 [BZ #10716]
18227 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18228 * math/s_cacoshf.c (__cacoshf): Likewise.
18229 * math/s_cacoshl.c (__cacoshl): Likewise.
18230 * math/s_casinh.c (__casinh): Set signs of result from argument.
18231 * math/s_casinhf.c (__casinhf): Likewise.
18232 * math/s_casinhl.c (__casinhl): Likewise.
18233 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18234 (casinh_test): Add more tests.
18235 * sysdeps/i386/fpu/libm-test-ulps: Update.
18236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18237
18238 2012-03-07 Ulrich Drepper <drepper@gmail.com>
18239
18240 * po/zh_TW.po: Update from translation team.
18241
18242 * login/Makefile (distribute): Remove variable.
18243 * catgets/Makefile: Likewise.
18244 * mach/Makefile: Likewise.
18245 * malloc/Makefile: Likewise.
18246 * misc/Makefile: Likewise.
18247 * iconv/Makefile: Likewise.
18248 * nscd/Makefile: Likewise.
18249 * hurd/Makefile: Likewise.
18250 * manual/Makefile: Likewise.
18251 * locale/Makefile: Likewise.
18252 * intl/Makefile: Likewise.
18253 * conform/Makefile: Likewise.
18254 * nss/Makefile: Likewise.
18255 * time/Makefile: Likewise.
18256 * soft-fp/Makefile: Likewise.
18257 * dirent/Makefile: Likewise.
18258 * gmon/Makefile: Likewise.
18259 * po/Makefile: Likewise.
18260 * rt/Makefile: Likewise.
18261 * socket/Makefile: Likewise.
18262 * math/Makefile: Likewise.
18263 * signal/Makefile: Likewise.
18264 * debug/Makefile: Likewise.
18265 * elf/Makefile: Likewise.
18266 * timezone/Makefile: Likewise.
18267 * stdlib/Makefile: Likewise.
18268 * iconvdata/Makefile: Likewise.
18269 * sunrpc/Makefile: Likewise.
18270 * io/Makefile: Likewise.
18271 * argp/Makefile: Likewise.
18272 * inet/Makefile: Likewise.
18273 * hesiod/Makefile: Likewise.
18274 * grp/Makefile: Likewise.
18275 * csu/Makefile: Likewise.
18276 * wctype/Makefile: Likewise.
18277 * crypt/Makefile: Likewise.
18278 * libio/Makefile: Likewise.
18279 * string/Makefile: Likewise.
18280 * nis/Makefile: Likewise.
18281 * resolv/Makefile: Likewise.
18282 * stdio-common/Makefile: Likewise.
18283 * wcsmbs/Makefile: Likewise.
18284 * dlfcn/Makefile: Likewise.
18285 * posix/Makefile: Likewise.
18286
18287 [BZ #6959]
18288 * timezone/Makefile: Don't install timezone files, just the programs
18289 and scripts.
18290
18291 2012-03-06 Ulrich Drepper <drepper@gmail.com>
18292
18293 * nss/databases.def: Add missing gshadow entry.
18294
18295 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18296
18297 2012-03-06 Marek Polacek <polacek@redhat.com>
18298
18299 [BZ #13726]
18300 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18301 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18302 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18303 * stdio-common/tst-long-dbl-fphex.c: New file.
18304
18305 2012-03-06 David S. Miller <davem@davemloft.net>
18306
18307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18308 (set_obp_int): New function.
18309 (get_obp_int): New function.
18310 (__get_clockfreq_via_dev_openprom): Likewise.
18311 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18312 Avoid unused variable warnings on 'val' and use builtin_expect.
18313 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18314 __builtin_expect.
18315 (INLINE_CLONE_SYSCALL): Likewise.
18316
18317 2012-03-05 David S. Miller <davem@davemloft.net>
18318
18319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18320
18321 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18322
18323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18324
18325 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18326 only for |x| >= 40.
18327 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18328
18329 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
18330
18331 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18332 Replace gettimeofday with __vdso_gettimeofday.
18333
18334 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18335 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18336 __vdso_clock_gettime and __vdso_getcpu.
18337
18338 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18339 time with __vdso_time.
18340
18341 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18342
18343 * manual/lang.texi (size_t): Note types to which size_t may be
18344 equivalent with the GNU C Library, but do not describe when
18345 differences between them are significant.
18346
18347 2012-03-05 Andreas Jaeger <aj@suse.de>
18348
18349 * sysdeps/i386/fpu/libm-test-ulps: Update.
18350
18351 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18352
18353 [BZ #3976]
18354 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18355 (__ieee754_pow): Save and restore rounding mode and use
18356 round-to-nearest for main computations.
18357 * math/libm-test.inc (pow_test_tonearest): New function.
18358 (pow_test_towardzero): Likewise.
18359 (pow_test_downward): Likewise.
18360 (pow_test_upward): Likewise.
18361 (main): Call the new functions.
18362 * sysdeps/i386/fpu/libm-test-ulps: Update.
18363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18364
18365 [BZ #3976]
18366 * math/libm-test.inc (cosh_test_tonearest): New function.
18367 (cosh_test_towardzero): Likewise.
18368 (cosh_test_downward): Likewise.
18369 (cosh_test_upward): Likewise.
18370 (sinh_test_tonearest): Likewise.
18371 (sinh_test_towardzero): Likewise.
18372 (sinh_test_downward): Likewise.
18373 (sinh_test_upward): Likewise.
18374 (main): Call the new functions.
18375 * sysdeps/i386/fpu/libm-test-ulps: Update.
18376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18377
18378 2012-03-05 Tom de Vries <tom@codesourcery.com>
18379
18380 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18381 default stack guard is set in last bytes.
18382 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18383
18384 2012-03-05 Kees Cook <keescook@chromium.org>
18385
18386 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18387
18388 [BZ #13656]
18389 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18390 possibly allocate from heap instead of stack.
18391 * stdio-common/bug-vfprintf-nargs.c: New file.
18392 * stdio-common/Makefile (tests): Add nargs overflow test.
18393
18394 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18395
18396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18397
18398 2012-03-03 Marek Polacek <polacek@redhat.com>
18399
18400 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18401 * math/math_private.h: Likewise.
18402 * stdlib/tst-strtod.c: Likewise.
18403 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18404 * sysdeps/x86_64/bits/atomic.h: Likewise.
18405
18406 2012-03-02 David S. Miller <davem@davemloft.net>
18407
18408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18412 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18413 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18414 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18415 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18416
18417 2012-03-02 Roland McGrath <roland@hack.frob.com>
18418
18419 [BZ #13792]
18420 * manual/examples/README: New file, says the example source files
18421 can be used under GPL>=2.
18422 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18423 line containing just "*/".
18424 * manual/examples/add.c: Add copyright header (GPL>=2).
18425 * manual/examples/argp-ex1.c: Likewise.
18426 * manual/examples/argp-ex2.c: Likewise.
18427 * manual/examples/argp-ex3.c: Likewise.
18428 * manual/examples/argp-ex4.c: Likewise.
18429 * manual/examples/atexit.c: Likewise.
18430 * manual/examples/db.c: Likewise.
18431 * manual/examples/dir.c: Likewise.
18432 * manual/examples/dir2.c: Likewise.
18433 * manual/examples/execinfo.c: Likewise.
18434 * manual/examples/filecli.c: Likewise.
18435 * manual/examples/filesrv.c: Likewise.
18436 * manual/examples/fmtmsgexpl.c: Likewise.
18437 * manual/examples/genpass.c: Likewise.
18438 * manual/examples/inetcli.c: Likewise.
18439 * manual/examples/inetsrv.c: Likewise.
18440 * manual/examples/isockad.c: Likewise.
18441 * manual/examples/longopt.c: Likewise.
18442 * manual/examples/memopen.c: Likewise.
18443 * manual/examples/memstrm.c: Likewise.
18444 * manual/examples/mkfsock.c: Likewise.
18445 * manual/examples/mkisock.c: Likewise.
18446 * manual/examples/mygetpass.c: Likewise.
18447 * manual/examples/pipe.c: Likewise.
18448 * manual/examples/popen.c: Likewise.
18449 * manual/examples/rprintf.c: Likewise.
18450 * manual/examples/search.c: Likewise.
18451 * manual/examples/select.c: Likewise.
18452 * manual/examples/setjmp.c: Likewise.
18453 * manual/examples/sigh1.c: Likewise.
18454 * manual/examples/sigusr.c: Likewise.
18455 * manual/examples/stpcpy.c: Likewise.
18456 * manual/examples/strdupa.c: Likewise.
18457 * manual/examples/strftim.c: Likewise.
18458 * manual/examples/strncat.c: Likewise.
18459 * manual/examples/subopt.c: Likewise.
18460 * manual/examples/swapcontext.c: Likewise.
18461 * manual/examples/termios.c: Likewise.
18462 * manual/examples/testopt.c: Likewise.
18463 * manual/examples/testpass.c: Likewise.
18464 * manual/examples/timeval_subtract.c: Likewise.
18465
18466 [BZ #13792]
18467 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18468 function to ...
18469 * manual/timeval_subtract.c.texi: ... here, new file.
18470
18471 2012-03-02 David S. Miller <davem@davemloft.net>
18472
18473 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18474
18475 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18476
18477 [BZ #3976]
18478 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18479 (__sin): Save and restore rounding mode and use round-to-nearest
18480 for all computations.
18481 (__cos): Save and restore rounding mode and use round-to-nearest
18482 for all computations.
18483 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18484 <fenv.h>.
18485 (tan): Save and restore rounding mode and use round-to-nearest for
18486 all computations.
18487 * math/libm-test.inc (cos_test_tonearest): New function.
18488 (cos_test_towardzero): Likewise.
18489 (cos_test_downward): Likewise.
18490 (cos_test_upward): Likewise.
18491 (sin_test_tonearest): Likewise.
18492 (sin_test_towardzero): Likewise.
18493 (sin_test_downward): Likewise.
18494 (sin_test_upward): Likewise.
18495 (tan_test_tonearest): Likewise.
18496 (tan_test_towardzero): Likewise.
18497 (tan_test_downward): Likewise.
18498 (tan_test_upward): Likewise.
18499 (main): Call the new functions.
18500 * sysdeps/i386/fpu/libm-test-ulps: Update.
18501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18502
18503 [BZ #10135]
18504 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18505 small n, then large n, before computing and testing k+n.
18506 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18508 Likewise.
18509 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18510 Likewise.
18511 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18512 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18513 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18514 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18515 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18516 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18517 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18518 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18519 * math/libm-test.inc (scalbn_test): Add more tests.
18520 (scalbln_test): Likewise.
18521
18522 * manual/filesys.texi (mode_t): Describe constraints on size and
18523 signedness, not exact equivalence to a particular type.
18524 (ino_t): Likewise.
18525 (ino64_t): Likewise.
18526 (dev_t): Likewise.
18527 (nlink_t): Likewise.
18528 (blkcnt_t): Likewise.
18529 (blkcnt64_t): Likewise.
18530 * manual/llio.texi (off_t): Likewise.
18531
18532 [BZ #3976]
18533 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18534 (__ieee754_exp): Save and restore rounding mode and use
18535 round-to-nearest for all computations.
18536 * math/libm-test.inc (exp_test_tonearest): New function.
18537 (exp_test_towardzero): Likewise.
18538 (exp_test_downward): Likewise.
18539 (exp_test_upward): Likewise.
18540 (main): Call the new functions.
18541 * sysdeps/i386/fpu/libm-test-ulps: Update.
18542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18543
18544 2012-03-01 Chris Demetriou <cgd@google.com>
18545
18546 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18547 have predictable order.
18548
18549 2012-03-01 David S. Miller <davem@davemloft.net>
18550
18551 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18552
18553 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18554 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18555 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18556 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18557
18558 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18559 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18560 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18562 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18563 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18564 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18565 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18566 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18567
18568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18569
18570 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18571 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18572 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18573
18574 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18575 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18576 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18577 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18578 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18579 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18580 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18581 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18582 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18583 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18584 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18585 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18586 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18587 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18588 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18589 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18590 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18591 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18592 * sysdeps/sparc/elf/configure: Regenerated.
18593
18594 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18595
18596 * configure.in (AS, LD): Require binutils 2.20 or later.
18597 * configure: Regenerated.
18598 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18599 as required minimum version.
18600 * INSTALL: Regenerated.
18601
18602 [BZ #2541]
18603 [BZ #4108]
18604 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18605 before squaring exponent.
18606 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18607 bottom long double and 27 bits of top long double before squaring
18608 exponent.
18609 * math/libm-test.inc (erfc_test): Add more tests.
18610 * sysdeps/i386/fpu/libm-test-ulps: Update.
18611 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18613
18614 2012-03-01 Kai Tietz <ktietz@redhat.com>
18615
18616 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18617 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18618 containing bit-fields.
18619 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18620 * soft-fp/single.h (_FP_UNION_S): Likewise.
18621 * soft-fp/double.h (_FP_UNION_D): Likewise.
18622
18623 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18624
18625 [BZ #13786]
18626 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18627 not include ../strcmp.S.
18628 [USE_AS_STRNCASECMP_L]: Likewise.
18629 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18630 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18631 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18632 (__strncasecmp_l_ia32): Define as alias to
18633 __strncasecmp_l_nonascii.
18634
18635 [BZ #5794]
18636 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18637 * sysdeps/i386/fpu/libm-test-ulps: Update.
18638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18639
18640 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18642
18643 2012-02-29 Jeff Law <law@redhat.com>
18644
18645 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18646 out of bounds read.
18647
18648 2012-02-29 Marek Polacek <polacek@redhat.com>
18649
18650 [BZ #13706]
18651 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18652 * elf/Makefile: Add rules to run tst-unused-dep.out.
18653
18654 2012-02-28 David S. Miller <davem@davemloft.net>
18655
18656 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18657 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18658 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18659 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18660 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18661 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18662
18663 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18664
18665 * math/libm-test.inc (llround_test): Move one test from
18666 lround_test. Use TEST_f_L in moved test.
18667 (lround_test): Move misplaced test to llround_test. Add testcase
18668 from bug 2561.
18669
18670 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18671
18672 * sysdeps/x86_64/fpu/e_expf.S: New file.
18673 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18674
18675 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18676
18677 [BZ #13637]
18678 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18679 of remain_len that may cause incomplete multi-byte character and
18680 false match.
18681 * posix/bug-regex33.c: New file.
18682 * posix/Makefile (tests): Add bug-regex33.
18683
18684 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18685
18686 * manual/macros.texi: New file.
18687 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18688 * manual/libc.texinfo: Include macros.texi.
18689 * manual/creatute.texi: Likewise.
18690 * manual/install.texi: Likewise.
18691 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18692 @glibcadj{} in references to the GNU C Library.
18693 * manual/charset.texi: Likewise.
18694 * manual/conf.texi: Likewise.
18695 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18696 when not using those macros.
18697 * manual/creature.texi: Likewise.
18698 * manual/crypt.texi: Likewise.
18699 * manual/errno.texi: Likewise.
18700 * manual/filesys.texi: Likewise.
18701 * manual/header.texi: Likewise.
18702 * manual/install.texi: Likewise.
18703 * manual/intro.texi: Likewise.
18704 * manual/io.texi: Likewise.
18705 * manual/job.texi: Likewise.
18706 * manual/lang.texi: Likewise.
18707 * manual/libc.texiinfo: Likewise.
18708 * manual/llio.texi: Likewise.
18709 * manual/locale.texi: Likewise.
18710 * manual/maint.texi: Likewise.
18711 * manual/math.texi: Likewise.
18712 * manual/memory.texi: Likewise.
18713 * manual/message.texi: Likewise.
18714 * manual/nss.texi: Likewise.
18715 * manual/pattern.texi: Likewise.
18716 * manual/process.texi: Likewise.
18717 * manual/resource.texi: Likewise.
18718 * manual/search.texi: Likewise.
18719 * manual/setjmp.texi: Likewise.
18720 * manual/signal.texi: Likewise.
18721 * manual/socket.texi: Likewise.
18722 * manual/startup.texi: Likewise.
18723 * manual/stdio.texi: Likewise.
18724 * manual/string.texi: Likewise.
18725 * manual/sysinfo.texi: Likewise.
18726 * manual/syslog.texi: Likewise.
18727 * manual/terminal.texi: Likewise.
18728 * manual/time.texi: Likewise.
18729 * manual/users.texi: Likewise.
18730 * INSTALL: Regenerated.
18731 * NOTES: Regenerated.
18732 * sysdeps/gnu/errlist.c: Regenerated.
18733
18734 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18735
18736 * include/dirent.h: Include <dirstream.h> before
18737 <dirent/dirent.h>.
18738
18739 2012-02-28 David S. Miller <davem@davemloft.net>
18740
18741 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18742 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18743 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18744 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18745
18746 2012-02-27 David S. Miller <davem@davemloft.net>
18747
18748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18750 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18751 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18752
18753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18754 frame pointer instead of stack pointer relative arg slot.
18755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18756 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18757 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18758
18759 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18760
18761 [BZ #3992]
18762 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18763
18764 2012-02-27 David S. Miller <davem@davemloft.net>
18765
18766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18770 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18771 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18772 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18773 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18774
18775 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18776
18777 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18778 later. Allow versions 5-9.
18779 * configure: Regenerated.
18780 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18781 required minimum version and 4.6 as recommended version. Do not
18782 mention bugs in GCC 2.7 and 2.8.
18783 * INSTALL: Regenerated.
18784
18785 2012-02-27 David S. Miller <davem@davemloft.net>
18786
18787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18791 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18792 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18793 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18794 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18795
18796 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18797 manipulate bits before adding and subtracting TWO112[sx].
18798 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18799
18800 2012-02-27 Roland McGrath <roland@hack.frob.com>
18801
18802 [BZ #13775]
18803 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18804 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18805 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18806 being in POSIX, because they are in 1003.1-2008.
18807
18808 * rt/tst-aio.c: Include <fcntl.h>.
18809 * rt/tst-aio7.c: Likewise.
18810 * rt/tst-aio64.c: Likewise.
18811
18812 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18813
18814 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18815
18816 * manual/install.texi (--with-headers): Describe headers as
18817 interface headers, not private headers.
18818 (Specific advice for GNU/Linux systems): Describe use of headers
18819 from "make headers_install", not private headers from older
18820 kernels.
18821 * INSTALL: Regenerated.
18822 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18823 Change to 2.6.19.
18824 * sysdeps/unix/sysv/linux/configure: Regenerated.
18825
18826 * manual/llio.texi (fclean): Remove documentation.
18827
18828 * manual/Makefile (libc-texi-generated): New variable. Include
18829 version.texi.
18830 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18831 $(libc-texi-generated), not duplicated list of files.
18832 (version.texi, stamp-version): New rules.
18833 (realclean): Remove $(libc-texi-generated), not individual files
18834 from that list. Do not remove dir-add.texinfo.
18835 * manual/libc.texinfo: Comment out uses of edition numbers and
18836 references to printed manual. Remove last-updated dates.
18837 (EDITION): Comment out.
18838 (ISBN): Likewise.
18839 (VERSION, UPDATED): Remove.
18840 (version.texi): Include.
18841
18842 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18843
18844 * sysdeps/posix/spawni.c: Include <signal.h>.
18845 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18846 * sysdeps/pthread/aio_fsync.c: Likewise.
18847
18848 2012-02-26 Ulrich Drepper <drepper@gmail.com>
18849
18850 * conform/Makefile (tests): Run only when not cross-compiling and
18851 when fast-check is not defined.
18852
18853 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18854 * conform/data/limits.h-data: Fixes for POSIX2008.
18855 * conform/run-conformtest.sh: Run all tests.
18856 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18857 headers.
18858 * include/bits/dlfcn.h: Likewise.
18859 * include/langinfo.h: Likewise.
18860 * include/monetary.h: Likewise.
18861 * include/sys/poll.h: Likewise.
18862
18863 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18864 for __USE_GNU.
18865 * posix/spawn.h: Define __need_sigset_t.
18866 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18867 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18868 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18869 to get sigevent_t only.
18870 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18871 only for __USE_GNU.
18872 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18873 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18874 process_vm_writev only for __USE_GNU.
18875 * termios/termios.h: Declare tcgetsid also for POSIX2008.
18876
18877 * conform/Makefile: For now ignore errors from run-conformtest.
18878 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18879 POSIX to avoid namespace pollution. Don't prepend headers.
18880 * conform/data/aio.h-data: Fixes for POSIX testing.
18881 * conform/data/fcntl.h-data: Likewise.
18882 * conform/data/glob.h-data: Likewise.
18883 * conform/data/grp.h-data: Likewise.
18884 * conform/data/pthread.h-data: Likewise.
18885 * conform/data/pwd.h-data: Likewise.
18886 * conform/data/signal.h-data: Likewise.
18887 * conform/data/spawn.h-data: Likewise.
18888 * conform/data/stdio.h-data: Likewise.
18889 * conform/data/stdlib.h-data: Likewise.
18890 * conform/data/stropts.h-data: Likewise.
18891 * conform/data/sys/mman.h-data: Likewise.
18892 * conform/data/sys/stat.h-data: Likewise.
18893 * conform/data/sys/types.h-data: Likewise.
18894 * conform/data/sys/wait.h-data: Likewise.
18895 * conform/data/time.h-data: Likewise.
18896 * conform/data/unistd.h-data: Likewise.
18897 * conform/data/utime.h-data: Likewise.
18898
18899 * io/sys/stat.h: fchmod was always in POSIX.
18900 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18901 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18902 * rt/aio.h: Define __need_timespec before including <time.h>.
18903 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18904 struct. Add forward declaration of pthread_attr_t and use it in
18905 sigevent.
18906 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18907 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18908 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18909 always remove CLK_TCK definition.
18910
18911 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18912
18913 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18914
18915 2012-02-25 Ulrich Drepper <drepper@gmail.com>
18916
18917 * conform/run-conformtest.sh: New file.
18918 * conform/Makefile: Run run-conformtest for tests.
18919 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18920 support.
18921
18922 * conform/data/uchar.h-data: New file.
18923 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18924 * conform/data/arpa/inet.h-data: Likewise.
18925 * conform/data/assert.h-data: Likewise.
18926 * conform/data/complex.h-data: Likewise.
18927 * conform/data/cpio.h-data: Likewise.
18928 * conform/data/ctype.h-data: Likewise.
18929 * conform/data/dirent.h-data: Likewise.
18930 * conform/data/dlfcn.h-data: Likewise.
18931 * conform/data/errno.h-data: Likewise.
18932 * conform/data/fcntl.h-data: Likewise.
18933 * conform/data/float.h-data: Likewise.
18934 * conform/data/fmtmsg.h-data: Likewise.
18935 * conform/data/fnmatch.h-data: Likewise.
18936 * conform/data/ftw.h-data: Likewise.
18937 * conform/data/glob.h-data: Likewise.
18938 * conform/data/grp.h-data: Likewise.
18939 * conform/data/iconv.h-data: Likewise.
18940 * conform/data/inttypes.h-data: Likewise.
18941 * conform/data/langinfo.h-data: Likewise.
18942 * conform/data/libgen.h-data: Likewise.
18943 * conform/data/limits.h-data: Likewise.
18944 * conform/data/locale.h-data: Likewise.
18945 * conform/data/math.h-data: Likewise.
18946 * conform/data/monetary.h-data: Likewise.
18947 * conform/data/mqueue.h-data: Likewise.
18948 * conform/data/ndbm.h-data: Likewise.
18949 * conform/data/net/if.h-data: Likewise.
18950 * conform/data/netdb.h-data: Likewise.
18951 * conform/data/netinet/in.h-data: Likewise.
18952 * conform/data/nl_types.h-data: Likewise.
18953 * conform/data/poll.h-data: Likewise.
18954 * conform/data/pthread.h-data: Likewise.
18955 * conform/data/pwd.h-data: Likewise.
18956 * conform/data/regex.h-data: Likewise.
18957 * conform/data/sched.h-data: Likewise.
18958 * conform/data/search.h-data: Likewise.
18959 * conform/data/semaphore.h-data: Likewise.
18960 * conform/data/setjmp.h-data: Likewise.
18961 * conform/data/signal.h-data: Likewise.
18962 * conform/data/spawn.h-data: Likewise.
18963 * conform/data/stdarg.h-data: Likewise.
18964 * conform/data/stdio.h-data: Likewise.
18965 * conform/data/stdlib.h-data: Likewise.
18966 * conform/data/string.h-data: Likewise.
18967 * conform/data/strings.h-data: Likewise.
18968 * conform/data/stropts.h-data: Likewise.
18969 * conform/data/sys/ipc.h-data: Likewise.
18970 * conform/data/sys/mman.h-data: Likewise.
18971 * conform/data/sys/msg.h-data: Likewise.
18972 * conform/data/sys/resource.h-data: Likewise.
18973 * conform/data/sys/select.h-data: Likewise.
18974 * conform/data/sys/sem.h-data: Likewise.
18975 * conform/data/sys/shm.h-data: Likewise.
18976 * conform/data/sys/socket.h-data: Likewise.
18977 * conform/data/sys/stat.h-data: Likewise.
18978 * conform/data/sys/statvfs.h-data: Likewise.
18979 * conform/data/sys/time.h-data: Likewise.
18980 * conform/data/sys/timeb.h-data: Likewise.
18981 * conform/data/sys/times.h-data: Likewise.
18982 * conform/data/sys/types.h-data: Likewise.
18983 * conform/data/sys/uio.h-data: Likewise.
18984 * conform/data/sys/un.h-data: Likewise.
18985 * conform/data/sys/utsname.h-data: Likewise.
18986 * conform/data/sys/wait.h-data: Likewise.
18987 * conform/data/syslog.h-data: Likewise.
18988 * conform/data/tar.h-data: Likewise.
18989 * conform/data/termios.h-data: Likewise.
18990 * conform/data/utime.h-data: Likewise.
18991 * conform/data/utmpx.h-data: Likewise.
18992 * conform/data/varargs.h-data: Likewise.
18993 * conform/data/wchar.h-data: Likewise.
18994 * conform/data/wctype.h-data: Likewise.
18995 * conform/data/wordexp.h-data: Likewise.
18996
18997 * include/stropts.h: New file.
18998 * include/uchar.h: New file.
18999 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19000 * include/assert.h: Likewise.
19001 * include/ctype.h: Likewise.
19002 * include/dirent.h: Likewise.
19003 * include/dlfcn.h: Likewise.
19004 * include/fcntl.h: Likewise.
19005 * include/fnmatch.h: Likewise.
19006 * include/glob.h: Likewise.
19007 * include/grp.h: Likewise.
19008 * include/libio.h: Likewise.
19009 * include/locale.h: Likewise.
19010 * include/math.h: Likewise.
19011 * include/net/if.h: Likewise.
19012 * include/netdb.h: Likewise.
19013 * include/netinet/in.h: Likewise.
19014 * include/pthread.h: Likewise.
19015 * include/pwd.h: Likewise.
19016 * include/regex.h: Likewise.
19017 * include/sched.h: Likewise.
19018 * include/search.h: Likewise.
19019 * include/setjmp.h: Likewise.
19020 * include/signal.h: Likewise.
19021 * include/stdio.h: Likewise.
19022 * include/stdlib.h: Likewise.
19023 * include/string.h: Likewise.
19024 * include/sys/cdefs.h: Likewise.
19025 * include/sys/mman.h: Likewise.
19026 * include/sys/msg.h: Likewise.
19027 * include/sys/resource.h: Likewise.
19028 * include/sys/select.h: Likewise.
19029 * include/sys/socket.h: Likewise.
19030 * include/sys/stat.h: Likewise.
19031 * include/sys/statvfs.h: Likewise.
19032 * include/sys/time.h: Likewise.
19033 * include/sys/times.h: Likewise.
19034 * include/sys/uio.h: Likewise.
19035 * include/sys/utsname.h: Likewise.
19036 * include/sys/wait.h: Likewise.
19037 * include/termios.h: Likewise.
19038 * include/time.h: Likewise.
19039 * include/ulimit.h: Likewise.
19040 * include/unistd.h: Likewise.
19041 * include/utime.h: Likewise.
19042 * include/wchar.h: Likewise.
19043 * include/wctype.h: Likewise.
19044 * include/wordexp.h: Likewise.
19045
19046 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19047
19048 * time/time.h: TIME_UTC must be a macro.
19049 Make timespec_get available for ISO C11 only as well.
19050
19051 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19052
19053 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19054 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19055
19056 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19057
19058 * configure.in: Use -o not -a in test for unsupported multi-arch.
19059
19060 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19061
19062 * manual/texinfo.tex: Update to version 2012-01-19.16.
19063
19064 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19065
19066 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19067
19068 2012-02-24 Roland McGrath <roland@hack.frob.com>
19069
19070 [BZ #13738]
19071 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19072 * manual/fdl-1.3.texi: New file.
19073 * manual/fdl-1.1.texi: File removed.
19074
19075 [BZ #13738]
19076 * manual/libc.texinfo (FDL_VERSION): New @set.
19077 Use it for mention of FDL in cover text.
19078 (Documentation License): Use it in @include file name.
19079
19080 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19081 Roland McGrath <roland@hack.frob.com>
19082
19083 [BZ #5461]
19084 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19085 not LONG_LONG_MAX and LONG_LONG_MIN.
19086 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19087 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19088 name.
19089 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19090
19091 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19092
19093 [BZ #2547]
19094 [BZ #11365]
19095 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19096 manipulate bits before adding and subtracting TWO23[sx].
19097 * math/libm-test.inc (nearbyint_test): Add more tests.
19098
19099 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19100
19101 [BZ #2548]
19102 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19103 bits before adding and subtracting TWO23[sx].
19104 * math/libm-test.inc (rint_test): Add more tests.
19105 (rint_test_tonearest): Likewise.
19106 (rint_test_towardzero): Likewise.
19107 (rint_test_downward): Likewise.
19108 (rint_test_upward: Likewise.
19109
19110 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19111
19112 [BZ #10110]
19113 * include/stdc-predef.h: New file. Extracted from features.h.
19114 * include/features.h: Include stdc-predef.h.
19115 * Makefile (headers): Add stdc-predef.h.
19116 * CONFORMANCE (Compiler limitations): Update.
19117
19118 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19119
19120 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19121
19122 2012-02-21 David S. Miller <davem@davemloft.net>
19123
19124 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19125 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19126
19127 2012-02-20 David S. Miller <davem@davemloft.net>
19128
19129 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19130 using a normal save/restore sequence, rather than allocating a
19131 dummy stack frame just to store a frame pointer and restore.
19132 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19133
19134 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19135
19136 * manual/install.texi: Fix stray word in line-wrapped comment.
19137
19138 2012-02-20 David S. Miller <davem@davemloft.net>
19139
19140 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19141 both binutils and gcc support GOTDATA.
19142
19143 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19144 "rd %pc" in the PIC register setup sequences.
19145
19146 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19147 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19148 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19149 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19150 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19151 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19152 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19153 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19155 (SYSCALL_ERROR_HANDLER): Likewise.
19156 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19157 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19159 (SYSCALL_ERROR_HANDLER): Likewise.
19160
19161 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19162 (HAVE_GCC_GOTDATA): New.
19163 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19164 relocation support in both binutils and gcc.
19165 * sysdeps/sparc/elf/configure: Regenerate.
19166
19167 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19168 * sysdeps/sparc/sparc32/elf/configure: Delete.
19169 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19170 * sysdeps/sparc/sparc64/elf/configure: Delete.
19171 * sysdeps/sparc/elf/configure.in: New file.
19172 * sysdeps/sparc/elf/configure: Generate.
19173
19174 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19175 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19176 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19177 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19178 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19179
19180 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19181
19182 * manual/install.texi: Do not mention specific glibc version
19183 numbers.
19184 * manual/libc.texinfo (VERSION, UPDATED): Update.
19185 (@copying): Use @copyright{} and range of years.
19186
19187 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19188
19189 [BZ #13695]
19190 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19191 [crti.S not in sysdirs] (generated): Do not append.
19192 [crti.S not in sysdirs] (omit-deps): Likewise.
19193 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19194 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19195 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19196 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19197 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19198 Likewise.
19199 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19200 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19201 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19202 * csu/defs.awk: Remove file.
19203 * sysdeps/generic/initfini.c: Likewise.
19204 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19205 variable.
19206 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19207 Likewise.
19208
19209 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19210
19211 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19212 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19213 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19214 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19215 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19216 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19217 <bits/epoll.h>.
19218 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19219 (__EPOLL_PACKED): Define to empty if not defined by
19220 <bits/epoll.h>.
19221 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19222 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19223 bits/epoll.h.
19224
19225 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19226
19227 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19228 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19229 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19230 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19231 <bits/timerfd.h>.
19232 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19234 bits/timerfd.h.
19235
19236 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19237
19238 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19239 in C locale.
19240 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19241 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19242 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19244
19245 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19246
19247 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19248 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19249
19250 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19251
19252 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19253 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19254 defined.
19255 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19256 Likewise.
19257 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19258 entry for 2.16.
19259
19260 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19261
19262 * math/w_acos.c: Use non-signaling floating-point comparisons.
19263 * math/w_acosf.c: Likewise.
19264 * math/w_acosh.c: Likewise.
19265 * math/w_acoshf.c: Likewise.
19266 * math/w_acoshl.c: Likewise.
19267 * math/w_acosl.c: Likewise.
19268 * math/w_asin.c: Likewise.
19269 * math/w_asinf.c: Likewise.
19270 * math/w_asinl.c: Likewise.
19271 * math/w_atanh.c: Likewise.
19272 * math/w_atanhf.c: Likewise.
19273 * math/w_atanhl.c: Likewise.
19274 * math/w_exp2.c: Likewise.
19275 * math/w_exp2f.c: Likewise.
19276 * math/w_exp2l.c: Likewise.
19277 * math/w_j0.c: Likewise.
19278 * math/w_j0f.c: Likewise.
19279 * math/w_j0l.c: Likewise.
19280 * math/w_j1.c: Likewise.
19281 * math/w_j1f.c: Likewise.
19282 * math/w_j1l.c: Likewise.
19283 * math/w_jn.c: Likewise.
19284 * math/w_jnf.c: Likewise.
19285 * math/w_log.c: Likewise.
19286 * math/w_log10.c: Likewise.
19287 * math/w_log10f.c: Likewise.
19288 * math/w_log10l.c: Likewise.
19289 * math/w_log2.c: Likewise.
19290 * math/w_log2f.c: Likewise.
19291 * math/w_log2l.c: Likewise.
19292 * math/w_logf.c: Likewise.
19293 * math/w_logl.c: Likewise.
19294 * math/w_sqrt.c: Likewise.
19295 * math/w_sqrtf.c: Likewise.
19296 * math/w_sqrtl.c: Likewise.
19297 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19298 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19299 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19300 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19301 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19302
19303 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19304
19305 [BZ #9739]
19306 * manual/string.texi (strnlen): Use correct parameter name in
19307 equivalent expression.
19308
19309 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19310
19311 [BZ #11174]
19312 * manual/users.texi (seteuid): Consistently use neweuid for
19313 argument name.
19314
19315 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19316
19317 [BZ #13704]
19318 * manual/nss.texi (Services in the NSS configuration): Correct
19319 list of services in example configuration file.
19320
19321 2012-02-19 Nick Bowler <nbowler@draconx.ca>
19322
19323 [BZ #11322]
19324 * manual/arith.texi: Remove statements about negative zero
19325 behaving identically to zero.
19326
19327 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19328
19329 [BZ #5993]
19330 * manual/install.texi: Do not document upgrading from libc5.
19331
19332 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19333
19334 [BZ #4596]
19335 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19336
19337 2012-02-18 David S. Miller <davem@davemloft.net>
19338
19339 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19340 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19341 %o7 across the call.
19342 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19343 instead.
19344 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19345 SETUP_PIC_REG_LEAF.
19346 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19347 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19348 * sysdeps/sparc/crtn.S: Likewise.
19349
19350 2012-02-17 Ulrich Drepper <drepper@gmail.com>
19351
19352 * aout/Makefile: Remove.
19353
19354 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19355
19356 [BZ #13058]
19357 * manual/examples/argp-ex1.c (main): Format definition in GNU
19358 style.
19359 * manual/examples/argp-ex2.c (main): Likewise.
19360 * manual/examples/argp-ex3.c (main): Likewise.
19361 * manual/examples/argp-ex4.c (main): Likewise.
19362 * manual/examples/longopt.c (main): Use new-style prototype
19363 definition.
19364 * manual/examples/strncat.c (main): Specify return type and use
19365 (void) for arguments.
19366 * manual/examples/subopt.c (main): Use char **argv argument.
19367
19368 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19369
19370 [BZ #5077]
19371 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19372 rounding modes.
19373
19374 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19375
19376 [BZ #6907]
19377 * manual/string.texi (strchr): Change when strchrnul is
19378 recommended.
19379
19380 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19381
19382 [BZ #174]
19383 * manual/locale.texi (setlocale): Document LOCPATH.
19384
19385 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19386
19387 [BZ #10210]
19388 * manual/process.texi (execle): Move @dots{} before last argument.
19389
19390 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
19391
19392 [BZ #12047]
19393 * manual/charset.texi (Generic Charset Conversion): Fix typo
19394 (LC_TYPE -> LC_CTYPE).
19395
19396 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19397
19398 [BZ #5805]
19399 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19400 (scalbnf): Likewise.
19401 (scalbnl): Likewise.
19402 (scalbln): Likewise.
19403 (scalblnf): Likewise.
19404 (scalblnl): Likewise.
19405 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19406 (vwarnx): Likewise.
19407 (verr): Likewise.
19408 (verrx): Likewise.
19409 * manual/filesys.texi (telldir): Use braces around return type.
19410 * manual/llio.texi (mmap): Add space after comma.
19411 (mmap64): Likewise.
19412 * manual/math.texi (jn): Use @var{} on parameter names.
19413 (jnf): Likewise.
19414 (jnl): Likewise.
19415 (yn): Likewise.
19416 (ynf): Likewise.
19417 (ynl): Likewise.
19418 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19419 line.
19420 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19421 "...".
19422 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19423 (sched_get_priority_max): Likewise.
19424 * manual/signal.texi (sigvec): Add space after comma.
19425 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19426 names.
19427 (if_indextoname): Likewise.
19428 (if_freenameindex): Likewise.
19429 (sendto): Use ',' instead of '.' in prototype.
19430 * manual/startup.texi (syscall): Use @dots{} instead of literal
19431 "...".
19432 * manual/stdio.texi (__fpending): Separate initial words of
19433 paragraph from @deftypefun line.
19434 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19435 "...".
19436 (vsyslog): Use @var{} on parameter names.
19437 * manual/terminal.texi (stty): Use @var{} on parameter names.
19438 * manual/users.texi (getutmp): Use @var{} on parameter names.
19439 (getutmpx): Likewise.
19440
19441 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19442
19443 [BZ #6884]
19444 * manual/stdio.texi (fopen): Fix typos in description of
19445 ",ccs=STRING".
19446
19447 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19448
19449 [BZ #4026]
19450 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19451 get clock_id definition.
19452
19453 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19454
19455 [BZ #4822]
19456 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19457 (madvise): Cast every argument to void on its own.
19458
19459 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19460
19461 [BZ #9902]
19462 * manual/startup.texi (Exit Status): Fix typo.
19463
19464 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19465
19466 [BZ #10140]
19467 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19468 * manual/examples/argp-ex2.c: Likewise.
19469 * manual/examples/argp-ex3.c: Likewise.
19470
19471 2012-02-16 Richard Henderson <rth@redhat.com>
19472
19473 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19474 * sysdeps/s390/s390-32/initfini.c: Remove.
19475 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19476 * sysdeps/s390/s390-64/initfini.c: Remove.
19477
19478 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19479
19480 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19481 compiler output for sysdeps/generic/initfini.c.
19482 * sysdeps/sh/elf/initfini.c: Remove file.
19483
19484 2012-02-16 David S. Miller <davem@davemloft.net>
19485
19486 [BZ #11494]
19487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19488
19489 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19490 * sysdeps/sparc/crti.S: New file.
19491 * sysdeps/sparc/crtn.S: New file.
19492 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19493 * sysdeps/sparc/sparc64/Makefile: Likewise.
19494
19495 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19496
19497 [BZ #3335]
19498 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19499
19500 2012-02-15 Roland McGrath <roland@hack.frob.com>
19501
19502 [BZ #4822]
19503 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19504
19505 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19506 (write, read, close): Likewise.
19507 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19508
19509 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19510
19511 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19512 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19513 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19514 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19515 <bits/signalfd.h>.
19516 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19518 bits/signalfd.h.
19519
19520 2012-02-14 Marek Polacek <polacek@redhat.com>
19521
19522 * sysdeps/x86_64/crti.S: New file.
19523 * sysdeps/x86_64/crtn.S: New file.
19524 * sysdeps/x86_64/elf/initfini.c: Remove file.
19525
19526 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19527
19528 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19529 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19530 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19531 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19532 <bits/inotify.h>.
19533 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19535 bits/inotify.h.
19536
19537 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19538
19539 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19540 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19541 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19542 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19543 <bits/eventfd.h>.
19544 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19546 bits/eventfd.h.
19547
19548 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19549
19550 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19551 __feraiseexcept instead of feraiseexcept.
19552
19553 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19554 nanosleep invocations.
19555 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19556 strings, and add error checking for a nanosleep invocations.
19557
19558 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19559
19560 Replace FSF snail mail address with URLs, as per GNU coding standards.
19561 Most of the snail mail addresses were wrong anyway, and omitting
19562 them makes the source code easier to maintain. Almost all of the
19563 changes are to license notices and to locale LC_IDENTIFICATION
19564 addresses, except for this one:
19565 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19566 not its snail mail address.
19567
19568 2012-02-09 Richard Henderson <rth@twiddle.net>
19569
19570 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19571 of kernel-features.h.
19572
19573 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19574
19575 2012-02-08 Marek Polacek <polacek@redhat.com>
19576
19577 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19578 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19579 * sysdeps/gnu/_G_config.h: Likewise.
19580 * sysdeps/generic/_G_config.h: Likewise.
19581
19582 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19583
19584 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19585 tests.
19586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19587
19588 * sysdeps/powerpc/powerpc32/crti.S: New file.
19589 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19590 * sysdeps/powerpc/powerpc64/crti.S: New file.
19591 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19592
19593 * Makeconfig (have-initfini): Don't set.
19594 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19595 * configure.in (nopic_initfini): Don't substitute.
19596 * config.h.in (HAVE_INITFINI): Don't #undef.
19597 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19598 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19599
19600 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19601
19602 Support crti.S and crtn.S provided directly by architectures.
19603 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19604 [crti.S in sysdirs] (omit-deps): Likewise.
19605 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19606 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19607 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19608 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19609 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19610 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19611 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19612 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19613 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19614 compiler output for sysdeps/generic/initfini.c.
19615 * sysdeps/i386/elf/Makefile: Remove file.
19616 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19617
19618 2012-02-07 Marek Polacek <polacek@redhat.com>
19619
19620 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19621 * sysdeps/gnu/_G_config.h: Likewise.
19622 * sysdeps/mach/hurd/_G_config.h: Likewise.
19623
19624 2012-02-07 Marek Polacek <polacek@redhat.com>
19625
19626 * math/Makefile (tests): Add tst-CMPLX2.
19627 * math/tst-CMPLX2.c: New file.
19628
19629 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19630
19631 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19632
19633 * math/libm-test.inc (jn_test): Add missing L suffix.
19634
19635 2012-02-06 Marek Polacek <polacek@redhat.com>
19636
19637 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19638 * sysdeps/i386/fpu/e_powf.S: Likewise.
19639 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19640 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19641 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19642 * sysdeps/i386/fpu/e_pow.S: Likewise.
19643 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19644 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19645 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19646 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19647 * sysdeps/i386/fpu/e_log2.S: Likewise.
19648 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19649 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19650 * sysdeps/i386/fpu/e_powl.S: Likewise.
19651 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19652 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19653 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19654 * sysdeps/i386/fpu/e_logl.S: Likewise.
19655 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19656 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19657 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19658 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19659 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19660 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19661 * sysdeps/i386/fpu/e_log.S: Likewise.
19662 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19663 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19664 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19665 * sysdeps/i386/fpu/e_logf.S: Likewise.
19666 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19667 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19668 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19669 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19670 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19671 * sysdeps/i386/fpu/e_log10.S: Likewise.
19672 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19673 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19674 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19675 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19676 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19677 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19678 * sysdeps/i386/asm-syntax.h: Likewise.
19679 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19680 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19681 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19682 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19683 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19684 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19685 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19686 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19687 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19688 * sysdeps/powerpc/sysdep.h: Likewise.
19689 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19690 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19691
19692 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19693
19694 [BZ #411]
19695 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19696
19697 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19698
19699 * sysdeps/i386/sysdep.h: Include <features.h>.
19700 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19701 version.
19702
19703 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19704
19705 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19706 Define.
19707 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19708 LOAD_PIC_REG_STR.
19709
19710 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19711
19712 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19713 (SETUP_PIC_REG): Use GET_PC_THUNK.
19714 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19715 macro.
19716
19717 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19718
19719 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19720 for non-PIC compilation.
19721 (SETUP_PIC_REG): Add .p2align directive.
19722 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19723 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19724 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19725 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19726 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19727 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19728 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19729 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19730 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19731 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19732 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19733 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19734 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19735 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19736 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19737 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19738 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19739 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19740 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19741 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19742 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19743 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19744 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19745 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19746 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19747 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19748 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19749 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19750 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19751 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19752 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19753 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19754 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19755 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19756 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19757 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19758 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19759 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19760 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19761 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19762 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19763
19764 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19765
19766 * math/tst-CMPLX.c: Include <stdio.h>.
19767
19768 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19769
19770 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19771 float.
19772 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19773 * sysdeps/sparc/bits/mathdef.h: Likewise.
19774
19775 2012-01-31 Marek Polacek <polacek@redhat.com>
19776
19777 * libio/libio.h: Don't define _PARAMS.
19778 * locale/programs/config.h: Don't define PARAMS.
19779 * stdlib/strtol_l.c: Likewise.
19780 (__strtol_l): Remove PARAMS from the prototype.
19781
19782 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19783
19784 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19785 names. Just use the correct names. Remove unnecessary wrapper
19786 functions.
19787 * malloc/arena.c: Likewise.
19788 * malloc/hooks.c: Likewise.
19789
19790 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19791 ARENA_TEST says not to. Simplify test for creation of a new arena.
19792 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19793
19794 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19795
19796 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19797 into tail calls.
19798 (update_get_addr): New function.
19799 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19800 GET_ADDR_MODULE parameter.
19801
19802 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19803
19804 * crypt/cert.c: Remove __STDC__ conditionals.
19805 * crypt/crypt-entry.c: Likewise.
19806 * crypt/crypt_util.c: Likewise.
19807 * libio/filedoalloc.c: Likewise.
19808 * libio/fileops.c: Likewise.
19809 * libio/genops.c: Likewise.
19810 * libio/iofclose.c: Likewise.
19811 * libio/iofdopen.c: Likewise.
19812 * libio/iofopen.c: Likewise.
19813 * libio/iofopen64.c: Likewise.
19814 * libio/iogetdelim.c: Likewise.
19815 * libio/iopopen.c: Likewise.
19816 * libio/obprintf.c: Likewise.
19817 * libio/oldfileops.c: Likewise.
19818 * libio/oldiofclose.c: Likewise.
19819 * libio/oldiofdopen.c: Likewise.
19820 * libio/oldiofopen.c: Likewise.
19821 * libio/oldiopopen.c: Likewise.
19822 * libio/wfiledoalloc.c: Likewise.
19823 * libio/wgenops.c: Likewise.
19824 * locale/programs/xmalloc.c: Likewise.
19825 * misc/syslog.c: Likewise.
19826 * stdio-common/xbug.c: Likewise.
19827 * string/memchr.c: Likewise.
19828 * string/memcmp.c: Likewise.
19829 * string/memrchr.c: Likewise.
19830 * string/rawmemchr.c: Likewise.
19831 * sysdeps/posix/getcwd.c: Likewise.
19832 * time/strftime_l.c: Likewise.
19833
19834 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19835
19836 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19837 * config.make.in (config-cflags-sse2avx): Define.
19838 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19839 Fix typo.
19840
19841 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19842
19843 * scripts/config.guess: Update from upstream config git repository.
19844 * scripts/config.sub: Likewise.
19845
19846 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19847
19848 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19849 (EM_NUM): Update.
19850 (R_TILEPRO_*, R_TILEGX_*): New macros.
19851
19852 * scripts/firstversions.awk: Fix bug in version range handling.
19853
19854 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19855
19856 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19857
19858 * include/sys/epoll.h: New file.
19859 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19860 libc_hidden_def.
19861
19862 2012-01-28 Ulrich Drepper <drepper@gmail.com>
19863
19864 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19865 Avoid unnecessary __WORDSIZE == 64 test.
19866 (fmaxf): Use VEX format if possible.
19867 (fmax): Likewise.
19868 (fminf): Likewise.
19869 (fmin): Likewise.
19870
19871 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19872 * math/math_private.h: Remove libc_fegetround* and
19873 libc_fesetround*.
19874 * sysdeps/i386/configure.in: Check for -msse2avx.
19875 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19876 also if SSE2AVX is defined.
19877 Remove libc_fegetround* and libc_fesetround*.
19878 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19879 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19880 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19881 of HAS_YMM_USABLE.
19882 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19883 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19884 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19885 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19886 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19887
19888 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19889
19890 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19891
19892 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19893 size is not set.
19894 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19895
19896 2012-01-27 Ulrich Drepper <drepper@gmail.com>
19897
19898 [BZ #13618]
19899 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19900 relocation.
19901 * Makeconfig (libm): Define.
19902 * elf/Makefile: Add rules to build and run tst-relsort1.
19903 * elf/tst-relsort1.c: New file.
19904 * elf/tst-relsort1mod1.c: New file.
19905 * elf/tst-relsort1mod2.c: New file.
19906
19907 2012-01-27 Joseph Myers <joseph@codesourcery.com>
19908
19909 * math/s_ldexp.c: Remove __STDC__ conditionals.
19910 * math/s_ldexpf.c: Likewise.
19911 * math/s_ldexpl.c: Likewise.
19912 * math/s_nextafter.c: Likewise.
19913 * math/s_nexttowardf.c: Likewise.
19914 * math/s_significand.c: Likewise.
19915 * math/s_significandf.c: Likewise.
19916 * math/s_significandl.c: Likewise.
19917 * math/w_jnl.c: Likewise.
19918 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19919 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19920 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19921 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19922 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19923 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19924 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19925 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19926 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19927 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19928 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19929 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19930 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19931 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19932 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19933 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19934 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19935 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19936 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19937 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19938 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19939 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19940 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19941 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19942 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19943 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19944 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19945 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19946 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19947 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19948 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19949 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19950 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19951 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19952 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19953 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19954 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19955 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19956 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19957 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19958 * sysdeps/ieee754/k_standard.c: Likewise.
19959 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19960 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19961 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19962 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19963 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19964 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19965 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19966 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19967 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19968 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19969 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19970 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19971 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19972 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19973 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19974 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19975 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19976 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19977 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19978 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19979 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19980 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19981 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19982 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19983 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19984 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19985 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19986 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19987 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19988 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19989 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19990 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19991 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19992 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19993 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19994 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19995 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19996 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19997 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19998 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19999 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20000 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20001 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20002 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20003 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20004 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20005 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20006 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20007 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20008 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20009 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20010 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20011 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20012 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20013 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20014 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20015 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20016 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20017 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20018 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20019 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20020 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20021 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20022 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20023 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20024 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20025 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20026 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20027 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20028 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20029 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20030 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20031 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20032 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20033 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20034 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20035 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20036 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20037 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20038 * sysdeps/ieee754/s_matherr.c: Likewise.
20039 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20040 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20041 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20042 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20043
20044 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20045
20046 * crypt/md5.h: Remove __STDC__ conditionals.
20047 * libio/libioP.h: Likewise.
20048 * locale/programs/config.h: Likewise.
20049 * sysdeps/generic/sysdep.h: Likewise.
20050 * sysdeps/i386/asm-syntax.h: Likewise.
20051 * sysdeps/s390/asm-syntax.h: Likewise.
20052 * sysdeps/unix/sysdep.h: Likewise.
20053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20055
20056 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20057
20058 * libio/libio.h: Remove __STDC__ conditionals.
20059 * malloc/obstack.h: Likewise.
20060 * math/complex.h: Likewise.
20061 * math/math.h: Likewise.
20062 * sysdeps/generic/_G_config.h: Likewise.
20063 * sysdeps/gnu/_G_config.h: Likewise.
20064 * sysdeps/mach/hurd/_G_config.h: Likewise.
20065 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20066 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20067 * sysdeps/sparc/bits/mathdef.h: Likewise.
20068
20069 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20070
20071 [BZ #13583]
20072 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20073 Clean up HAS_* macros.
20074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20075 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20076 possible.
20077 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20078 HAS_AVX.
20079 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20080 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20081 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20082 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20083 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20084
20085 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20086
20087 * elf/tst-unique3.cc (gets): Remove declaration.
20088 * elf/tst-unique3lib.cc (gets): Likewise.
20089 * elf/tst-unique3lib2.cc (gets): Likewise.
20090 * elf/tst-unique4.cc (gets): Likewise.
20091
20092 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20093
20094 * include/stdio.h: Add C++ protection. Add gets declarations and
20095 definitions.
20096 * debug/tst-chk1.c: Don't declare gets here.
20097 * stdio-common/tst-gets.c: Likewise.
20098
20099 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20100
20101 * posix/glob: Remove directory.
20102
20103 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20104
20105 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20106
20107 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20108
20109 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20110 of the non-standard EPFNOSUPPORT.
20111
20112 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20113
20114 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20115 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20116 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20117
20118 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20119
20120 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20121
20122 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20123
20124 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20125 transient errors.
20126 * nscd/grpcache.c (cache_addgr): Likewise.
20127 * nscd/hstcache.c (cache_addhst): Likewise.
20128 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20129 * nscd/pwdcache.c (cache_addpw): Likewise.
20130 * nscd/servicescache.c (cache_addserv): Likewise.
20131
20132 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20133
20134 * malloc/malloc.c: Various cleanups.
20135 * malloc/hooks.c: Likewise.
20136
20137 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20138 * stdlib/bug-fmtmsg1.c: New file.
20139
20140 * stdlib/fmtmsg.c (init): Add missing unlock.
20141 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20142
20143 2012-01-12 Marek Polacek <polacek@redhat.com>
20144
20145 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20146 and _GNU_SOURCE.
20147
20148 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20149
20150 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20151 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20152 macro to ensure uniqueness of label name.
20153 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20154 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20155
20156 2012-01-11 Ulrich Drepper <drepper@gmail.com>
20157
20158 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20159
20160 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20161 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20162 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20163 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20164
20165 2012-01-10 Ulrich Drepper <drepper@gmail.com>
20166
20167 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20168
20169 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20170 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20171 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20172
20173 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20174
20175 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20176 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20177 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20178 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20179
20180 * math/bits/math-finite.h: Add ldexp support.
20181
20182 2012-01-10 Marek Polacek <polacek@redhat.com>
20183
20184 * locale/programs/localedef.h (show_archive_content): Add noreturn
20185 attribute.
20186
20187 2012-01-09 Ulrich Drepper <drepper@gmail.com>
20188
20189 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20190
20191 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20192
20193 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20194
20195 * io/Makefile (headers): Add bits/poll2.h.
20196
20197 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20198
20199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20200 typo #include statement.
20201
20202 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20203
20204 * include/sys/cdefs.h: Define __attribute_alloc_size.
20205 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20206 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20207 * elf/pldd.c: Likewise.
20208 * iconv/iconv_charmap.c: Likewise.
20209 * iconv/iconvconfig.c: Likewise.
20210 * iconv/strtab.c: Likewise.
20211 * locale/programs/locale.c: Likewise.
20212 * locale/programs/localedef.h: Likewise.
20213 * locale/programs/simple-hash.c: Likewise.
20214 * nscd/nscd.h: Likewise.
20215 * nss/makedb.c: Likewise.
20216 * sysdeps/generic/ldconfig.h: Likewise.
20217 * locale/programs/localedef.c: Remove xmalloc prototype.
20218 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20219
20220 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20221
20222 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20223 appropriate.
20224
20225 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20226
20227 * math/Makefile (tests): Add tst-CMPLX.
20228 * math/tst-CMPLX.c: New file.
20229
20230 * math/complex.h (CMPLXL): Fix typo.
20231
20232 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20233 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20234 GLIBC_2.16.
20235 * debug/tst-chk1.c: Add poll and ppoll tests.
20236 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20237 * include/sys/poll.h: Add hidden proto for ppoll.
20238 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20239 * sysdeps/mach/hurd/ppoll.c: Likewise.
20240 * io/ppoll.c: Likewise.
20241 * debug/poll_chk.c: New file.
20242 * debug/ppoll_chk.c: New file.
20243 * include/bits/poll2.h: New file.
20244 * io/bits/poll2.h: New file.
20245
20246 [BZ #1350]
20247 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20248
20249 * configure.in: static is always set to yes. Remove.
20250 * config.make.in: Don't set build-static.
20251 * Makeconfig: Remove use of build-static.
20252 * dlfcn/Makefile: Likewise.
20253 * elf/Makefile: Likewise.
20254 * math/Makefile: Likewise.
20255 * misc/Makefile: Likewise.
20256 * nptl/Makefile: Likewise.
20257 * sysdeps/mach/hurd/Makefile: Likewise.
20258
20259 * configure.in: PWD_P is not used anymore.
20260 * config.make.in: Remove PWD_P entry.
20261
20262 * configure.in: Remove last remnants of RANLIB.
20263 No need to check for signed size_t anymore.
20264 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20265 and IA-64.
20266 Remove __builtin_expect test because we require at least gcc 3.4.
20267 * aclocal.m4: Likewise.
20268
20269 * wcsmbs/mbrtoc16.c: Implement using towc function.
20270 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20271 * wcsmbs/wcsmbsload.c: Likewise.
20272 * iconv/gconv_simple.c: Likewise.
20273 * iconv/gconv_int.h: Likewise.
20274 * iconv/gconv_builtin.h: Likewise.
20275 * iconv/iconv_prog.c: Remove CHAR16 handling.
20276
20277 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20278
20279 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20280
20281 * configure.in: Remove --with-elf and --enable-bounded options.
20282 Dont set base_machine for ia64. More non-ELF conditions removed.
20283 Remove testing and setting of leading underscore information.
20284 * config.make.in (build-bounded): Set to no.
20285 * config.h.in: Remove NO_UNDERSCORES entry.
20286 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20287 them.
20288 * csu/start.c: Remove !NO_UNDERSCORE code.
20289 * locale/localeinfo.h: Likewise.
20290 * sysdeps/generic/machine-gmon.h: Likewise.
20291 * sysdeps/generic/sysdep.h: Likewise.
20292 * sysdeps/i386/sysdep.h: Likewise.
20293 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20294 * sysdeps/mach/sysdep.h: Likewise.
20295 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20296 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20297 * sysdeps/sh/sysdep.h: Likewise.
20298 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20299 * sysdeps/unix/i386/sysdep.S: Likewise.
20300 * sysdeps/unix/sparc/start.c: Likewise.
20301 * sysdeps/unix/sparc/sysdep.S: Likewise.
20302 * sysdeps/unix/sparc/sysdep.h: Likewise.
20303 * sysdeps/unix/start.c: Likewise.
20304 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20305 * sysdeps/x86_64/sysdep.h: Likewise.
20306
20307 2012-01-07 Ulrich Drepper <drepper@gmail.com>
20308
20309 [BZ #13553]
20310 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20311 for non-gcc.
20312 * argp/argp-fmtstream.h: Use const instead __const.
20313 * argp/argp.h: Likewise.
20314 * assert/assert.h: Likewise.
20315 * bits/fenv.h: Likewise.
20316 * bits/sched.h: Likewise.
20317 * bits/sigset.h: Likewise.
20318 * bits/sigthread.h: Likewise.
20319 * catgets/nl_types.h: Likewise.
20320 * conform/data/pthread.h-data: Likewise.
20321 * crypt/crypt-private.h: Likewise.
20322 * crypt/crypt.h: Likewise.
20323 * crypt/crypt_util.c: Likewise.
20324 * ctype/ctype.h: Likewise.
20325 * debug/execinfo.h: Likewise.
20326 * debug/mbsnrtowcs_chk.c: Likewise.
20327 * debug/mbsrtowcs_chk.c: Likewise.
20328 * debug/wcsnrtombs_chk.c: Likewise.
20329 * debug/wcsrtombs_chk.c: Likewise.
20330 * debug/wcstombs_chk.c: Likewise.
20331 * dirent/dirent.h: Likewise.
20332 * dlfcn/dlfcn.h: Likewise.
20333 * elf/neededtest4.c: Likewise.
20334 * grp/grp.h: Likewise.
20335 * gshadow/gshadow.h: Likewise.
20336 * iconv/gconv.h: Likewise.
20337 * iconv/gconv_int.h: Likewise.
20338 * iconv/gconv_simple.c: Likewise.
20339 * iconv/iconv.h: Likewise.
20340 * iconv/loop.c: Likewise.
20341 * iconv/skeleton.c: Likewise.
20342 * include/aio.h: Likewise.
20343 * include/aliases.h: Likewise.
20344 * include/argz.h: Likewise.
20345 * include/arpa/inet.h: Likewise.
20346 * include/assert.h: Likewise.
20347 * include/dirent.h: Likewise.
20348 * include/dlfcn.h: Likewise.
20349 * include/execinfo.h: Likewise.
20350 * include/fcntl.h: Likewise.
20351 * include/fenv.h: Likewise.
20352 * include/glob.h: Likewise.
20353 * include/grp.h: Likewise.
20354 * include/libintl.h: Likewise.
20355 * include/mntent.h: Likewise.
20356 * include/netdb.h: Likewise.
20357 * include/pwd.h: Likewise.
20358 * include/rpc/netdb.h: Likewise.
20359 * include/sched.h: Likewise.
20360 * include/search.h: Likewise.
20361 * include/shadow.h: Likewise.
20362 * include/signal.h: Likewise.
20363 * include/stdio.h: Likewise.
20364 * include/stdlib.h: Likewise.
20365 * include/string.h: Likewise.
20366 * include/sys/socket.h: Likewise.
20367 * include/sys/stat.h: Likewise.
20368 * include/sys/statfs.h: Likewise.
20369 * include/sys/statvfs.h: Likewise.
20370 * include/sys/syslog.h: Likewise.
20371 * include/sys/time.h: Likewise.
20372 * include/sys/uio.h: Likewise.
20373 * include/time.h: Likewise.
20374 * include/unistd.h: Likewise.
20375 * include/utmp.h: Likewise.
20376 * include/wchar.h: Likewise.
20377 * include/wctype.h: Likewise.
20378 * inet/aliases.h: Likewise.
20379 * inet/arpa/inet.h: Likewise.
20380 * inet/netinet/ether.h: Likewise.
20381 * inet/netinet/in.h: Likewise.
20382 * intl/libintl.h: Likewise.
20383 * io/bits/fcntl2.h: Likewise.
20384 * io/fcntl.h: Likewise.
20385 * io/ftw.h: Likewise.
20386 * io/sys/poll.h: Likewise.
20387 * io/sys/stat.h: Likewise.
20388 * io/sys/statfs.h: Likewise.
20389 * io/sys/statvfs.h: Likewise.
20390 * io/utime.h: Likewise.
20391 * libio/bits/stdio.h: Likewise.
20392 * libio/bits/stdio2.h: Likewise.
20393 * libio/libio.h: Likewise.
20394 * libio/libioP.h: Likewise.
20395 * libio/stdio.h: Likewise.
20396 * locale/lc-ctype.c: Likewise.
20397 * locale/locale.h: Likewise.
20398 * login/utmp.h: Likewise.
20399 * malloc/arena.c: Likewise.
20400 * malloc/malloc.c: Likewise.
20401 * malloc/malloc.h: Likewise.
20402 * malloc/mcheck.c: Likewise.
20403 * malloc/mtrace.c: Likewise.
20404 * math/bits/mathcalls.h: Likewise.
20405 * math/fenv.h: Likewise.
20406 * math/math_private.h: Likewise.
20407 * misc/bits/error.h: Likewise.
20408 * misc/bits/syslog.h: Likewise.
20409 * misc/err.h: Likewise.
20410 * misc/error.h: Likewise.
20411 * misc/fstab.h: Likewise.
20412 * misc/mntent.h: Likewise.
20413 * misc/regexp.h: Likewise.
20414 * misc/search.h: Likewise.
20415 * misc/sgtty.h: Likewise.
20416 * misc/sys/mman.h: Likewise.
20417 * misc/sys/syslog.h: Likewise.
20418 * misc/sys/uio.h: Likewise.
20419 * misc/sys/xattr.h: Likewise.
20420 * misc/ttyent.h: Likewise.
20421 * nis/rpcsvc/ypclnt.h: Likewise.
20422 * nss/nss.h: Likewise.
20423 * posix/bits/unistd.h: Likewise.
20424 * posix/fnmatch.h: Likewise.
20425 * posix/glob.h: Likewise.
20426 * posix/sched.h: Likewise.
20427 * posix/spawn.h: Likewise.
20428 * posix/sys/wait.h: Likewise.
20429 * posix/unistd.h: Likewise.
20430 * posix/wordexp.h: Likewise.
20431 * pwd/pwd.h: Likewise.
20432 * resolv/netdb.h: Likewise.
20433 * resource/sys/resource.h: Likewise.
20434 * rt/aio.h: Likewise.
20435 * rt/bits/mqueue2.h: Likewise.
20436 * rt/mqueue.h: Likewise.
20437 * shadow/shadow.h: Likewise.
20438 * signal/signal.h: Likewise.
20439 * socket/send.c: Likewise.
20440 * socket/sendto.c: Likewise.
20441 * socket/sys/socket.h: Likewise.
20442 * stdio-common/printf.h: Likewise.
20443 * stdlib/bits/stdlib.h: Likewise.
20444 * stdlib/fmtmsg.h: Likewise.
20445 * stdlib/monetary.h: Likewise.
20446 * stdlib/stdlib.h: Likewise.
20447 * stdlib/ucontext.h: Likewise.
20448 * streams/stropts.h: Likewise.
20449 * string/argz.h: Likewise.
20450 * string/bits/string2.h: Likewise.
20451 * string/string.h: Likewise.
20452 * string/strings.h: Likewise.
20453 * sunrpc/rpc/auth.h: Likewise.
20454 * sunrpc/rpc/auth_des.h: Likewise.
20455 * sunrpc/rpc/clnt.h: Likewise.
20456 * sunrpc/rpc/netdb.h: Likewise.
20457 * sunrpc/rpc/pmap_clnt.h: Likewise.
20458 * sunrpc/rpc/xdr.h: Likewise.
20459 * sysdeps/generic/inttypes.h: Likewise.
20460 * sysdeps/generic/net/if.h: Likewise.
20461 * sysdeps/generic/sys/swap.h: Likewise.
20462 * sysdeps/gnu/net/if.h: Likewise.
20463 * sysdeps/gnu/utmpx.h: Likewise.
20464 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20465 * sysdeps/i386/i486/bits/string.h: Likewise.
20466 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20467 * sysdeps/s390/bits/string.h: Likewise.
20468 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20469 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20470 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20471 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20472 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20473 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20474 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20475 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20476 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20477 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20478 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20479 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20480 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20481 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20482 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20483 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20484 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20486 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20487 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20488 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20489 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20490 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20491 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20492 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20493 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20494 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20495 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20496 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20497 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20498 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20499 * sysvipc/sys/ipc.h: Likewise.
20500 * sysvipc/sys/msg.h: Likewise.
20501 * sysvipc/sys/sem.h: Likewise.
20502 * sysvipc/sys/shm.h: Likewise.
20503 * termios/termios.h: Likewise.
20504 * time/sys/time.h: Likewise.
20505 * time/time.h: Likewise.
20506 * wcsmbs/bits/wchar2.h: Likewise.
20507 * wcsmbs/uchar.h: Likewise.
20508 * wcsmbs/wchar.h: Likewise.
20509 * wctype/wctype.h: Likewise.
20510
20511 [BZ #13551]
20512 * Makeconfig: Remove all but ELF support including AIX support.
20513 * Makerules: Likewise.
20514 * config.h.in: Likewise.
20515 * config.make.in: Likewise.
20516 * configure: Likewise.
20517 * configure.in: Likewise.
20518 * csu/Makefile: Likewise.
20519 * csu/version.c: Likewise.
20520 * debug/Makefile: Likewise.
20521 * dlfcn/Makefile: Likewise.
20522 * elf/Makefile: Likewise.
20523 * extra-lib.mk: Likewise.
20524 * iconv/Makefile: Likewise.
20525 * include/libc-symbols.h: Likewise.
20526 * include/shlib-compat.h: Likewise.
20527 * resolv/Makefile: Likewise.
20528 * resolv/res_libc.c: Likewise.
20529 * rt/Makefile: Likewise.
20530 * sysdeps/i386/asm-syntax.h: Likewise.
20531 * sysdeps/i386/sysdep.h: Likewise.
20532 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20533 * sysdeps/mach/sysdep.h: Likewise.
20534 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20535 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20536 * sysdeps/s390/asm-syntax.h: Likewise.
20537 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20538 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20539 * sysdeps/sh/sysdep.h: Likewise.
20540 * sysdeps/unix/sparc/sysdep.h: Likewise.
20541 * sysdeps/wordsize-32/divdi3.c: Likewise.
20542 * sysdeps/x86_64/sysdep.h: Likewise.
20543
20544 * argp/Versions: Remove _argp_unlock_xxx.
20545
20546 [BZ #13559]
20547 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20548 * abilist/libBrokenLocale.abilist: Likewise.
20549 * abilist/libanl.abilist: Likewise.
20550 * abilist/libc.abilist: Likewise.
20551 * abilist/libcrypt.abilist: Likewise.
20552 * abilist/libdl.abilist: Likewise.
20553 * abilist/libm.abilist: Likewise.
20554 * abilist/libnsl.abilist: Likewise.
20555 * abilist/libpthread.abilist: Likewise.
20556 * abilist/libresolv.abilist: Likewise.
20557 * abilist/librt.abilist: Likewise.
20558 * abilist/libthread_db.abilist: Likewise.
20559 * abilist/libutil.abilist: Likewise.
20560 * abilist/libnss_db.abilist: New file.
20561
20562 * scripts/abilist.awk: Add support for indirect functions.
20563
20564 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20565
20566 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20567
20568 * shlib-versions: Remove entries for ports architectures.
20569
20570 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20571 files in ports.
20572 * elf/stackguard-macros.h: Remove support for IA-64.
20573 * elf/tst-auditmod1.c: Likewise.
20574 * sysdeps/generic/ldsodefs.h: Likewise.
20575
20576 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20577 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20578 configure files.
20579
20580 [BZ #13552]
20581 * configure.in: Remove --enable-omitfp support.
20582 * FAQ.in: Adjust.
20583 * config.make.in: Likewise.
20584 * Makeconfig: Likewise.
20585 * manual/install.texi: Likewise.
20586
20587 In case anyone cares, the IA-64 architecture could move to ports.
20588 * sysdeps/ia64/*: Removed.
20589 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20590 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20591
20592 [BZ #13555]
20593 * configure.in: Remove entries for unsupported architectures.
20594
20595 [BZ #13533]
20596 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20597 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20598 routines.
20599 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20600 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20601 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20602 fall back to using wcrtomb.
20603 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20604 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20605 renaming.
20606 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20607 * wcsmbs/tst-c16c32-1.c: New file.
20608
20609 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20610 local variable.
20611
20612 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20613
20614 * elf/tst-unique3.cc: Add explicit declaration of gets.
20615 * elf/tst-unique3lib.cc: Likewise.
20616 * elf/tst-unique3lib2.cc: Likewise.
20617 * elf/tst-unique4.cc: Likewise.
20618
20619 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20620
20621 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20622
20623 [BZ #13566]
20624 * assert/assert.h (static_assert): Don't define for C++.
20625 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20626 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20627
20628 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20629
20630 * iconv/loop.c (single loop): Fix assertion in storing of
20631 remaining bytes.
20632
20633 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20634
20635 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20636
20637 * posix/getconf.c: Update copyright year.
20638 * nss/getent.c: Likewise.
20639 * nss/makedb.c: Likewise.
20640 * iconv/iconvconfig.c: Likewise.
20641 * iconv/iconv_prog.c: Likewise.
20642 * elf/ldconfig.c: Likewise.
20643 * elf/pldd.c: Likewise.
20644 * elf/sotruss.ksh: Likewise.
20645 * catgets/gencat.c: Likewise.
20646 * csu/version.c: Likewise.
20647 * elf/ldd.bash.in: Likewise.
20648 * elf/sprof.c (print_version): Likewise.
20649 * locale/programs/locale.c: Likewise.
20650 * locale/programs/localedef.c: Likewise.
20651 * login/programs/pt_chown.c: Likewise.
20652 * nscd/nscd.c (print_version): Likewise.
20653 * debug/xtrace.sh: Likewise.
20654 * malloc/memusage.sh: Likewise.
20655 * malloc/mtrace.pl: Likewise.
20656 * debug/catchsegv.sh: Likewise.
20657
20658 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20659
20660 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20661 pure attribute.
20662
20663 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20664
20665 [BZ #13533]
20666 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20667 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20668 transformations.
20669 * iconv/gconv_int.h: Likewise.
20670 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20671 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20672 from libc for GLIBC_2.16.
20673 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20674 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20675 * wcsmbs/uchar.h: Really define mbstate_t.
20676 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20677 * wcsmbs/c16rtomb.c: New file.
20678 * wcsmbs/mbrtoc16.c: New file.
20679 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20680 for C/POSIX locale.
20681 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20682 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20683
20684 * wcsmbs/wchar.h: Add missing __restrict.
20685
20686 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20687
20688 [BZ #13532]
20689 * time/Makefile (routines): Add timespec_get.
20690 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20691 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20692 timespec for ISO C11.
20693 * time/timespec_get.c: New file.
20694 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20695 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20696
20697 [BZ #13531]
20698 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20699 * stdlib/stdlib.h: Declare aligned_alloc.
20700 * Versions.def: Add GLIBC_2.16 for libc.
20701 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20702
20703 [BZ 13527]
20704 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20705 ISO C11.
20706
20707 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20708 code.
20709
20710 [BZ #13528]
20711 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20712
20713 [BZ #13529]
20714 * assert/assert.h (static_assert): Define.
20715
20716 * version.h: Update for 2.16 development version.
20717
20718 [BZ #13526]
20719 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20720 _ISOC11_SOURCE.
20721
20722 * version.h (RELEASE): Bump for 2.15 release.
20723 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20724
20725 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20726 Patch by Marek Polacek <mpolacek@redhat.com>.
20727
20728 * bits/byteswap.h: Protect long long constants with __extension__.
20729 * sysdeps/i386/bits/byteswap.h: Likewise.
20730 * sysdeps/ia64/bits/byteswap.h: Likewise.
20731 * sysdeps/s390/bits/byteswap.h: Likewise.
20732 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20733
20734 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20735
20736 [BZ #13540]
20737 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20738 destination buffer.
20739 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20740
20741 2011-12-23 Marek Polacek <polacek@redhat.com>
20742
20743 * elf/dl-addr.c (determine_info): Add inline keyword.
20744 * elf/tst-auditmod4b.c (check_avx): Likewise.
20745 * elf/tst-auditmod6b.c (check_avx): Likewise.
20746 * elf/tst-auditmod6c.c (check_avx): Likewise.
20747 * elf/tst-auditmod7b.c (check_avx): Likewise.
20748
20749 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20750
20751 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20752 !__SSE_MATH__.
20753
20754 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20755
20756 [BZ #13540]
20757 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20758 processing for last bytes.
20759
20760 2011-08-06 Bruno Haible <bruno@clisp.org>
20761
20762 [BZ #13061]
20763 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20764 U+0385, not to U+1FEE.
20765
20766 [BZ #13062]
20767 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20768 entry for U+00A5 U+0301.
20769
20770 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20771
20772 [BZ #13166]
20773 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20774 buffer for the output is too small.
20775
20776 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20777 optimization.
20778
20779 [BZ #13185]
20780 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20781 SSE flags if possible.
20782
20783 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20784
20785 [BZ #13540]
20786 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20787 processing for last bytes.
20788
20789 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20790
20791 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20792 (syscall-list-default-options, syscall-list-default-condition)
20793 (syscall-list-includes): Define.
20794 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20795 list of ABIs and options and #if conditions for each ABI. Do not
20796 handle common syscalls between ABIs specially.
20797 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20798 Remove.
20799 (syscall-list-variants, syscall-list-32bit-options)
20800 (syscall-list-32bit-condition, syscall-list-64bit-options)
20801 (syscall-list-64bit-condition): Define.
20802 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20803 (syscall-list-variants, syscall-list-32bit-options)
20804 (syscall-list-32bit-condition, syscall-list-64bit-options)
20805 (syscall-list-64bit-condition): Define.
20806 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20807 Remove.
20808 (syscall-list-variants, syscall-list-32bit-options)
20809 (syscall-list-32bit-condition, syscall-list-64bit-options)
20810 (syscall-list-64bit-condition): Define.
20811 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20812 Remove.
20813 (syscall-list-variants, syscall-list-32bit-options)
20814 (syscall-list-32bit-condition, syscall-list-64bit-options)
20815 (syscall-list-64bit-condition): Define.
20816
20817 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20818
20819 * locale/iso-639.def: Add brx entry.
20820
20821 [BZ #13328]
20822 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20823 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20824
20825 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20826 __feraiseexcept_renamed.
20827
20828 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20829
20830 [BZ #13538]
20831 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20832 EPOLLET with unsigned values.
20833 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20834 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20835
20836 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20837 to large cancellation.
20838 * math/s_cacoshf.c: Likewise.
20839 * math/s_cacoshl.c: Likewise.
20840
20841 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20842
20843 [BZ #13305]
20844 [BZ #12786]
20845 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20846 * math/s_cacoshf.c: Likewise.
20847 * math/s_cacoshl.c: Likewise.
20848
20849 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20850
20851 [BZ #13439]
20852 * iconv/gconv.h: Define __GCONV_SWAP.
20853 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20854 * iconvdata/utf-16.c: Likewise.
20855 * iconvdata/utf-32.c: Likewise.
20856
20857 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20858
20859 [BZ #13524]
20860 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20861 numerator after shifting it by one limb.
20862
20863 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20864
20865 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20866 under [__USE_EXTERN_INLINES].
20867
20868 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20869
20870 [BZ #13446]
20871 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20872
20873 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20874
20875 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20876 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20877 optimized code.
20878 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20879 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20880 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20881 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20882 for strncasecmp/strncasecmp_l compilation.
20883 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20884 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20885
20886 2011-12-08 Marek Polacek <mpolacek@redhat.com>
20887
20888 [BZ #13484]
20889 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20890 of __asm__.
20891
20892 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20893
20894 [BZ #13506]
20895 * time/tzfile.c (__tzfile_read): Check values from file header.
20896
20897 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20898
20899 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20900 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20901 * powerpc/powerpc32/dl-start.S: Likewise.
20902 * powerpc/powerpc32/elf/start.S: Likewise.
20903 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20904 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20905 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20906 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20907 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20908 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20909 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20910 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20911 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20912 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20913 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20914 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20915 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20916 * powerpc/powerpc32/memset.S: Likewise.
20917 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20918 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20919 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20920 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20921 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20922 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20923 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20924 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20925 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20926 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20927 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20928 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20929 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20930
20931 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20932
20933 * math/libm-test.inc: Added more nearbyint tests.
20934 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20935 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20936 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20937 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20938
20939 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20940
20941 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20942 FD_CLOEXEC.
20943
20944 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20945
20946 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20947 Add wcscpy-ssse3 wcscpy-c.
20948 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20949 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20950 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20951 * sysdeps/x86_64/wcschr.S: New file.
20952 * sysdeps/x86_64/wcsrchr.S: New file.
20953 * string/test-strcmp.c: Remove checking of wcscmp function for
20954 wrong alignments.
20955 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20956 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20957 wcsrchr-sse2 wcsrchr-c.
20958 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20959 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20960 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20961 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20962 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20963 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20964 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20965 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20966 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20967 * wcsmbc/wcschr.c (WCSCHR): New macro.
20968
20969 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20970
20971 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20972 * wcsmbs/test-wcsrchr.c: New file.
20973 * string/test-strrchr.c: Add wcsrchr support.
20974 (WIDE): New macro.
20975 * wcsmbs/test-wcscpy.c: New file.
20976 * string/test-strcpy.c: Add wcscpy support.
20977 (WIDE): New macro.
20978
20979 2011-12-10 Ulrich Drepper <drepper@gmail.com>
20980
20981 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20982 the inner loop.
20983
20984 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20985
20986 [BZ #13472]
20987 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20988
20989 2011-12-04 Ulrich Drepper <drepper@gmail.com>
20990
20991 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20992 Minor optimizations.
20993
20994 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20995 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20996 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20997
20998 2011-12-03 Ulrich Drepper <drepper@gmail.com>
20999
21000 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21001 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21002 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21003 for gcc to avoid warnings.
21004 * inet/Makefile (tests): Add tst-checks.
21005 * inet/tst-checks.c: New file.
21006
21007 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21008 warning.
21009
21010 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21011 __wmemcmp_sse2.
21012
21013 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21014 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21015
21016 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21017
21018 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21019
21020 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21021 problem.
21022
21023 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21024
21025 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21026
21027 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21028 conditional on GCC version.
21029 (__arch_compare_and_exchange_val_8_acq)
21030 (__arch_compare_and_exchange_val_16_acq)
21031 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21032 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21033 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21034
21035 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21036
21037 * sysdeps/sh/backtrace.c: New file.
21038
21039 2011-12-02 Andreas Schwab <schwab@redhat.com>
21040
21041 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21042 parenthesis.
21043
21044 2011-12-01 Andreas Schwab <schwab@redhat.com>
21045
21046 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21047 falling back to utime.
21048
21049 2011-11-30 Andreas Schwab <schwab@redhat.com>
21050
21051 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21052 expectations for float.
21053
21054 2011-11-29 Andreas Schwab <schwab@redhat.com>
21055
21056 * locale/weight.h (findidx): Add parameter len.
21057 * locale/weightwc.h (findidx): Likewise.
21058 * posix/fnmatch_loop.c (FCT): Adjust caller.
21059 * posix/regcomp.c (build_equiv_class): Likewise.
21060 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21061 * posix/regexec.c (check_node_accept_bytes): Likewise.
21062 * string/strcoll_l.c (STRCOLL): Likewise.
21063 * string/strxfrm_l.c (STRXFRM): Likewise.
21064
21065 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21066
21067 * Makefile.in: Remove CVSOPT handling.
21068 * configure.in: Remove use of AC_REVISION.
21069 * iconvdata/Makefile (distribute): No need to filter out CVS.
21070 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21071 handling.
21072
21073 2011-11-16 Andreas Schwab <schwab@redhat.com>
21074
21075 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21076 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21077 [USE_AS_STRNCASECMP_L]: Likewise.
21078 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21079 NO_TLS_DIRECT_SEG_REFS.
21080 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21081 Fix argument offsets for non-PIC.
21082 [USE_AS_STRNCASECMP_L]: Likewise.
21083 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21084 NO_TLS_DIRECT_SEG_REFS.
21085
21086 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21087
21088 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21089 O_CLOEXEC.
21090 * locale/loadlocale.c (_nl_load_locale): Likewise.
21091
21092 2011-11-15 Andreas Schwab <schwab@redhat.com>
21093
21094 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21095 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21096 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21097 (SYSCALL_GETTIME): Set errno on error.
21098
21099 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21100 count references to noai6ai_cached.
21101
21102 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21103
21104 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21105
21106 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21107 FD_CLOEXEC for /proc/self/maps.
21108
21109 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21110 FD_CLOEXEC for /proc/meminfo.
21111
21112 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21113 gai.conf.
21114
21115 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21116 FD_CLOEXEC for given file.
21117
21118 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21119
21120 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21121 FD_CLOEXEC for /etc/hosts.
21122 (_gethtent): Likewise.
21123
21124 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21125
21126 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21127 cancellation and set FD_CLOEXEC for /etc/netgroup.
21128
21129 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21130 reading /etc/publickey.
21131
21132 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21133 allow cancellation when reading /etc/group.
21134
21135 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21136 cancellation.
21137 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21138
21139 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21140 when using data file.
21141
21142 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21143
21144 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21145 (write_nis_obj): Use "c" and "e" in fopen.
21146
21147 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21148
21149 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21150
21151 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21152
21153 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21154
21155 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21156 locale.alias.
21157
21158 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21159
21160 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21161
21162 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21163
21164 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21165 file parsing and set FD_CLOEXEC.
21166
21167 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21168
21169 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21170
21171 2011-11-14 Andreas Schwab <schwab@redhat.com>
21172
21173 * malloc/arena.c (arena_get2): Don't call reused_arena when
21174 _int_new_arena failed.
21175
21176 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21177
21178 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21179 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21180 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21181 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21182 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21183 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21184 to compile strcasecmp and strncasecmp.
21185 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21186 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21187
21188 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21189
21190 2011-11-13 Ulrich Drepper <drepper@gmail.com>
21191
21192 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21193 locale-defines.sym to gen-as-const-headers.
21194 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21195 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21196 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21197 to compile strcasecmp and strncasecmp.
21198 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21199 strcasecmp_l and strncasecmp_l.
21200 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21201 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21202 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21203 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21204 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21205 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21206 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21207 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21208 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21209 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21210 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21211
21212 2011-11-12 Ulrich Drepper <drepper@gmail.com>
21213
21214 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21215 result of SYSDEP_GETTIME_CPU to retval.
21216 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21217 parameter list to macro. Remove trailing semicolon. Adjust users.
21218
21219 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21220 variable.
21221
21222 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21223 mantissa words.
21224 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21225
21226 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21227 from unused variable.
21228
21229 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21230 DWARF definitions.
21231 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21232 for assembling.
21233
21234 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21235 over namespaces.
21236
21237 * sunrpc/rpc_prot.c (rejected): Fix case value.
21238
21239 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21240 unsigned long long int to avoid warnings in shift.
21241
21242 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21243 of use of trans.
21244 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21245 variable tmp.
21246
21247 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21248 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21249 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21250
21251 * nis/nis_table.c (nis_list): Use variable of correct type for
21252 result of __follow_path call.
21253
21254 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21255
21256 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21257 of math functions ceil, trunc, floor, round, and sqrt, when
21258 avaliable on the platform.
21259 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21260 name clash.
21261 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21262 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21263 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21264
21265 2011-10-30 Marek Polacek <mpolacek@redhat.com>
21266
21267 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21268 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21269
21270 2011-11-11 Roland McGrath <roland@hack.frob.com>
21271
21272 * include/unistd.h: Fix __readlink return type.
21273 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21274
21275 2011-11-11 Ulrich Drepper <drepper@gmail.com>
21276
21277 * stdlib/ucontext.h: Undo last change for makecontext.
21278
21279 2011-11-11 Andreas Schwab <schwab@redhat.com>
21280
21281 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21282
21283 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21284 * setjmp/setjmp.h: Mark functions as non-leaf.
21285 * setjmp/bits/setjmp2.h: Likewise.
21286 * stdlib/ucontext.h: Likewise.
21287
21288 2011-11-10 Andreas Schwab <schwab@redhat.com>
21289
21290 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21291 (reused_arena): Don't check arena limit.
21292 (arena_get2): Atomically check arena limit.
21293
21294 2011-11-08 Ulrich Drepper <drepper@gmail.com>
21295
21296 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21297 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21298
21299 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21300 instructions.
21301
21302 2011-11-07 Andreas Schwab <schwab@redhat.com>
21303
21304 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21305 handler when locking.
21306
21307 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21308 Fix size of allocated buffer.
21309
21310 2011-11-04 Andreas Schwab <schwab@redhat.com>
21311
21312 [BZ #10103]
21313 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21314 declarations for long double functions.
21315 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21316
21317 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21318
21319 2011-11-03 Andreas Schwab <schwab@redhat.com>
21320
21321 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21322 installed.
21323
21324 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21325 is disabled.
21326
21327 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21328
21329 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21330
21331 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21332
21333 * include/alloca.h (stackinfo_alloca_round): Define.
21334 (extend_alloca): Use it.
21335 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21336 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21337 here.
21338
21339 * scripts/check-local-headers.sh: Ignore libaudit.h.
21340
21341 * nscd/Makefile (extra-objs): Make recursively expanded.
21342
21343 2011-11-01 Ulrich Drepper <drepper@gmail.com>
21344
21345 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21346 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21347
21348 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21349 * posix/tst-rfc3484-2.c: Likewise.
21350 * posix/tst-rfc3484-3.c: Likewise.
21351
21352 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21353 process_vm_writev.
21354 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21355 process_vm_writev.
21356 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21357 process_vm_writev from libc using GLIBC_2.15 version.
21358
21359 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21360
21361 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21362
21363 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21364 stack usage.
21365
21366 2011-10-31 Ulrich Drepper <drepper@gmail.com>
21367
21368 [BZ #13367]
21369 * nss/getent.c (initgroups_keys): Show error message in case no group
21370 names are given.
21371
21372 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21373 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21374 __bump_nl_timestamp.
21375 * nscd/connections (nscd_init): When host database is served open
21376 netlink socket and request notification about configuration changes.
21377 (main_loop_poll): Track netlink file descriptor and bump timestamp
21378 in case data becomes available.
21379 (main_loop_epoll): Likewise.
21380 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21381 (database_pers_head): Add extra_data fileds.
21382 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21383 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21384 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21385 Adjust caller.
21386 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21387 in6ai data, call __free_in6ai.
21388 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21389 Add -DHAVE_NETLINK.
21390 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21391 interface information. Reuse previous data if netlink timestamp
21392 is not changed.
21393 (__bump_nl_timestamp): New function.
21394 (__free_in6ai): New function.
21395
21396 2011-10-30 Ulrich Drepper <drepper@gmail.com>
21397
21398 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21399 close_not_cancel_no_status here.
21400 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21401
21402 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21403
21404 [BZ #13276]
21405 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21406 return value.
21407
21408 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21409 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21410 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21411
21412 2011-07-03 Andreas Jaeger <aj@suse.de>
21413
21414 [BZ #10709]
21415 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21416 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21417 * math/libm-test.inc (sin_test): Add test case.
21418
21419 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21420
21421 [BZ #13337]
21422 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21423 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21424
21425 * elf/chroot_canon.c (chroot_canon): Cleanups.
21426
21427 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21428
21429 [BZ #13335]
21430 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21431 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21432
21433 * string/test-strchr.c: Make usable for strchrnul testing.
21434 * string/test-strchrnul.c: New file.
21435 * string/Makefile (strop-tests): Add strchrnul.
21436
21437 * po/it.po: Update from translation team.
21438 * po/es.po: Likewise.
21439
21440 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21441
21442 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21443 the three constants needed as parameters. Drop the others.
21444 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21445 __m128i_strloadu_tolower.
21446 Create and initialize variable zero and use it in all the places
21447 where _mm_setzero_si128 was used.
21448
21449 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21450 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21451 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21452 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21453 anymore.
21454 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21455 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21456 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21457 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21458 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21459 __mpranred, __mptan.
21460 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21461 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21462 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21463 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21464 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21465 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21466 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21467 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21468 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21469
21470 2011-10-28 Andreas Schwab <schwab@redhat.com>
21471
21472 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21473 redefine if SHARED.
21474 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21475
21476 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21477 wide char related routines to wcsmbs subdir.
21478
21479 2011-10-27 Andreas Schwab <schwab@redhat.com>
21480
21481 [BZ #13344]
21482 * misc/sys/cdefs.h (__THROWNL): Define.
21483 * posix/unistd.h: Use __THREADNL instead of __THREAD
21484 for memory synchronization functions.
21485
21486 2011-10-26 Roland McGrath <roland@hack.frob.com>
21487
21488 [BZ #13349]
21489 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21490 doesn't exist.
21491 * manual/stdio.texi (Obstack Streams): Node removed.
21492
21493 2011-10-26 Andreas Schwab <schwab@redhat.com>
21494
21495 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21496 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21497 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21498
21499 * math/math_private.h (math_force_eval): Allow non-addressable
21500 arguments.
21501 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21502
21503 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21504
21505 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21506 file is not needed.
21507
21508 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21509 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21510 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21511 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21512 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21513 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21514 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21515 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21516 Add AVX variants.
21517 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21518 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21519 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21520 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21521 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21522 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21523 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21524 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21525 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21526 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21527 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21528 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21529 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21530 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21531 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21532 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21533 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21534 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21535 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21536
21537 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21538 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21539
21540 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21541 place. Use VEX encoding when compiling for AVX.
21542
21543 2011-10-25 Andreas Schwab <schwab@redhat.com>
21544
21545 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21546 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21547
21548 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21549
21550 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21551
21552 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21553 useless if() expression.
21554 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21555 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21556 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21557 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21558 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21559 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21560 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21561 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21562 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21563 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21564 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21565 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21566 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21567 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21568 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21569 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21570 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21571 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21572 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21573
21574 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21575
21576 2011-10-25 Andreas Schwab <schwab@redhat.com>
21577
21578 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21579 condition.
21580 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21581
21582 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21583
21584 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21585 .text section. Avoid duplicate constants.
21586 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21588 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21589 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21590 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21591 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21592 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21593 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21594 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21595 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21596 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21597 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21598 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21599 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21600 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21601 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21602 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21603 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21604 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21605 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21606 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21607 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21608 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21609 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21610 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21611 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21612 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21613 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21614 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21615 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21616 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21617 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21618 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21619 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21620 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21621 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21622 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21623 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21624 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21625 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21626 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21627 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21628 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21629 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21630 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21631
21632 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21633
21634 * sysdeps/x86_64/dla.h: Move to ...
21635 * sysdeps/x86_64/fpu/dla.h: ...here.
21636 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21637 situations. Use __builtin_fma only for gcc 4.6 and up.
21638
21639 * config.make.in: Add have-mfma4 entry.
21640 * configure.in: Substitute libc_cv_cc_fma4.
21641 * math/Makefile (dbl-only-routines): Add sincostab.
21642 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21643 Use __sincostab not sincos.
21644 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21645 name is a macro.
21646 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21647 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21649 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21650 using __copysign.
21651 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21652 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21653 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21654 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21655 and __inv.
21656 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21657 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21658 __copysign.
21659 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21660 define aliases when function name is a macro.
21661 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21662 sysdeps/ieee754/dbl-64/sincos.tbl.
21663 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21664 fma4-enabled routines.
21665 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21666 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21667 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21668 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21669 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21670 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21671 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21672 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21673 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21674 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21675 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21676 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21677 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21678 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21679 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21680 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21681 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21682 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21683 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21684 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21685 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21686 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21687 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21688 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21689 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21690 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21691 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21692 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21693 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21694 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21695
21696 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21697 rename.
21698 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21699 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21700 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21702 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21703 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21704 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21705 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21706
21707 2011-10-24 Andreas Schwab <schwab@redhat.com>
21708
21709 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21710
21711 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21712
21713 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21714
21715 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21716 prediction.
21717 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21718
21719 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21720 Remove unused variable magic_bits.
21721 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21722
21723 * string/strnlen.c: Define and use STRNLEN macro.
21724 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21725 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21726 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21727 * wcsmbs/wcslen.c: Define and use WCSLEN.
21728 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21729 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21730 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21731 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21732 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21733 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21734 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21735
21736 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21737
21738 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21739 strnlen-sse2-no-bsf.
21740 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21741 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21742 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21743 Add strnlen support.
21744 (USE_AS_STRNLEN): New macro.
21745 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21746 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21747 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21748 * sysdeps/x86_64/wcslen.S: New file.
21749
21750 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21751
21752 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21753 XMM-moves are used for copying on small sizes.
21754
21755 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21756
21757 * wcsmbs/Makefile (strop-tests): Add wcschr.
21758 * wcsmbs/test-wcschr.c: New file.
21759 * string/test-strchr.c: Update.
21760 Add wcschr support.
21761 (WIDE): New macro.
21762
21763 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21764
21765 * wcsmbs/Makefile (strop-tests): Add wcslen.
21766 * wcsmbs/test-wcslen.c: New file.
21767 * string/test-strlen.c: Update.
21768 Add wcslen support.
21769 (WIDE): New macro.
21770
21771 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21772
21773 * po/it.po: Update from translation team.
21774
21775 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21776
21777 * sysdeps/x86_64/wcscmp.S: Update.
21778 Fix wrong comparison semantics.
21779 wcscmp shall use signed comparison not unsigned.
21780 Don't use substraction to avoid overflow bug.
21781 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21782 * wcsmbc/wcscmp.c: Likewise.
21783 * string/test-strcmp.c: Likewise.
21784 Add new tests to check cases with negative values.
21785
21786 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21787
21788 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21789 * sysdeps/x86_64/dla.h: ...here. New file.
21790 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21792 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21793 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21794 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21795 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21796 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21797 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21798 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21799
21800 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21801
21802 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21803 __ynl_finite aliases.
21804
21805 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21806
21807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21808
21809 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21810 define DLA_FMA.
21811 [DLA_FMA] (EMULV): Use DLA_FMA.
21812 [DLA_FMA] (MUL12): Use EMULV.
21813 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21814 that are not needed.
21815 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21816 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21819 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21820 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21821 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21822
21823 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21824
21825 * math/s_nan.c: Undef __nan.
21826 * math/s_nanf.c: Undef __nanf.
21827 * math/s_nanl.c: Undef __nanl.
21828 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21829 "math_private.h".
21830
21831 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21832
21833 * math/s_catan.c: Add branch predictions.
21834 * math/s_catanf.c: Likewise.
21835 * math/s_catanh.c: Likewise.
21836 * math/s_catanhf.c: Likewise.
21837 * math/s_catanhl.c: Likewise.
21838 * math/s_catanl.c: Likewise.
21839 * math/s_cexp.c: Likewise.
21840 * math/s_cexpf.c: Likewise.
21841 * math/s_cexpl.c: Likewise.
21842 * math/s_clog.c: Likewise.
21843 * math/s_clog10.c: Likewise.
21844 * math/s_clog10f.c: Likewise.
21845 * math/s_clog10l.c: Likewise.
21846 * math/s_clogf.c: Likewise.
21847 * math/s_clogl.c: Likewise.
21848 * math/s_csqrt.c: Likewise.
21849 * math/s_csqrtf.c: Likewise.
21850 * math/s_csqrtl.c: Likewise.
21851 * math/s_ctanf.c: Likewise.
21852 * math/s_ctanh.c: Likewise.
21853 * math/s_ctanhf.c: Likewise.
21854 * math/s_ctanhl.c: Likewise.
21855 * math/s_ctanl.c: Likewise.
21856
21857 * math/math_private.h: Define __nan, __nanf, __nanl.
21858 * math/s_cacosh.c: Include <math_private.h>.
21859 * math/s_cacoshl.c: Likewise.
21860 * math/s_casinh.c: Likewise.
21861 * math/s_casinhf.c: Likewise.
21862 * math/s_casinhl.c: Likewise.
21863 * math/s_ccos.c: Rely entire on ccosh.
21864 * math/s_ccosf.c: Rely entire on ccoshf.
21865 * math/s_ccosl.c: Rely entirely on ccoshl.
21866 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21867 Remove tests for FE_INVALID.
21868 * math/s_ccoshf.c: Likewise.
21869 * math/s_ccoshl.c: Likewise.
21870 * math/s_csin.c: Likewise.
21871 * math/s_csinf.c: Likewise.
21872 * math/s_csinh.c Likewise.
21873 * math/s_csinhf.c: Likewise.
21874 * math/s_csinhl.c: Likewise.
21875 * math/s_csinl.c: Likewise.
21876 * math/s_ctan.c: Likewise.
21877 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21878 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21879 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21880
21881 2011-10-21 Ulrich Drepper <drepper@gmail.com>
21882
21883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21884 compilation problems.
21885
21886 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21887 __builtin_expect.
21888
21889 2011-10-20 Ulrich Drepper <drepper@gmail.com>
21890
21891 * sysdeps/i386/configure.in: Test for -mfma4 option.
21892 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21893 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21894 COMMON_CPUID_INDEX_80000001.
21895 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21896 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21897 use it if FMA3 is not supported.
21898 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21899
21900 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21901 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21902
21903 2011-10-20 Andreas Schwab <schwab@redhat.com>
21904
21905 [BZ #12892]
21906 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21907 it would create a cycle with a link time dependency.
21908
21909 2011-10-19 Ulrich Drepper <drepper@gmail.com>
21910
21911 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21912 instruction.
21913 * string/Makefile (strop-tests): Add rawmemchr.
21914 * string/test-rawmemchr.c: New file.
21915
21916 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21917 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21918 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21919 when compiling str{,n}casecmp and when AVX is available. Hook up
21920 new optimized code in initializers.
21921
21922 2011-10-19 Andreas Schwab <schwab@redhat.com>
21923
21924 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21925 __feraiseexcept instead of feraiseexcept.
21926
21927 2011-10-18 Ulrich Drepper <drepper@gmail.com>
21928
21929 * math/math_private.h: Define defaults for libc_fetestexcept and
21930 libc_feupdateenv.
21931 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21932 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21933 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21934 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21935 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21936 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21937 libc_fetestexcept and libc_feupdateenv.
21938
21939 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21940 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21941 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21942 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21943 libc_feholdexcept_setround.
21944
21945 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21946 Add s_nearbyint-c and s_nearbyintf-c.
21947 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21948 nearbyintf inlines.
21949 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21950 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21951 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21952 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21953
21954 * math/math_private.h: Define defaults for libc_fegetround,
21955 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21956 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21957 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21958 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21959 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21960 standard functions.
21961 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21962 Remove comments and hacks for old compiler versions.
21963 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21964 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21965 libc_feholdexceptl.
21966
21967 2011-10-18 Andreas Schwab <schwab@redhat.com>
21968
21969 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21970 (__feraiseexcept_renamed): Add __NTH.
21971 (feraiseexcept): Add __NTH. Rename local variables to fix
21972 namespace violations.
21973
21974 2011-10-17 Ulrich Drepper <drepper@gmail.com>
21975
21976 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21977
21978 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21979
21980 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21981 recently added interfaces.
21982 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21983
21984 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21985 about macro parameter expansion.
21986
21987 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21988 __NO_MATH_INLINES is defined. Cleanups.
21989
21990 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21991 and __floorf is target has SSE4.1.
21992 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21993 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21994 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21995 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21996
21997 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21998 name.
21999 (floorf): Likewise.
22000
22001 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22002
22003 2011-10-17 Andreas Schwab <schwab@redhat.com>
22004
22005 * misc/sys/cdefs.h: Fix last change.
22006
22007 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22008 database lookup.
22009
22010 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22011
22012 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22013
22014 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22015 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22018 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22019 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22020 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22021 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22022 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22023 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22024 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22025 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22026 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22027 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22028 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22029 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22030 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22031 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22032 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22033 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22034 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22035 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22036
22037 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22038 ceil, ceilf, floor, floorf.
22039
22040 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22041 Perform IRELATIVE relocations last.
22042
22043 * elf/do-rel.h: Add another parameter nrelative, replacing the
22044 local variable with the same name. Change name of the function
22045 to end in Rel or Rela (uppercase).
22046 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22047 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22048 elf_dynamic_do_##reloc function.
22049
22050 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22051
22052 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22053 is sufficient, at least on modern CPUs.
22054
22055 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22056
22057 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22058 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22059
22060 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22061 __expl_finite.
22062 * math/bits/math-finite.h: Add entries for exp.
22063 * math/e_expl.c: Add __*_finite alias.
22064 * sysdeps/i386/fpu/e_exp.S: Likewise.
22065 * sysdeps/i386/fpu/e_expf.S: Likewise.
22066 * sysdeps/i386/fpu/e_expl.c: Likewise.
22067 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22068 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22069 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22070 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22071 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22072 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22073 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22074
22075 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22076 is sufficient, at least on modern CPUs.
22077
22078 * ctype/ctype-info.c (__ctype_init): Define.
22079 * include/ctype.h (__ctype_init): Declare.
22080 (__ctype_b_loc): The variable is always initialized.
22081 (__ctype_toupper_loc): Likewise.
22082 (__ctype_tolower_loc): Likewise.
22083 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22084 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22085
22086 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22087
22088 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22089
22090 * configure.in: Also look in $cxxmachine/include for C++ system
22091 headers.
22092
22093 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22094
22095 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22096 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22097 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22098 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22099 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22100 (USE_AS_WMEMCMP): New macro.
22101 Fixing indents.
22102 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22103 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22104 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22105 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22107 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22108 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22109 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22110 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22111 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22112 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22113 (USE_AS_WMEMCMP): New macro.
22114 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22115 * sysdeps/string/test-memcmp.c: Update.
22116 Fix simple_wmemcmp.
22117 Add new tests.
22118 * wcsmbs/wmemcmp.c: Update.
22119 (WMEMCMP): New macro.
22120 Fix overflow bug.
22121
22122 2011-10-12 Andreas Jaeger <aj@suse.de>
22123
22124 [BZ #13268]
22125 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22126
22127 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22128
22129 * libio/iofwide.c (do_length): Avoid warning.
22130
22131 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22132
22133 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22134
22135 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22136
22137 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22138 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22139 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22140 * sysdeps/i386/i686/fpu/e_log.S: New file.
22141 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22142 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22143
22144 * ctype/ctype.h: Add support for inlined isXXX functions when
22145 compiling C++ code.
22146
22147 2011-10-14 Andreas Schwab <schwab@redhat.com>
22148
22149 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22150
22151 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22152
22153 2011-10-13 Roland McGrath <roland@hack.frob.com>
22154
22155 [BZ #13291]
22156 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22157
22158 2011-10-13 Andreas Schwab <schwab@redhat.com>
22159
22160 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22161 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22162 feraiseexcept.
22163
22164 * sysdeps/x86_64/memrchr.S: Check for zero size.
22165
22166 * string/stratcliff.c: Add memrchr tests.
22167
22168 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22169
22170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22171 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22172 rawmemchr-sse2 rawmemchr-sse2-bsf.
22173 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22174 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22175 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22176 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22177 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22178 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22179 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22180 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22181 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22182 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22183 * string/memrchr.c (MEMRCHR): New macro.
22184
22185 2011-10-12 Ulrich Drepper <drepper@gmail.com>
22186
22187 Add integration with gcc's -ffinite-math-only and optimize wrapper
22188 functions in libm.
22189 * Versions.def: Define GLIBC_2.15 version for libm.
22190 * math/Makefile (headers): Add bits/math-finite.h.
22191 * math/bits/math-finite.h: New file.
22192 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22193 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22194 * math/e_acoshl.c: Add __*_finite alias.
22195 * math/e_acosl.c: Likewise.
22196 * math/e_asinl.c: Likewise.
22197 * math/e_atan2l.c: Likewise.
22198 * math/e_atanhl.c: Likewise.
22199 * math/e_coshl.c: Likewise.
22200 * math/e_exp10.c: Likewise.
22201 * math/e_exp10f.c: Likewise.
22202 * math/e_exp10l.c: Likewise.
22203 * math/e_exp2l.c: Likewise.
22204 * math/e_fmodl.c: Likewise.
22205 * math/e_gammal_r.c: Likewise.
22206 * math/e_hypotl.c: Likewise.
22207 * math/e_j0l.c: Likewise.
22208 * math/e_j1l.c: Likewise.
22209 * math/e_jnl.c: Likewise.
22210 * math/e_lgammal_r.c: Likewise.
22211 * math/e_log10l.c: Likewise.
22212 * math/e_log2l.c: Likewise.
22213 * math/e_logl.c: Likewise.
22214 * math/e_powl.c: Likewise.
22215 * math/e_sinhl.c: Likewise.
22216 * math/e_sqrtl.c: Likewise.
22217 * math/e_scalb.c: Completely rewritten and optimized.
22218 * math/e_scalbf.c: Likewise.
22219 * math/e_scalbl.c: Likewise.
22220 * math/w_acos.c: Likewise.
22221 * math/w_acosf.c: Likewise.
22222 * math/w_acosl.c: Likewise.
22223 * math/w_acosh.c: Likewise.
22224 * math/w_acoshf.c: Likewise.
22225 * math/w_acoshl.c: Likewise.
22226 * math/w_asin.c: Likewise.
22227 * math/w_asinf.c: Likewise.
22228 * math/w_asinl.c: Likewise.
22229 * math/w_atan2.c: Likewise.
22230 * math/w_atan2f.c: Likewise.
22231 * math/w_atan2l.c: Likewise.
22232 * math/w_atanh.c: Likewise.
22233 * math/w_atanhf.c: Likewise.
22234 * math/w_atanhl.c: Likewise.
22235 * math/w_exp10.c: Likewise.
22236 * math/w_exp10f.c: Likewise.
22237 * math/w_exp10l.c: Likewise.
22238 * math/w_fmod.c: Likewise.
22239 * math/w_fmodf.c: Likewise.
22240 * math/w_fmodl.c: Likewise.
22241 * math/w_j0.c: Likewise.
22242 * math/w_j0f.c: Likewise.
22243 * math/w_j0l.c: Likewise.
22244 * math/w_j1.c: Likewise.
22245 * math/w_j1f.c: Likewise.
22246 * math/w_j1l.c: Likewise.
22247 * math/w_jn.c: Likewise.
22248 * math/w_jnf.c: Likewise.
22249 * math/w_log.c: Likewise.
22250 * math/w_logf.c: Likewise.
22251 * math/w_logl.c: Likewise.
22252 * math/w_log10.c: Likewise.
22253 * math/w_log10f.c: Likewise.
22254 * math/w_log10l.c: Likewise.
22255 * math/w_log2.c: Likewise.
22256 * math/w_log2f.c: Likewise.
22257 * math/w_log2l.c: Likewise.
22258 * math/w_pow.c: Likewise.
22259 * math/w_powf.c: Likewise.
22260 * math/w_powl.c: Likewise.
22261 * math/w_remainder.c: Likewise.
22262 * math/w_remainderf.c: Likewise.
22263 * math/w_remainderl.c: Likewise.
22264 * math/w_scalb.c: Likewise.
22265 * math/w_scalbf.c: Likewise.
22266 * math/w_scalbl.c: Likewise.
22267 * math/w_sqrt.c: Likewise.
22268 * math/w_sqrtf.c: Likewise.
22269 * math/w_sqrtl.c: Likewise.
22270 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22271 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22272 used.
22273 * math/math_private.h: Declare __kernel_standard_f.
22274 * math/w_cosh.c: Remove cruft and optimize a bit.
22275 * math/w_coshf.c: Likewise.
22276 * math/w_coshl.c: Likewise.
22277 * math/w_exp2.c: Likewise.
22278 * math/w_exp2f.c: Likewise.
22279 * math/w_exp2l.c: Likewise.
22280 * math/w_hypot.c: Likewise.
22281 * math/w_hypotf.c: Likewise.
22282 * math/w_hypotl.c: Likewise.
22283 * math/w_lgamma.c: Likewise.
22284 * math/w_lgamma_r.c: Likewise.
22285 * math/w_lgammaf.c: Likewise.
22286 * math/w_lgammaf_r.c: Likewise.
22287 * math/w_lgammal.c: Likewise.
22288 * math/w_lgammal_r.c: Likewise.
22289 * math/w_sinh.c: Likewise.
22290 * math/w_sinhf.c: Likewise.
22291 * math/w_sinhl.c: Likewise.
22292 * math/w_tgamma.c: Likewise.
22293 * math/w_tgammaf.c: Likewise.
22294 * math/w_tgammal.c: Likewise.
22295 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22296 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22297 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22298 Minor optimizations. Pretty printing. Remove cruft.
22299 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22300 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22301 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22302 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22303 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22304 * sysdeps/i386/fpu/e_asin.S: Likewise.
22305 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22306 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22307 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22308 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22309 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22310 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22311 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22312 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22313 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22314 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22315 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22316 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22317 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22318 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22319 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22320 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22321 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22322 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22323 * sysdeps/i386/fpu/e_log.S: Likewise.
22324 * sysdeps/i386/fpu/e_log10.S: Likewise.
22325 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22326 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22327 * sysdeps/i386/fpu/e_log2.S: Likewise.
22328 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22329 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22330 * sysdeps/i386/fpu/e_logf.S: Likewise.
22331 * sysdeps/i386/fpu/e_logl.S: Likewise.
22332 * sysdeps/i386/fpu/e_pow.S: Likewise.
22333 * sysdeps/i386/fpu/e_powf.S: Likewise.
22334 * sysdeps/i386/fpu/e_powl.S: Likewise.
22335 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22336 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22337 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22338 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22339 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22340 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22341 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22342 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22343 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22344 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22345 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22346 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22347 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22348 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22349 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22350 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22351 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22352 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22353 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22354 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22355 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22357 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22358 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22359 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22360 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22361 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22362 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22364 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22365 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22366 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22367 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22368 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22369 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22370 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22371 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22372 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22373 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22374 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22375 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22376 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22377 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22378 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22379 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22380 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22381 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22382 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22383 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22384 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22385 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22386 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22387 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22388 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22389 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22390 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22391 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22392 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22393 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22394 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22395 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22396 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22397 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22398 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22399 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22400 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22401 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22402 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22403 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22404 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22405 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22406 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22407 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22408 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22409 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22410 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22411 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22412 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22413 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22414 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22415 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22416 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22417 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22418 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22419 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22420 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22421 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22422 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22423 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22424 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22425 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22426 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22427 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22428 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22429 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22430 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22431 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22432 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22433 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22434 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22435 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22436 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22437 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22438 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22439 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22440 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22441 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22442 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22443 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22444 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22445 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22446 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22447 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22448 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22449 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22450 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22451 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22452 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22453 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22454 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22455 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22456 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22457 (__isnanf): Likewise.
22458 (__isinf_ns): Likewise.
22459 (__isinf_nsf): Likewise.
22460 (__finite): Likewise.
22461 (__finitef): Likewise.
22462 (__ieee754_sqrt): Define as macro.
22463 (__ieee754_sqrtf): Define as macro.
22464 (__ieee754_sqrtl): Define as macro.
22465 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22466 inlined copy.
22467 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22468 __FINITE_MATH_ONLY__ consistent.
22469 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22470
22471 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22472
22473 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22474 of rawmemchr.
22475
22476 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22477
22478 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22479
22480 * po/ja.po: Update from translation team.
22481
22482 2011-10-08 Roland McGrath <roland@hack.frob.com>
22483
22484 * locale/programs/locarchive.c (prepare_address_space): New function.
22485 (create_archive, enlarge_archive, open_archive): Use it.
22486
22487 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22488 inside [SHARED], where it is used.
22489
22490 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22491
22492 * nss/getent.c (netgroup_keys): Remove unused variable.
22493 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22494
22495 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22496
22497 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22498 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22499 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22500 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22501 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22502 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22503 * math/Makefile (libm-calls): Add s_isinf_ns.
22504 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22505 * math/multc3.c: Likewise.
22506 * math/s_casin.c: Likewise.
22507 * math/s_casinf.c: Likewise.
22508 * math/s_casinl.c: Likewise.
22509 * math/s_ccos.c: Likewise.
22510 * math/s_ccosf.c: Likewise.
22511 * math/s_ccosl.c: Likewise.
22512 * math/s_ctan.c: Likewise.
22513 * math/s_ctanf.c: Likewise.
22514 * math/s_ctanh.c: Likewise.
22515 * math/s_ctanhf.c: Likewise.
22516 * math/s_ctanhl.c: Likewise.
22517 * math/s_ctanl.c: Likewise.
22518 * math/w_fmod.c: Likewise.
22519 * math/w_fmodf.c: Likewise.
22520 * math/w_fmodl.c: Likewise.
22521 * math/w_remainder.c: Likewise.
22522 * math/w_remainderf.c: Likewise.
22523 * math/w_remainderl.c: Likewise.
22524 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22525 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22526 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22527 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22528 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22529 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22530 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22531 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22532
22533 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22534 of the number.
22535 * stdio-common/printf_fphex.c: Likewise.
22536 * stdio-common/printf_size.c: Likewise.
22537
22538 * math/e_exp10.c: Include math_private.h using <...> not "...".
22539 * math/e_exp10f.c: Likewise.
22540 * math/e_exp10l.c: Likewise.
22541 * math/e_exp2l.c: Likewise.
22542 * math/e_j0l.c: Likewise.
22543 * math/e_j1l.c: Likewise.
22544 * math/e_jnl.c: Likewise.
22545 * math/e_lgammal_r.c: Likewise.
22546 * math/e_rem_pio2l.c: Likewise.
22547 * math/e_scalb.c: Likewise.
22548 * math/e_scalbf.c: Likewise.
22549 * math/e_scalbl.c: Likewise.
22550 * math/k_cosl.c: Likewise.
22551 * math/k_sinl.c: Likewise.
22552 * math/k_tanl.c: Likewise.
22553 * math/s_cacoshf.c: Likewise.
22554 * math/s_catan.c: Likewise.
22555 * math/s_catanf.c: Likewise.
22556 * math/s_catanh.c: Likewise.
22557 * math/s_catanhf.c: Likewise.
22558 * math/s_catanhl.c: Likewise.
22559 * math/s_catanl.c: Likewise.
22560 * math/s_ccosh.c: Likewise.
22561 * math/s_ccoshf.c: Likewise.
22562 * math/s_ccoshl.c: Likewise.
22563 * math/s_cexp.c: Likewise.
22564 * math/s_cexpf.c: Likewise.
22565 * math/s_cexpl.c: Likewise.
22566 * math/s_clog.c: Likewise.
22567 * math/s_clog10.c: Likewise.
22568 * math/s_clog10f.c: Likewise.
22569 * math/s_clog10l.c: Likewise.
22570 * math/s_clogf.c: Likewise.
22571 * math/s_clogl.c: Likewise.
22572 * math/s_csin.c: Likewise.
22573 * math/s_csinf.c: Likewise.
22574 * math/s_csinh.c: Likewise.
22575 * math/s_csinhf.c: Likewise.
22576 * math/s_csinhl.c: Likewise.
22577 * math/s_csinl.c: Likewise.
22578 * math/s_csqrt.c: Likewise.
22579 * math/s_csqrtf.c: Likewise.
22580 * math/s_csqrtl.c: Likewise.
22581 * math/s_ctan.c: Likewise.
22582 * math/s_ctanf.c: Likewise.
22583 * math/s_ctanh.c: Likewise.
22584 * math/s_ctanhf.c: Likewise.
22585 * math/s_ctanhl.c: Likewise.
22586 * math/s_ctanl.c: Likewise.
22587 * math/s_ldexp.c: Likewise.
22588 * math/s_ldexpf.c: Likewise.
22589 * math/s_ldexpl.c: Likewise.
22590 * math/s_significand.c: Likewise.
22591 * math/s_significandf.c: Likewise.
22592 * math/s_significandl.c: Likewise.
22593 * math/w_acos.c: Likewise.
22594 * math/w_acosf.c: Likewise.
22595 * math/w_acosh.c: Likewise.
22596 * math/w_acoshf.c: Likewise.
22597 * math/w_acoshl.c: Likewise.
22598 * math/w_acosl.c: Likewise.
22599 * math/w_asin.c: Likewise.
22600 * math/w_asinf.c: Likewise.
22601 * math/w_asinl.c: Likewise.
22602 * math/w_atan2.c: Likewise.
22603 * math/w_atan2f.c: Likewise.
22604 * math/w_atan2l.c: Likewise.
22605 * math/w_atanh.c: Likewise.
22606 * math/w_atanhf.c: Likewise.
22607 * math/w_atanhl.c: Likewise.
22608 * math/w_cosh.c: Likewise.
22609 * math/w_coshf.c: Likewise.
22610 * math/w_coshl.c: Likewise.
22611 * math/w_dremf.c: Likewise.
22612 * math/w_exp10.c: Likewise.
22613 * math/w_exp10f.c: Likewise.
22614 * math/w_exp10l.c: Likewise.
22615 * math/w_exp2.c: Likewise.
22616 * math/w_exp2f.c: Likewise.
22617 * math/w_fmod.c: Likewise.
22618 * math/w_fmodf.c: Likewise.
22619 * math/w_fmodl.c: Likewise.
22620 * math/w_hypot.c: Likewise.
22621 * math/w_hypotf.c: Likewise.
22622 * math/w_hypotl.c: Likewise.
22623 * math/w_j0.c: Likewise.
22624 * math/w_j0f.c: Likewise.
22625 * math/w_j0l.c: Likewise.
22626 * math/w_j1.c: Likewise.
22627 * math/w_j1f.c: Likewise.
22628 * math/w_j1l.c: Likewise.
22629 * math/w_jn.c: Likewise.
22630 * math/w_jnf.c: Likewise.
22631 * math/w_jnl.c: Likewise.
22632 * math/w_lgamma.c: Likewise.
22633 * math/w_lgamma_r.c: Likewise.
22634 * math/w_lgammaf.c: Likewise.
22635 * math/w_lgammaf_r.c: Likewise.
22636 * math/w_lgammal.c: Likewise.
22637 * math/w_lgammal_r.c: Likewise.
22638 * math/w_log.c: Likewise.
22639 * math/w_log10.c: Likewise.
22640 * math/w_log10f.c: Likewise.
22641 * math/w_log10l.c: Likewise.
22642 * math/w_log2.c: Likewise.
22643 * math/w_log2f.c: Likewise.
22644 * math/w_log2l.c: Likewise.
22645 * math/w_logf.c: Likewise.
22646 * math/w_logl.c: Likewise.
22647 * math/w_pow.c: Likewise.
22648 * math/w_powf.c: Likewise.
22649 * math/w_powl.c: Likewise.
22650 * math/w_remainder.c: Likewise.
22651 * math/w_remainderf.c: Likewise.
22652 * math/w_remainderl.c: Likewise.
22653 * math/w_scalb.c: Likewise.
22654 * math/w_scalbf.c: Likewise.
22655 * math/w_scalbl.c: Likewise.
22656 * math/w_sinh.c: Likewise.
22657 * math/w_sinhf.c: Likewise.
22658 * math/w_sinhl.c: Likewise.
22659 * math/w_sqrt.c: Likewise.
22660 * math/w_sqrtf.c: Likewise.
22661 * math/w_sqrtl.c: Likewise.
22662 * math/w_tgamma.c: Likewise.
22663 * math/w_tgammaf.c: Likewise.
22664 * math/w_tgammal.c: Likewise.
22665
22666 * po/ja.po: Update from translation team.
22667
22668 2011-09-29 Andreas Jaeger <aj@suse.de>
22669
22670 [BZ #13179]
22671 * sunrpc/netname.c (netname2host): Fix logic.
22672
22673 [BZ #6779]
22674 [BZ #6783]
22675 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22676 correctly.
22677 * math/w_remainder.c (__remainder): Likewise.
22678 * math/w_remainderf.c (__remainderf): Likewise.
22679 * math/libm-test.inc (remainder_test): Add test cases.
22680
22681 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22682
22683 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22684 sdiv_qrnnd.
22685
22686 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22687
22688 * string/test-memcmp.c: Avoid unncessary #defines.
22689 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22690
22691 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22692
22693 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22694 Use new sse2 version for core i3 - i7 as it's faster
22695 than sse42 version.
22696 (bit_Prefer_PMINUB_for_stringop): New.
22697 * sysdeps/x86_64/rawmemchr.S: Update.
22698 Replace with faster SSE2 version.
22699 * sysdeps/x86_64/memrchr.S: New file.
22700 * sysdeps/x86_64/memchr.S: Update.
22701 Replace with faster SSE2 version.
22702
22703 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22704
22705 * elf/dl-load.c (lose): Add cast to avoid warning.
22706
22707 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22708
22709 * po/ca.po: Update from translation team.
22710
22711 * inet/getnetgrent_r.c: Hook up nscd.
22712 * nscd/Makefile (routines): Add nscd_netgroup.
22713 (nscd-modules): Add netgroupcache.
22714 (CFLAGS-netgroupcache.c): Define.
22715 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22716 (cache_search): Add const to second parameter.
22717 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22718 INNETGR.
22719 (dbs): Add netgrdb entry.
22720 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22721 (verify_persistent_db): Handle netgrdb.
22722 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22723 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22724 GETFDNETGR.
22725 (netgroup_response_header): Define.
22726 (innetgroup_response_header): Define.
22727 (datahead): Add netgroup_response_header and innetgroup_response_header
22728 elements.
22729 * nscd/nscd.conf: Add entries for netgroup cache.
22730 * nscd/nscd.h (dbtype): Add netgrdb.
22731 (_PATH_NSCD_NETGROUP_DB): Define.
22732 (netgroup_iov_disabled): Declare.
22733 (xmalloc, xcalloc, xrealloc): Move declarations here.
22734 (cache_search): Adjust prototype.
22735 Add netgroup-related prototypes.
22736 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22737 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22738 (__nscd_innetgr): Declare.
22739 * nscd/selinux.c (perms): Use access_vector_t as element type and
22740 add netgroup-related initializers.
22741 * nscd/netgroupcache.c: New file.
22742 * nscd/nscd_netgroup.c: New file.
22743 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22744 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22745 For four parameters use innetgr.
22746 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22747 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22748 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22749 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22750
22751 * nscd/connections.c (register_traced_file): Don't register file
22752 for disabled databases.
22753
22754 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22755
22756 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22757
22758 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22759 from tree and freeing node.
22760
22761 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22762
22763 * nss/nsswitch.c (__nss_database_lookup): Handle
22764 nss_parse_service_list out of memory case.
22765
22766 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22767
22768 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22769 out of memory case.
22770
22771 2011-10-04 Andreas Schwab <schwab@redhat.com>
22772
22773 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22774 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22775 pass it down.
22776 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22777 elf_machine_rela, elf_machine_lazy_rel.
22778 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22779 (ELF_DYNAMIC_DO_REL): Likewise.
22780 (ELF_DYNAMIC_DO_RELA): Likewise.
22781 (ELF_DYNAMIC_RELOCATE): Likewise.
22782 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22783 to ELF_DYNAMIC_DO_REL.
22784 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22785 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22786 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22787 elf_machine_rela.
22788 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22789 skip_ifunc, don't call ifunc function if non-zero.
22790 (elf_machine_rela): Likewise.
22791 (elf_machine_lazy_rel): Likewise.
22792 (elf_machine_lazy_rela): Likewise.
22793 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22794 (elf_machine_lazy_rel): Likewise.
22795 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22796 Likewise.
22797 (elf_machine_lazy_rel): Likewise.
22798 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22799 Likewise.
22800 (elf_machine_lazy_rel): Likewise.
22801 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22802 (elf_machine_lazy_rel): Likewise.
22803 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22804 (elf_machine_lazy_rel): Likewise.
22805 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22806 (elf_machine_lazy_rel): Likewise.
22807 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22808 (elf_machine_lazy_rel): Likewise.
22809 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22810 (elf_machine_lazy_rel): Likewise.
22811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22812 (elf_machine_lazy_rel): Likewise.
22813
22814 2011-09-28 Ulrich Drepper <drepper@gmail.com>
22815
22816 * nss/nss_files/files-init.c (_nss_files_init): Use static
22817 initialization for all the *_traced_file variables.
22818
22819 2011-09-28 Andreas Schwab <schwab@redhat.com>
22820
22821 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22822
22823 2011-09-27 Roland McGrath <roland@hack.frob.com>
22824
22825 [BZ #13226]
22826 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22827
22828 2011-09-27 Andreas Schwab <schwab@redhat.com>
22829
22830 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22831 Reread the line before reparsing it.
22832
22833 2011-09-26 Andreas Schwab <schwab@redhat.com>
22834
22835 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22836
22837 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22838 Maxim Kuvyrkov <maxim@codesourcery.com>
22839 Joseph Myers <joseph@codesourcery.com>
22840
22841 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22842 if needed for __stack_chk_guard.
22843
22844 2011-09-19 Roland McGrath <roland@hack.frob.com>
22845
22846 * sysdeps/posix/spawni.c (script_execute): Always define it.
22847 It will be optimized away if unused.
22848 (maybe_script_execute): New function.
22849 (__spawni): Call it.
22850
22851 * Makerules: Don't include tls.make.
22852 (config-tls): Always set to thread.
22853 * tls.make.c: File removed.
22854
22855 2011-09-19 Mike Frysinger <vapier@gentoo.org>
22856
22857 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22858 * config.make.in (CPPFLAGS-config): New substituted variable.
22859
22860 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22861
22862 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22863
22864 [BZ #13192]
22865 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22866 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22867
22868 2011-09-15 Roland McGrath <roland@hack.frob.com>
22869
22870 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22871 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22872 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22873 (CALL_FAIL): Likewise.
22874 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22875 (CALL_FAIL): Macro removed.
22876 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22877
22878 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22879
22880 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22881 for __FINITE_MATH_ONLY__ == 1.
22882
22883 2011-09-15 Andreas Schwab <schwab@redhat.com>
22884
22885 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22886 __ieee754_sqrt instead of sqrt.
22887 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22888 __ieee754_sqrtf instead of sqrtf.
22889 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22890 __floorf instead of floorf.
22891 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22892 __floorf, __truncf instead of floorf, truncf.
22893
22894 2011-09-14 Ulrich Drepper <drepper@gmail.com>
22895
22896 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22897
22898 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22899 __extern_always_inline.
22900 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22901 32-bit.
22902
22903 2011-09-14 Andreas Schwab <schwab@redhat.com>
22904
22905 * elf/rtld.c (dl_main): Also relocate in dependency order when
22906 doing symbol dependency testing.
22907
22908 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22909
22910 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22911 Always define `refsym'.
22912
22913 2011-09-13 Andreas Schwab <schwab@redhat.com>
22914
22915 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22916 (__FD_ELT): Renamed from __FDELT.
22917 * misc/bits/select2.h (__FD_ELT): Likewise.
22918 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22919 __FD_MASK instead of __FDELT, __FDMASK.
22920 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22921 Likewise.
22922 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22923 Likewise.
22924
22925 * elf/Makefile (gen-ldd): Fix pattern.
22926
22927 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22928 (init_tls): Likewise.
22929
22930 2011-09-12 Ulrich Drepper <drepper@gmail.com>
22931
22932 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22933
22934 2011-09-12 Andreas Schwab <schwab@redhat.com>
22935
22936 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22937 `struct cmsghdr *' instead of `void *'.
22938 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22939 Likewise.
22940
22941 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22942
22943 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22944 if non-absolute.
22945 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22946 ldd_rewrite_script.
22947
22948 2011-09-11 Ulrich Drepper <drepper@gmail.com>
22949
22950 * configure.in: Remove --with-tls option.
22951 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22952 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22953 out in case it is missing.
22954 * sysdeps/ia64/elf/configure.in: Likewise.
22955 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22956 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22957 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22958 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22959 * sysdeps/sh/elf/configure.in: Likewise.
22960 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22961 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22962 * sysdeps/x86_64/elf/configure.in: Likewise.
22963 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22964 * sysdeps/mach/hurd/tls.h: Likewise.
22965
22966 [BZ #13067]
22967 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22968
22969 [BZ #13090]
22970 * configure.in: Fix use of AC_INIT.
22971
22972 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22973
22974 2011-09-10 Ulrich Drepper <drepper@gmail.com>
22975
22976 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22977 __set_errno.
22978 * malloc/hooks.c: Likewise.
22979
22980 [BZ #11929]
22981 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22982 variables statically.
22983 (narenas): Initialize.
22984 (list_lock): Initialize.
22985 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22986 initializtion of main_arena and list_lock. Small cleanups.
22987 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22988 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22989 Add initializers to main_arena and mp_.
22990 (malloc_state): Remove pagesize member. Change all users to use
22991 GLRO(dl_pagesize).
22992
22993 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22994 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22995 is always initialized.
22996
22997 * malloc/malloc.c: Removed unused configurations and dead code.
22998 * malloc/arena.c: Likewise.
22999 * malloc/hooks.c: Likewise.
23000 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23001
23002 * include/tls.h: Removed. USE___THREAD must always be defined.
23003 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23004 * elf/dl-libc.c: Likewise.
23005 * elf/dl-tsd.c: Likewise.
23006 * include/errno.h: Likewise.
23007 * include/netdb.h: Likewise.
23008 * include/resolv.h: Likewise.
23009 * inet/herrno-loc.c: Likewise.
23010 * inet/herrno.c: Likewise.
23011 * malloc/arena.c: Likewise.
23012 * malloc/hooks.c: Likewise.
23013 * malloc/malloc.c: Likewise.
23014 * resolv/res-state.c: Likewise.
23015 * resolv/res_libc.c: Likewise.
23016 * sysdeps/i386/dl-machine.h: Likewise.
23017 * sysdeps/ia64/dl-machine.h: Likewise.
23018 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23019 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23020 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23021 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23022 * sysdeps/sh/dl-machine.h: Likewise.
23023 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23024 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23025 * sysdeps/unix/i386/sysdep.S: Likewise.
23026 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23027 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23028 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23029 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23030 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23031 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23032 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23033 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23034 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23035 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23036 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23037 * sysdeps/x86_64/dl-machine.h: Likewise.
23038 * tls.make.c: Likewise.
23039
23040 * configure.in: Remove --with-__thread option. Make tests for
23041 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23042 tls_model attribute fail if no support is available. Remove
23043 USE_IN_LIBIO.
23044 * Makeconfig: Adjust for dropped configure option. All features are
23045 now mandatory.
23046 * Makerules: Likewise.
23047 * Versions.def: Likewise.
23048 * argp/argp-fmtstream.c: Likewise.
23049 * argp/argp-fmtstream.h: Likewise.
23050 * argp/argp-help.c: Likewise.
23051 * assert/assert.c: Likewise.
23052 * config.h.in: Likewise.
23053 * config.make.in: Likewise.
23054 * configure: Likewise.
23055 * configure.in: Likewise.
23056 * csu/Versions: Likewise.
23057 * csu/init.c: Likewise.
23058 * elf/tst-audit2.c: Likewise.
23059 * elf/tst-tls10.c: Likewise.
23060 * elf/tst-tls10.h: Likewise.
23061 * elf/tst-tls11.c: Likewise.
23062 * elf/tst-tls12.c: Likewise.
23063 * elf/tst-tls14.c: Likewise.
23064 * elf/tst-tlsmod11.c: Likewise.
23065 * elf/tst-tlsmod12.c: Likewise.
23066 * elf/tst-tlsmod13.c: Likewise.
23067 * elf/tst-tlsmod13a.c: Likewise.
23068 * elf/tst-tlsmod14a.c: Likewise.
23069 * elf/tst-tlsmod15b.c: Likewise.
23070 * elf/tst-tlsmod16a.c: Likewise.
23071 * elf/tst-tlsmod16b.c: Likewise.
23072 * elf/tst-tlsmod7.c: Likewise.
23073 * elf/tst-tlsmod8.c: Likewise.
23074 * elf/tst-tlsmod9.c: Likewise.
23075 * gmon/gmon.c: Likewise.
23076 * grp/fgetgrent_r.c: Likewise.
23077 * grp/putgrent.c: Likewise.
23078 * hurd/fopenport.c: Likewise.
23079 * include/libc-symbols.h: Likewise.
23080 * include/tls.h: Likewise.
23081 * intl/gettextP.h: Likewise.
23082 * intl/loadinfo.h: Likewise.
23083 * locale/global-locale.c: Likewise.
23084 * locale/localeinfo.h: Likewise.
23085 * mach/devstream.c: Likewise.
23086 * malloc/arena.c: Likewise.
23087 * malloc/set-freeres.c: Likewise.
23088 * misc/err.c: Likewise.
23089 * misc/getttyent.c: Likewise.
23090 * misc/mntent_r.c: Likewise.
23091 * posix/getopt.c: Likewise.
23092 * posix/wordexp.c: Likewise.
23093 * pwd/fgetpwent_r.c: Likewise.
23094 * resolv/Versions: Likewise.
23095 * resolv/res_hconf.c: Likewise.
23096 * shadow/fgetspent_r.c: Likewise.
23097 * shadow/putspent.c: Likewise.
23098 * stdio-common/printf_fphex.c: Likewise.
23099 * stdio-common/tmpfile.c: Likewise.
23100 * stdlib/abort.c: Likewise.
23101 * stdlib/fmtmsg.c: Likewise.
23102 * sunrpc/auth_unix.c: Likewise.
23103 * sunrpc/clnt_perr.c: Likewise.
23104 * sunrpc/clnt_tcp.c: Likewise.
23105 * sunrpc/clnt_udp.c: Likewise.
23106 * sunrpc/clnt_unix.c: Likewise.
23107 * sunrpc/openchild.c: Likewise.
23108 * sunrpc/svc_simple.c: Likewise.
23109 * sunrpc/svc_tcp.c: Likewise.
23110 * sunrpc/svc_udp.c: Likewise.
23111 * sunrpc/svc_unix.c: Likewise.
23112 * sunrpc/xdr.c: Likewise.
23113 * sunrpc/xdr_array.c: Likewise.
23114 * sunrpc/xdr_rec.c: Likewise.
23115 * sunrpc/xdr_ref.c: Likewise.
23116 * sunrpc/xdr_stdio.c: Likewise.
23117
23118 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23119
23120 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23121
23122 2011-07-03 Andreas Jaeger <aj@suse.de>
23123
23124 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23125 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23126 regenerate with gen-libm-tests.pl.
23127
23128 2010-05-12 Petr Baudis <pasky@suse.cz>
23129
23130 [BZ #11589]
23131 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23132 around j0() zero points by switching to j1().
23133 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23134 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23135 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23136 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23137
23138 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23139
23140 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23141 instead of 0.
23142 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23143 instead of 0.
23144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23145 Patch in part by Pavel Roskin <proski@gnu.org>.
23146
23147 [BZ #13138]
23148 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23149 realloc.
23150 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23151 Free memory block if necessary.
23152
23153 [BZ #12847]
23154 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23155 be NULL. Don't lock in this case.
23156
23157 2011-09-09 Roland McGrath <roland@hack.frob.com>
23158
23159 * elf/elf.h (ELFOSABI_GNU): New macro.
23160 (ELFOSABI_LINUX): Define to that.
23161
23162 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23163
23164 * string/strncat.c (strncat): Undef the symbol in case it has been
23165 defined in bits/string.h.
23166
23167 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23168
23169 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23170
23171 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23172 link map.
23173
23174 2011-08-17 Andreas Jaeger <aj@suse.de>
23175
23176 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23177
23178 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23179 Ian Lance Taylor <iant@google.com>
23180
23181 * math/libm-test.inc (lround_test): New testcase.
23182 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23183
23184 2011-09-08 Ulrich Drepper <drepper@gmail.com>
23185
23186 * Makefile: Remove support for automatic cvs check-ins.
23187 * Makerules: Likewise.
23188 * config.make.in: Likewise.
23189 * configure.in: Likewise.
23190 * intl/Makefile: Likewise.
23191 * locale/Makefile: Likewise.
23192 * po/Makefile: Likewise.
23193 * posix/Makefile: Likewise.
23194 * sysdeps/gnu/Makefile: Likewise.
23195 * sysdeps/mach/hurd/Makefile: Likewise.
23196 * sysdeps/sparc/sparc32/Makefile: Likewise.
23197
23198 [BZ #13118]
23199 * posix/Makefile (bug-regex32-ENV): Define.
23200 Patch by John Stanley <jpsinthemix@verizon.net>.
23201
23202 * misc/Makefile (headers): Add bits/select2.h.
23203 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23204 * misc/bits/select2.h: New file.
23205 * include/bits/select2.h: New file.
23206 * debug/Makefile (routines): Add fdelt_chk.
23207 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23208 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23209 FD_ISSET.
23210 * debug/fdelt_chk.c: New file.
23211
23212 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23213 * wcsmbs/test-wmemcmp.c: Likewise.
23214 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23215 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23216
23217 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23218
23219 * string/Makefile (strop-tests): Add memcmp.
23220 * string/test-wmemcmp.c: New file.
23221 * string/test-memcmp.c: Add wmemcmp support.
23222
23223 2011-09-08 Roland McGrath <roland@hack.frob.com>
23224
23225 [BZ #13153]
23226 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23227 2011-07-19 change.
23228
23229 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23230 garbage value in a __mach_port_mod_refs call in the cases of the
23231 task-self and thread-self ports.
23232
23233 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23234
23235 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23236
23237 2011-09-08 Andreas Schwab <schwab@redhat.com>
23238
23239 * elf/dl-load.c (lose): Check for non-null L.
23240
23241 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23242
23243 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23244
23245 * elf/dl-libc.c (dlerror_run): Pass back error code from
23246 dl_catch_error.
23247
23248 [BZ #13123]
23249 * elf/dl-load.c (lose): Free l_origin if it is valid.
23250
23251 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23252 names.
23253 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23254 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23255 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23256 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23257 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23258 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23259
23260 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23261
23262 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23263 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23264 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23265 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23266 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23267 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23268 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23269 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23270 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23271 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23272
23273 2011-08-15 Alan Modra <amodra@gmail.com>
23274
23275 [BZ #13092]
23276 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23277 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23278 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23279 ppc_mcount to static-only-routines.
23280 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23281 __mcount_internal.
23282 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23283 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23284
23285 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23286
23287 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23288 for finite and infinity parameters.
23289
23290 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23291
23292 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23293 and add nop instructions for throughput optimization.
23294 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23295
23296 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23297
23298 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23299 aligned copy for power7 with vector-scalar instructions.
23300 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23301
23302 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23303
23304 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23305 AVX check.
23306
23307 2011-09-07 Andreas Schwab <schwab@redhat.com>
23308
23309 [BZ #13144]
23310 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23311 last change.
23312
23313 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23314
23315 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23316 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23317 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23318 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23319 clock_gettime.
23320
23321 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23322
23323 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23324 Forgot to demangle the pointer.
23325
23326 * sysdeps/i386/sysdep.h: Define atom_text_section.
23327 * sysdeps/x86_64/sysdep.h: Likewise.
23328 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23329 section with atom_text_section.
23330 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23331 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23332 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23333 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23334 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23335
23336 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23337 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23338 already be defined. Change to take two parameters and don't assign
23339 result to variable. Adjust all users.
23340 Define INTERNAL_GETTIME if not already defined.
23341 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23342 call.
23343 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23344 HAVE_CLOCK_GETTIME_VSYSCALL.
23345 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23346
23347 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23348 gettimeofday vsyscall, just use time.
23349
23350 2011-09-06 Andreas Schwab <schwab@redhat.com>
23351
23352 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23353 <errno.h>.
23354
23355 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23356
23357 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23358 syscall on x86-64.
23359 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23360 syscall.
23361 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23362 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23363 syscall if possible.
23364
23365 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23366
23367 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23368 e_ident. Don't pass to find_mapsXX.
23369 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23370
23371 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23372
23373 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23374 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23375 * sysdeps/x86_64/multiarch/strchr.S: Update.
23376 Check bit_slow_BSF bit.
23377 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23378 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23379 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23380
23381 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23382
23383 [BZ #13134]
23384 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23385 before glibc 2.15.
23386 (tryshell): Define.
23387 (__spawni): Change last parameter to be flag. Test
23388 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23389 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23390 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23391 * posix/spawni.c: Likewise.
23392 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23393 * posix/spawnp.c: Likewise. Change normal version to use
23394 SPAWN_XFLAGS_USE_PATH.
23395 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23396 SPAWN_XFLAGS_TRY_SHELL.
23397
23398 [BZ #13150]
23399 * posix/glob.h: Remove gcc 1.x support.
23400
23401 [BZ #13068]
23402 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23403
23404 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23405
23406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23407 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23408 strrchr-sse2-bsf
23409 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23410 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23411 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23412 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23413 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23414 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23415
23416 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23417
23418 * sysdeps/x86_64/wcscmp.S: New file.
23419
23420 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23421 wcscmp-c wcscmp-sse2
23422 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23423 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23424 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23425 * wcsmbs/wcscmp.c: Allow renaming.
23426
23427 2011-09-05 David S. Miller <davem@davemloft.net>
23428
23429 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23430 stack slot, rather than the struct return pointer slot.
23431 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23432 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23434 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23435
23436 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23437
23438 * po/ja.po: Update from translation team.
23439
23440 [BZ #13144]
23441 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23442 kernel in 64-bit binaries.
23443
23444 2011-09-01 David S. Miller <davem@davemloft.net>
23445
23446 * elf/elf.h (HWCAP_SPARC_*): Move to..
23447 * sysdeps/sparc/sysdep.h: this new file and add new values.
23448 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23449 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23450 _DL_HWCAP_COUNT to 24.
23451 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23452 entries.
23453 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23454 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23455 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23456 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23457 instead of magic constants.
23458 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23459
23460 2011-08-31 David S. Miller <davem@davemloft.net>
23461
23462 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23463 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23464 Reimplement to do errno handling inline.
23465 (SYSCALL_ERROR_HANDLER): New macro.
23466 (__SYSCALL_STRING): Do not do errno handling in asm.
23467 (__CLONE_SYSCALL_STRING): Delete.
23468 (__INTERNAL_SYSCALL_STRING): Delete.
23469 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23470 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23471 (PSEUDO): Reimplement to do errno handling inline.
23472 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23473 (SYSCALL_ERROR_HANDLER): New macro.
23474 (__SYSCALL_STRING): Do not do errno handling in asm.
23475 (__CLONE_SYSCALL_STRING): Delete.
23476 (__INTERNAL_SYSCALL_STRING): Delete.
23477 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23478 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23479 i386.
23480 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23481 (inline_syscall*): Add 'err' argument.
23482 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23483 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23484 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23485 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23486
23487 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23488 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23489
23490 2011-08-30 Andreas Schwab <schwab@redhat.com>
23491
23492 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23493
23494 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23495
23496 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23497 directive.
23498
23499 2011-08-24 David S. Miller <davem@davemloft.net>
23500
23501 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23502
23503 2011-08-24 Andreas Schwab <schwab@redhat.com>
23504
23505 * elf/Makefile: Add rules to build and run unload8 test.
23506 * elf/unload8.c: New file.
23507 * elf/unload8mod1.c: New file.
23508 * elf/unload8mod1x.c: New file.
23509 * elf/unload8mod2.c: New file.
23510 * elf/unload8mod3.c: New file.
23511
23512 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23513 it wasn't used.
23514
23515 2011-08-23 David S. Miller <davem@davemloft.net>
23516
23517 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23518 subtract stack bias.
23519 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23520 %sp not %fp in calculations.
23521 (_JMPBUF_UNWINDS_ADJ): Likewise.
23522
23523 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23524 (aio_suspend): Call it to force an exception region around the
23525 AIO_MISC_WAIT() invocation.
23526
23527 2011-08-23 Andreas Schwab <schwab@redhat.com>
23528
23529 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23530 backslash.
23531
23532 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23533
23534 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23535 protection macro.
23536 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23537 and <dl-machine.h>.
23538 (Elf64_FuncDesc): Remove.
23539
23540 2011-08-22 David S. Miller <davem@davemloft.net>
23541
23542 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23543 sigaltstack check, add missing cfi directives.
23544 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23545 missing cfi directives, and sigaltstack handling.
23546
23547 2011-08-16 Andreas Schwab <schwab@redhat.com>
23548
23549 [BZ #11724]
23550 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23551 object is seen twice.
23552 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23553
23554 * elf/Makefile (distribute): Add tst-initorder2.c.
23555 (tests): Add tst-initorder2.
23556 (modules-names): Add tst-initorder2a tst-initorder2b
23557 tst-initorder2c tst-initorder2d. Add rules to build them.
23558 ($(objpfx)tst-initorder2.out): New rule.
23559 * elf/tst-initorder2.c: New file.
23560 * elf/tst-initorder2.exp: New file.
23561
23562 2011-08-22 Andreas Schwab <schwab@redhat.com>
23563
23564 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23565
23566 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23567 dependencies back to end of function.
23568
23569 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23570 $(elfobjdir)/ld.so.
23571
23572 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23573
23574 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23575 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23576 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23577 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23578 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23579 of __vdso_gettimeofday.
23580 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23581 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23582 attribute_hidden.
23583 (_libc_vdso_platform_setup): Remove initialization of
23584 __vdso_gettimeofday and __vdso_time.
23585
23586 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23587
23588 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23589 and fgetc_unlocked.
23590 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23591 getc_unlocked.
23592
23593 * elf/dl-open.c (add_to_global): Report additions to the global scope
23594 for LD_DEBUG=scopes.
23595 (dl_open_worker): Also print scope of newly loaded dependencies.
23596 (_dl_show_scope): Indicate if there is no scope.
23597
23598 [BZ #13114]
23599 * stdio-common/Makefile (tests): Add bug24.
23600 * stdio-common/bug24.c: New file.
23601
23602 2011-08-19 Andreas Jaeger <aj@suse.de>
23603
23604 [BZ #13114]
23605 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23606 non-existant file when using close-on-exec mode.
23607
23608 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23609
23610 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23611 the very first instruction.
23612
23613 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23614 the CFI state in the end.
23615 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23616 inclusion of dl-trampoline.h.
23617 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23618
23619 2011-08-19 Andreas Schwab <schwab@redhat.com>
23620
23621 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23622 expectations for long double.
23623
23624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23625 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23626
23627 2011-08-14 David S. Miller <davem@davemloft.net>
23628
23629 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23630 artificual limit depends upon the system page size.
23631
23632 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23633
23634 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23635 * resolv/Makefile: Define CFLAGS-libresolv.
23636
23637 2011-08-17 Andreas Schwab <schwab@redhat.com>
23638
23639 * nss/makedb.c (compute_tables): Make variables used in nested
23640 function static.
23641
23642 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23643
23644 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23645 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23646 if buffer was too small.
23647
23648 * elf/pldd.c (main): Attach to all threads in the process.
23649 Rewrite /proc handling to use *at functions.
23650
23651 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23652
23653 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23654 specifies first scope to show.
23655 (dl_open_worker): Update callers. Move printing scope of new
23656 object to before the relocation.
23657 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23658 * sysdeps/generic/ldsodefs.h: Update declaration.
23659
23660 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23661 string for the scope number.
23662
23663 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23664
23665 * nscd/servicescache.c (cache_addserv): Make sure written is always
23666 initialized.
23667
23668 2011-08-14 Roland McGrath <roland@hack.frob.com>
23669
23670 * sysdeps/i386/i486/bits/atomic.h
23671 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23672 statement expression, so as to suppress "set but not used" warning.
23673 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23674
23675 * string/strncat.c (STRNCAT): Use prototype definition.
23676
23677 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23678 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23679 -Iprograms here.
23680 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23681 (localedef-modules): Add localedef.
23682 (locale-modules): Add locale.
23683
23684 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23685 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23686 to avoid a warning.
23687
23688 2011-08-14 David S. Miller <davem@davemloft.net>
23689
23690 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23691 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23692
23693 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23694
23695 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23696 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23697 * elf/rtld.c (dl_main): Set l_name of vDSO.
23698 Call _dl_show_scope when DL_DEBUG_SCOPES.
23699 (process_dl_debug): Recognize scopes flag and also set it for all.
23700 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23701 Declare _dl_show_scope.
23702
23703 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23704 (do_dlopen): Pass caller_dlopen to dl_open.
23705 (__libc_dlopen_mode): Initialize caller_dlopen.
23706
23707 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23708 of libc. Make tolower call locale-independent. Optimize a bit by
23709 using isdigit instead of isalnum.
23710 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23711
23712 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23713
23714 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23715 was a dependency or dynamically loaded.
23716
23717 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23718
23719 * intl/l10nflist.c: Allow architecture-specific pop function.
23720 * sysdeps/x86_64/l10nflist.c: New file.
23721
23722 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23723 classification.
23724
23725 2011-08-10 Andreas Schwab <schwab@redhat.com>
23726
23727 * include/dirent.h: Add libc_hidden_proto for scandirat and
23728 scandirat64. Don't declare __scandirat64.
23729 * dirent/scandirat.c: Add libc_hidden_def.
23730 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23731 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23732
23733 2011-08-10 David S. Miller <davem@davemloft.net>
23734
23735 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23736 enum.
23737 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23738 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23739 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23740
23741 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23742
23743 * Versions.def [libc]: Add GLIBC_2.15.
23744 * dirent/Makefile (routines): Add scandirat and scandirat64.
23745 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23746 GLIBC_2.15.
23747 * dirent/dirent.h: Declare scandirat and scandirat64.
23748 * dirent/scandirat.c: New file.
23749 * dirent/scandirat64.c: New file.
23750 * sysdeps/wordsize-64/scandirat.c: New file.
23751 * sysdeps/wordsize-64/scandirat64.c: New file.
23752 * dirent/opendir.c: Define opendirat.
23753 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23754 using scandirat.
23755 * dirent/scandir64.c: Adjust for scandir.c change.
23756 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23757 __scandirat64, and __scandir_cancel_handler.
23758 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23759 additional parameter and use openat instead of open (outside of ld.so).
23760 Add new __opendir as wrapper around __opendirat.
23761 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23762 here without requiring old scandirat implementation.
23763
23764 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23765
23766 * dirent/scandir.c (cancel_handler): Renamed to
23767 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23768 defined. Adjust users.
23769 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23770 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23771
23772 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23773
23774 * string/test-string.h (IMPL): Use __STRING to expand name and then
23775 stringify it.
23776
23777 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23778 of cleanups.
23779
23780 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23781
23782 * string/Makefile: Update.
23783 (strop-tests): Append strncat.
23784 * string/test-wcscmp.c: New file.
23785 New comprehensive test for wcscmp.
23786 * string/test-strcmp.c: Update.
23787 (WIDE): New define.
23788
23789 2011-07-22 Andreas Schwab <schwab@redhat.com>
23790
23791 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23792 line.
23793
23794 2011-07-26 Andreas Schwab <schwab@redhat.com>
23795
23796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23797 encoding to ACE if AI_IDN.
23798
23799 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23800
23801 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23802 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23803
23804 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23805
23806 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23807 Fix overflow bug in strncat.
23808 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23809
23810 * string/test-strncat.c: Update.
23811 Add new tests for checking overflow bugs.
23812
23813 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23814
23815 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23816 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23817 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23818 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23819 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23820 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23821 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23822 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23823 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23824
23825 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23826 (USE_AS_STRCAT): Define.
23827 Add strcat and strncat support.
23828 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23829
23830 2011-07-25 Andreas Schwab <schwab@redhat.com>
23831
23832 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23833 __n bigger than INT_MAX+1.
23834 (__strncmp_g): Likewise.
23835
23836 2011-07-23 Ulrich Drepper <drepper@gmail.com>
23837
23838 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23839 * libio/stido.h: Likewise.
23840
23841 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23842 (AF_NFC): Define.
23843 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23844 (AF_NFC): Define.
23845
23846 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23847 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23848 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23849 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23850 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23851
23852 [BZ #13021]
23853 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23854 installed.
23855
23856 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23857 typo.
23858 (_dl_x86_64_save_sse): Likewise.
23859
23860 2011-07-22 Ulrich Drepper <drepper@gmail.com>
23861
23862 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23863 OSXSAVE.
23864 (_dl_x86_64_save_sse): Likewise.
23865
23866 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23867
23868 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23869
23870 2011-07-21 Andreas Schwab <schwab@redhat.com>
23871
23872 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23873 change.
23874 (_dl_x86_64_save_sse): Use correct AVX check.
23875
23876 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23877
23878 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23879 bug in strncpy/strncat.
23880 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23881
23882 2011-07-21 Ulrich Drepper <drepper@gmail.com>
23883
23884 * string/tester.c (test_strcat): Add tests for different alignments
23885 of source and destination.
23886 (test_strncat): Likewise.
23887
23888 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23889
23890 [BZ #12852]
23891 * posix/glob.c (glob): Check passed in values before using them in
23892 expressions to avoid some overflows.
23893 (glob_in_dir): Likewise.
23894
23895 [BZ #13007]
23896 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23897 check for AVX enablement so that we don't crash with old kernels and
23898 new hardware.
23899 * elf/tst-audit4.c: Add same checks here.
23900 * elf/tst-audit6.c: Likewise.
23901
23902 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23903
23904 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23905
23906 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23907
23908 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23909
23910 * po/cs.po: Update from translation team.
23911 * po/bg.po: Likewise.
23912
23913 2011-07-12 Marek Polacek <mpolacek@redhat.com>
23914
23915 * misc/sys/cdefs.h: Add support for const attribute.
23916 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23917 to gnu_dev_{major,minor,makedev} functions.
23918
23919 2011-07-20 Marek Polacek <mpolacek@redhat.com>
23920
23921 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23922
23923 2011-07-20 Andreas Schwab <schwab@redhat.com>
23924
23925 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23926 strlen results.
23927
23928 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23929
23930 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23931 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23932 register in order to avoid conflicts with the soft frame pointer
23933 being held in r11 when necessary.
23934 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23935 (INTERNAL_VSYSCALL_NCS): Likewise.
23936
23937 2011-07-14 Marek Polacek <mpolacek@redhat.com>
23938
23939 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23940 * elf/dl-fini.c (_dl_fini): Adjust caller.
23941 * elf/dl-close.c (_dl_close_worker): Likewise.
23942 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23943
23944 2011-07-15 Marek Polacek <mpolacek@redhat.com>
23945
23946 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23947 "aux_cache->nlibs < 0".
23948
23949 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23950 in the reload-count case.
23951
23952 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23953
23954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23955 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23956 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23957 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23958 * sysdeps/x86_64/multiarch/strcat.S: New file.
23959 * sysdeps/x86_64/multiarch/strncat.S: New file.
23960 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23961 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23962 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23963 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23964 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23965 (USE_AS_STRCAT): Define.
23966 Add strcat and strncat support.
23967 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23968 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23969 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23970 * string/strncat.c: Update.
23971 (USE_AS_STRNCAT): Define.
23972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23973 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23974 and i7.
23975 * sysdeps/x86_64/multiarch/init-arch.h
23976 (bit_Prefer_PMINUB_for_stringop): New.
23977 (index_Prefer_PMINUB_for_stringop): Likewise.
23978 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23979 bit_Prefer_PMINUB_for_stringop.
23980
23981 2011-07-19 Ulrich Drepper <drepper@gmail.com>
23982
23983 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23984 buffer64.
23985 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23986 of casting of buffer.
23987 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23988 buffer32 and buffer64.
23989 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23990 writes instead of casting of buffer.
23991 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23992 buffer32.
23993 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23994 casting of buffer.
23995
23996 2011-07-19 Andreas Schwab <schwab@redhat.com>
23997
23998 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23999
24000 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24001
24002 * nscd/nscd.c (termination_handler): Don't do anything for a database
24003 if it has not yet been initialized.
24004
24005 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24006
24007 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24008
24009 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24010
24011 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24012
24013 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24014
24015 * po/nl.po: Update from translation team.
24016 * po/sv.po: Likewise.
24017
24018 2011-07-16 Roland McGrath <roland@hack.frob.com>
24019
24020 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24021 now disallowed by GCC.
24022
24023 * configure.in (use-default-link): Default to yes if a test -shared
24024 link meets our qualifications.
24025 * configure: Regenerated.
24026
24027 * config.make.in (output-format): New variable.
24028 * configure.in: Check for ld --print-output-format support.
24029 * configure: Regenerated.
24030 * Makerules ($(common-objpfx)format.lds)
24031 [$(output-format) != unknown]: Just use $(output-format),
24032 instead of the linker-script munging.
24033
24034 2011-07-14 Roland McGrath <roland@hack.frob.com>
24035
24036 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24037 of $(common-objpfx)shlib.lds.
24038 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24039
24040 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24041 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24042
24043 * configure.in (-z relro check): Adjust test code to add a large
24044 writable data section after it.
24045 * configure: Regenerated.
24046
24047 2011-07-11 Roland McGrath <roland@hack.frob.com>
24048
24049 * configure.in (-z relro check): Fix test code to make the variable
24050 truly const.
24051 * configure: Regenerated.
24052
24053 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24054
24055 * nscd/nscd.h (struct traced_file): Define.
24056 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24057 elements. Add traced_files.
24058 (inotify_fd): Declare.
24059 (register_traced_file): Declare.
24060 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24061 (inotify_fd): Export.
24062 (resolv_conf_descr): Remove.
24063 (nscd_init): Move inotify descriptor creation to main.
24064 Don't register files for notification here.
24065 (register_traced_file): New function.
24066 (invalidate_cache): Don't use reset_res to determine whether to call
24067 res_init, go through the list of registered files.
24068 (main_loop_poll): The inotify descriptors are now stored in the
24069 structures for the traced files.
24070 (main_loop_epoll): Likewise
24071 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24072 to __nss_disable_nscd.
24073 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24074 for a database anymore. Check the records for all the registered
24075 files instead.
24076 * nss/Makefile (libnss_files-routines): Add files-init.
24077 (libnss_db-routines): Add db-init.
24078 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24079 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24080 * nss/nss_db/db-init.c: New file.
24081 * nss/nss_files/files-init.c: New file.
24082 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24083 __nss_lookup_function.
24084 (__nss_lookup_function): Call nss_load_library.
24085 (nss_load_all_libraries): New function.
24086 (__nss_disable_nscd): Take parameter with callback function for files
24087 to register. Set is_nscd. Load all the DSOs for the NSS modules
24088 used for the cached services.
24089 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24090 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24091 options for features to all the files in nscd.
24092
24093 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24094
24095 2011-07-10 Roland McGrath <roland@hack.frob.com>
24096
24097 * csu/elf-init.c (__libc_csu_init): Comment typo.
24098
24099 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24100
24101 * po/pl.po: Update from translation team.
24102 * po/ja.po: Likewise.
24103 * po/ru.po: Likewise.
24104 * po/ko.po: Likewise.
24105 * po/fr.po: Likewise.
24106
24107 2011-07-09 Roland McGrath <roland@hack.frob.com>
24108
24109 * configure.in (.ctors/.dtors header and trailer check):
24110 Use an empirical test on a built program.
24111 * configure: Regenerated.
24112
24113 * configure.in (-z relro check): Use an empirical test on a built DSO.
24114 Detect, but do not require, on ia64.
24115 * configure: Regenerated.
24116
24117 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24118 Update tests that use readelf to use $READELF instead.
24119 * configure: Regenerated.
24120
24121 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24122
24123 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24124 if the result is not used.
24125
24126 2011-07-05 Andreas Jaeger <aj@suse.de>
24127
24128 [BZ#9696]
24129 * stdlib/tst-strtod.c: Add testcase.
24130
24131 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24132
24133 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24134 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24135 The latter has a higher limit. Take additional parameter to pass to
24136 the new function.
24137 (__pathconf): Pass file to __statfs_link_max.
24138 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24139 __statfs_link_max.
24140 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24141 __statfs_link_max.
24142
24143 [BZ #12868]
24144 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24145 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24146 Handle Lustre.
24147 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24148 (__statfs_filesize_max): Likewise.
24149 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24150
24151 2011-07-05 Andreas Jaeger <aj@suse.de>
24152
24153 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24154
24155 2011-07-06 Marek Polacek <mpolacek@redhat.com>
24156
24157 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24158 `status' variable.
24159 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24160 Likewise.
24161
24162 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24163
24164 * Makefile (strop-tests): Add strncat.
24165 * string/test-strncat.c: New file.
24166
24167 2011-06-30 Marek Polacek <mpolacek@redhat.com>
24168
24169 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24170
24171 2011-06-21 Andreas Jaeger <aj@suse.de>
24172
24173 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24174 Copy rule from iconvdata/Makefile.
24175
24176 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24177
24178 [BZ #12922]
24179 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24180 but no long options are defined, just return 'W'.
24181
24182 2011-06-22 Marek Polacek <mpolacek@redhat.com>
24183
24184 [BZ #9696]
24185 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24186
24187 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24188
24189 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24190 netgroups to read.
24191 (innetgr): Likewise.
24192
24193 2011-07-05 Roland McGrath <roland@hack.frob.com>
24194
24195 * config.make.in (install_root): Default to $(DESTDIR).
24196
24197 2011-07-05 Ulrich Drepper <drepper@gmail.com>
24198
24199 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24200
24201 2011-07-02 Roland McGrath <roland@hack.frob.com>
24202
24203 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24204
24205 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24206 containing directory rather than embedding absolute directory names.
24207
24208 * scripts/check-local-headers.sh: Rewritten using awk.
24209 Match by word, not by line. Print error messages for matches.
24210 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24211
24212 * Makerules [shlib-lds-flags empty]:
24213 ($(common-objpfx)libc_pic.opts): New target.
24214 ($(common-objpfx)libc_pic.os.clean): New target.
24215 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24216
24217 * config.make.in (OBJCOPY): New variable.
24218 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24219 * configure: Regenerated.
24220
24221 * config.make.in (use-default-link): New variable.
24222 * configure.in (use_default_link): Grok --with-default-link to set it.
24223 * configure: Regenerated.
24224 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24225 (shlib-lds, shlib-lds-flags): Define to empty.
24226
24227 * Makerules (shlib-lds): New variable.
24228 (shlib-lds-flags): New variable.
24229 (build-shlib, build-moduile, build-module-asneeded): Use it.
24230 ($(common-objpfx)libc.so): Use $(shlib-lds).
24231 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24232 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24233
24234 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24235 DT_FLAGS/DT_FLAGS_1 with zero flags.
24236
24237 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24238 linker script munging.
24239
24240 2011-07-02 Ulrich Drepper <drepper@gmail.com>
24241
24242 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24243 as 128-bit value.
24244 * crypt/sha512.c (sha512_process_block): Perform total addition using
24245 128-bit if possible.
24246 (__sha512_finish_ctx): Likewise.
24247 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24248 as 64-bit value.
24249 * crypt/sha256.c (SWAP64): Define.
24250 (sha256_process_block): Perform total addition using 64-bit if
24251 possible.
24252 (__sha256_finish_ctx): Likewise.
24253
24254 2011-07-01 Ulrich Drepper <drepper@gmail.com>
24255
24256 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24257 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24258 * nscd/hstcache.c (cache_addhst): Likewise.
24259 * nscd/grpcache.c (cache_addgr): Likewise.
24260 * nscd/aicache.c (addhstaiX): Likewise
24261 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24262
24263 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
24264
24265 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24266 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24267 * nscd/hstcache.c (cache_addhst): Likewise.
24268 * nscd/grpcache.c (cache_addgr): Likewise.
24269 * nscd/aicache.c (addhstaiX): Likewise
24270
24271 2011-07-01 Andreas Schwab <schwab@redhat.com>
24272
24273 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24274 domain only when needed.
24275
24276 2011-06-30 Andreas Schwab <schwab@redhat.com>
24277
24278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24279 is always restored.
24280
24281 2011-06-29 Ulrich Drepper <drepper@gmail.com>
24282
24283 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24284 are re-adding the entry.
24285 * nscd/servicescache.c (cache_addserv): Likewise.
24286
24287 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24288
24289 * sysdeps/generic/dl-irel.h: fix protection against multiple
24290 inclusions.
24291 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24292
24293 2011-06-28 Ulrich Drepper <drepper@gmail.com>
24294
24295 [BZ #12935]
24296 * malloc/memusage.sh: Fix quoting in message.
24297 * debug/xtrace.sh: Likewise.
24298
24299 * configure.in: Remove support for --experimental-malloc option, make
24300 it the default.
24301 * config.make.in: Likewise.
24302 * malloc/Makefile: Likewise.
24303
24304 2011-06-27 Andreas Schwab <schwab@redhat.com>
24305
24306 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24307 two-byte characters.
24308
24309 2011-06-27 Roland McGrath <roland@hack.frob.com>
24310
24311 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24312 AC_CACHE_CHECK invocation.
24313 * configure: Regenerated.
24314
24315 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24316
24317 2011-06-27 Ulrich Drepper <drepper@gmail.com>
24318
24319 [BZ #12350]
24320 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24321 bit from old_res_options.
24322
24323 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24324
24325 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24326 value type for setfct.
24327
24328 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24329
24330 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24331 __gettimeofday instead of gettimeofday.
24332
24333 2011-06-26 Ulrich Drepper <drepper@gmail.com>
24334
24335 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24336
24337 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24338
24339 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24340
24341 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24342 info.
24343
24344 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24345
24346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24347 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24348 strcpy-sse2-unaligned strncpy-sse2-unaligned
24349 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24350 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24351 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24352 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24353 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24354 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24355 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24356 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24357 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24358 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24359 (STRCPY): Support SSE2 and SSSE3 versions.
24360
24361 2011-06-24 Ulrich Drepper <drepper@gmail.com>
24362
24363 [BZ #12874]
24364 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24365 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24366 kernels which artificially limit size of requests.
24367
24368 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24369
24370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24371 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24372 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24373 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24374 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24375 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24376 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24377 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24378 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24379 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24380 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24381 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24382 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24383 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24384 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24386 Enable unaligned load optimization for Intel Core i3, i5 and i7
24387 processors.
24388 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24389 Define.
24390 (index_Fast_Unaligned_Load): Define.
24391 (HAS_FAST_UNALIGNED_LOAD): Define.
24392
24393 2011-06-23 Marek Polacek <mpolacek@redhat.com>
24394
24395 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24396
24397 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24398
24399 [BZ #12907]
24400 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24401 until it is clear that the information is realy needed.
24402 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24403
24404 2011-06-22 Andreas Schwab <schwab@redhat.com>
24405
24406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24407
24408 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24409
24410 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24411 /sys/devices/system/cpu/online if it is usable.
24412
24413 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24414 reading the information from the /proc filesystem to once a second.
24415
24416 2011-06-21 Andreas Jaeger <aj@suse.de>
24417
24418 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24419 NULL after inclusion of kernel headers.
24420
24421 2011-06-21 Ulrich Drepper <drepper@gmail.com>
24422
24423 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24424 calls to internal_setent.
24425
24426 [BZ #12885]
24427 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24428 addresses using gethostbyname4_r ignore IPv4 addresses.
24429
24430 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24431 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24432
24433 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24434
24435 2011-06-20 David S. Miller <davem@davemloft.net>
24436
24437 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24438 inclusions.
24439 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24440
24441 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24442 (elf_irel): Use it.
24443 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24444 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24445 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24446 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24447 * sysdeps/x86_64/dl-irel.h: Likewise.
24448
24449 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24450 * elf/dl-sym.c: Likewise.
24451
24452 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24453
24454 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24455 need to dereference resplen2.
24456
24457 2011-06-14 Andreas Schwab <schwab@redhat.com>
24458
24459 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24460
24461 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24462
24463 * Makeconfig: Define vardbdir and inst_vardbdir.
24464 * nss/Makefile: Add rules to install db-Makefile.
24465
24466 * nss/nss_db/db-XXX.c: Cleanup.
24467
24468 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24469 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24470 GLIBC_PRIVATE.
24471 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24472 * nss/makedb.c: Implement -g option to specify that value strings
24473 are generated and should not be added to table iterated over for
24474 get*ent calls.
24475 * nss/nss_db/db-initgroups.c: New file.
24476
24477 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24478 interface.
24479
24480 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24481 (internal_getgrouplist): Adjust to name change.
24482 Update use_initgroups_entry if this is not the first call.
24483 * nss/databases.def: Add initgroups entry.
24484
24485 * nss/makedb.c (compute_tables): Check result of multiple hash table
24486 sizes to minimize maximum chain length.
24487
24488 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24489
24490 * Versions.def: Add entry for libnss_db.
24491 * shlib-versions: Likewise.
24492 * nss/Makefile: Add rules to build libnss_db.
24493 * nss/Versions: Add libnss_db information. Organize libnss_files
24494 entries better.
24495 * nss/db-Makefile: Add gshadow support. Change rules for the new
24496 makedb progra. Some minor improvements to generate smaller files.
24497 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24498 here from...
24499 * nss/makedb.c: ...here.
24500 Improve database format to be smaller and require less memory at
24501 runtime.
24502 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24503 db anymore.
24504 * nss/nss_db/db-netgrp.c: Likewise.
24505 * nss/nss_db/db-open.c: Likewise.
24506 * nss/nss_files/flies-XXX.x: Adjust comments.
24507 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24508 * nss/nss_files/files-grp.c: Likewise.
24509 * nss/nss_files/files-hosts.c: Likewise.
24510 * nss/nss_files/files-network.c: Likewise.
24511 * nss/nss_files/files-proto.c: Likewise.
24512 * nss/nss_files/files-pwd.c: Likewise.
24513 * nss/nss_files/files-rpc.c: Likewise.
24514 * nss/nss_files/files-service.c: Likewise.
24515 * nss/nss_files/files-sgrp.c: Likewise.
24516 * nss/nss_files/files-spwd.c: Likewise.
24517 * nss/nss_db/db-alias.c: Removed.
24518 * nss/nss_db/dummy-db.h: Removed.
24519
24520 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24521
24522 * nss/makedb.c: Rewritten to not use database library.
24523 * nss/Makefile: Update to build new makedb program.
24524
24525 2011-06-14 Andreas Jaeger <aj@suse.de>
24526
24527 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24528 memset declaration.
24529
24530 2011-06-10 Andreas Schwab <schwab@redhat.com>
24531
24532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24533 tmpbuf.
24534
24535 2011-06-10 Roland McGrath <roland@hack.frob.com>
24536
24537 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24538 * elf/Makefile ($(objpfx)ld.so): Likewise.
24539
24540 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24541 Don't list ld.so twice in dependencies.
24542
24543 * posix/bug-regex31.c: Include <stdlib.h>.
24544
24545 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24546
24547 * nis/nss_compat/compat-spwd.c
24548 (getspent_next_nss_netgr): Remove unused variable.
24549 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24550
24551 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24552 nonmembers" output to use the right array.
24553
24554 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24555
24556 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24557
24558 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24559 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24560 * catgets/gencat.c (read_input_file): Likewise.
24561 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24562
24563 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24564 variable definition inside #if's controlling its use.
24565
24566 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24567
24568 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24569
24570 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24571
24572 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24573 unreachable code.
24574
24575 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24576
24577 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24578 * configure: Regenerated.
24579
24580 * Makerules: Revert last change.
24581 * elf/Makefile: Likewise.
24582
24583 2011-06-09 Roland McGrath <roland@hack.frob.com>
24584
24585 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24586 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24587 (reloc-link): Likewise.
24588
24589 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24590
24591 * elf/Makefile: Add rules to build pldd.
24592 * elf/pldd.c: New file.
24593 * elf/pldd-xx.c: New file.
24594
24595 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24596
24597 * version.h: Update for 2.15 development version.
24598
24599 2011-06-07 David S. Miller <davem@davemloft.net>
24600
24601 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24602 ifuncs.
24603 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24604 elf_machine_lazy_rel): Likewise.
24605 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24606 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24607 elf_machine_lazy_rel): Likewise.
24608 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24609 dl_hwcap via passed in argument.
24610 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24611 Likewise.
24612
24613 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24614
24615 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24616
24617 2011-06-06 Roland McGrath <roland@hack.frob.com>
24618
24619 [BZ #12849]
24620 * manual/fdl-1.1.texi: New file, verbatim from:
24621 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24622 * manual/lgpl-2.1.texi: New file, verbatim from:
24623 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24624 * manual/Makefile (licenses): New variable, list those new file names.
24625 (texis): Use it.
24626 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24627
24628 * manual/fdl.texi: File removed.
24629 * manual/lesser.texi: File removed.
24630 * manual/libc.texinfo (Copying, Documentation License):
24631 Use new @include file names, put @appendix directive before @include.
24632
24633 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24634
24635 [BZ #12841]
24636 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24637 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24638 (mq_open): Add __NTH.
24639
24640 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24641
24642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24643 Assume Intel Core i3/i5/i7 processor if AVX is available.
24644
24645 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24646
24647 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24648 typo.
24649
24650 2011-05-31 Andreas Schwab <schwab@redhat.com>
24651
24652 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24653 memory. Use alloca_account. Fix memory leak when retrying.
24654
24655 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24656
24657 * version.h (RELEASE): Bump for 2.14 release.
24658 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24659
24660 * config.make.in (RANLIB): Remove entry.
24661
24662 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24663
24664 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24665 (libc.pot): Work around missing support for .ksh extension in xgettext.
24666
24667 [BZ #12684]
24668 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24669 if both request failed.
24670 (send_dg): In case of server errors clear resplen or *resplen2.
24671
24672 [BZ #12454]
24673 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24674 when there are multiple maps.
24675 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24676 (_dl_fini): Remove test here.
24677
24678 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24679
24680 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24681
24682 [BZ #12350]
24683 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24684 bit from old_res_options.
24685 (gaih_inet): Likewise.
24686
24687 [BZ #11099]
24688 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24689 as signed.
24690
24691 * resolv/res_init.c (res_setoptions): Make the code more compact.
24692
24693 [BZ #11558]
24694 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24695 set RES_USEVC.
24696
24697 [BZ #11634]
24698 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24699
24700 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24701
24702 [BZ #11781]
24703 * malloc/malloc.h: Declare malloc hook variables as volatile.
24704
24705 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24706 in last patch.
24707
24708 [BZ #11799]
24709 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24710 raise in the comment.
24711 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24712 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24713 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24714
24715 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24716
24717 [BZ #12811]
24718 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24719 grow the buffers more if it already has to be sufficient.
24720 (build_wcs_upper_buffer): Likewise.
24721 * posix/regexec.c (check_matching): Likewise.
24722 (clean_state_log_if_needed): Likewise.
24723 (extend_buffers): Don't enlarge buffers beyond size of the input
24724 buffer.
24725 Patches mostly by Emil Wojak <emil@wojak.eu>.
24726 * posix/bug-regex32.c: New file.
24727 * posix/Makefile (tests): Add bug-regex32.
24728
24729 * locale/findlocale.c (_nl_find_locale): Return right away if
24730 _nl_explode_name failed.
24731 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24732
24733 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24734
24735 * debug/xtrace.sh: Unify messages.
24736 * malloc/memusage.sh: Likewise.
24737
24738 [BZ #12813]
24739 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24740 time symbol from vDSO. Substitute with vsyscall if not available.
24741 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24742 __vdso_time.
24743
24744 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24745 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24746 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24747 Add sendmmsg and internal_sendmmsg.
24748 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24749 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24750 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24751
24752 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24753 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24754 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24755
24756 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24757
24758 [BZ #12813]
24759 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24760 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24761 available.
24762 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24763 __vdso_getcpu.
24764
24765 [BZ #12814]
24766 * iconvdata/Makefile (tests): Add bug-iconv9.
24767 * iconvdata/bug-iconv9.c: New file.
24768
24769 2011-05-27 Andreas Schwab <schwab@redhat.com>
24770
24771 [BZ #12814]
24772 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24773
24774 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24775
24776 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24777 (struct user_regs_struct): Change intcs field back to cs.
24778
24779 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24780
24781 * po/ja.po: Update from translation team.
24782
24783 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24784
24785 [BZ #12795]
24786 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24787 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24788
24789 2011-05-20 Andreas Schwab <schwab@redhat.com>
24790
24791 * stdlib/longlong.h: Update from GCC.
24792
24793 2011-05-23 Andreas Schwab <schwab@redhat.com>
24794
24795 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24796 parameter name.
24797 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24798 Add parameter name.
24799 (__sysconf): Pass it down.
24800
24801 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24802
24803 [BZ #12671]
24804 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24805 some situations.
24806 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24807 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24808 add in in __libc_use_alloca calls. Adjust callers.
24809 (glob): Use malloc in some situations.
24810
24811 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24812 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24813 pltexit.
24814
24815 2011-05-21 Ulrich Drepper <drepper@gmail.com>
24816
24817 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24818 and CLOCK_BOOTTIME_ALARM.
24819
24820 [BZ #12782]
24821 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24822 is returned.
24823
24824 * string/_strerror.c (__strerror_r): Print negative errors as signed
24825 numbers.
24826
24827 [BZ #12777]
24828 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24829 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24830 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24831
24832 * configure.in: Fix typo in redirection and correct removal of test
24833 files in two cases.
24834
24835 [BZ #12788]
24836 * locale/setlocale.c (new_composite_name): Fix test to check for
24837 identical name of all categories.
24838
24839 [BZ #12792]
24840 * libio/filedoalloc.c (local_isatty): New function.
24841 (_IO_file_doallocate): Use local_isatty.
24842 * stdio-common/perror.c (perror): In case a new stream is used
24843 forward the stream error.
24844 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24845 error flag.
24846
24847 2011-05-20 Ulrich Drepper <drepper@gmail.com>
24848
24849 [BZ #11869]
24850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24851 alloca.
24852 * include/alloca.h (extend_alloca_account): Define.
24853
24854 [BZ #11857]
24855 * posix/regex.h: Fix comments with documentation of user-accessible
24856 fields after compilation and describe correct free'ing of pattern
24857 after re_compile_pattern.
24858 Patch by Reuben Thomas <rrt@sc3d.org>.
24859
24860 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24861
24862 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24863 and -mno-altivec to prevent the compiler from using Altivec and/or
24864 VSX instructions when the corresponding registers are not available.
24865
24866 2011-05-19 Andreas Schwab <schwab@redhat.com>
24867
24868 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24869
24870 2011-05-19 Ulrich Drepper <drepper@gmail.com>
24871
24872 * libio/freopen.c (freopen): Use __dup2, not dup2.
24873 * libio/freopen64.c (freopen64): Likewise.
24874
24875 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24876
24877 [BZ #12775]
24878 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24879 * math/Makefile (tests): Add test-powl.
24880 (CFLAGS-test-powl.c): Define.
24881 * math/test-powl.c: New file.
24882
24883 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24884
24885 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24886
24887 2011-05-17 Ulrich Drepper <drepper@gmail.com>
24888
24889 [BZ #11837]
24890 * iconvdata/gb18030.c: Update to GB18020-2005.
24891
24892 2011-05-16 Ulrich Drepper <drepper@gmail.com>
24893
24894 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24895 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24896 Patch by Aharon Robbins <arnold@skeeve.com>.
24897
24898 [BZ #11892]
24899 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24900 on the stack.
24901
24902 [BZ #11895]
24903 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24904 through underflows.
24905
24906 [BZ #12766]
24907 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24908 point to strings before performing equality test for error_one_per_line
24909 mode.
24910
24911 [BZ #11697]
24912 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24913
24914 [BZ #11820]
24915 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24916 (struct user_fpregs_struct): Avoid __uint*_t types.
24917
24918 [BZ #6420]
24919 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24920 symbol info. Use it instead of calling _dl_addr locally.
24921 (lock_and_info): New function.
24922 (tr_freehook): Call lock_and_info and pass symbol info as additional
24923 parameter to tr_where.
24924 (tr_mallochook): Likewise.
24925 (tr_reallochook): Likewise.
24926 (tr_memalignhook): Likewise.
24927
24928 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24929 used and couldn't be at all thread-safe.
24930
24931 2011-05-15 Ulrich Drepper <drepper@gmail.com>
24932
24933 * libio/freopen.c (freopen): Don't close old file descriptor
24934 before the new one is opened. Instead dup the new file descriptor
24935 to the old one after the new stream is created.
24936 * libio/freopen64.c (freopen64): Likewise.
24937 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24938 * libio/fileops.c (_IO_new_file_close_it): Handle new
24939 _IO_FLAGS2_NOCLOSE flag.
24940 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24941 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24942 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24943 _IO_FLAGS2_NOCLOSE flag.
24944 * include/unistd.h: Add hidden_proto for dup3.
24945 Define __have_dup3.
24946 * io/dup3.c: Define hidden symbol.
24947 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24948
24949 [BZ #7101]
24950 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24951 when an incomplete long option is used.
24952 * posix/tst-getopt_long1.c: New file.
24953 * posix/Makefile (tests): Add tst-getopt_long1.
24954
24955 [BZ #10138]
24956 * scripts/config.guess: Update from autoconf-2.68.
24957 * scripts/config.sub: Likewise.
24958
24959 [BZ #10157]
24960 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24961 tests into ...
24962 (has_cpuclock): ...this. New function.
24963 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24964 macro here based on has_cpuclock code.
24965
24966 [BZ #10149]
24967 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24968 First byte (not low byte) is now always NUL.
24969 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24970
24971 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24972 Use non-cancelable interfaces.
24973
24974 [BZ #9809]
24975 * locale/iso-639.def: Add entry for Sorani.
24976
24977 [BZ #11901]
24978 * include/stdlib.h: Move include protection to the right place.
24979 Define abort_msg_s. Declare __abort_msg with it.
24980 * stdlib/abort.c (__abort_msg): Adjust type.
24981 * assert/assert.c (__assert_fail_base): New function. Majority
24982 of code from __assert_fail. Allocate memory for __abort_msg with
24983 mmap.
24984 (__assert_fail): Now call __assert_fail_base.
24985 * assert/assert-perr.c: Remove bulk of implementation. Use
24986 __assert_fail_base.
24987 * include/assert.hL Declare __assert_fail_base.
24988 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24989 mmap.
24990 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24991
24992 2011-05-14 Ulrich Drepper <drepper@gmail.com>
24993
24994 [BZ #11952]
24995 [BZ #12453]
24996 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24997 until all modules are registered in the DTV.
24998 * elf/Makefile: Add rules to build and run tst-tls19.
24999 * elf/tst-tls19.c: New file.
25000 * elf/tst-tls19mod1.c: New file.
25001 * elf/tst-tls19mod2.c: New file.
25002 * elf/tst-tls19mod3.c: New file.
25003 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25004
25005 [BZ #12083]
25006 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25007 correctly.
25008
25009 [BZ #12601]
25010 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25011 two-byte sequence errors.
25012 * iconvdata/Makefile (tests): Add bug-iconv8.
25013 * iconvdata/bug-iconv8.c: New file.
25014
25015 [BZ #12626]
25016 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25017 buf2 definition.
25018
25019 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25020
25021 [BZ #12432]
25022 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25023 (dummy_getcfa): New function.
25024 (init): Get _Unwind_GetCFA address, use dummy if not found.
25025 (backtrace_helper): In recursion check, also check whether CFA changes.
25026 (__backtrace): Completely initialize arg.
25027
25028 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25029 storing incomplete byte sequence in state object. Avoid testing for
25030 guaranteed too small input if we know there is enough data available.
25031
25032 2011-05-11 Andreas Schwab <schwab@redhat.com>
25033
25034 * Makeconfig (+link-pie): Indent.
25035 * Rules (binaries-pie): Define if $(have-fpie) and
25036 $(build-shared).
25037 (binaries-shared): Also filter out $(binaries-pie).
25038 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25039 * nscd/Makefile (others-pie): Add nscd.
25040 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25041 ($(objpfx)nscd): Remove command override.
25042 * login/Makefile (others-pie): Add pt_chown.
25043 ($(objpfx)pt_chown): Remove command override.
25044 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25045 remove command overrides.
25046
25047 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25048
25049 * libio/tst_putwc.c: Fix error messages.
25050
25051 [BZ #12724]
25052 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25053 currently writing and seek to current position when not.
25054 * libio/Makefile (tests): Add bug-fclose1.
25055 * libio/bug-fclose1.c: New file.
25056
25057 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25058
25059 [BZ #12511]
25060 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25061 don't set DF_1_NODELETE here.
25062 (do_lookup_x): When entering new entry test for copy relocation
25063 and if necessary set DF_1_NODELETE flag.
25064 * elf/tst-unique4.cc: New file.
25065 * elf/tst-unique4.h: New file.
25066 * elf/tst-unique4lib.cc: New file.
25067 * elf/Makefile: Add rules to build and run tst-unique4.
25068 Patch by Piotr Bury <pbury@goahead.com>.
25069
25070 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25071
25072 [BZ #12052]
25073 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25074
25075 [BZ #12625]
25076 * misc/mntent_r.c (addmntent): Flush the stream after the output
25077
25078 [BZ #12393]
25079 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25080 (is_trusted_path_normalize): Skip initial colon. Append slash
25081 to empty buffer. Duplicate is_trusted_path code but allow
25082 constructed patch to be prefix.
25083 (is_dst): Allow $ORIGIN followed by /.
25084 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25085 Correct testing of result of is_trusted_path_normalize
25086 (decompose_rpath): Fix warning.
25087
25088 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25089
25090 [BZ #11257]
25091 * grp/initgroups.c (internal_getgrouplist): When we found the service
25092 list through the initgroups entry in nsswitch.conf do not always
25093 continue on a successful lookup. Don't always use the
25094 __nss_group_database value if it is set.
25095 * nss/nsswitch.conf (initgroups): Change action for successful db
25096 lookup to continue for compatibility.
25097
25098 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25099
25100 [BZ #11532]
25101 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25102 and CP774 modules.
25103 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25104 and CP774 modules.
25105 * iconvdata/tst-tables.sh: Likewise.
25106 * iconvdata/cp770.c: New file.
25107 * iconvdata/cp771.c: New file.
25108 * iconvdata/cp772.c: New file.
25109 * iconvdata/cp773.c: New file.
25110 * iconvdata/cp774.c: New file.
25111 * iconvdata/testdata/CP770: New file.
25112 * iconvdata/testdata/CP770..UTF8: New file.
25113 * iconvdata/testdata/CP771: New file.
25114 * iconvdata/testdata/CP771..UTF8: New file.
25115 * iconvdata/testdata/CP772: New file.
25116 * iconvdata/testdata/CP772..UTF8: New file.
25117 * iconvdata/testdata/CP773: New file.
25118 * iconvdata/testdata/CP773..UTF8: New file.
25119 * iconvdata/testdata/CP774: New file.
25120 * iconvdata/testdata/CP774..UTF8: New file.
25121
25122 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25123 END CHARMAP line.
25124 * iconvdata/gen-8bit-gap.sh: Likewise.
25125 * iconvdata/gen-8bit.sh: Likewise.
25126
25127 * locale/iso-639.def: Add ary entry.
25128
25129 [BZ #11258]
25130 * locale/C-translit.h.in: Add U20A1 transliteration.
25131
25132 [BZ #12178]
25133 * locale/iso-639.def: Add wae entry.
25134 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25135
25136 [BZ #12545]
25137 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25138 for n.
25139
25140 [BZ #12711]
25141 * locale/C-translit.h.in: Add entry for U20B9.
25142 Patch by pravin.d.s@gmail.com.
25143
25144 2011-05-08 Ulrich Drepper <drepper@gmail.com>
25145
25146 [BZ #12713]
25147 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25148 ENAMETOOLONG use generic getcwd.
25149 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25150 in rtld. Use *stat64.
25151 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25152 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25153 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25154 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25155 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25156 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25157 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25158 __fstatat64 macros.
25159 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25160 * dirent/rewinddir.c: Add libc_hidden_def.
25161 * sysdeps/mach/hurd/rewinddir.c: Likewise.
25162 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
25163
25164 * include/dirent.h (__alloc_dir): Add flags parameter.
25165 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25166 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25167 __alloc_dir.
25168 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25169 from fdopendir if O_CLOEXEC is already set.
25170
25171 2011-03-15 Alan Modra <amodra@gmail.com>
25172
25173 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25174 l_tls_firstbyte_offset non-zero. Save padding offset in
25175 l_tls_firstbyte_offset for later use.
25176 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25177 freeing static tls block.
25178
25179 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25180
25181 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25182 where #ifdef was intended. The intent is to prevent ARG_MAX from
25183 being defined by the kernel headers.
25184
25185 2011-05-07 Ulrich Drepper <drepper@gmail.com>
25186
25187 [BZ #12734]
25188 * resolv/resolv.h: Define RES_NOTLDQUERY.
25189 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25190 no-tld-query and set RES_NOTLDQUERY.
25191 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25192 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25193 modern BIND to search name as TLD unless forbidden.
25194
25195 2011-05-07 Petr Baudis <pasky@suse.cz>
25196 Ulrich Drepper <drepper@gmail.com>
25197
25198 [BZ #12393]
25199 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25200 (is_trusted_path): ...to here.
25201 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25202 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25203 using is_trusted_path_normalize() in setuid scripts.
25204
25205 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25206
25207 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25208 __BEGIN/__END_DECLS.
25209
25210 2011-05-06 Ulrich Drepper <drepper@gmail.com>
25211
25212 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25213 NSS_STATUS_NOTFOUND if no record was found.
25214
25215 2011-05-05 Andreas Schwab <schwab@redhat.com>
25216
25217 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25218 (headers-not-in-tirpc): Remove rpc/netdb.h
25219 * resolv/netdb.h: Revert last change.
25220
25221 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25222
25223 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25224 circular dependency between libgcc.a and libc.a.
25225
25226 2011-05-05 Andreas Schwab <schwab@redhat.com>
25227
25228 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25229 * nis/Makefile: Don't install rpcsvc/*.
25230 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25231 instead of <rpc/types.h>.
25232 (MAXHOSTNAMELEN): Define.
25233
25234 2011-05-03 Andreas Schwab <schwab@redhat.com>
25235
25236 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25237
25238 2011-04-28 Maciej Babinski <mbabinski@google.com>
25239
25240 [BZ #12714]
25241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25242 gethostbyname4_r when IPv6 results are possible.
25243
25244 2011-05-02 Ulrich Drepper <drepper@gmail.com>
25245
25246 [BZ #12723]
25247 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25248 _PC_PIPE_BUF handling.
25249
25250 2011-04-30 Bruno Haible <bruno@clisp.org>
25251
25252 [BZ #12717]
25253 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25254 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25255 to 'int'.
25256 * inet/getnameinfo.c (getnameinfo): Likewise.
25257
25258 2011-04-29 Ulrich Drepper <drepper@gmail.com>
25259
25260 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25261 to groups setting in database lookup.
25262 * nss/nsswitch.conf: Add initgroups entry.
25263
25264 2011-04-22 Ulrich Drepper <drepper@gmail.com>
25265
25266 [BZ #12685]
25267 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25268 mode string.
25269 Patch by Eric Blake <eblake@redhat.com>.
25270
25271 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25272
25273 * sunrpc/Makefile (need-export-routines): Add svc_run.
25274 (routines): Remove svc_run.
25275 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25276 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25277 * sunrpc/svc_run.c (svc_run): Likewise.
25278 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25279
25280 2011-04-21 Ulrich Drepper <drepper@gmail.com>
25281
25282 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25283 problem in reallocation in last patch.
25284
25285 2011-04-20 Ulrich Drepper <drepper@gmail.com>
25286
25287 * sunrpc/Makefile: Move inclusion of Rules.
25288
25289 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25290
25291 * nss/nss_files/files-initgroups.c: New file.
25292 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25293 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25294 _nss_files_initgroups_dyn.
25295
25296 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25297
25298 * elf/elf.h (R_ARM_IRELATIVE): Define.
25299
25300 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25301
25302 * po/ru.po: Update from translation team.
25303
25304 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25305
25306 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25307 dependencies.
25308
25309 2011-02-06 Mike Frysinger <vapier@gentoo.org>
25310
25311 [BZ #12653]
25312 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25313 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25314 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25315 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25316 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25317
25318 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25319
25320 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25321 differing bytes.
25322 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25323 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25324 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25325
25326 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25327
25328 [BZ #12420]
25329 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25330 storing it.
25331 * stdlib/bug-getcontext.c: New file.
25332 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25333
25334 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25335
25336 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25337 instructions into .machine "z9-109".
25338 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25339 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25340
25341 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25342
25343 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25344 between environment variables and auxiliary vector.
25345
25346 2011-04-16 Ulrich Drepper <drepper@gmail.com>
25347
25348 * Makefile: Add rules to build linkobj/libc.so.
25349 * include/libc-symbols.h: Define libc_hidden_nolink.
25350 * include/rpc/auth.h: Mark functions which are to be hidden.
25351 * include/rpc/auth_des.h: Likewise.
25352 * include/rpc/auth_unix.h: Likewise.
25353 * include/rpc/clnt.h: Likewise.
25354 * include/rpc/des_crypt.h: Likewise.
25355 * include/rpc/key_prot.h: Likewise.
25356 * include/rpc/pmap_clnt.h: Likewise.
25357 * include/rpc/pmap_prot.h: Likewise.
25358 * include/rpc/pmap_rmt.h: Likewise.
25359 * include/rpc/rpc_msg.h: Likewise.
25360 * include/rpc/svc.h: Likewise.
25361 * include/rpc/svc_auth.h: Likewise.
25362 * include/rpc/xdr.h: Likewise.
25363 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25364 * nss/Makefile: Likewise.
25365 * sunrpc/Makefile: Don't install headers. Build library with normal
25366 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25367 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25368 for the compat linking library. Remove use of INTDEF/INTUSE.
25369 * sunrpc/auth_none.c: Likewise.
25370 * sunrpc/auth_unix.c: Likewise.
25371 * sunrpc/authdes_prot.c: Likewise.
25372 * sunrpc/authuxprot.c: Likewise.
25373 * sunrpc/clnt_gen.c: Likewise.
25374 * sunrpc/clnt_perr.c: Likewise.
25375 * sunrpc/clnt_raw.c: Likewise.
25376 * sunrpc/clnt_simp.c: Likewise.
25377 * sunrpc/clnt_tcp.c: Likewise.
25378 * sunrpc/clnt_udp.c: Likewise.
25379 * sunrpc/clnt_unix.c: Likewise.
25380 * sunrpc/des_crypt.c: Likewise.
25381 * sunrpc/des_soft.c: Likewise.
25382 * sunrpc/get_myaddr.c: Likewise.
25383 * sunrpc/key_call.c: Likewise.
25384 * sunrpc/key_prot.c: Likewise.
25385 * sunrpc/netname.c: Likewise.
25386 * sunrpc/pm_getmaps.c: Likewise.
25387 * sunrpc/pm_getport.c: Likewise.
25388 * sunrpc/pmap_clnt.c: Likewise.
25389 * sunrpc/pmap_prot.c: Likewise.
25390 * sunrpc/pmap_prot2.c: Likewise.
25391 * sunrpc/pmap_rmt.c: Likewise.
25392 * sunrpc/publickey.c: Likewise.
25393 * sunrpc/rpc_cmsg.c: Likewise.
25394 * sunrpc/rpc_common.c: Likewise.
25395 * sunrpc/rpc_dtable.c: Likewise.
25396 * sunrpc/rpc_prot.c: Likewise.
25397 * sunrpc/rpc_thread.c: Likewise.
25398 * sunrpc/rtime.c: Likewise.
25399 * sunrpc/svc.c: Likewise.
25400 * sunrpc/svc_auth.c: Likewise.
25401 * sunrpc/svc_authux.c: Likewise.
25402 * sunrpc/svc_raw.c: Likewise.
25403 * sunrpc/svc_run.c: Likewise.
25404 * sunrpc/svc_simple.c: Likewise.
25405 * sunrpc/svc_tcp.c: Likewise.
25406 * sunrpc/svc_udp.c: Likewise.
25407 * sunrpc/svc_unix.c: Likewise.
25408 * sunrpc/svcauth_des.c: Likewise.
25409 * sunrpc/xcrypt.c: Likewise.
25410 * sunrpc/xdr.c: Likewise.
25411 * sunrpc/xdr_array.c: Likewise.
25412 * sunrpc/xdr_float.c: Likewise.
25413 * sunrpc/xdr_intXX_t.c: Likewise.
25414 * sunrpc/xdr_mem.c: Likewise.
25415 * sunrpc/xdr_rec.c: Likewise.
25416 * sunrpc/xdr_ref.c: Likewise.
25417 * sunrpc/xdr_sizeof.c: Likewise.
25418 * sunrpc/xdr_stdio.c: Likewise.
25419
25420 2011-04-10 Ulrich Drepper <drepper@gmail.com>
25421
25422 [BZ #12650]
25423 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25424 * sysdeps/ia64/dl-tls.h: Likewise.
25425 * sysdeps/powerpc/dl-tls.h: Likewise.
25426 * sysdeps/s390/dl-tls.h: Likewise.
25427 * sysdeps/sh/dl-tls.h: Likewise.
25428 * sysdeps/sparc/dl-tls.h: Likewise.
25429 * sysdeps/x86_64/dl-tls.h: Likewise.
25430 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25431
25432 2011-03-14 Andreas Schwab <schwab@redhat.com>
25433
25434 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25435 rpath element also skip the following colon.
25436 (expand_dynamic_string_token): Add is_path parameter and pass
25437 down to DL_DST_REQUIRED and _dl_dst_substitute.
25438 (decompose_rpath): Call expand_dynamic_string_token with
25439 non-zero is_path. Ignore empty rpaths.
25440 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25441 with zero is_path.
25442
25443 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25444
25445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25446 Make cancelable.
25447
25448 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25449
25450 [BZ #12655]
25451 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25452 Patch by Filipe David Manana <fdmanana@apache.org>.
25453
25454 2011-04-07 Andreas Schwab <schwab@redhat.com>
25455
25456 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25457 Maintain aligned stack.
25458 (CHECK_RSP): Remove unused macro.
25459
25460 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25461
25462 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25463 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25464
25465 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25466
25467 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25468
25469 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25470
25471 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25472
25473 [BZ #12518]
25474 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25475 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25476 * sysdeps/x86_64/memmove.c: New file.
25477 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25478 (memcpy): Renamed to ...
25479 (__new_memcpy): This.
25480 (memcpy): Provide GLIBC_2_14 memcpy.
25481 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25482 (memcpy): Provide GLIBC_2_2_5 memcpy.
25483
25484 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25485
25486 [BZ #12631]
25487 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25488
25489 2011-03-30 Andreas Schwab <schwab@redhat.com>
25490
25491 * misc/syncfs.c: New file.
25492 * misc/Makefile (routines): Add syncfs.
25493 * posix/unistd.h: Declare syncfs.
25494 * sysdeps/unix/syscalls.list: Add syncfs.
25495
25496 2011-04-01 Andreas Schwab <schwab@redhat.com>
25497
25498 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25499 open_by_handle_at.
25500 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25501 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25502 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25503 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25504 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25505 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25506 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25507
25508 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25509
25510 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25511 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25512 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25514 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25515 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25516 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25517
25518 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25519 sync_file_range.c with -fexceptions.
25520 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25521 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25522 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25523 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25524 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25525 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25526 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25527 sync_file_range as cancellation point
25528 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25529 now a wrapper around __call_sync_file_range with cancellation handling.
25530 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25531 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25532 function name to __call_sync_file_range.
25533 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25534 Add call_sync_file_range.
25535
25536 2011-04-01 Andreas Schwab <schwab@redhat.com>
25537
25538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25539 bits/timex.h.
25540
25541 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25542
25543 * iconv/iconv.h: Fix typo in comment.
25544 * io/fcntl.h: Likewise.
25545 * libio/stdio.h: Likewise.
25546 * posix/spawn.h: Likewise.
25547 * posix/unistd.h: Likewise.
25548 * stdlib/stdlib.h: Likewise.
25549 * time/time.h: Likewise.
25550 * wcsmbs/wchar.h: Likewise.
25551
25552 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25553 open_by_handle): Add.
25554 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25555 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25556 Augment a few comments.
25557 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25558 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25559 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25560 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25561 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25562 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25563 open_by_handle.
25564
25565 * io/fcntl.h (AT_EMPTY_PATH): Define.
25566
25567 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25568
25569 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25570 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25571 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25572 to...
25573 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25574 * Versions.def: Add GLIBC_2.14.
25575 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25576 Export.
25577
25578 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25579
25580 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25581 round counter.
25582 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25583
25584 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25585
25586 [BZ #12597]
25587 * string/test-strncmp.c (do_page_test): New function.
25588 (check2): Likewise.
25589 (test_main): Call check2.
25590 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25591
25592 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25593
25594 [BZ #12587]
25595 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25596 Handle cache information in CPU leaf 4.
25597 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25598
25599 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25600
25601 [BZ #12583]
25602 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25603 character representation.
25604 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25605
25606 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25607
25608 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25609 END(__isnan) to END(__isnanf) to match function entry point/label
25610 EALIGN(__isnanf,...).
25611
25612 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25613
25614 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25615
25616 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25617
25618 [BZ #12510]
25619 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25620 copy from the symbol referenced in the relocation to initialize the
25621 used variable.
25622 Patch by Piotr Bury <pbury@goahead.com>.
25623 * elf/Makefile: Add rules to build and tst-unique3.
25624 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25625 * elf/tst-unique3.cc: New file.
25626 * elf/tst-unique3.h: New file.
25627 * elf/tst-unique3lib.cc: New file.
25628 * elf/tst-unique3lib2.cc: New file.
25629
25630 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25631
25632 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25633
25634 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25635 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25636 to _start.
25637
25638 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25639
25640 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25641 to-be-loaded object along a path to loader is ld.so.
25642
25643 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25644 Ulrich Drepper <drepper@gmail.com>
25645
25646 * sysdeps/x86_64/memset.S: After aligning destination, code
25647 branches to different locations depending on the value of
25648 misalignment, when multiarch is enabled. Fix this.
25649
25650 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25651
25652 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25653 Set _x86_64_preferred_memory_instruction for AMD processsors.
25654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25655 Set bit_Prefer_SSE_for_memop for AMD processors.
25656
25657 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25658
25659 * libio/fmemopen.c (fmemopen): Optimize a bit.
25660
25661 2011-03-03 Andreas Schwab <schwab@redhat.com>
25662
25663 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25664
25665 2011-03-03 Roland McGrath <roland@redhat.com>
25666
25667 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25668
25669 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25670
25671 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25672 __bzero_ultra1 instead of __memset_ultra1.
25673
25674 2011-02-23 Andreas Schwab <schwab@redhat.com>
25675 Ulrich Drepper <drepper@gmail.com>
25676
25677 [BZ #12509]
25678 * include/link.h (struct link_map): Add l_orig_initfini.
25679 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25680 returning unsuccessfully.
25681 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25682 close of a file loaded at startup, restore the original l_initfini
25683 list.
25684 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25685 list, store the pointer.
25686 * elf/Makefile ($(objpfx)noload-mem): New rule.
25687 (noload-ENV): Define.
25688 (tests): Add $(objpfx)noload-mem.
25689 * elf/noload.c: Include <memcheck.h>.
25690 (main): Call mtrace. Close all opened handles.
25691
25692 2011-02-17 Andreas Schwab <schwab@redhat.com>
25693
25694 [BZ #12454]
25695 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25696 dependencies are missing.
25697
25698 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25699
25700 Fix __if_freereq crash: Unlike the generic version which uses free,
25701 Hurd needs munmap.
25702 * sysdeps/mach/hurd/ifreq.h: New file.
25703
25704 2011-01-27 Petr Baudis <pasky@suse.cz>
25705 Ulrich Drepper <drepper@gmail.com>
25706
25707 [BZ 12445]#
25708 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25709 to extend_alloca().
25710 * stdio-common/bug23.c: New file.
25711 * stdio-common/Makefile (tests): Add bug23.
25712
25713 2010-09-28 Andreas Schwab <schwab@redhat.com>
25714 Ulrich Drepper <drepper@gmail.com>
25715
25716 [BZ #12489]
25717 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25718 before performing relro protection. At old place add assertion
25719 to make sure nothing changed.
25720
25721 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25722 Glauber de Oliveira Costa <glommer@gmail.com>
25723
25724 * elf/elf.h: Add new ARM TLS relocs.
25725
25726 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25727
25728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25729 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25730 cast from r3.
25731 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25732 'tests' variable.
25733 * sysdeps/wordsize-64/tst-writev.c: New file.
25734
25735 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25736
25737 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25738 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25739 insns in _dl_start to prevent a TOC reference before relocs are
25740 resolved.
25741
25742 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25743
25744 [BZ #12469]
25745 * Makeconfig: Remove RANLIB definition.
25746 * Makerules: Don't use RANLIB.
25747 * aclocal.m4: Remove ranlib test.
25748 * configure.in: No need to check for ranlib.
25749 * elf/rtld-Rules: Don't use RANLIB.
25750
25751 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25752
25753 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25754 protection macro.
25755 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25756 inclusion protection macro.
25757
25758 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25759 SIGRTMIN and SIGRTMAX and print information in that case only when
25760 SIGRTMIN is defined.
25761
25762 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25763
25764 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25765 arginfo fn returning -1.
25766
25767 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25768 and thousands string is zero terminated.
25769
25770 2011-02-03 Andreas Schwab <schwab@redhat.com>
25771
25772 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25773 sysdeps/unix/sysv/linux/bits/socket.h.
25774
25775 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25776
25777 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25778 (__CPU_COUNT): Remove old macros.
25779 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25780 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25781 (__CPU_ALLOC, __CPU_FREE): Add macros.
25782 (__sched_cpualloc, __sched_cpufree): Add declarations.
25783
25784 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25785
25786 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25787 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25788 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25789 (readdhstai): Return value of addhstaiX call.
25790 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25791 (addgrbyX): Return value returned by cache_addgr.
25792 (readdgrbyname): Return value returned by addgrbyX.
25793 (readdgrbygid): Likewise.
25794 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25795 (addpwbyX): Return value returned by cache_addpw.
25796 (readdpwbyname): Return value returned by addhstbyX.
25797 (readdpwbyuid): Likewise.
25798 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25799 (addservbyX): Return value returned by cache_addserv.
25800 (readdservbyname): Return value returned by addservbyX:
25801 (readdservbyport): Likewise.
25802 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25803 (addhstbyX): Return value returned by cache_addhst.
25804 (readdhstbyname): Return value returned by addhstbyX.
25805 (readdhstbyaddr): Likewise.
25806 (readdhstbynamev6): Likewise.
25807 (readdhstbyaddrv6): Likewise.
25808 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25809 (readdinitgroups): Return value returned by addinitgroupsX.
25810 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25811 (prune_cache): Keep track of timeout value of re-added entries.
25812 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25813 * nscd/nscd.h: Adjust prototypes of readd* functions.
25814
25815 2011-02-04 Roland McGrath <roland@redhat.com>
25816
25817 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25818 (nis_stats): Likewise.
25819 * nis/nis_modify.c (nis_modify): Likewise.
25820 * nis/nis_remove.c (nis_remove): Likewise.
25821 * nis/nis_add.c (nis_add): Likewise.
25822
25823 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25824
25825 * posix/fnmatch_loop.c: Add some consts.
25826
25827 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25828
25829 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25830
25831 [BZ #12460]
25832 * config.make.in (config-cflags-novzeroupper): Define.
25833 * configure.in: Substitute libc_cv_cc_novzeroupper.
25834 * elf/Makefile (AVX-CFLAGS): Define.
25835 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25836 (CFLAGS-tst-auditmod4a.c): Likewise.
25837 (CFLAGS-tst-auditmod4b.c): Likewise.
25838 (CFLAGS-tst-auditmod6b.c): Likewise.
25839 (CFLAGS-tst-auditmod6c.c): Likewise.
25840 (CFLAGS-tst-auditmod7b.c): Likewise.
25841 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25842
25843 2011-02-02 Ulrich Drepper <drepper@gmail.com>
25844
25845 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25846 function to the callback.
25847 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25848
25849 2011-02-02 Andreas Schwab <schwab@redhat.com>
25850
25851 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25852 of errno.
25853
25854 2011-01-19 Ulrich Drepper <drepper@gmail.com>
25855
25856 [BZ #11724]
25857 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25858 of constructors.
25859 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25860 of destructors.
25861 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25862
25863 [BZ #11724]
25864 * elf/Makefile: Add rules to build and run new test.
25865 * elf/tst-initorder.c: New file.
25866 * elf/tst-initorder.exp: New file.
25867 * elf/tst-initordera1.c: New file.
25868 * elf/tst-initordera2.c: New file.
25869 * elf/tst-initordera3.c: New file.
25870 * elf/tst-initordera4.c: New file.
25871 * elf/tst-initorderb1.c: New file.
25872 * elf/tst-initorderb2.c: New file.
25873 * elf/tst-order-a1.c: New file.
25874 * elf/tst-order-a2.c: New file.
25875 * elf/tst-order-a3.c: New file.
25876 * elf/tst-order-a4.c: New file.
25877 * elf/tst-order-b1.c: New file.
25878 * elf/tst-order-b2.c: New file.
25879 * elf/tst-order-main.c: New file.
25880 New test case by George Gensure <werkt0@gmail.com>.
25881
25882 2010-10-01 Andreas Schwab <schwab@redhat.com>
25883
25884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25885 decoding ACE if AI_CANONIDN.
25886
25887 2011-01-18 Ulrich Drepper <drepper@gmail.com>
25888
25889 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25890
25891 2011-01-17 Ulrich Drepper <drepper@gmail.com>
25892
25893 * version.h (RELEASE): Bump for 2.13 release.
25894 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25895
25896 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25897
25898 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25899 MADV_NOHUGEPAGE.
25900 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25901 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25902 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25903 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25904 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25905 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25906
25907 * posix/getconf.c: Update copyright year.
25908 * catgets/gencat.c: Likewise.
25909 * csu/version.c: Likewise.
25910 * debug/catchsegv.sh: Likewise.
25911 * debug/xtrace.sh: Likewise.
25912 * elf/ldconfig.c: Likewise.
25913 * elf/ldd.bash.in: Likewise.
25914 * elf/sprof.c (print_version): Likewise.
25915 * iconv/iconv_prog.c: Likewise.
25916 * iconv/iconvconfig.c: Likewise.
25917 * locale/programs/locale.c: Likewise.
25918 * locale/programs/localedef.c: Likewise.
25919 * malloc/memusage.sh: Likewise.
25920 * malloc/mtrace.pl: Likewise.
25921 * nscd/nscd.c (print_version): Likewise.
25922 * nss/getent.c: Likewise.
25923
25924 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25925 PF_CAIF, and PF_ALG.
25926 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25927
25928 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25929
25930 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25931 (modules-names): Use them.
25932 (ifunc-test-modules, ifunc-pie-tests): Define.
25933 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25934 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25935 (test-extras): Likewise.
25936 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25937 $(compile-command.c).
25938 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25939 (all-built-dso): Define.
25940 (check-textrel.out, check-execstack.out): Depend on it.
25941
25942 * configure.in: Don't override --enable-multi-arch.
25943
25944 2011-01-15 Ulrich Drepper <drepper@gmail.com>
25945
25946 [BZ #6812]
25947 * nscd/hstcache.c (tryagain): Define.
25948 (cache_addhst): Return tryagain not notfound for temporary errors.
25949 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25950 failed.
25951
25952 2011-01-14 Ulrich Drepper <drepper@gmail.com>
25953
25954 [BZ #10563]
25955 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25956 to make the syscall.
25957 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25958
25959 [BZ #12378]
25960 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25961 and fall back to matching as normal character if the string ends before
25962 the matching ']' is found. This is what POSIX requires.
25963 * posix/testfnm.c: Adjust test result.
25964 * posix/globtest.sh: Adjust test result. Add new test.
25965 * posix/tst-fnmatch.input: Likewise.
25966 * posix/tst-fnmatch2.c: Add new test.
25967
25968 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25969
25970 * elf/Makefile (check-execstack): Revert last change. Depend on
25971 check-execstack.h.
25972 (check-execstack.h): New target.
25973 (generated): Add check-execstack.h.
25974 * elf/check-execstack.c: Include "check-execstack.h".
25975 (main): Revert last change.
25976 (handle_file): Return zero if GNU_STACK is absent and
25977 DEFAULT_STACK_PERMS doesn't include PF_X.
25978
25979 2011-01-13 Ulrich Drepper <drepper@gmail.com>
25980
25981 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25982 in child fails because the descriptor is already closed.
25983 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25984 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25985 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25986
25987 [BZ #12397]
25988 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25989 syscall.
25990
25991 [BZ #10484]
25992 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25993 temporary buffer used to handle multi lookups locally.
25994 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25995
25996 2011-01-12 Ulrich Drepper <drepper@gmail.com>
25997
25998 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25999 loader is ld.so.
26000
26001 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26002
26003 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26004 alignment for SSE2.
26005
26006 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26007
26008 [BZ #12394]
26009 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26010 characters. When rounding increased number of integer digits recompute
26011 number of groups.
26012 * stdio-common/tst-grouping.c: New file.
26013 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26014
26015 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26016
26017 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26018 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26019
26020 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26021 void.
26022 * bits/select.h: Likewise.
26023
26024 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26025
26026 * po/ja.po: Update from translation team.
26027
26028 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26029
26030 [BZ #11155]
26031 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26032 implementation just like for lxstat, fxstatat, et al.
26033
26034 2010-12-27 Jim Meyering <meyering@redhat.com>
26035
26036 [BZ #12348]
26037 * posix/regexec.c (build_trtable): Return failure indication upon
26038 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26039
26040 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26041
26042 [BZ #12201]
26043 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26044 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26045 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26046 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26047
26048 [BZ #12207]
26049 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26050
26051 [BZ #12204]
26052 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26053 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26054
26055 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26056
26057 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26058 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26059 script has SORT_BY_INIT_PRIORITY.
26060 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26061 NO_CTORS_DTORS_SECTIONS is defined.
26062 * elf/soinit.c: Likewise.
26063 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26064 NO_CTORS_DTORS_SECTIONS is defined.
26065 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26066 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26067 * sysdeps/sh/init-first.c: Likewise.
26068 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26069
26070 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26071
26072 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26073 always use the slow path.
26074
26075 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26076
26077 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26078 similar rule which adds the sysdep directories to the header search in
26079 order to pick up the correct platform stackinfo.h.
26080 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26081 perform test if it is, otherwise return successfully without testing.
26082 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26083 DEFAULT_STACK_PERMS define in stackinfo.h.
26084 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26085 defined in stackinfo.h.
26086 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26087 DEFAULT_STACK_PERMS defined in stackinfo.h.
26088 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26089 * sysdeps/ia64/stackinfo.h: Likewise.
26090 * sysdeps/s390/stackinfo.h: Likewise.
26091 * sysdeps/sh/stackinfo.h: Likewise.
26092 * sysdeps/sparc/stackinfo.h: Likewise.
26093 * sysdeps/x86_64/stackinfo.h: Likewise.
26094 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26095 PF_X for powerpc64. Retain PF_X for powerpc32.
26096
26097 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26098
26099 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26100 accurately.
26101 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26102 GETDENTS_64BIT_ALIGNED.
26103
26104 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26105
26106 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26107
26108 2010-12-10 Andreas Schwab <schwab@redhat.com>
26109
26110 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26111 _GNU_SOURCE.
26112
26113 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26114 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26115 Remove __restrict.
26116 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26117 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26118
26119 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26120
26121 [BZ #11655]
26122 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26123 are initialized.
26124
26125 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26126
26127 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26128
26129 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26130
26131 * po/it.po: Update from translation team.
26132
26133 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26134
26135 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26136 unused codes.
26137
26138 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26139
26140 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26141
26142 2010-11-24 Andreas Schwab <schwab@redhat.com>
26143
26144 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26145 specially.
26146 (gaih_getanswer_slice): Likewise.
26147
26148 2010-10-20 Jakub Jelinek <jakub@redhat.com>
26149
26150 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26151
26152 2010-05-31 Petr Baudis <pasky@suse.cz>
26153
26154 [BZ #11149]
26155 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26156 silently even in the chroot mode.
26157
26158 2010-11-22 Ulrich Drepper <drepper@gmail.com>
26159
26160 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26161 last patch a bit. Pretty printing
26162
26163 2010-05-31 Petr Baudis <pasky@suse.cz>
26164
26165 [BZ #10085]
26166 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26167 initialization of skip_initgroups_dyn.
26168
26169 2010-11-19 Ulrich Drepper <drepper@gmail.com>
26170
26171 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26172 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26173
26174 2010-11-16 Ulrich Drepper <drepper@gmail.com>
26175
26176 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26177
26178 2010-11-11 Andreas Schwab <schwab@redhat.com>
26179
26180 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26181 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26182 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26183 ($(objpfx)tst-fnmatch-mem): New rule.
26184 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26185 * posix/tst-fnmatch.c (main): Call mtrace.
26186
26187 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26188
26189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26190 Support Intel processor model 6 and model 0x2c.
26191
26192 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
26193
26194 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26195 signed comparison.
26196
26197 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26198
26199 [BZ #12205]
26200 * string/test-strncasecmp.c (check_result): New function.
26201 (do_one_test): Use it.
26202 (check1): New function.
26203 (test_main): Use it.
26204 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26205 Support strcasecmp and strncasecmp.
26206
26207 2010-11-08 Ulrich Drepper <drepper@gmail.com>
26208
26209 [BZ #12194]
26210 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26211 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26212
26213 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26214
26215 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26216 IFUNC support.
26217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26218 memset-x86-64.
26219 * sysdeps/x86_64/multiarch/bzero.S: New file.
26220 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26221 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26222 * sysdeps/x86_64/multiarch/memset.S: New file.
26223 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26225 Set bit_Prefer_SSE_for_memop for Intel processors.
26226 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26227 Define.
26228 (index_Prefer_SSE_for_memop): Define.
26229 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26230
26231 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
26232
26233 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26234 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26235
26236 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26237
26238 [BZ #12191]
26239 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26240 (__x86_64_raw_data_cache_size_half): Likewise.
26241 (__x86_64_raw_shared_cache_size): Likewise.
26242 (__x86_64_raw_shared_cache_size_half): Likewise.
26243
26244 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26245 (__x86_64_raw_data_cache_size_half): Likewise.
26246 (__x86_64_raw_shared_cache_size): Likewise.
26247 (__x86_64_raw_shared_cache_size_half): Likewise.
26248 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26249 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26250 and __x86_64_raw_shared_cache_size_half. Round
26251 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26252 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26253 to multiple of 256 bytes.
26254
26255 2010-11-03 Ulrich Drepper <drepper@gmail.com>
26256
26257 [BZ #12167]
26258 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26259 of inacessible symlinks. Verify result of symlink before returning it.
26260 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26261 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26262
26263 2010-10-28 Erich Ritz <erichritz@gmail.com>
26264
26265 * math/math.h (isinf): Fix typo in comment.
26266
26267 2010-11-01 Ulrich Drepper <drepper@gmail.com>
26268
26269 * po/da.po: Update from translation team.
26270
26271 2010-10-26 Ulrich Drepper <drepper@gmail.com>
26272
26273 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26274 is added to the list.
26275
26276 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26277 Ulrich Drepper <drepper@gmail.com>
26278
26279 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26280 the global list here. Move code to...
26281 (_dl_add_to_namespace_list): ...here. New function.
26282 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26283 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26284 * elf/dl-load.c (lose): Don't remove the element from the list.
26285 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26286 (_dl_map_object): Likewise.
26287
26288 2010-10-25 Ulrich Drepper <drepper@gmail.com>
26289
26290 [BZ #12159]
26291 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26292 into all bytes of SSE register.
26293 Patch by Richard Li <richardpku@gmail.com>.
26294
26295 2010-10-24 Ulrich Drepper <drepper@gmail.com>
26296
26297 [BZ #12140]
26298 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26299 perturbing.
26300
26301 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26302
26303 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26304 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26305 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26306 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26308 submachine.
26309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26310
26311 2010-10-22 Andreas Schwab <schwab@redhat.com>
26312
26313 * include/dlfcn.h (__RTLD_SECURE): Define.
26314 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26315 mode & __RTLD_SECURE instead.
26316 (open_path): Rename preloaded parameter to secure.
26317 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26318 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26319 * elf/dl-deps.c (openaux): Likewise.
26320 * elf/rtld.c (struct map_args): Remove is_preloaded.
26321 (map_doit): Don't use it.
26322 (dl_main): Likewise.
26323 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26324 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26325
26326 2010-09-09 Andreas Schwab <schwab@redhat.com>
26327
26328 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26329 (sysd-rules-targets): Remove duplicates.
26330 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26331 rtld-%.$o dependency.
26332
26333 2010-10-18 Andreas Schwab <schwab@redhat.com>
26334
26335 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26336 _dl_map_object do it.
26337
26338 2010-10-19 Ulrich Drepper <drepper@gmail.com>
26339
26340 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26341 fast fma builtins, define the macros in the C99 standard.
26342 (FP_FAST_FMAF): Likewise.
26343 (FP_FAST_FMAL): Likewise.
26344 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26345
26346 * bits/mathdef.h: Update copyright year.
26347 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26348
26349 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26350
26351 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26352 builtins, define the macros in the C99 standard.
26353 (FP_FAST_FMAF): Likewise.
26354 (FP_FAST_FMAL): Likewise.
26355 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26356 multiply/add.
26357 (FP_FAST_FMAF): Likewise.
26358
26359 2010-10-15 Jakub Jelinek <jakub@redhat.com>
26360
26361 [BZ #3268]
26362 * math/libm-test.inc (fma_test): Some new testcases.
26363 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26364 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26365 y and infinite z. Do multiplication by C already in long double.
26366 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26367 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26368 y and infinite z. Do bitwise or of inexact bit into u.d.
26369 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26370 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26371 * sysdeps/i386/fpu/s_fma.S: Removed.
26372 * sysdeps/i386/fpu/s_fmal.S: Removed.
26373
26374 2010-10-16 Jakub Jelinek <jakub@redhat.com>
26375
26376 [BZ #3268]
26377 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26378 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26379 computation is not scheduled after fetestexcept. Fix value
26380 of minimum denormal long double.
26381
26382 2010-10-14 Jakub Jelinek <jakub@redhat.com>
26383
26384 [BZ #3268]
26385 * math/libm-test.inc (fma_test): Add some more tests.
26386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26387 correctly.
26388
26389 2010-10-15 Andreas Schwab <schwab@redhat.com>
26390
26391 * scripts/data/localplt-s390-linux-gnu.data: New file.
26392 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26393
26394 2010-10-13 Jakub Jelinek <jakub@redhat.com>
26395
26396 [BZ #3268]
26397 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26398 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26399 instead of dbl-64.
26400 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26401 inlines.
26402 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26404 if one of x and y is very large and the other is subnormal.
26405 * sysdeps/s390/fpu/s_fmaf.c: New file.
26406 * sysdeps/s390/fpu/s_fma.c: New file.
26407 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26408 * sysdeps/powerpc/fpu/s_fma.S: New file.
26409 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26410 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26411 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26412
26413 2010-10-12 Jakub Jelinek <jakub@redhat.com>
26414
26415 [BZ #3268]
26416 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26417 fma tests.
26418 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26419 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26420 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26421 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26422 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26423 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26424 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26425
26426 2010-10-12 Ulrich Drepper <drepper@redhat.com>
26427
26428 [BZ #12078]
26429 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26430 * posix/bug-regex31.input: Add test case.
26431
26432 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26433
26434 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26435 * posix/bug-regex31.input: New file.
26436
26437 [BZ #12078]
26438 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26439 (parse_sub_exp): Fix last change, use postorder.
26440
26441 * posix/bug-regex31.c: New file.
26442 * posix/Makefile: Add rules to build and run bug-regex31.
26443
26444 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26445
26446 [BZ #12078]
26447 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26448
26449 [BZ #12108]
26450 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26451 to have entries in sys_siglist.
26452
26453 [BZ #12093]
26454 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26455 be NULL.
26456
26457 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26458
26459 [BZ #3268]
26460 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26461 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26462 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26463 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26464 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26465 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26466 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26467 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26468 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26469 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26470 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26471 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26472 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26473 * math/ftestexcept.c (fetestexcept): Likewise.
26474 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26475 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26476 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26477 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26478 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26479 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26480 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26481
26482 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26483
26484 [BZ #12107]
26485 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26486 newline.
26487
26488 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26489
26490 * string/bug-strstr1.c: New file.
26491 * string/Makefile: Add rules to build and run bug-strstr1.
26492
26493 2010-10-05 Eric Blake <eblake@redhat.com>
26494
26495 [BZ #12092]
26496 * string/str-two-way.h (two_way_long_needle): Always clear memory
26497 when skipping input due to the shift table.
26498
26499 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26500
26501 [BZ #12005]
26502 * malloc/mcheck.c: Handle large requests.
26503
26504 [BZ #12077]
26505 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26506 for strncmp and strncasecmp.
26507 * string/stratcliff.c: Add tests for strcmp and strncmp.
26508 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26509
26510 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26511
26512 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26513 __set_fpscr.
26514
26515 2010-09-30 Andreas Jaeger <aj@suse.de>
26516
26517 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26518 (CGROUP_SUPER_MAGIC): Define.
26519 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26520 Handle btrfs and cgroup file systems.
26521 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26522 Likewise.
26523
26524 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26525
26526 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26527 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26528
26529 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26530
26531 [BZ #12067]
26532 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26533 trying to locate the ELF header.
26534
26535 2010-09-27 Andreas Schwab <schwab@redhat.com>
26536
26537 [BZ #11611]
26538 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26539 Mask out sign-bit copies when constructing f_fsid.
26540
26541 2010-09-24 Petr Baudis <pasky@suse.cz>
26542
26543 * debug/stack_chk_fail_local.c: Add missing licence exception.
26544 * debug/warning-nop.c: Likewise.
26545
26546 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26547
26548 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26549 implementing getdents64 using getdents syscall, set d_type if
26550 __ASSUME_GETDENTS32_D_TYPE.
26551
26552 2010-09-16 Andreas Schwab <schwab@redhat.com>
26553
26554 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26555 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26556
26557 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26558
26559 [BZ #12037]
26560 * posix/unistd.h: Undo change of feature selection for ftruncate from
26561 2010-01-11.
26562
26563 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26564
26565 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26566 detection.
26567
26568 2010-09-20 Andreas Schwab <schwab@redhat.com>
26569
26570 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26571 fanotify_mark.
26572 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26573
26574 2010-09-14 Andreas Schwab <schwab@redhat.com>
26575
26576 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26577 variables after CHECK_SP call.
26578 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26579
26580 2010-09-13 Andreas Schwab <schwab@redhat.com>
26581 Ulrich Drepper <drepper@redhat.com>
26582
26583 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26584 re-relocationg ld.so.
26585 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26586 _dl_init_paths call.
26587 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26588 here anymore.
26589
26590 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26591
26592 * resolv/res_init.c (__res_vinit): Count the default server we added.
26593
26594 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26595 Ulrich Drepper <drepper@redhat.com>
26596
26597 [BZ #11968]
26598 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26599 (____longjmp_chk): Use %ebx for saving value across system call.
26600 Add unwind info.
26601
26602 2010-09-06 Andreas Schwab <schwab@redhat.com>
26603
26604 * manual/Makefile: Don't mix pattern rules with normal rules.
26605
26606 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26607
26608 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26609 operation.
26610 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26611 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26612 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26613 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26614 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26615 Likewise.
26616
26617 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26618
26619 [BZ #11979]
26620 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26621 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26622
26623 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26624
26625 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26626 * sysdeps/x86_64/addmul_1.S: Likewise.
26627 * sysdeps/x86_64/lshift.S: Likewise.
26628 * sysdeps/x86_64/mul_1.S: Likewise.
26629 * sysdeps/x86_64/rshift.S: Likewise.
26630 * sysdeps/x86_64/sub_n.S: Likewise.
26631 * sysdeps/x86_64/submul_1.S: Likewise.
26632
26633 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26634
26635 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26636 Define __sched_param instead of SCHED_* and sched_param when
26637 <bits/sched.h> is included with __need_schedparam defined.
26638 * bits/sched.h [__need_schedparam]
26639 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26640 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26641 (__defined_schedparam): Define to 1.
26642 (__sched_param): New structure, identical to sched_param.
26643 (__need_schedparam): Undefine.
26644
26645 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26646
26647 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26648 (epoll_create1): Declare.
26649
26650 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26651
26652 2010-08-31 Andreas Schwab <schwab@redhat.com>
26653
26654 [BZ #7066]
26655 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26656 shifting retval into place.
26657
26658 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26659
26660 * nis/rpcsvc/nis.h: Update copyright notice.
26661 * nis/rpcsvc/nis.x: Likewise.
26662 * nis/rpcsvc/nis_callback.h: Likewise.
26663 * nis/rpcsvc/nis_callback.x: Likewise.
26664 * nis/rpcsvc/nis_object.x: Likewise.
26665 * nis/rpcsvc/nis_tags.h: Likewise.
26666 * nis/rpcsvc/yp.h: Likewise.
26667 * nis/rpcsvc/yp.x: Likewise.
26668 * nis/rpcsvc/ypupd.h: Likewise.
26669 * nis/yp_xdr.c: Likewise.
26670 * nis/ypupdate_xdr.c: Likewise.
26671
26672 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26673 mainly the body of pmap_getport. Add parameters to specify timeouts.
26674 (pmap_getport): Use __libc_rpc_getport.
26675 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26676 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26677 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26678
26679 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26680
26681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26682 fanotify_mark.
26683
26684 2010-08-27 Roland McGrath <roland@redhat.com>
26685
26686 * sysdeps/i386/i686/multiarch/Makefile
26687 (CFLAGS-varshift.c): New variable.
26688
26689 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26690
26691 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26692 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26693
26694 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26695
26696 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26697
26698 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26699
26700 * sysdeps/x86_64/strlen.S: Unroll the loop.
26701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26702 strlen-sse2 strlen-sse2-bsf.
26703 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26704 __strlen_no_bsf if bit_Slow_BSF is set.
26705 (__strlen_sse42): Removed.
26706 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26707 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26708
26709 2010-08-25 Roland McGrath <roland@redhat.com>
26710
26711 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26712 * sysdeps/x86_64/multiarch/varshift.c: New file.
26713 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26714 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26715 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26716 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26717
26718 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26719
26720 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26721 strlen-sse2 strlen-sse2-bsf.
26722 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26723 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26724 (__strlen_sse2): Removed.
26725 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26726 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26728 bit_Slow_BSF for Atom.
26729 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26730 (index_Slow_BSF): Define.
26731 (HAS_SLOW_BSF): Define.
26732
26733 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26734
26735 [BZ #10851]
26736 * resolv/res_init.c (__res_vinit): When no server address at all
26737 is given default to loopback.
26738
26739 2010-08-24 Roland McGrath <roland@redhat.com>
26740
26741 * configure.in: Remove config-name.h generation.
26742 * configure: Regenerated.
26743 * config-name.in: File removed.
26744 * scripts/config-uname.sh: New file.
26745 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26746 ($(objdir)config-name.h): New target.
26747
26748 * sunrpc/rpc_parse.h: Avoid nested comment.
26749
26750 2010-08-24 Richard Henderson <rth@redhat.com>
26751 Ulrich Drepper <drepper@redhat.com>
26752 H.J. Lu <hongjiu.lu@intel.com>
26753
26754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26756 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26757 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26758 _mm_alignr_epi8 with _mm_loadu_si128.
26759 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26760 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26761 (__m128i_shift_right): Removed.
26762 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26763 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26764 * sysdeps/x86_64/multiarch/varshift.h: New file.
26765 * sysdeps/x86_64/multiarch/varshift.S: New file.
26766
26767 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26768
26769 * configure.in: Move assembler checks to before sysdep dir checking.
26770
26771 2010-08-20 Petr Baudis <pasky@suse.cz>
26772
26773 * LICENSES: Sync the sunrpc license.
26774
26775 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26776
26777 * sunrpc/auth_des.c: Update copyright notice once again.
26778 * sunrpc/auth_none.c: Likewise.
26779 * sunrpc/auth_unix.c: Likewise.
26780 * sunrpc/authdes_prot.c: Likewise.
26781 * sunrpc/authuxprot.c: Likewise.
26782 * sunrpc/bindrsvprt.c: Likewise.
26783 * sunrpc/clnt_gen.c: Likewise.
26784 * sunrpc/clnt_perr.c: Likewise.
26785 * sunrpc/clnt_raw.c: Likewise.
26786 * sunrpc/clnt_simp.c: Likewise.
26787 * sunrpc/clnt_tcp.c: Likewise.
26788 * sunrpc/clnt_udp.c: Likewise.
26789 * sunrpc/clnt_unix.c: Likewise.
26790 * sunrpc/des_crypt.c: Likewise.
26791 * sunrpc/des_soft.c: Likewise.
26792 * sunrpc/get_myaddr.c: Likewise.
26793 * sunrpc/getrpcport.c: Likewise.
26794 * sunrpc/key_call.c: Likewise.
26795 * sunrpc/key_prot.c: Likewise.
26796 * sunrpc/openchild.c: Likewise.
26797 * sunrpc/pm_getmaps.c: Likewise.
26798 * sunrpc/pm_getport.c: Likewise.
26799 * sunrpc/pmap_clnt.c: Likewise.
26800 * sunrpc/pmap_prot.c: Likewise.
26801 * sunrpc/pmap_prot2.c: Likewise.
26802 * sunrpc/pmap_rmt.c: Likewise.
26803 * sunrpc/rpc/auth.h: Likewise.
26804 * sunrpc/rpc/auth_unix.h: Likewise.
26805 * sunrpc/rpc/clnt.h: Likewise.
26806 * sunrpc/rpc/des_crypt.h: Likewise.
26807 * sunrpc/rpc/key_prot.h: Likewise.
26808 * sunrpc/rpc/netdb.h: Likewise.
26809 * sunrpc/rpc/pmap_clnt.h: Likewise.
26810 * sunrpc/rpc/pmap_prot.h: Likewise.
26811 * sunrpc/rpc/pmap_rmt.h: Likewise.
26812 * sunrpc/rpc/rpc.h: Likewise.
26813 * sunrpc/rpc/rpc_des.h: Likewise.
26814 * sunrpc/rpc/rpc_msg.h: Likewise.
26815 * sunrpc/rpc/svc.h: Likewise.
26816 * sunrpc/rpc/svc_auth.h: Likewise.
26817 * sunrpc/rpc/types.h: Likewise.
26818 * sunrpc/rpc/xdr.h: Likewise.
26819 * sunrpc/rpc_clntout.c: Likewise.
26820 * sunrpc/rpc_cmsg.c: Likewise.
26821 * sunrpc/rpc_common.c: Likewise.
26822 * sunrpc/rpc_cout.c: Likewise.
26823 * sunrpc/rpc_dtable.c: Likewise.
26824 * sunrpc/rpc_hout.c: Likewise.
26825 * sunrpc/rpc_main.c: Likewise.
26826 * sunrpc/rpc_parse.c: Likewise.
26827 * sunrpc/rpc_parse.h: Likewise.
26828 * sunrpc/rpc_prot.c: Likewise.
26829 * sunrpc/rpc_sample.c: Likewise.
26830 * sunrpc/rpc_scan.c: Likewise.
26831 * sunrpc/rpc_scan.h: Likewise.
26832 * sunrpc/rpc_svcout.c: Likewise.
26833 * sunrpc/rpc_tblout.c: Likewise.
26834 * sunrpc/rpc_util.c: Likewise.
26835 * sunrpc/rpc_util.h: Likewise.
26836 * sunrpc/rpcinfo.c: Likewise.
26837 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26838 * sunrpc/rpcsvc/key_prot.x: Likewise.
26839 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26840 * sunrpc/rpcsvc/mount.x: Likewise.
26841 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26842 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26843 * sunrpc/rpcsvc/rex.x: Likewise.
26844 * sunrpc/rpcsvc/rstat.x: Likewise.
26845 * sunrpc/rpcsvc/rusers.x: Likewise.
26846 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26847 * sunrpc/rpcsvc/spray.x: Likewise.
26848 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26849 * sunrpc/rtime.c: Likewise.
26850 * sunrpc/svc.c: Likewise.
26851 * sunrpc/svc_auth.c: Likewise.
26852 * sunrpc/svc_authux.c: Likewise.
26853 * sunrpc/svc_raw.c: Likewise.
26854 * sunrpc/svc_run.c: Likewise.
26855 * sunrpc/svc_simple.c: Likewise.
26856 * sunrpc/svc_tcp.c: Likewise.
26857 * sunrpc/svc_udp.c: Likewise.
26858 * sunrpc/svc_unix.c: Likewise.
26859 * sunrpc/svcauth_des.c: Likewise.
26860 * sunrpc/xcrypt.c: Likewise.
26861 * sunrpc/xdr.c: Likewise.
26862 * sunrpc/xdr_array.c: Likewise.
26863 * sunrpc/xdr_float.c: Likewise.
26864 * sunrpc/xdr_mem.c: Likewise.
26865 * sunrpc/xdr_rec.c: Likewise.
26866 * sunrpc/xdr_ref.c: Likewise.
26867 * sunrpc/xdr_sizeof.c: Likewise.
26868 * sunrpc/xdr_stdio.c: Likewise.
26869
26870 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26871 handling.
26872
26873 2010-08-19 Andreas Schwab <schwab@redhat.com>
26874
26875 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26876
26877 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
26878
26879 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26880 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26881 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26882 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26883 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26884 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26885 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26886 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26887 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26888 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26889 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26890 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26891 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26892 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26893
26894 2010-07-26 Anton Blanchard <anton@samba.org>
26895
26896 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26897 * malloc/arena.c (heap_trim): Likewise.
26898
26899 2010-08-16 Ulrich Drepper <drepper@redhat.com>
26900
26901 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26902 here. Not...
26903 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26904 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26905
26906 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26907
26908 * sysdeps/i386/elf/Makefile: New file.
26909
26910 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26911
26912 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26913 from fanotify_init.
26914 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26915 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26916
26917 2010-08-15 Ulrich Drepper <drepper@redhat.com>
26918
26919 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26920 of strncasecmp_l.
26921 * sysdeps/multiarch/strcmp.S: Likewise.
26922
26923 2010-08-14 Ulrich Drepper <drepper@redhat.com>
26924
26925 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26926 strncase_l-nonascii.
26927 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26928 Add strncase_l-ssse3.
26929 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26930 * sysdeps/x86_64/strcmp.S: Likewise.
26931 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26932 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26933 * sysdeps/x86_64/strncase.S: New file.
26934 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26935 * sysdeps/x86_64/strncase_l.S: New file.
26936 * string/Makefile (strop-tests): Add strncasecmp.
26937 * string/test-strncasecmp.c: New file.
26938
26939 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26940 warning.
26941
26942 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26943 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26944
26945 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26946
26947 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26948
26949 2010-08-12 Ulrich Drepper <drepper@redhat.com>
26950
26951 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26952 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26953 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26954
26955 2010-05-01 Alan Modra <amodra@gmail.com>
26956
26957 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26958 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26959 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26960 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26961 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26962 tidying. Don't tail-call __sigjmp_save for static lib.
26963 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26964 save location.
26965 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26966 (CALL_MCOUNT): Add eh info, and nop after bl.
26967 (TAIL_CALL_SYSCALL_ERROR): New macro.
26968 (PSEUDO_RET): Use it.
26969 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26970 Correct save location of integer regs and cr.
26971 (_dl_profile_resolve): Correct cr save location. Delete nops
26972 after bl when SHARED. Reduce cfi size a little by better
26973 placement of cfi directives.
26974 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26975 make a stack frame. Instead use parm save area as a temp.
26976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26977 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26979 Don't make a stack frame for parent, use parm save area.
26980 Increase child stack frame to 112 bytes. Don't save unused reg,
26981 and adjust reg usage. Set up cfi on error recovery and
26982 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26984 (__makecontext): Add dummy nop after jump to exit.
26985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26986 Use correct parm save area and cr save, reduce stack frame.
26987 Correct cfi for possible PSEUDO_RET frame setup.
26988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26989 Branch to local label emitted by PSEUDO_RET rather than
26990 __syscall_error.
26991
26992 2010-08-12 Andreas Schwab <schwab@redhat.com>
26993
26994 [BZ #11904]
26995 * locale/programs/locale.c (print_assignment): New function.
26996 (show_locale_vars): Use it.
26997
26998 2010-08-11 Ulrich Drepper <drepper@redhat.com>
26999
27000 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27001 field.
27002 (struct statfs64): Likewise.
27003 (_STATFS_F_FLAGS): Define.
27004 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27005 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27006 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27007 (ST_VALID): Define locally.
27008 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27009 __statvfs_getflags, use the provided value.
27010 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27011 __ASSUME_STATFS_F_FLAGS.
27012
27013 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27014
27015 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27016 Add sys/fanotify.h.
27017 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27018 fanotify_mask for GLIBC_2.13.
27019 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27020 fanotify_init and fanotify_mark.
27021 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27022 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27023
27024 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27025 Add prlimit.
27026 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27027 prlimit64 for GLIBC_2.13.
27028 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27029 prlimit64.
27030 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27031 syscall.
27032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27033 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27034 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27035 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27036 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27037 add prlimit alias.
27038 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27039
27040 [BZ #11903]
27041 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27042 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27043
27044 * nss/Makefile: Add rules to build and run tst-nss-test1.
27045 * shlib-versions: Add entry for libnss_test1.
27046 * nss/nss_test1.c: New file.
27047 * nss/tst-nss-test1.c: New file.
27048
27049 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27050 (__nss_configure_lookup): Set appropriate entry in
27051 __nss_configure_lookup to true.
27052 * nss/nsswitch.h: Define enum with indeces of databases in
27053 databases and __nss_database_custom arrays. Declare
27054 __nss_database_custom.
27055 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27056 to avoid using nscd when custom rules are installed.
27057 * nss/getXXbyYY_r.c: Likewise.
27058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27059
27060 * nss/nss_files/files-parse.c: Whitespace fixes.
27061
27062 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27063
27064 [BZ #11883]
27065 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27066 * posix/fnmatch_loop.c: Likewise.
27067
27068 2010-07-17 Andi Kleen <ak@linux.intel.com>
27069
27070 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27071 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27072 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27073 * Versions.def [GLIBC_2.13]: Add.
27074
27075 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27076
27077 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27078 Also fail if tpwd after pwuid call is NULL.
27079
27080 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27081
27082 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27083 when converting to ms.
27084
27085 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27086
27087 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27088 EOPNOTSUPP errors with ENOTTY.
27089 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27090 EOPNOTSUPP errors with ENOTTY.
27091
27092 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27093
27094 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27095 Add strcasecmp_l-ssse3.
27096 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27097 strcasecmp.
27098 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27099 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27100 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27101
27102 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27103
27104 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27105
27106 * string/Makefile (strop-tests): Add strcasecmp.
27107 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27108 strcasecmp_l-nonascii.
27109 (gen-as-const-headers): Add locale-defines.sym.
27110 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27111 * sysdeps/x86_64/strcasecmp.S: New file.
27112 * sysdeps/x86_64/strcasecmp_l.S: New file.
27113 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27114 * sysdeps/x86_64/locale-defines.sym: New file.
27115 * string/test-strcasecmp.c: New file.
27116
27117 * string/test-strcasestr.c: Test both ends of the range of characters.
27118 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27119
27120 2010-07-29 Roland McGrath <roland@redhat.com>
27121
27122 [BZ #11856]
27123 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27124
27125 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27126
27127 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27128 for ld.so.
27129
27130 2010-07-27 Andreas Schwab <schwab@redhat.com>
27131
27132 * manual/memory.texi (Malloc Tunable Parameters): Document
27133 M_PERTURB.
27134
27135 2010-07-26 Roland McGrath <roland@redhat.com>
27136
27137 [BZ #11840]
27138 * configure.in (-fgnu89-inline check): Set and substitute
27139 gnu89_inline, not libc_cv_gnu89_inline.
27140 * configure: Regenerated.
27141 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27142
27143 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27144
27145 * string/test-strnlen.c: New file.
27146 * string/Makefile (strop-tests): Add strnlen.
27147 * string/tester.c (test_strnlen): Add a few more test cases.
27148 * string/tst-strlen.c: Better error reporting.
27149
27150 * sysdeps/x86_64/strnlen.S: New file.
27151
27152 2010-07-24 Ulrich Drepper <drepper@redhat.com>
27153
27154 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27155 lower-latency instructions.
27156
27157 2010-07-23 Ulrich Drepper <drepper@redhat.com>
27158
27159 * string/test-strcasestr.c: New file.
27160 * string/test-strstr.c: New file.
27161 * string/Makefile (strop-tests): Add strstr and strcasestr.
27162 * string/str-two-way.h: Don't undefine MAX.
27163 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27164
27165 2010-07-21 Andreas Schwab <schwab@redhat.com>
27166
27167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27168 strcasestr-nonascii.
27169 (CFLAGS-strcasestr-nonascii.c): Define.
27170 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27171 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27172 Remove unused attribute.
27173
27174 2010-07-20 Roland McGrath <roland@redhat.com>
27175
27176 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27177 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27178 ld.so.cache was broken. With it, there is no way to disable dsocaps
27179 like LD_HWCAP_MASK can disable hwcaps.
27180
27181 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27182
27183 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27184
27185 2010-07-16 Ulrich Drepper <drepper@redhat.com>
27186
27187 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27188 call in strcasestr.
27189 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27190 __strcasestr_sse42_nonascii.
27191 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27192 strcasestr-nonascii.c.
27193 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27194
27195 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
27196
27197 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27198 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27199 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27200 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27201
27202 2010-07-09 Ulrich Drepper <drepper@redhat.com>
27203
27204 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27205 fcntl.
27206
27207 2010-07-06 Andreas Schwab <schwab@redhat.com>
27208
27209 [BZ #11577]
27210 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27211 dl_signal_cerror.
27212
27213 2010-07-06 Ulrich Drepper <drepper@redhat.com>
27214
27215 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27216 _PC_PIPE_BUF using F_GETPIPE_SZ.
27217
27218 2010-07-05 Roland McGrath <roland@redhat.com>
27219
27220 * manual/arith.texi (Rounding Functions): Fix rint description
27221 implicit in round description.
27222
27223 2010-07-02 Ulrich Drepper <drepper@redhat.com>
27224
27225 * elf/Makefile: Fix linking for a few tests to make recent linker
27226 happy.
27227
27228 2010-06-30 Andreas Schwab <schwab@redhat.com>
27229
27230 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27231 $(common-objpfx)libc_nonshared.a.
27232
27233 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
27234
27235 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27236 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27237 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27238 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27239 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27240 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27241 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27242 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27257 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27258 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27259 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27260 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27261 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27262 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27263 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27264 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27265 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27266 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27267 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27268 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27283
27284 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27285
27286 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27287 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27288 * string/memmove.c (memmove): Renamed to ...
27289 (MEMMOVE): ...this. Default to memmove.
27290 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27291 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27292 (END_CHK): Define.
27293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27294 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27295 mempcpy-ssse3-back memmove-ssse3-back.
27296 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27297 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27298 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27299 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27300 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27301 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27302 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27303 * sysdeps/x86_64/multiarch/memmove.c: New file.
27304 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27305 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27306 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27307 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27308 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27309 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27310 Define.
27311 (index_Fast_Copy_Backward): Define.
27312 (HAS_ARCH_FEATURE): Define.
27313 (HAS_FAST_REP_STRING): Define.
27314 (HAS_FAST_COPY_BACKWARD): Define.
27315
27316 2010-06-21 Andreas Schwab <schwab@redhat.com>
27317
27318 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27319 Restore proper fallback handling.
27320
27321 2010-06-19 Ulrich Drepper <drepper@redhat.com>
27322
27323 [BZ #11701]
27324 * posix/group_member.c (__group_member): Correct checking loop.
27325
27326 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27327 OOM in getpwuid_r correctly. Return error number when the caller
27328 should return, otherwise -1.
27329 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27330 call returning > 0 value.
27331 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27332
27333 2010-06-07 Andreas Schwab <schwab@redhat.com>
27334
27335 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27336 libc_nonshared.a from targets in modules-names.
27337
27338 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27339
27340 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27341 requires it.
27342
27343 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
27344
27345 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27346 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27347 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27348 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27349
27350 2010-06-02 Andreas Schwab <schwab@redhat.com>
27351
27352 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27353
27354 2010-06-14 Ulrich Drepper <drepper@redhat.com>
27355
27356 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27357 and F_GETPIPE_SZ.
27358 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27359 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27361 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27362 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27363 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27364
27365 2010-06-14 Roland McGrath <roland@redhat.com>
27366
27367 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27368
27369 2010-06-07 Jakub Jelinek <jakub@redhat.com>
27370
27371 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27372 __REDIRECT followed by __THROW.
27373 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27374 * posix/getopt.h (getopt): Likewise.
27375
27376 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27377
27378 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27379 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27380 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27381 in AT_FLAGS.
27382 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27383 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27384
27385 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
27386
27387 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27388
27389 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27390
27391 [BZ #11640]
27392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27393 Properly check family and model.
27394
27395 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27396
27397 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27398
27399 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
27400
27401 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27402
27403 2010-05-21 Ulrich Drepper <drepper@redhat.com>
27404
27405 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27406 symbol reference.
27407
27408 2010-05-19 Andreas Schwab <schwab@redhat.com>
27409
27410 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27411 symbol reference.
27412
27413 2010-05-21 Andreas Schwab <schwab@redhat.com>
27414
27415 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27416 and internal_recvmmsg.
27417 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27418 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27419 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27420 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27421
27422 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27423 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27424 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27425
27426 2010-05-20 Andreas Schwab <schwab@redhat.com>
27427
27428 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27429
27430 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
27431
27432 POWER7 optimizations.
27433 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27434 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27435
27436 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27437
27438 * version.h: Update for 2.13 development version.
27439
27440 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27441
27442 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27443 exceptions. Return 0.
27444
27445 2010-05-07 Roland McGrath <roland@redhat.com>
27446
27447 * elf/ldconfig.c (main): Add a const.
27448
27449 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27450
27451 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27452 (args_options): Add no-idn option.
27453 (ahosts_keys_int): Add idn_flags to ai_flags.
27454 (parse_option): Handle 'i' option to clear idn_flags.
27455
27456 * malloc/malloc.c (_int_free): Possible race in the most recently
27457 added check. Only act on the data if no current modification
27458 happened.
27459
27460 See ChangeLog.17 for earlier changes.