]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Properly collect individual tests' results.
[thirdparty/glibc.git] / ChangeLog
1 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2
3 * stdio-common/tstdiomisc.c (F): Properly collect individual
4 tests' results.
5
6 [BZ #14686, #15336]
7 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9 Instead, use input NaN values or generate a qNaN by arithmetic
10 operation. Also fix bugs to comply with the standard.
11 * math/libm-test.inc (remainder_test): Add more tests.
12
13 [BZ #15335, #15342]
14 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16 input NaN values or generate a qNaN by arithmetic operation.
17
18 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19 unreachable code.
20
21 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22 definitions.
23
24 2013-04-03 Joseph Myers <joseph@codesourcery.com>
25
26 [BZ #14478]
27 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28 underflowed result.
29 * math/s_cexpf.c (__cexpf): Likewise.
30 * math/s_cexpl.c (__cexpl): Likewise.
31 * math/libm-test.inc (cexp_test): Add more tests.
32
33 2013-04-03 Andreas Schwab <schwab@suse.de>
34
35 [BZ #15330]
36 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37 order arrays from heap if bigger than alloca cutoff.
38
39 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
40
41 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
42 (SNAN_TESTS_double): Refer to GCC PR56831.
43 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
44 GCC PR56828.
45
46 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
47
48 * Rules (bench): Move bench.out after the run is complete.
49
50 * Rules (bench): Echo currently running benchmark.
51
52 * benchtests/Makefile (bench): Add atan and slowatan.
53 * benchtests/atan-inputs: New file.
54 * benchtests/slowatan-inputs: New file.
55 * benchtests/slowatan.c: New file.
56
57 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
59 its value.
60
61 [BZ #15305]
62 * sysdeps/unix/sysv/linux/kernel-features.h
63 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
64 __ASSUME_XFS_RESTRICTED_CHOWN.
65 * sysdeps/unix/sysv/linux/pathconf.c
66 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
67 Save and restore errno.
68
69 2013-04-02 Joseph Myers <joseph@codesourcery.com>
70
71 [BZ #15327]
72 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
73 arguments using __kernel_casinh.
74 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
75 arguments using __kernel_casinhf.
76 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
77 arguments using __kernel_casinhl.
78 * math/libm-test.inc (cacosh_test): Add more tests.
79 * sysdeps/i386/fpu/libm-test-ulps: Update.
80 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81
82 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
83
84 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
85 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
86
87 * bench/Makefile (bench): Add sin and slowsin.
88 * benchtests/sin-inputs: New file.
89 * benchtests/slowsin-inputs: New file.
90 * benchtests/slowsin.c: New file.
91
92 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
93 (bench): Add slowexp and slowpow.
94 (exp-ITER): Increase iterations.
95 (pow-ITER): Likewise.
96 * benchtests/exp-inputs: Change input.
97 * benchtests/pow-inputs: Likewise.
98 * benchtests/slowexp-inputs: New file.
99 * benchtests/slowexp.c: New file.
100 * benchtests/slowpow-inputs: New file.
101 * benchtests/slowpow.c: New file.
102
103 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
104
105 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
106 instructions.
107 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
108 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
109 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
110 * benchtests/Makefile: Add rint benchtest.
111 * benchtests/rint-inputs: Input for rint benchtest.
112
113 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
114
115 * Versions.def (libm): Add GLIBC_2.18.
116 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
117 hidden libm prototypes.
118 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
119 * math/Makefile (libm-calls): Add s_issignaling.
120 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
121 __issignalingf, __issignalingl. Adjust all libm.abilist files.
122 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
123 declaration.
124 * math/math.h [__USE_GNU] (issignaling): New macro.
125 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
126 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
127 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
128 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
129 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
130 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
131 * manual/arith.texi (issignaling): New section.
132 * manual/libm-err-tab.pl (@all_functions): Update comment.
133 * math/gen-libm-test.pl (parse_args): Apply special handling for
134 issignaling.
135 * math/libm-test.inc (print_float, issignaling_test): New
136 functions.
137 (check_float_internal): Add issignaling checks.
138 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
139 default definition.
140 * sysdeps/powerpc/math-tests.h: New file.
141 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
142 tests.
143 * math/test-snan.c (TEST_FUNC): Likewise.
144
145 2013-03-30 David S. Miller <davem@davemloft.net>
146
147 * po/de.po: Update from translation team.
148
149 2013-03-30 Joseph Myers <joseph@codesourcery.com>
150
151 [BZ #10357]
152 * math/k_casinh.c (__kernel_casinh): Handle arguments with
153 imaginary part less than 1.0 and real part less than 0.5
154 specially.
155 * math/k_casinhf.c (__kernel_casinhf): Likewise.
156 * math/k_casinhl.c (__kernel_casinhl): Likewise.
157 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
158 (cacos_test): Add more tests.
159 (casin_test): Likewise.
160 (casinh_test): Likewise.
161 * sysdeps/i386/fpu/libm-test-ulps: Update.
162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
163
164 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
165
166 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
167 ONE with its value.
168
169 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
170 (__pow_mp): Replace ONE and MONE with their values.
171 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
172 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
173 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
174 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
175 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
176 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
177
178 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
179
180 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
181 (__pow_mp): Replace ZERO and MZERO with their values.
182 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
183 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
184 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
185 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
186 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
187 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
188 (__sqr): Likewise.
189
190 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
191
192 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
193
194 2013-03-28 Roland McGrath <roland@hack.frob.com>
195
196 * include/stdlib.h [!SHARED] (__call_tls_dtors):
197 Declare with __attribute__ ((weak)).
198 * stdlib/exit.c (__libc_atexit) [!SHARED]:
199 Call __call_tls_dtors only if it's not NULL.
200
201 2013-03-28 Roland McGrath <roland@hack.frob.com>
202
203 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
204 didn't do it already, then set _dl_phdr and _dl_phnum based on the
205 magic __ehdr_start linker symbol if it's defined.
206 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
207 them up here if it was already done.
208
209 * elf/dl-support.c (_dl_phdr): Make pointer to const.
210 (_dl_aux_init): Use const in cast when setting it.
211 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
212 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
213 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
214
215 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
216 Declare them here.
217 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
218 * csu/libc-tls.c: Nor here.
219 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
220
221 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
222 (__libc_message): Never call vsyslog.
223
224 2013-03-28 Alan Modra <amodra@gmail.com>
225
226 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
227 Define as empty.
228 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
229 Likewise.
230
231 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
232
233 [BZ #15214]
234 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
235 underflow.
236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
237
238 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
239
240 [BZ #15304]
241 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
242 Don't add gid passed as argument.
243
244 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
245
246 2013-03-27 Joseph Myers <joseph@codesourcery.com>
247
248 [BZ #15307]
249 * math/k_casinh.c (__kernel_casinh): Handle arguments with
250 imaginary part between 1.0 and 1.5 and real part less than 0.5
251 specially.
252 * math/k_casinhf.c (__kernel_casinhf): Likewise.
253 * math/k_casinhl.c (__kernel_casinhl): Likewise.
254 * math/libm-test.inc (cacos_test): Add more tests.
255 (casin_test): Likewise.
256 (casinh_test): Likewise.
257 * sysdeps/i386/fpu/libm-test-ulps: Update.
258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
259
260 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
261
262 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
263 constants.
264 (norm): Likewise.
265 (denorm): Likewise.
266 (__dbl_mp): Likewise.
267 (add_magnitudes): Likewise.
268 (sub_magnitudes): Likewise.
269 (__add): Likewise.
270 (__sub): Likewise.
271 (__mul): Likewise.
272 (__sqr): Likewise.
273 (__inv): Likewise.
274 (__dvd): Likewise.
275
276 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
277 commented code.
278 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
279 (__dubcos): Likewise.
280 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
281 (__ieee754_acos): Likewise.
282 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
283 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
284 (__exp1): Likewise.
285 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
286 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
287 (log1): Likewise.
288 (my_log2): Likewise.
289 (checkint): Likewise.
290 * sysdeps/ieee754/dbl-64/e_remainder.c
291 (__ieee754_remainder): Likewise.
292 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
293 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
294 (bsloww): Likewise.
295 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
296
297 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
298 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
299 MANTISSA_STORE_T to store computations on mantissa. Use
300 macros for rounding and division.
301 (denorm): Likewise.
302 (__dbl_mp): Likewise.
303 (add_magnitudes): Likewise.
304 (sub_magnitudes): Likewise.
305 (__mul): Likewise.
306 (__sqr): Likewise.
307 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
308 powers of two in terms of TWOPOW macro.
309 (mp_no): Make type of mantissa as MANTISSA_T.
310 [!RADIXI]: Define RADIXI.
311 [!TWO52]: Define TWO52.
312 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
313
314 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
315
316 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
317 llroundl symbol when building for PPC32.
318
319 2013-03-24 Mark H Weaver <mhw@netris.org>
320
321 * manual/arith.texi (Normalization Functions): Fix prototypes for
322 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
323
324 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
325
326 [BZ #13889]
327 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
328 high value to check if expl overflow.
329 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
330 to check for underflow and overflow.
331 * math/libm-test.inc: Add exp test.
332
333 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
334
335 [BZ #11120]
336 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
337 with NOT_IN_libc.
338
339 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
340
341 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
342 symbol.
343
344 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
345
346 * math/gen-libm-test.pl (parse_args, special_functions): Properly
347 wrap blocks consisting of several statements.
348
349 * sysdeps/generic/math-tests.h: New file.
350 * sysdeps/i386/fpu/math-tests.h: Likewise.
351 * math/test-snan.c: Include it.
352 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
353
354 2013-03-21 Joseph Myers <joseph@codesourcery.com>
355
356 [BZ #15285]
357 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
358 (__ieee754_j0l): Do not improve calculations using cos of twice
359 input for inputs above LDBL_MAX / 2.0L.
360 (__ieee754_y0l): Likewise.
361 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
362 (__ieee754_j1l): Do not improve calculations using cos of twice
363 input for inputs above LDBL_MAX / 2.0L.
364 (__ieee754_y1l): Likewise.
365 * math/libm-test.inc (j0_test): Add another test.
366 (j1_test): Likewise.
367 (y0_test): Likewise.
368 (y1_test): Likewise.
369 * sysdeps/i386/fpu/libm-test-ulps: Update.
370
371 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
372
373 * Rules ($(objpfx)bench-%.c): Include code from a C source
374 file.
375
376 2013-03-21 Joseph Myers <joseph@codesourcery.com>
377
378 [BZ #15287]
379 * math/k_casinh.c (__kernel_casinh): Handle arguments with
380 imaginary part 1.0 and real part less than 0.5 specially.
381 * math/k_casinhf.c (__kernel_casinhf): Likewise.
382 * math/k_casinhl.c (__kernel_casinhl): Likewise.
383 * math/libm-test.inc (cacos_test): Add more tests.
384 (casin_test): Likewise.
385 (casinh_test): Likewise.
386 * sysdeps/i386/fpu/libm-test-ulps: Update.
387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
388
389 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
390
391 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
392 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
393
394 2013-03-20 Joseph Myers <joseph@codesourcery.com>
395
396 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
397 * config.make.in (config-cflags-sse4): Remove variable.
398 (config-cflags-avx): Likewise.
399 (config-cflags-sse2avx): Likewise.
400 (config-cflags-novzeroupper): Likewise.
401 (config-asflags-i686): Likewise.
402 (have-mfma4): Likewise.
403 (have-as-vis3): Likewise.
404 (MIG): Likewise.
405 * configure.in (MIG): Do not AC_SUBST.
406 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
407 (libc_cv_cc_sse4): Do not AC_SUBST.
408 (libc_cv_cc_avx): Likewise.
409 (libc_cv_cc_sse2avx): Likewise.
410 (libc_cv_cc_novzeroupper): Likewise.
411 (libc_cv_cc_fma4): Likewise.
412 (libc_cv_as_i686): Likewise.
413 (libc_cv_sparc_as_vis3): Likewise.
414 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
415 LIBC_CONFIG_VAR.
416 (config-asflags-i686): Likewise.
417 (config-cflags-avx): Likewise.
418 (config-cflags-sse2avx): Likewise.
419 (have-mfma4): Likewise.
420 (config-cflags-novzeroupper): Likewise.
421 * sysdeps/mach/configure.in (MIG): Likewise.
422 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
423 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
424 LIBC_CONFIG_VAR.
425 (config-cflags-avx): Likewise.
426 (config-cflags-sse2avx): Likewise.
427 (have-mfma4): Likewise.
428 (config-cflags-novzeroupper): Likewise.
429 * configure: Regenerated.
430 * sysdeps/i386/configure: Likewise.
431 * sysdeps/mach/configure: Likewise.
432 * sysdeps/sparc/configure: Likewise.
433 * sysdeps/x86_64/configure: Likewise.
434
435 2013-03-20 Roland McGrath <roland@hack.frob.com>
436
437 [BZ #14812]
438 * locale/programs/localedef.c (options): Put N_ translation marker
439 on argument names, not just descriptions.
440
441 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
442
443 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
444
445 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
446
447 [BZ #14176]
448 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
449
450 2013-03-19 Roland McGrath <roland@hack.frob.com>
451
452 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
453 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
454 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
455 [!BEFORE_ABORT] (before_abort): New function.
456 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
457 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
458 (writev_for_fatal): New function.
459 (WRITEV_FOR_FATAL): New macro; call that.
460 (backtrace_and_maps): New function.
461 (BEFORE_ABORT): New macro; call that.
462 (struct str_list): Type removed.
463 (__libc_message, __libc_fatal): Functions removed.
464 Include <sysdeps/posix/libc_fatal.c> instead.
465
466 2013-03-19 Joseph Myers <joseph@codesourcery.com>
467
468 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
469 constants.
470 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
471 double constants.
472
473 2013-03-19 Andreas Schwab <schwab@suse.de>
474
475 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
476 * sysdeps/gnu/configure: Regenerate.
477
478 * configure.in: Substitute libc_cv_rtlddir.
479 * configure: Regenerate.
480 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
481 * Makeconfig (rtlddir, inst_rtlddir): New variables.
482 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
483 * elf/Makefile (install-others, CFLAGS-interp.c)
484 (ldso_install, common-ldd-rewrite): Likewise.
485 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
486 $(inst_slibdir)/$(rtld-installed-name).
487 * scripts/rellns-sh: Add -p option.
488 * Makerules (make-shlib-link): Use rellns-sh to get relative name
489 for source.
490
491 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
492
493 * manual/nptl.texi: Renamed to ...
494 * manual/threads.texi: ... this.
495 * manual/Makefile (chapters): Update.
496
497 2013-03-18 Roland McGrath <roland@hack.frob.com>
498
499 [BZ #14812]
500 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
501 on argument names, not just descriptions.
502 * malloc/memusagestat.c (options): Likewise.
503 * nss/getent.c (options): Likewise.
504
505 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
506
507 [BZ #14812]
508 * iconv/iconv_prog.c (options): Put N_ translation marker
509 on argument names, not just descriptions.
510 * iconv/iconvconfig.c (options): Likewise.
511
512 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
513
514 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
515 implementation which is faster on all x86_64 architectures.
516 Tested on AMD, Intel Nehalem, SNB, IVB.
517 * sysdeps/x86_64/strnlen.S: Likewise.
518
519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
520 Remove all multiarch strlen and strnlen versions.
521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
522 Remove strlen and strnlen related parts.
523
524 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
525 Inline strlen part.
526 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
527
528 * sysdeps/x86_64/multiarch/strlen.S: Remove.
529 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
530 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
531 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
532 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
533 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
534
535 2013-03-17 Carlos O'Donell <carlos@redhat.com>
536
537 * manual/memory.texi (Malloc Tunable Parameters):
538 Sort parameters alphabetically. Add comments for missing entries.
539
540 2013-03-17 David S. Miller <davem@davemloft.net>
541
542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
543
544 2013-03-16 Joseph Myers <joseph@codesourcery.com>
545
546 [BZ #15283]
547 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
548 for arguments at most half maximum finite value.
549 * math/libm-test.inc (j0_test): Add more tests.
550 (j1_test): Likewise.
551 (y0_test): Likewise.
552 (y1_test): Likewise.
553 * sysdeps/i386/fpu/libm-test-ulps: Update.
554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
555
556 [BZ #14155]
557 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
558 1 / x and functions P and Q for arguments above 0x1p256L.
559 (__ieee754_y0l): Likewise.
560 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
561 (__ieee754_y1l): Likewise.
562 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
563 (j1_test): Likewise.
564 (y0_test): Likewise.
565 (y1_test): Likewise.
566
567 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
568
569 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
570 variable.
571
572 2013-03-15 Roland McGrath <roland@hack.frob.com>
573
574 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
575 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
576 zero since it's initialized to EXEC_PAGESIZE.
577
578 * sysdeps/unix/sysv/linux/ldsodefs.h
579 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
580 * sysdeps/generic/ldsodefs.h: ... here.
581
582 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
583
584 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
585
586 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
587 math/test-snan.c.
588 * math/test-snan.c: Renamed from
589 sysdeps/powerpc/fpu/test-powerpc-snan.c.
590 * math/Makefile (tests): Add test-snan.
591 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
592 test-powerpc-snan.
593
594 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
595 SUFFIX. Initialize qNaN_var with __builtin_nan family of
596 functions.
597 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
598 __builtin_nan family of functions.
599 * math/libm-test.inc (initialize): Initialize qnan_value with
600 __builtin_nan family of functions.
601 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
602 Remove variables.
603 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
604 Remove functions.
605 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
606 storage class. Initialize qNaN_var and sNaN_var with
607 __builtin_nan and __builtin_nans families of functions,
608 respectively.
609
610 * math/libm-test.inc (acosh_test): Also test with qNaN input.
611 (sqrt_test): Remove duplicate test with qNaN input.
612 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
613 (round_test, signbit_test, significand_test): Note missing +/-Inf
614 as well as qNaN tests.
615
616 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
617 qNaN_var. Fix a few strings, too.
618 * math/libm-test.inc (nan_value): Rename to qnan_value.
619 * math/gen-libm-test.pl (%beautify): Adjust to that.
620 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
621 * math/test-misc.c (main): Likewise.
622 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
623 to __qnan_bytes, and __qnan_union, respectively.
624 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
625 Likewise.
626 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
627 and lqnanval, respectively.
628 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
629 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
630 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
631 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
632
633 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
634 * math/test-misc.c (main) [__x86_64__]: Enable test for long
635 doubles.
636
637 * math/test-misc.c (main): Fix copy'n'pastos.
638 * misc/tst-efgcvt.c (special): Likewise.
639
640 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
641 Remove declarations.
642
643 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
644
645 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
646 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
647 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
648 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
649
650 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
651
652 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
653 macro to return vdso values correctly in IFUNC implementations.
654 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
655 Optimization by using IFUNC.
656
657 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
658 Richard Henderson <rth@redhat.com>
659 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
660
661 * Makefile.in (bench): New target.
662 * NEWS: Mention the benchmark framework.
663 * Rules (bench): Likewise.
664 (binaries-bench): Generate binaries for functions to
665 benchmark.
666 * benchtests/Makefile: New makefile for benchmark tests.
667 * benchtests/bench-skeleton.c: New skeleton file for benchmark
668 programs.
669 * benchtests/exp-inputs: New input file for EXP function.
670 * benchtests/pow-inputs: New input file for POW function.
671 * scripts/bench.pl: New script to generate source files for
672 benchmark programs.
673
674 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
675
676 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
677 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
678 computations on mantissa. Use macros for rounding and
679 division.
680 (denorm): Likewise.
681 (__dbl_mp): Likewise.
682 (add_magnitudes): Likewise.
683 (sub_magnitudes): Likewise.
684 (__mul): Likewise.
685 (__sqr): Likewise.
686 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
687 powers of two in terms of TWOPOW macro.
688 (mp_no): Make type of mantissa as MANTISSA_T.
689 [!RADIXI]: Define RADIXI.
690 [!TWO52]: Define TWO52.
691 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
692
693 * manual/nptl.texi (cindex): Modify threads to pthreads.
694
695 2013-03-15 Joseph Myers <joseph@codesourcery.com>
696
697 * sysdeps/x86_64/preconfigure: Regenerated.
698
699 2013-03-14 Joseph Myers <joseph@codesourcery.com>
700
701 [BZ #14155]
702 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
703 0x1p28 and above.
704 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
705 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
706 0x1p28 and above.
707 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
708 * math/libm-test.inc (j0_test): Do not allow one spurious
709 underflow exception.
710 (y1_test): Likewise.
711
712 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
713
714 * manual/Makefile (chapters): Add nptl.
715 * manual/debug.texi (Debugging Support): Add link to Threads
716 chapter.
717 * manual/nptl.texi: New file.
718
719 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
720
721 2013-03-14 Petr Baudis <pasky@ucw.cz>
722
723 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
724 for non-NULL pointer before the memory validity test. Pointed
725 out by Holger Brunck <holger.brunck@keymile.com>.
726
727 2013-03-13 Andreas Schwab <schwab@suse.de>
728
729 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
730 instead of .os.
731
732 2013-03-13 Joseph Myers <joseph@codesourcery.com>
733
734 * timezone/zic.c: Update from tzcode 2013b.
735
736 2013-03-12 Carlos O'Donell <carlos@redhat.com>
737
738 * manual/install.texi (Configuring and compiling):
739 Mention i686 and i586.
740 * INSTALL: Regenerate.
741
742 2013-03-12 Roland McGrath <roland@hack.frob.com>
743
744 * sysdeps/init_array/elf-init.c: New file.
745 * csu/elf-init.c
746 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
747 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
748
749 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
750 __gmon_start__ as global, but as static with a .preinit_array pointer.
751 * sysdeps/init_array/gmon-start.c: New file. Use that.
752 * sysdeps/init_array/crti.S: New file, empty except for comments.
753 * sysdeps/init_array/crtn.S: Likewise.
754
755 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
756
757 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
758 definining bcopy.
759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
760 Remove Prefer_SSE_for_memop.
761 * sysdeps/x86_64/multiarch/init-arch.h: Remove
762 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
763 HAS_PREFER_SSE_FOR_MEMOP.
764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
765 memset-x86-64.
766 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
767 Remove bzero, memset ifunc support.
768 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
769 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
770 * sysdeps/x86_64/multiarch/memset.S: Likewise.
771 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
772
773 2013-03-11 Andreas Schwab <schwab@suse.de>
774
775 [BZ #15234]
776 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
777 by SHLIB_COMPAT.
778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
779 (GLIBC_2.16): Remove pthread_atfork.
780
781 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
782
783 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
784 (ptestcases.h): Likewise.
785
786 2013-03-08 Roland McGrath <roland@hack.frob.com>
787
788 * Makeconfig ($(common-objpfx)config.status): Depend on
789 sysdeps/*/preconfigure{,.in} too.
790
791 2013-03-08 Joseph Myers <joseph@codesourcery.com>
792
793 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
794 (__free_hook): Use void * instead of __malloc_ptr_t.
795 (__malloc_hook): Likewise.
796 (__realloc_hook): Likewise.
797 (__memalign_hook): Likewise.
798 (__after_morecore_hook): Likewise.
799 * malloc/arena.c (save_malloc_hook): Likewise.
800 (save_free_hook): Likewise.
801 * malloc/hooks.c (malloc_hook_ini): Likewise.
802 (realloc_hook_ini): Likewise.
803 (memalign_hook_ini): Likewise.
804 * malloc/malloc.c (malloc_hook_ini): Likewise.
805 (realloc_hook_ini): Likewise.
806 (memalign_hook_ini): Likewise.
807 (__free_hook): Likewise.
808 (__malloc_hook): Likewise.
809 (__realloc_hook): Likewise.
810 (__memalign_hook): Likewise.
811 (__libc_malloc): Likewise.
812 (__libc_free): Likewise.
813 (__libc_realloc): Likewise.
814 (__libc_memalign): Likewise.
815 (__libc_valloc): Likewise.
816 (__libc_pvalloc): Likewise.
817 (__libc_calloc): Likewise.
818 (__posix_memalign): Likewise.
819 * malloc/morecore.c (__sbrk): Likewise.
820 (__default_morecore): Likewise.
821
822 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
823
824 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
825 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
826 __malloc_ptrdiff_t.
827
828 * malloc/malloc.h (__malloc_size_t): Remove macro.
829 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
830 __malloc_size_t.
831 (old_memalign_hook): Likewise.
832 (old_realloc_hook): Likewise.
833 (struct hdr): Likewise.
834 (flood): Likewise.
835 (mallochook): Likewise.
836 (memalignhook): Likewise.
837 (reallochook): Likewise.
838 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
839 (tr_old_realloc_hook): Likewise.
840 (tr_old_memalign_hook): Likewise.
841 (tr_mallochook): Likewise.
842 (tr_reallochook): Likewise.
843 (tr_memalignhook): Likewise.
844
845 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
846
847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
848 default_ldbl_pack and using as default implementation.
849 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
850 implementation.
851 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
852 redundant definition.
853 (ldbl_insert_mantissa): Likewise.
854 (ldbl_canonicalize): Likewise.
855 (ldbl_nearbyint): Likewise.
856 (ldbl_pack): Rename to ldbl_pack_ppc.
857 (ldbl_unpack): Rename to ldbl_unpack_ppc.
858 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
859 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
860
861 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
862
863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
864 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
865 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
866 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
867 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
868 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
869 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
870 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
871
872 2013-03-07 Andreas Jaeger <aj@suse.de>
873
874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
875 bits/mman-linux.h.
876
877 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
878
879 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
880 Include mpa.h and declare __MPEXP.
881 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
882 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
883 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
884 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
885 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
886 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
887 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
888
889 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
890 (__slowpow): Use long double EXPL and LOGL functions to
891 compute POW.
892 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
893 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
894 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
895 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
896 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
897 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
898
899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
900 intermediate variable to calculate exponent.
901 (__sqr): Likewise.
902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
903 Likewise.
904 (__sqr): Likewise.
905
906 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
907 [!NO__SQR]: Define __sqr.
908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
909 and NO__SQR. Remove all code except __mul and __sqr. Include
910 sysdeps/ieee754/dbl-64/mpa.c.
911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
912
913 [BZ #12723]
914 * posix/Makefile (tests): Add tst-pathconf.
915 * posix/tst-pathconf.c: New test case.
916 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
917 _PC_PIPE_BUF.
918 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
919
920 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
921
922 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
923
924 2013-03-06 Andreas Jaeger <aj@suse.de>
925
926 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
927 definition via __MAP_ANONYMOUS.
928
929 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
930 it's not part of Linux headers.
931
932 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
933 (MAP_HUGE_MASK): Define.
934
935 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
936 Define.
937 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
938 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
939 Define.
940 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
941 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
942 Define.
943 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
944 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
945 Define.
946 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
947
948 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
949 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
950 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
951 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
952 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
953 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
954
955 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
956 Handle f2fs.
957
958 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
959 Handle f2fs and efivarfs.
960
961 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
962 f2fs.
963
964 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
965 (EFIVARFS_MAGIC): Add.
966 (F2FS_LINK_MAX): Add.
967
968 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
969
970 * stdio-common/vfprintf.c: Replace __builtin_expect with
971 __glibc_unlikely.
972
973 2013-03-06 Joseph Myers <joseph@codesourcery.com>
974
975 [BZ #13550]
976 * sysdeps/generic/bp-sym.h: Remove file.
977 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
978 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
979 <bp-sym.h> and <bp-asm.h>.
980 (__longjmp): Don't use BP_SYM.
981 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
982 and <bp-asm.h>.
983 (memcpy): Don't use BP_SYM.
984 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
985 <bp-sym.h> and <bp-asm.h>.
986 (memcpy): Don't use BP_SYM.
987 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
988 <bp-asm.h>.
989 (memcpy): Don't use BP_SYM.
990 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
991 <bp-asm.h>.
992 (memset): Don't use BP_SYM.
993 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
994 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
995 (__bzero): Don't use BP_SYM.
996 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
997 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
998 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
999 <bp-sym.h> and <bp-asm.h>.
1000 (memcmp): Don't use BP_SYM. Remove comment about bounded
1001 pointers.
1002 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1003 <bp-sym.h> and <bp-asm.h>.
1004 (memcpy): Don't use BP_SYM.
1005 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1006 <bp-sym.h> and <bp-asm.h>.
1007 (memset): Don't use BP_SYM.
1008 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1009 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1010 (__bzero): Don't use BP_SYM.
1011 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1012 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1013 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1014 <bp-sym.h> and <bp-asm.h>.
1015 (strncmp): Don't use BP_SYM. Remove comment about bounded
1016 pointers.
1017 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1018 <bp-sym.h> and <bp-asm.h>.
1019 (memcpy): Don't use BP_SYM.
1020 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1021 <bp-sym.h> and <bp-asm.h>.
1022 (memset): Don't use BP_SYM.
1023 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1024 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1025 (__bzero): Don't use BP_SYM.
1026 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1027 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1028 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1029 <bp-sym.h> and <bp-asm.h>.
1030 (__memchr): Don't use BP_SYM.
1031 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1032 <bp-sym.h> and <bp-asm.h>.
1033 (memcmp): Don't use BP_SYM. Remove comment about bounded
1034 pointers.
1035 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1036 <bp-sym.h> and <bp-asm.h>.
1037 (memcpy): Don't use BP_SYM.
1038 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1039 <bp-sym.h> and <bp-asm.h>.
1040 (__mempcpy): Don't use BP_SYM.
1041 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1042 <bp-sym.h> and <bp-asm.h>.
1043 (__memrchr): Don't use BP_SYM.
1044 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1045 <bp-sym.h> and <bp-asm.h>.
1046 (memset): Don't use BP_SYM.
1047 (__bzero): Likewise.
1048 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1049 <bp-sym.h> and <bp-asm.h>.
1050 (__rawmemchr): Don't use BP_SYM.
1051 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1052 <bp-sym.h> and <bp-asm.h>.
1053 (__STRCMP): Don't use BP_SYM.
1054 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1055 <bp-sym.h> and <bp-asm.h>.
1056 (strchr): Don't use BP_SYM.
1057 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1058 <bp-sym.h> and <bp-asm.h>.
1059 (__strchrnul): Don't use BP_SYM.
1060 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1061 <bp-sym.h> and <bp-asm.h>.
1062 (strlen): Don't use BP_SYM.
1063 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1064 <bp-sym.h> and <bp-asm.h>.
1065 (strncmp): Don't use BP_SYM. Remove comment about bounded
1066 pointers.
1067 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1068 <bp-sym.h> and <bp-asm.h>.
1069 (__strnlen): Don't use BP_SYM.
1070 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1071 <bp-sym.h> and <bp-asm.h>.
1072 (__GI__setjmp): Don't use BP_SYM.
1073 (_setjmp): Likewise.
1074 (__sigsetjmp): Likewise.
1075 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1076 (L(start_addresses)): Don't use BP_SYM.
1077 (_start): Likewise.
1078 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1079 <bp-asm.h>.
1080 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1081 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1082 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1083 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1084 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1085 <bp-asm.h>.
1086 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1087 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1088 about bounded pointers.
1089 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1090 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1091 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1092 <bp-asm.h>.
1093 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1094 about bounded pointers. Remove GKM FIXME comments.
1095 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1096 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1097 <bp-asm.h>.
1098 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1099 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1100 Remove GKM FIXME comments.
1101 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1102 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1103 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1104 <bp-asm.h>.
1105 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1106 about bounded pointers. Remove GKM FIXME comment.
1107 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1108 and <bp-asm.h>.
1109 (strncmp): Don't use BP_SYM. Remove comment about bounded
1110 pointers.
1111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1112 <bp-sym.h> and <bp-asm.h>.
1113 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1115 <bp-sym.h> and <bp-asm.h>.
1116 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1117 comment.
1118
1119 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1120
1121 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1122 call free(NULL).
1123
1124 2013-03-05 David S. Miller <davem@davemloft.net>
1125
1126 * po/es.po: Update from translation team.
1127
1128 2013-03-05 Andreas Jaeger <aj@suse.de>
1129
1130 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1131 <bits/mman-linux.h>.
1132 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1133 is fine.
1134 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1135 <bits/mman-linux.h> to end of file.
1136 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1137 is fine.
1138 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1139 <bits/mman-linux.h> to end of file.
1140 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1141 is fine.
1142 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1143 <bits/mman-linux.h> to end of file.
1144
1145 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1146 (MCL_CURRENT, MCL_FUTURE): Define here.
1147
1148 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1149
1150 [BZ #15232]
1151 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1152 attribute_hidden.
1153 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1154
1155 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1156
1157 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1158 fourth parameter needed for rt_sigprocmask syscall.
1159 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1160 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1161 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1162 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1163 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1164 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1165
1166 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1167
1168 [BZ #13550]
1169 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1170 comment about bounded pointers.
1171 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1172 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1173
1174 2013-03-04 Andreas Jaeger <aj@suse.de>
1175
1176 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1177 common definitions.
1178
1179 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1180 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1181 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1182 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1183 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1184 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1185
1186 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1187
1188 [BZ #15055]
1189 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1190 __ieee754_sqrl instead of __sqrl.
1191
1192 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1193
1194 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1195 * sysdeps/powerpc/fpu_control.h: ... here.
1196 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1197 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1198 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1199 * sysdeps/powerpc/bits/mathinline.h: ... here.
1200
1201 2013-03-01 Roland McGrath <roland@hack.frob.com>
1202
1203 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1204 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1205 to just [NEED_DL_SYSINFO_DSO].
1206 * elf/dl-support.c: Likewise.
1207 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1208 * elf/rtld.c (dl_main): Likewise.
1209 * elf/setup-vdso.h (setup_vdso): Likewise.
1210 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1211 * sysdeps/unix/sysv/linux/dl-sysdep.c
1212 (_dl_discover_osversion): Likewise.
1213
1214 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1215
1216 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1217 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1218
1219 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1220
1221 * NEWS: Mention libm performance improvements and non-x86 PI
1222 futex support.
1223
1224 * csu/libc-start.c (__pthread_initialize_minimal): Change
1225 function arguments.
1226 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1227
1228 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1229
1230 [BZ #13550]
1231 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1232 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1233 <bp-sym.h> and <bp-asm.h>.
1234 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1235 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1236 and <bp-asm.h>.
1237 (memcpy): Don't use BP_SYM.
1238 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1239 <bp-asm.h>.
1240 (__mpn_add_n): Don't use BP_SYM.
1241 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1242 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1243 and <bp-asm.h>.
1244 (__mpn_addmul_1): Don't use BP_SYM.
1245 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1246 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1247 <bp-sym.h>.
1248 (_setjmp): Don't use BP_SYM.
1249 (__novmx_setjmp): Likewise.
1250 (__GI__setjmp): Likewise.
1251 (__vmx_setjmp): Likewise.
1252 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1253 <bp-sym.h>.
1254 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1255 (__bzero): Don't use BP_SYM.
1256 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1257 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1258 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1259 <bp-sym.h> and <bp-asm.h>.
1260 (memcpy): Don't use BP_SYM.
1261 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1262 <bp-sym.h> and <bp-asm.h>.
1263 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1264 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1265 <bp-sym.h> and <bp-asm.h>.
1266 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1267 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1268 <bp-asm.h>.
1269 (__mpn_lshift): Don't use BP_SYM.
1270 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1271 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1272 <bp-asm.h>.
1273 (memset): Don't use BP_SYM.
1274 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1275 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1276 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1277 <bp-asm.h>.
1278 (__mpn_mul_1): Don't use BP_SYM.
1279 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1280 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1281 <bp-sym.h> and <bp-asm.h>.
1282 (memcmp): Don't use BP_SYM.
1283 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1284 <bp-sym.h> and <bp-asm.h>.
1285 (memcpy): Don't use BP_SYM.
1286 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1287 <bp-sym.h> and <bp-asm.h>.
1288 (memset): Don't use BP_SYM.
1289 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1290 <bp-sym.h> and <bp-asm.h>.
1291 (strncmp): Don't use BP_SYM.
1292 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1293 <bp-sym.h> and <bp-asm.h>.
1294 (memcpy): Don't use BP_SYM.
1295 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1296 <bp-sym.h> and <bp-asm.h>.
1297 (memset): Don't use BP_SYM.
1298 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1299 <bp-sym.h> and <bp-asm.h>.
1300 (__memchr): Don't use BP_SYM.
1301 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1302 <bp-sym.h> and <bp-asm.h>.
1303 (memcmp): Don't use BP_SYM.
1304 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1305 <bp-sym.h> and <bp-asm.h>.
1306 (memcpy): Don't use BP_SYM.
1307 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1308 <bp-sym.h> and <bp-asm.h>.
1309 (__mempcpy): Don't use BP_SYM.
1310 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1311 <bp-sym.h> and <bp-asm.h>.
1312 (__memrchr): Don't use BP_SYM.
1313 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1314 <bp-sym.h> and <bp-asm.h>.
1315 (memset): Don't use BP_SYM.
1316 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1317 <bp-sym.h> and <bp-asm.h>.
1318 (__rawmemchr): Don't use BP_SYM.
1319 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1320 <bp-sym.h> and <bp-asm.h>.
1321 (__STRCMP): Don't use BP_SYM.
1322 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1323 <bp-sym.h> and <bp-asm.h>.
1324 (strchr): Don't use BP_SYM.
1325 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1326 <bp-sym.h> and <bp-asm.h>.
1327 (__strchrnul): Don't use BP_SYM.
1328 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1329 <bp-sym.h> and <bp-asm.h>.
1330 (strlen): Don't use BP_SYM.
1331 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1332 <bp-sym.h> and <bp-asm.h>.
1333 (strncmp): Don't use BP_SYM.
1334 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1335 <bp-sym.h> and <bp-asm.h>.
1336 (__strnlen): Don't use BP_SYM.
1337 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1338 <bp-asm.h>.
1339 (__mpn_rshift): Don't use BP_SYM.
1340 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1341 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1342 <bp-sym.h> and <bp-asm.h>.
1343 (__sigsetjmp): Don't use BP_SYM.
1344 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1345 (L(start_addresses)): Don't use BP_SYM.
1346 (_start): Likewise.
1347 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1348 <bp-asm.h>.
1349 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1350 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1351 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1352 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1353 <bp-asm.h>.
1354 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1355 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1356 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1357 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1358 <bp-asm.h>.
1359 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1360 comments.
1361 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1362 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1363 <bp-asm.h>.
1364 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1365 FIXME comments.
1366 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1367 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1368 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1369 <bp-asm.h>.
1370 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1371 comment.
1372 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1373 and <bp-asm.h>.
1374 (strncmp): Don't use BP_SYM,
1375 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1376 <bp-asm.h>.
1377 (__mpn_sub_n): Don't use BP_SYM.
1378 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1379 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1380 and <bp-asm.h>.
1381 (__mpn_submul_1): Don't use BP_SYM.
1382 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1384 <bp-sym.h> and <bp-asm.h>.
1385 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1387 <bp-sym.h> and <bp-asm.h>.
1388 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1389 comment.
1390
1391 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1392
1393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1394 Use ZK to minimize writes to Z.
1395 (sub_magnitudes): Simplify code a bit.
1396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1397 Use ZK to minimize writes to Z.
1398 (sub_magnitudes): Simplify code a bit.
1399
1400 2013-02-27 Roland McGrath <roland@hack.frob.com>
1401
1402 * csu/gmon-start.c: Add special exception to license text.
1403
1404 2013-02-27 Richard Henderson <rth@redhat.com>
1405
1406 * scripts/config.guess: Update from config.git.
1407 * scripts/config.sub: Likewise.
1408
1409 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1410
1411 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1412
1413 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1414
1415 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1416
1417 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1418
1419 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1420
1421 2013-02-26 Roland McGrath <roland@hack.frob.com>
1422
1423 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1424 [$(build-shared = yes].
1425
1426 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1427
1428 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1429 (__mul): Reduce iterations for calculating mantissa.
1430
1431 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1432 MPTWO.
1433 (__mpranred): Likewise.
1434
1435 [BZ #15160]
1436 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1437 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1438
1439 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1440
1441 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1442 Define __attribute__.
1443
1444 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1445
1446 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1447 unused.
1448 * posix/regex_internal.h (__attribute): Remove.
1449 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1450 (re_string_context_at): Likewise.
1451 (bitset_not): Use __attribute__ and mark function as possibly
1452 unused.
1453 (bitset_merge): Likewise.
1454 (bitset_mask): Likewise.
1455 (re_string_char_size_at): Likewise.
1456 (re_string_wchar_at): Likewise.
1457 (re_string_elem_size_at): Likewise.
1458
1459 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1460
1461 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1462 code.
1463 (cc32): Likewise.
1464
1465 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1466 (__acr): Likewise.
1467 (__cpy): Likewise.
1468 (norm): Likewise.
1469 (denorm): Likewise.
1470 (__dbl_mp): Likewise.
1471 (add_magnitudes): Likewise.
1472 (sub_magnitudes): Likewise.
1473 (__mul): Likewise.
1474 (__inv): Likewise.
1475
1476 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1477 style.
1478
1479 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1480 style.
1481
1482 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1483 code.
1484
1485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1486 up changes with default code.
1487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1488 Likewise.
1489
1490 2013-02-24 Allan McRae <allan@archlinux.org>
1491
1492 * manual/socket.texi (The Internet Namespace): Order menu items
1493 to match that in the file.
1494
1495 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1496 node listing of the info page menu.
1497
1498 2013-02-21 Joseph Myers <joseph@codesourcery.com>
1499
1500 [BZ #13550]
1501 * sysdeps/i386/bp-asm.h: Remove file.
1502 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1503 (PARMS): Do not use macros from bp-asm.h.
1504 (S1): Likewise.
1505 (S2): Likewise.
1506 (SIZE): Likewise.
1507 (__mpn_add_n): Do not use BP_SYM
1508 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1509 "bp-asm.h".
1510 (PARMS): Do not use macros from bp-asm.h.
1511 (S1): Likewise.
1512 (SIZE): Likewise.
1513 (__mpn_addmul_1): Do not use BP_SYM
1514 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1515 "bp-asm.h".
1516 (PARMS): Do not use macros from bp-asm.h.
1517 (SIGMSK): Likewise.
1518 (_setjmp): Likewise. Do not use BP_SYM.
1519 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1520 "bp-asm.h".
1521 (PARMS): Do not use macros from bp-asm.h.
1522 (SIGMSK): Likewise.
1523 (setjmp): Likewise. Do not use BP_SYM.
1524 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1525 "bp-asm.h".
1526 (PARMS): Do not use macros from bp-asm.h.
1527 (__frexp): Do not use BP_SYM.
1528 (frexp): Likewise.
1529 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1530 "bp-asm.h".
1531 (PARMS): Do not use macros from bp-asm.h.
1532 (__frexpf): Do not use BP_SYM.
1533 (frexpf): Likewise.
1534 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1535 "bp-asm.h".
1536 (PARMS): Do not use macros from bp-asm.h.
1537 (__frexpl): Do not use BP_SYM.
1538 (frexpl): Likewise.
1539 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1540 "bp-asm.h".
1541 (PARMS): Do not use macros from bp-asm.h.
1542 (__remquo): Do not use BP_SYM.
1543 (remquo): Likewise.
1544 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1545 "bp-asm.h".
1546 (PARMS): Do not use macros from bp-asm.h.
1547 (__remquof): Do not use BP_SYM.
1548 (remquof): Likewise.
1549 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1550 "bp-asm.h".
1551 (PARMS): Do not use macros from bp-asm.h.
1552 (__remquol): Do not use BP_SYM.
1553 (remquol): Likewise.
1554 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1555 "bp-asm.h".
1556 (PARMS): Do not use macros from bp-asm.h.
1557 (DEST): Likewise.
1558 (SRC): Likewise.
1559 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1560 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1561 "bp-asm.h".
1562 (PARMS): Do not use macros from bp-asm.h.
1563 (strlen): Do not use BP_SYM.
1564 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1565 "bp-asm.h".
1566 (PARMS): Do not use macros from bp-asm.h.
1567 (S1): Likewise.
1568 (S2): Likewise.
1569 (SIZE): Likewise.
1570 (__mpn_add_n): Do not use BP_SYM.
1571 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1572 "bp-asm.h".
1573 (PARMS): Do not use macros from bp-asm.h.
1574 (S1): Likewise.
1575 (SIZE): Likewise.
1576 (__mpn_addmul_1): Do not use BP_SYM.
1577 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1578 weak_alias.
1579 (bzero): Likewise.
1580 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1581 "bp-asm.h".
1582 (PARMS): Do not use macros from bp-asm.h.
1583 (S): Likewise.
1584 (SIZE): Likewise.
1585 (__mpn_lshift): Do not use BP_SYM.
1586 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1587 "bp-asm.h".
1588 (PARMS): Do not use macros from bp-asm.h.
1589 (DEST): Likewise.
1590 (SRC): Likewise.
1591 (LEN): Likewise.
1592 (memcpy): Likewise. Do not use BP_SYM.
1593 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1594 libc_hidden_def and weak_alias.
1595 (mempcpy): Do not use BP_SYM in weak_alias.
1596 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1597 "bp-asm.h".
1598 (PARMS): Do not use macros from bp-asm.h.
1599 (DEST): Likewise.
1600 (LEN): Likewise.
1601 [!BZERO_P] (CHR): Likewise.
1602 (memset): Likewise. Do not use BP_SYM.
1603 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1604 "bp-asm.h".
1605 (PARMS): Do not use macros from bp-asm.h.
1606 (S1): Likewise.
1607 (SIZE): Likewise.
1608 (__mpn_mul_1): Do not use BP_SYM.
1609 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1610 "bp-asm.h".
1611 (PARMS): Do not use macros from bp-asm.h.
1612 (S): Likewise.
1613 (SIZE): Likewise.
1614 (__mpn_rshift): Do not use BP_SYM.
1615 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1616 "bp-asm.h".
1617 (PARMS): Do not use macros from bp-asm.h.
1618 (STR): Likewise.
1619 (CHR): Likewise.
1620 (strchr): Likewise. Do not use BP_SYM.
1621 (index): Do not use BP_SYM in weak_alias.
1622 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1623 "bp-asm.h".
1624 (PARMS): Do not use macros from bp-asm.h.
1625 (DEST): Likewise.
1626 (SRC): Likewise.
1627 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1628 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1629 "bp-asm.h".
1630 (PARMS): Do not use macros from bp-asm.h.
1631 (strlen): Do not use BP_SYM.
1632 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1633 "bp-asm.h".
1634 (PARMS): Do not use macros from bp-asm.h.
1635 (S1): Likewise.
1636 (S2): Likewise.
1637 (SIZE): Likewise.
1638 (__mpn_sub_n): Do not use BP_SYM.
1639 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1640 "bp-asm.h".
1641 (PARMS): Do not use macros from bp-asm.h.
1642 (S1): Likewise.
1643 (SIZE): Likewise.
1644 (__mpn_submul_1): Do not use BP_SYM.
1645 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1646 "bp-asm.h".
1647 (PARMS): Do not use macros from bp-asm.h.
1648 (S1): Likewise.
1649 (S2): Likewise.
1650 (SIZE): Likewise.
1651 (__mpn_add_n): Do not use BP_SYM.
1652 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1653 weak_alias.
1654 (bzero): Likewise.
1655 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1656 "bp-asm.h".
1657 (PARMS): Do not use macros from bp-asm.h.
1658 (BLK2): Likewise.
1659 (LEN): Likewise.
1660 (memcmp): Do not use BP_SYM.
1661 (bcmp): Do not use BP_SYM in weak_alias.
1662 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1663 "bp-asm.h".
1664 (PARMS): Do not use macros from bp-asm.h.
1665 (DEST): Likewise.
1666 (SRC): Likewise.
1667 (LEN): Likewise.
1668 (memcpy): Likewise. Do not use BP_SYM.
1669 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1670 "bp-asm.h".
1671 (PARMS): Do not use macros from bp-asm.h.
1672 (DEST): Likewise.
1673 (SRC): Likewise.
1674 (LEN): Likewise.
1675 (memmove): Likewise. Do not use BP_SYM.
1676 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1677 "bp-asm.h".
1678 (PARMS): Do not use macros from bp-asm.h.
1679 (DEST): Likewise.
1680 (SRC): Likewise.
1681 (LEN): Likewise.
1682 (__mempcpy): Likewise. Do not use BP_SYM.
1683 (mempcpy): Do not use BP_SYM in weak_alias.
1684 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1685 "bp-asm.h".
1686 (PARMS): Do not use macros from bp-asm.h.
1687 (DEST): Likewise.
1688 (LEN): Likewise.
1689 [!BZERO_P] (CHR): Likewise.
1690 (memset): Likewise. Do not use BP_SYM.
1691 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1692 "bp-asm.h".
1693 (PARMS): Do not use macros from bp-asm.h.
1694 (STR2): Likewise.
1695 (strcmp): Do not use BP_SYM.
1696 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1697 "bp-asm.h".
1698 (PARMS): Do not use macros from bp-asm.h.
1699 (STR): Likewise.
1700 (DELIM): Likewise.
1701 [USE_AS_STRTOK_R] (SAVE): Likewise.
1702 (FUNCTION): Likewise. Do not use BP_SYM.
1703 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1704 aliases.
1705 (strtok_r): Likewise.
1706 (__GI___strtok_r): Likewise.
1707 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1708 (PARMS): Do not use macros from bp-asm.h.
1709 (S): Likewise.
1710 (SIZE): Likewise.
1711 (__mpn_lshift): Do not use BP_SYM.
1712 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1713 (PARMS): Do not use macros from bp-asm.h.
1714 (STR): Likewise.
1715 (CHR): Likewise.
1716 (__memchr): Do not use BP_SYM.
1717 (memchr): Do not use BP_SYM in weak_alias.
1718 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1719 (PARMS): Do not use macros from bp-asm.h.
1720 (BLK2): Likewise.
1721 (LEN): Likewise.
1722 (memcmp): Do not use BP_SYM.
1723 (bcmp): Do not use BP_SYM in weak_alias.
1724 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1725 (PARMS): Do not use macros from bp-asm.h.
1726 (S1): Likewise.
1727 (SIZE): Likewise.
1728 (__mpn_mul_1): Do not use BP_SYM.
1729 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1730 "bp-asm.h".
1731 (PARMS): Do not use macros from bp-asm.h.
1732 (STR): Likewise.
1733 (CHR): Likewise.
1734 (__rawmemchr): Do not use BP_SYM.
1735 (rawmemchr): Do not use BP_SYM in weak_alias.
1736 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1737 (PARMS): Do not use macros from bp-asm.h.
1738 (S): Likewise.
1739 (SIZE): Likewise.
1740 (__mpn_rshift): Do not use BP_SYM.
1741 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1742 (PARMS): Do not use macros from bp-asm.h.
1743 (SIGMSK): Likewise.
1744 (__sigsetjmp): Likewise. Do not use BP_SYM.
1745 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1746 (_start): Do not use BP_SYM.
1747 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1748 (PARMS): Do not use macros from bp-asm.h.
1749 (DEST): Likewise.
1750 (SRC): Likewise.
1751 (__stpcpy): Likewise. Do not use BP_SYM.
1752 (stpcpy): Do not use BP_SYM in weak_alias.
1753 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1754 "bp-asm.h".
1755 (PARMS): Do not use macros from bp-asm.h.
1756 (DEST): Likewise.
1757 (SRC): Likewise.
1758 (LEN): Likewise.
1759 (__stpncpy): Likewise. Do not use BP_SYM.
1760 (stpncpy): Do not use BP_SYM in weak_alias.
1761 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1762 (PARMS): Do not use macros from bp-asm.h.
1763 (STR): Likewise.
1764 (CHR): Likewise.
1765 (strchr): Likewise. Do not use BP_SYM.
1766 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1767 "bp-asm.h".
1768 (PARMS): Do not use macros from bp-asm.h.
1769 (STR): Likewise.
1770 (CHR): Likewise.
1771 (__strchrnul): Likewise. Do not use BP_SYM.
1772 (strchrnul): Do not use BP_SYM in weak_alias.
1773 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1774 "bp-asm.h".
1775 (PARMS): Do not use macros from bp-asm.h.
1776 (STOP): Likewise.
1777 (strcspn): Do not use BP_SYM.
1778 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1779 "bp-asm.h".
1780 (PARMS): Do not use macros from bp-asm.h.
1781 (STR): Likewise.
1782 (STOP): Likewise.
1783 (strpbrk): Likewise. Do not use BP_SYM.
1784 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1785 "bp-asm.h".
1786 (PARMS): Do not use macros from bp-asm.h.
1787 (STR): Likewise.
1788 (CHR): Likewise.
1789 (strrchr): Likewise. Do not use BP_SYM.
1790 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1791 (PARMS): Do not use macros from bp-asm.h.
1792 (SKIP): Likewise.
1793 (strspn): Do not use BP_SYM.
1794 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1795 (PARMS): Do not use macros from bp-asm.h.
1796 (STR): Likewise.
1797 (DELIM): Likewise.
1798 (SAVE): Likewise.
1799 (FUNCTION): Likewise. Do not use BP_SYM.
1800 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1801 aliases.
1802 (strtok_r): Likewise.
1803 (__GI___strtok_r): Likewise.
1804 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1805 (PARMS): Do not use macros from bp-asm.h.
1806 (S1): Likewise.
1807 (S2): Likewise.
1808 (SIZE): Likewise.
1809 (__mpn_sub_n): Do not use BP_SYM.
1810 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1811 "bp-asm.h".
1812 (PARMS): Do not use macros from bp-asm.h.
1813 (S1): Likewise.
1814 (SIZE): Likewise.
1815 (__mpn_submul_1): Do not use BP_SYM.
1816 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1817 <bp-sym.h>.
1818 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1819 and <bp-asm.h>.
1820 (PARMS): Do not use macros from bp-asm.h.
1821 (FLAGS): Likewise.
1822 (PTID): Likewise.
1823 (TLS): Likewise.
1824 (CTID): Likewise.
1825 (__clone): Do not use BP_SYM.
1826 (clone): Do not use BP_SYM in weak_alias.
1827 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1828 and <bp-asm.h>.
1829 (PARMS): Do not use macros from bp-asm.h.
1830 (LEN): Likewise.
1831 (__mmap64): Do not use BP_SYM.
1832 (mmap64): Do not use BP_SYM in weak_alias.
1833 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1834 <bp-sym.h> and <bp-asm.h>.
1835 (PARMS): Do not use macros from bp-asm.h.
1836 (__posix_fadvise64_l64): Do not use BP_SYM.
1837 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1838 (PARMS): Do not use macros from bp-asm.h.
1839 (NSOPS): Likewise.
1840 (semtimedop): Do not use BP_SYM.
1841 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1842 and <bp-asm.h>.
1843
1844 2013-02-21 Allan McRae <allan@archlinux.org>
1845
1846 * manual/message.texi (Charset conversion in gettext):
1847 Move @end statement to beginning of line.
1848
1849 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1850
1851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1852 static.
1853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1854 Likewise.
1855
1856 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1857 (denorm): Likewise.
1858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1860
1861 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1862
1863 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1864 tail-call to the resolved function if pltexit isn't needed.
1865
1866 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1867
1868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1869 or Y being zero as being unlikely.
1870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1871 Likewise.
1872
1873 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1874
1875 * manual/nss.texi (System Databases and Name Service Switch):
1876 Remove frobnicate @pxref.
1877
1878 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1879
1880 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1881 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1882
1883 2013-02-20 Petr Machata <pmachata@redhat.com>
1884
1885 * elf/elf.h (R_ARM_TARGET1): New macro.
1886 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1887 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1888 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1889 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1890 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1891 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1892 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1893 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1894 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1895 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1896 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1897 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1898 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1899 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1900 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1901 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1902 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1903 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1904 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1905 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1906 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1907 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1908 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1909 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1910 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1911 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1912 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1913 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1914 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1915 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1916 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1917 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1918 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1919 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1920 (R_ARM_THM_GOT_BREL12): Likewise.
1921 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1922 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1923 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1924 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1925 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1926 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1927 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1928 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1929 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1930
1931 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1932
1933 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1934 __attribute_used__ to __attribute__ ((unused)).
1935
1936 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1937
1938 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1939 powerpc mpa.c.
1940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1941 comment formatting.
1942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1943
1944 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1945
1946 [BZ #13550]
1947 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1948 Remove macro.
1949 (ENTER): Remove both macro definitions.
1950 (LEAVE): Likewise.
1951 (CHECK_BOUNDS_LOW): Likewise.
1952 (CHECK_BOUNDS_HIGH): Likewise.
1953 (CHECK_BOUNDS_BOTH): Likewise.
1954 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1955 (RETURN_BOUNDED_POINTER): Likewise.
1956 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1957 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1958 (POP_ERRNO_LOCATION_RETURN): Likewise.
1959 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1960 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1961 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1962 macros.
1963 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1964 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1965 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1966 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1967 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1968 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1969 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1970 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1971 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1972 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1973 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1974 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1975 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1976 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1977 removed macros.
1978 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1979 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1980 macros.
1981 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1982 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1983 * sysdeps/i386/i586/memset.S (memset): Likewise.
1984 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1985 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1986 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1987 macros.
1988 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1989 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1990 Change uses of L(2) to L(out).
1991 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1992 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1993 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1994 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1995 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1996 removed macros.
1997 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1998 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1999 macros.
2000 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2001 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2002 (RETURN): Do not use macro LEAVE.
2003 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2004 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2005 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2006 * sysdeps/i386/i686/memset.S (memset): Likewise.
2007 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2008 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2009 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2010 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2011 Likewise.
2012 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2013 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2014 L(1_2) and L(1_3) into L(1).
2015 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2016 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2017 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2018 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2019 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2020 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2021 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2022 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2023 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2024 macros.
2025 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2026 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2027 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2028 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2029 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2030 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2031 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2032 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2033 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2034 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2035 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2036 * sysdeps/i386/strspn.S (strspn): Likewise.
2037 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2038 conditional code.
2039 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2040 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2041 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2042 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2043 L(1_3) into L(1_1).
2044 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2045 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2046 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2047 macros.
2048 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2049
2050 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2051
2052 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2053 macro.
2054
2055 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2056
2057 * math/atest-exp.c (exp_mpn): Remove ROUND.
2058 * math/atest-exp2.c (exp_mpn): Likewise.
2059 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2060
2061 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2062 * stdlib/tst-tls-atexit-lib.c: Likewise.
2063 * stdlib/tst-tls-atexit.c: Likewise.
2064
2065 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2066
2067 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2068 and __attribute_alloc_size__.
2069
2070 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2071
2072 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2073 __attribute_alloc_size__.
2074 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2075 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2076
2077 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2078
2079 * include/programs/xmalloc.h: New file.
2080 * catgets/gencat.c: Include it.
2081 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2082 * elf/pldd.c: Likewise.
2083 * iconv/iconv_charmap.c: Likewise.
2084 * iconv/iconvconfig.c: Likewise.
2085 * iconv/strtab.c: Likewise.
2086 * locale/programs/locale.c: Likewise.
2087 * locale/programs/localedef.h: Likewise.
2088 * locale/programs/simple-hash.c: Likewise.
2089 * nscd/nscd.h: Likewise.
2090 * nss/makedb.c: Likewise.
2091 * sysdeps/generic/ldconfig.h: Likewise.
2092
2093 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2094
2095 * Versions.def: Add GLIBC_2.18.
2096 * include/link.h (struct link_map): New member l_tls_dtor_count.
2097 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2098 (__call_tls_dtors): Likewise.
2099 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2100 __cxa_thread_atexit_impl.
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2102 Likewise.
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2104 Likewise.
2105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2106 Likewise.
2107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2108 Likewise.
2109 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2111 Likewise.
2112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2113 Likewise.
2114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2116 Likewise.
2117 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2118 (tests): Add test case tst-tls-atexit.
2119 (modules-names): Add shared library for tst-tls-atexit.
2120 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2121 (GLIBC_PRIVATE): Add __call_tls_dtors.
2122 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2123 for libstdc++.
2124 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2125 * stdlib/tst-tls-atexit.c: New test case.
2126 * stdlib/tst-tls-atexit-lib.c: New test case.
2127
2128 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2129
2130 * elf/Versions (ld): Add _dl_find_dso_for_object.
2131 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2132 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2133 (dl_open_worker): Use _dl_find_dso_for_object.
2134 * elf/dl-sym.c (do_sym): Likewise.
2135 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2136
2137 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2138
2139 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2140 Syntactic changes only.
2141 (_dl_runtime_profile): Do a tail-call to the resolved function.
2142
2143 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2144
2145 [BZ #13550]
2146 * sysdeps/x86_64/bp-asm.h: Remove file.
2147 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2148 <bp-sym.h> and <bp-asm.h>.
2149 (__clone): Do not use BP_SYM.
2150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2151 <bp-sym.h> and <bp-asm.h>.
2152 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2153 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2154 "bp-asm.h".
2155 (_setjmp): Do not use BP_SYM.
2156 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2157 "bp-asm.h".
2158 (setjmp): Do not use BP_SYM.
2159 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2160 libc_hidden_def.
2161 (mempcpy): Do not use BP_SYM in weak_alias.
2162 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2163 "bp-asm.h".
2164 (strchr): Do not use BP_SYM.
2165 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2166 "bp-asm.h".
2167 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2168 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2169 (_start): Do not use BP_SYM.
2170 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2171 "bp-asm.h".
2172 (strcat): Do not use BP_SYM.
2173 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2174 "bp-asm.h".
2175 (STRCMP): Do not use BP_SYM.
2176 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2177 "bp-asm.h".
2178 (STRCPY): Do not use BP_SYM.
2179 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2180 "bp-asm.h".
2181 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2182 "bp-asm.h".
2183 (FUNCTION): Do not use BP_SYM.
2184 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2185 weak_alias.
2186 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2187
2188 2013-02-17 Andreas Jaeger <aj@suse.de>
2189
2190 * time/Versions: Sort entries.
2191 * string/Versions: Likewise.
2192 * resolv/Versions: Likewise.
2193 * posix/Versions: Likewise.
2194 * iconv/Versions: Likewise.
2195 * elf/Versions: Likewise.
2196 * wcsmbs/Versions: Likewise.
2197
2198 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2199
2200 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2201 loop termination condition.
2202
2203 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2204 variable to calculate EZ.
2205 (__sqr): Likewise.
2206
2207 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2208 the lower precision input.
2209
2210 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2211
2212 [BZ #13550]
2213 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2214 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2215 (run-via-rtld-prefix): Do not handle %-bp tests.
2216 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2217 (all-object-suffixes): Remove .ob.
2218 (bppfx): Remove variable.
2219 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2220 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2221 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2222 [$(build-bounded) = yes] (libtype.ob): Likewise.
2223 * Makerules (elide-routines.ob): Remove variable.
2224 (do-tests-clean): Do not handle *-bp.out.
2225 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2226 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2227 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2228 (tests): Do not include $(tests-bp.out).
2229 (xtests): Do not include $(xtests-bp.out).
2230 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2231 [$(build-bounded) = yes] ($(addprefix
2232 $(objpfx),$(binaries-bounded))): Remove rule.
2233 ($(objpfx)%-bp.out): Remove rule.
2234 * config.make.in (build-bounded): Remove variable.
2235 * crypt/Makefile [$(build-bounded) = yes]
2236 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2237 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2238 append to variable.
2239 [$(build-bounded) = yes] (install-lib): Likewise.
2240 [$(build-bounded) = yes] (generated): Likewise.
2241 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2242 Remove rule.
2243 * intl/Makefile [$(build-bounded) = yes]
2244 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2245 * math/Makefile [$(build-bounded) = yes]
2246 ($(tests:%=$(objpfx)%-bp): Likewise.
2247 * misc/Makefile [$(build-bounded) = yes]
2248 ($(objpfx)tst-tsearch-bp): Likewise.
2249 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2250 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2251 Remove dependency.
2252 * string/Makefile (o-objects.ob): Remove variable.
2253 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2254 (CFLAGS-.ob): Remove variable.
2255 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2256 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2257 both definitions of variable.
2258 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2259 (ASFLAGS-.ob): Remove variable.
2260
2261 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2262
2263 [BZ #13550]
2264 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2265 Remove __BOUNDED_POINTERS__ from condition.
2266 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2267 * string/bits/string2.h [!__NO_STRING_INLINES &&
2268 !__BOUNDED_POINTERS__]: Likewise.
2269 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2270 Likewise.
2271 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2272 Remove conditional code.
2273 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2274 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2275 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2276 condition.
2277
2278 [BZ #13550]
2279 * csu/libc-start.c: Do not include <bp-sym.h>.
2280 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2281 * elf/dl-open.c: Do not include <bp-sym.h>.
2282 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2283 * math/fegetenv.c: Do not include <bp-sym.h>.
2284 (fegetenv): Do not use BP_SYM in versioned symbols.
2285 * nptl/sysdeps/pthread/bits/libc-lockP.h
2286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2287 <bp-sym.h>.
2288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2289 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2291 (__pthread_mutex_destroy): Likewise.
2292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2293 (__pthread_mutex_lock): Likewise.
2294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2295 (__pthread_mutex_trylock): Likewise.
2296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2297 (__pthread_mutex_unlock): Likewise.
2298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2299 (__pthread_mutexattr_init): Likewise.
2300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2301 (__pthread_mutexattr_destroy): Likewise.
2302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2303 (__pthread_mutexattr_settype): Likewise.
2304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2305 (__pthread_rwlock_init): Likewise.
2306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2307 (__pthread_rwlock_destroy): Likewise.
2308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2309 (__pthread_rwlock_rdlock): Likewise.
2310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2311 (__pthread_rwlock_tryrdlock): Likewise.
2312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2313 (__pthread_rwlock_wrlock): Likewise.
2314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2315 (__pthread_rwlock_trywrlock): Likewise.
2316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2317 (__pthread_rwlock_unlock): Likewise.
2318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2319 (__pthread_key_create): Likewise.
2320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2321 (__pthread_setspecific): Likewise.
2322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2323 (__pthread_getspecific): Likewise.
2324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2325 Likewise.
2326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2327 (_pthread_cleanup_push_defer): Likewise.
2328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2329 (_pthread_cleanup_pop_restore): Likewise.
2330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2331 (pthread_setcancelstate): Likewise.
2332 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2333 <bp-sym.h>.
2334 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2335 (memchr): Do not use BP_SYM in weak_alias.
2336 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2337 (fegetenv): Do not use BP_SYM in versioned symbols.
2338 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2339 (fesetenv): Do not use BP_SYM in versioned symbols.
2340 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2341 (feupdateenv): Do not use BP_SYM in versioned symbols.
2342 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2343 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2344 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2345 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2346 (open64): Do not use BP_SYM in weak_alias.
2347 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2348 (fegetenv): Do not use BP_SYM in versioned symbols.
2349 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2350 (fesetenv): Do not use BP_SYM in versioned symbols.
2351 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2352 (feupdateenv): Do not use BP_SYM in versioned symbols.
2353 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2354 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2355 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2356 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2357 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2358 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2359 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2360 <bp-sym.h>.
2361 (__libc_start_main): Do not use BP_SYM.
2362
2363 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2364
2365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2366 redundant return line.
2367 (norm): Likewise.
2368 (denorm): Likewise.
2369 (dbl_mp): Likewise.
2370 (sub_magnitudes): Likewise.
2371 (__add): Likewise.
2372 (__sub): Likewise.
2373 (__mul): Likewise.
2374 (__inv): Likewise.
2375 (__dvd): Likewise.
2376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2377 (norm): Likewise.
2378 (denorm): Likewise.
2379 (dbl_mp): Likewise.
2380 (sub_magnitudes): Likewise.
2381 (__add): Likewise.
2382 (__sub): Likewise.
2383 (__mul): Likewise.
2384 (__inv): Likewise.
2385 (__dvd): Likewise.
2386
2387 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2388 instead of __mul.
2389 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2390 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2391 (cc32): Likewise.
2392
2393 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2394 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2395 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2396 of __mul for squares.
2397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2398 function
2399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2400 Likewise.
2401 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2402 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2403
2404 2013-02-13 Joseph Myers <joseph@codesourcery.com>
2405
2406 [BZ #13550]
2407 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2408 code.
2409 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2410 prototype or function definition. Rename ubp_* variables and
2411 parameters. Remove argv definitions conditional on
2412 [__BOUNDED_POINTERS__].
2413 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2414 * elf/dl-runtime.c (_dl_fixup): Likewise.
2415 * include/set-hooks.h (RUN_HOOK): Likewise.
2416 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2417 definition.
2418 * string/strcpy.c (strcpy): Do not use __unbounded.
2419 * sysdeps/generic/frame.h (struct layout): Likewise.
2420 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2421 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2422 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2423 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2424 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2425 (__backtrace): Likewise.
2426 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2427 use __ptrvalue.
2428 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2429 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2430 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2431 Likewise.
2432 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2433 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2434 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2435 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2436 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2437 Do not use __unbounded.
2438 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2439 Rename __unboundedrlimits parameter to rlimits in prototype.
2440 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2441 Do not use __unbounded.
2442 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2443 not use __ptrvalue.
2444 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2445 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2446 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2447 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2448 __ptrvalue or __unbounded.
2449 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2450 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2451 use __unbounded.
2452 (__new_msgctl): Do not use __ptrvalue.
2453 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2454 __unbounded.
2455 (__libc_msgrcv): Do not use __ptrvalue.
2456 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2457 startup_info): Do not use __unbounded.
2458 (__libc_start_main): Likewise. Rename ubp_* variables and
2459 parameters. Remove argv definitions conditional on
2460 [__BOUNDED_POINTERS__].
2461 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2462 __ptrvalue.
2463 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2464 use __unbounded.
2465 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2466 or __ptrvalue.
2467 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2468 use __unbounded.
2469 (__new_shmctl): Do not use __ptrvalue.
2470 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2471 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2472 Likewise.
2473 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2474 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2475 (__libc_sigaction): Likewise.
2476 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2477 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2478 Likewise.
2479 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2480
2481 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
2482
2483 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2484
2485 * string/mempcpy.c: Implement by calling memcpy.
2486
2487 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2488
2489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2490
2491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2492 evaluation.
2493
2494 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2495 values in the mantissa.
2496
2497 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2498 minimize writes to Z.
2499 (sub_magnitudes): Simplify code a bit.
2500
2501 2013-02-12 Roland McGrath <roland@hack.frob.com>
2502
2503 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2504 from the message. The linker prefixes all warnings with that already.
2505
2506 2013-02-12 Andreas Schwab <schwab@suse.de>
2507
2508 [BZ #15078]
2509 * posix/regexec.c (extend_buffers): Add parameter min_len.
2510 (check_matching): Pass minimum needed length.
2511 (clean_state_log_if_needed): Likewise.
2512 (get_subexp): Likewise.
2513 * posix/Makefile (tests): Add bug-regex34.
2514 (bug-regex34-ENV): Define.
2515 * posix/bug-regex34.c: New file.
2516
2517 [BZ #11561]
2518 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2519 elements compare against the byte sequence of it, not its name.
2520 * posix/Makefile (tests): Add bug-regex35.
2521 (bug-regex35-ENV): Define.
2522 * posix/bug-regex35.c: New file.
2523
2524 2013-02-11 Tom de Vries <tom@codesourcery.com>
2525
2526 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2527 comment.
2528 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2529 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2530 (CHECK_EOL): Add undef.
2531
2532 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
2533
2534 * bits/stdlib-bsearch.h: New file.
2535 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2536 * stdlib/stdlib.h: Likewise.
2537
2538 2013-02-11 Roland McGrath <roland@hack.frob.com>
2539
2540 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2541 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2542 declaration.
2543 * manual/search.texi (Array Search Function): Add missing const in
2544 lfind prototype.
2545 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2546 declaration to use rlim_t.
2547 (Basic Scheduling Functions): Remove erroneous const from
2548 sched_getparam prototype. Remove erroneous * from
2549 sched_get_priority_max and sched_get_priority_min prototypes.
2550 (Resource Usage): Fix summary @comment on vtimes to refer to
2551 sys/vtimes.h rather than vtimes.h.
2552 Add missing *s in vtimes prototype.
2553 (Limits on Resources): Fix ulimit prototype to return long int.
2554 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2555 prototypes to use long int rather than double.
2556 (BSD Random): Fix initstate and setstate to use char *, not void *.
2557 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2558 prototype to make second argument 'struct aiocb64 *const[]'.
2559 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2560 (Status of AIO Operations): Remove erroneous const in aio_return and
2561 aio_return64 prototypes.
2562 (Synchronizing I/O): Fix sync prototype to return void.
2563 * manual/startup.texi (Suboptions): Remove an erroneous const in
2564 getsubopt prototype.
2565 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2566 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2567 use size_t rather than int.
2568 (Scanning All Users): Likewise for getpwent_r.
2569 (Setting Groups): Add missing const to setgroups prototype.
2570 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2571 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2572 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2573 'const void *' rather than 'const char *'.
2574 (Host Address Functions): Likewise for inet_ntop.
2575 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2576 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2577 ssize_t for return value.
2578 (Sending Data): Likewise for send, sendto, sendmsg.
2579 (Socket Option Functions): Add a missing const in setsockopt prototype.
2580 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2581 use wchar_t for the argument.
2582 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2583 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2584 take no arguments.
2585 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2586 double/float/long double for second argument.
2587 Fix return types of significand, significandf, significandl.
2588 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2589 argument in fchmod prototype.
2590 (File Owner): Use uid_t and gid_t in fchown prototype.
2591 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2592 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2593 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2594 use 'const struct dirent **' as argument types to CMP function pointer
2595 argument.
2596 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2597 (File Times): Fix summary magic @comment for struct utimbuf and utime
2598 to refer to utime.h, not time.h.
2599 * manual/string.texi (Argz Functions): Add missing const in
2600 argz_extract and argz_next prototypes.
2601 (Finding Tokens in a String): Likewise for basename.
2602 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2603 (Copying and Concatenation): Fix typo in wmemmove prototype.
2604 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2605 (Signal Stack): Remove erroneous const in sigstack prototype.
2606 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2607 prototype.
2608 (Simple Calendar Time): Likewise for stime.
2609 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2610 prototype.
2611 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2612 say sys/sysctl.h instead.
2613 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2614 and vsyslog prototypes.
2615
2616 2013-02-11 Tom de Vries <tom@codesourcery.com>
2617
2618 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2619 Remove.
2620
2621 2013-02-11 Roland McGrath <roland@hack.frob.com>
2622
2623 * misc/sys/mman.h: Fix typo in mremap comment.
2624
2625 2013-02-08 Roland McGrath <roland@hack.frob.com>
2626
2627 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2628 the '\0' terminator.
2629
2630 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2631
2632 [BZ #13550]
2633 * debug/segfault.c: Don't include <bp-checks.h>.
2634 * sysdeps/generic/bp-checks.h: Remove file.
2635 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2636 (__GETDENTS): Don't use CHECK_N.
2637 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2638 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2639 (__getgroups): Don't use CHECK_N.
2640 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2641 (setgroups): Don't use CHECK_N.
2642 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2643 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2644 (__libc_msgrcv): Don't use CHECK_N.
2645 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2646 (__libc_msgsnd): Don't use CHECK_N.
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2648 <bp-checks.h>.
2649 (__libc_pread): Don't use CHECK_N.
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2651 include <bp-checks.h>.
2652 (__libc_pread64): Don't use CHECK_N.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2654 include <bp-checks.h>.
2655 (__libc_pwrite): Don't use CHECK_N.
2656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2657 include <bp-checks.h>.
2658 (__libc_pwrite64): Don't use CHECK_N.
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2660 <bp-checks.h>.
2661 (__libc_pread): Don't use CHECK_N.
2662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2663 include <bp-checks.h>.
2664 (__libc_pread64): Don't use CHECK_N.
2665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2666 include <bp-checks.h>.
2667 (__libc_pwrite): Don't use CHECK_N.
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2669 include <bp-checks.h>.
2670 (__libc_pwrite64): Don't use CHECK_N.
2671 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2672 (do_pread): Don't use CHECK_N.
2673 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2674 (do_pread64): Don't use CHECK_N.
2675 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2676 (do_pwrite): Don't use CHECK_N.
2677 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2678 (do_pwrite64): Don't use CHECK_N.
2679 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2680 (__libc_readv): Don't use CHECK_N.
2681 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2682 (semop): Don't use CHECK_N.
2683 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2684 <bp-checks.h>.
2685 (semtimedop): Don't use CHECK_N.
2686 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2687 (__libc_pread): Don't use CHECK_N.
2688 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2689 <bp-checks.h>.
2690 (__libc_pread64): Don't use CHECK_N.
2691 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2692 <bp-checks.h>.
2693 (__libc_pwrite): Don't use CHECK_N.
2694 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2695 <bp-checks.h>.
2696 (__libc_pwrite64): Don't use CHECK_N.
2697 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2698 <bp-checks.h>.
2699 (__libc_msgrcv): Don't use CHECK_N.
2700 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2701 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2702 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2703 (__libc_writev): Don't use CHECK_N.
2704
2705 2013-02-08 Roland McGrath <roland@hack.frob.com>
2706
2707 * string/strcpy.c: Removed unused variable.
2708
2709 * Makeconfig (+sysdep-includes): Define with := rather than =.
2710 Use an existing include/ subdir of each sysdeps dir before it.
2711
2712 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2713
2714 * nscd/connection.c (register_traced_file): Comment function.
2715 [HAVE_INOTIFY] (union __inev): Define.
2716 [HAVE_INOTIFY] (inotify_check_files): New function.
2717 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2718 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2719 clear_db_cache.
2720 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2721
2722 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2723
2724 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2725 loaded if not already and that a failure is permanent.
2726
2727 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2728
2729 [BZ #15006]
2730 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2731 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2732
2733 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2734
2735 [BZ #13550]
2736 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2737 (CHECK_1_NULL_OK): Likewise.
2738 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2739 (__fxstat): Do not use CHECK_1.
2740 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2741 <bp-checks.h>.
2742 (___fxstat64): Do not use CHECK_1.
2743 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2744 <bp-checks.h>.
2745 (__fxstatat): Do not use CHECK_1.
2746 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2747 <bp-checks.h>.
2748 (__fxstatat64): Do not use CHECK_1.
2749 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2750 <bp-checks.h>.
2751 (__fxstat): Do not use CHECK_1.
2752 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2753 <bp-checks.h>.
2754 (__fxstatat): Do not use CHECK_1.
2755 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2756 <bp-checks.h>.
2757 (__getresgid): Do not use CHECK_1.
2758 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2759 <bp-checks.h>.
2760 (__getresuid): Do not use CHECK_1.
2761 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2762 <bp-checks.h>.
2763 (__lxstat): Do not use CHECK_1.
2764 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2765 <bp-checks.h>.
2766 (__old_msgctl): Do not use CHECK_1.
2767 (__new_msgctl): Likewise.
2768 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2769 <bp-checks.h>.
2770 (__new_setrlimit): Do not use CHECK_1.
2771 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2772 <bp-checks.h>.
2773 (__old_shmctl): Do not use CHECK_1.
2774 (__new_shmctl): Likewise.
2775 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2776 <bp-checks.h>.
2777 (__xstat): Do not use CHECK_1.
2778 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2779 (__lxstat): Do not use CHECK_1.
2780 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2781 <bp-checks.h>.
2782 (___lxstat64): Do not use CHECK_1.
2783 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2784 (__old_msgctl): Do not use CHECK_1.
2785 (__new_msgctl): Likewise.
2786 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2787 <bp-checks.h>.
2788 (__gettimeofday): Do not use CHECK_1.
2789 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2790 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2791 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2792 <bp-checks.h>.
2793 (__gettimeofday): Do not use CHECK_1.
2794 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2795 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2796 (__new_shmctl): Do not use CHECK_1.
2797 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2798 <bp-checks.h>.
2799 (do_sigtimedwait): Do not use CHECK_1.
2800 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2801 <bp-checks.h>.
2802 (do_sigwaitinfo): Do not use CHECK_1.
2803 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2804 <bp-checks.h>.
2805 (msgctl): Do not use CHECK_1.
2806 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2807 <bp-checks.h>.
2808 (shmctl): Do not use CHECK_1.
2809 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2810 (ustat): Do not use CHECK_1.
2811 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2812 <bp-checks.h>.
2813 (__fxstat): Do not use CHECK_1.
2814 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2815 <bp-checks.h>.
2816 (__fxstatat): Do not use CHECK_1.
2817 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2818 <bp-checks.h>.
2819 (__lxstat): Do not use CHECK_1.
2820 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2821 <bp-checks.h>.
2822 (__xstat): Do not use CHECK_1.
2823 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2824 (__xstat): Do not use CHECK_1.
2825 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2826 (___xstat64): Do not use CHECK_1.
2827
2828 [BZ #13550]
2829 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2830 definitions.
2831 (CHECK_BOUNDS_HIGH): Likewise.
2832 * string/strcpy.c: Do not include <bp-checks.h>.
2833 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2834
2835 2013-02-07 Roland McGrath <roland@hack.frob.com>
2836
2837 * nscd/nscd-client.h (__nscd_drop_map_ref):
2838 Add __attribute__ ((unused)).
2839 * nis/nss-nisplus.h (niserr2nss): Likewise.
2840
2841 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2842 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2843
2844 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2845 Remove inline keyword.
2846 * include/rounding-mode.h (round_away): Likewise.
2847 * libio/wfileops.c (adjust_wide_data): Likewise.
2848 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2849 (__m128i_strloadu_tolower): Likewise.
2850 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2851 (__m128i_strloadu_tolower): Likewise.
2852 * time/mktime.c (ydhms_diff): Likewise.
2853 * locale/elem-hash.h (elem_hash): Likewise.
2854 * locale/setlocale.c (setdata): Likewise.
2855 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2856 (re_string_wchar_at): Likewise.
2857 (bitset_not, bitset_merge, bitset_mask): Likewise.
2858 [!(__GNUC__ > 3)] (inline): Remove macro.
2859 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2860 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2861 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2862 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2863 * string/memcmp.c (memcmp_bytes): Likewise.
2864 * locale/programs/locarchive.c (compute_hashval): Likewise.
2865 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2866 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2867 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2868 * nss/getent.c (print_rpc, print_protocols): Likewise.
2869 (print_passwd, print_group, print_aliases): Likewise.
2870 * nis/nss-nisplus.h (niserr2nss): Likewise.
2871 * nscd/connections.c (restart_p): Likewise.
2872 Change return type to bool.
2873
2874 2013-02-05 Roland McGrath <roland@hack.frob.com>
2875
2876 * Makeconfig (all-Depend-files): Add existing
2877 $(sorted-subdirs:=/Depend) files.
2878 (all-subdirs): Remove nss.
2879 * sysdeps/unix/inet/Subdirs: Add it here instead.
2880 * hesiod/Depend: New file.
2881
2882 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2883 instead of calling alloca.
2884
2885 * io/lseek.c (__lseek): Rename to __libc_lseek.
2886 Define __lseek as an alias.
2887
2888 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2889
2890 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2891
2892 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2893 else clause and remove check for non-standard endianness.
2894
2895 2013-02-04 David S. Miller <davem@davemloft.net>
2896
2897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2898
2899 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2900
2901 [BZ #13550]
2902 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2903 (__ubp_memchr): Remove prototype.
2904 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2905 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2906 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2907 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2908 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2909 Remove alias.
2910 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2911 (__ubp_memchr): Likewise.
2912 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2913 (__ubp_memchr): Likewise.
2914 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2915 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2916 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2917 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2918 CHECK_STRING.
2919 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2920 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2921 (__getcwd): Do not use CHECK_STRING.
2922 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2923 <bp-checks.h>.
2924 (__real_chown): Do not use CHECK_STRING.
2925 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2926 <bp-checks.h>.
2927 (fchownat): Do not use CHECK_STRING.
2928 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2929 CHECK_STRING.
2930 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2931 <bp-checks.h>.
2932 (__lchown): Do not use CHECK_STRING.
2933 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2934 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2935 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2936 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2938 include <bp-checks.h>.
2939 (truncate64): Do not use CHECK_STRING.
2940 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2941 <bp-checks.h>.
2942 (__real_chown): Do not use CHECK_STRING.
2943 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2944 <bp-checks.h>.
2945 (__lchown): Do not use CHECK_STRING.
2946 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2947 <bp-checks.h>.
2948 (__chown): Do not use CHECK_STRING.
2949 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2950 <bp-checks.h>.
2951 (truncate64): Do not use CHECK_STRING.
2952 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2953 Likewise.
2954 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2955 (__xmknod): Do not use CHECK_STRING.
2956 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2957 <bp-checks.h>.
2958 (__xmknodat): Do not use CHECK_STRING.
2959 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2960 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2961
2962 2013-02-04 Andreas Schwab <schwab@suse.de>
2963
2964 [BZ #14142]
2965 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2966 * include/netdb.h: Likewise for h_errno.
2967 * elf/tst-stackguard1.c: Include <tls.h>.
2968
2969 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2970
2971 * elf/link.h (struct link_map): Extend the l_addr comment.
2972 * include/link.h (struct link_map): Likewise.
2973
2974 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2975
2976 [BZ #13550]
2977 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2978 (BOUNDED_1): Remove macro.
2979 * debug/backtrace.c: Don't include <bp-checks.h>.
2980 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2981 (__backtrace): Likewise.
2982 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2983 <bp-checks.h>.
2984 (__backtrace): Don't use BOUNDED_1.
2985 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2986 <bp-checks.h>.
2987 (__backtrace): Don't use BOUNDED_1.
2988 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2989 (__backtrace): Don't use BOUNDED_1.
2990 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2991 (shmat): Don't use BOUNDED_N.
2992
2993 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2994
2995 [BZ #13550]
2996 * sysdeps/generic/bp-start.h: Remove file.
2997 * csu/libc-start.c: Don't include <bp-start.h>.
2998 (LIBC_START_MAIN): Set up __environ directly instead of using
2999 INIT_ARGV_and_ENVIRON.
3000 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3001 <bp-start.h>.
3002
3003 [BZ #13550]
3004 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3005 definitions.
3006 (CHECK_FCNTL): Likewise.
3007 (CHECK_N_PAGES): Likewise.
3008
3009 [BZ #13550]
3010 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3011 definitions.
3012 (CHECK_SIGSET_NULL_OK): Likewise.
3013 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3014 <bp-checks.h>.
3015 (sigpending): Don't use CHECK_SIGSET.
3016 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3017 <bp-checks.h>.
3018 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3019 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3020 <bp-checks.h>.
3021 (do_sigsuspend): Don't use CHECK_SIGSET.
3022 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3023 use CHECK_SIGSET.
3024 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3025 (do_sigwait): Don't use CHECK_SIGSET.
3026 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3027 use CHECK_SIGSET.
3028 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3029 include <bp-checks.h>.
3030 (sigpending): Don't use CHECK_SIGSET.
3031 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3032 include <bp-checks.h>.
3033 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3034 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3035 <bp-checks.h>.
3036 (sigpending): Don't use CHECK_SIGSET.
3037 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3038 <bp-checks.h>.
3039 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3040
3041 [BZ #13550]
3042 * sysdeps/generic/bp-semctl.h: Remove file.
3043 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3044 <bp-checks.h> and <bp-semctl.h>.
3045 (__old_semctl): Don't use CHECK_SEMCTL.
3046 (__new_semctl): Likewise.
3047 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3048 and <bp-semctl.h>.
3049 (__old_semctl): Don't use CHECK_SEMCTL.
3050 (__new_semctl): Likewise.
3051 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3052 <bp-checks.h> and <bp-semctl.h>.
3053 (__old_semctl): Don't use CHECK_SEMCTL.
3054 (__new_semctl): Likewise.
3055 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3056 <bp-checks.h> and <bp-semctl.h>.
3057 (semctl): Don't use CHECK_SEMCTL.
3058
3059 [BZ #13550]
3060 * Makerules (elide-bp-thunks): Remove variable.
3061 (elide-routines.oS): Don't use $(elide-bp-thunks).
3062 (elide-routines.os): Likewise.
3063 (elide-routines.o): Likewise.
3064 (elide-routines.op): Likewise.
3065 (elide-routines.og): Likewise.
3066 (objects): Don't use $(bp-thunks).
3067 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3068 include.
3069 (common-generated): Do not add s-proto-bp.d.
3070 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3071 (int): Likewise.
3072 (typ): Likewise.
3073 Do not generate makefile rules for bounded-pointer thunks.
3074 * sysdeps/generic/bp-thunks.h: Remove file.
3075 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3076 * sysdeps/unix/s-proto-bp.S: Likewise.
3077
3078 [BZ #15062]
3079 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3080 parts of result separately when argument is not close to line from
3081 -i to i and one part of argument is small.
3082 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3083 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3084 * math/libm-test.inc (cacos_test): Add more tests.
3085 (casin_test): Likewise.
3086 (casinh_test): Likewise.
3087 * sysdeps/i386/fpu/libm-test-ulps: Update.
3088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3089
3090 2013-01-31 David S. Miller <davem@davemloft.net>
3091
3092 * po/de.po: Update from translation team.
3093
3094 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3095
3096 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3097
3098 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3099
3100 * configure.in (_AC_PROG_CC_C89): New definition.
3101 * configure: Regenerate.
3102
3103 * configure.in (AC_PROG_CPP): New definition.
3104 * configure: Regenerate.
3105
3106 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3107
3108 * debug/tst-backtrace.h: New file.
3109 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3110 (ret): Remove variable.
3111 (x): Likewise.
3112 (FAIL): Remove macro.
3113 (NO_INLINE): Likewise.
3114 (fn1): Use match function instead of strstr.
3115 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3116 (ret): Remove variable.
3117 (x): Likewise.
3118 (FAIL): Remove macro.
3119 (NO_INLINE): Likewise.
3120 (fn): Use match function instead of strstr.
3121 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3122 (ret): Remove variable.
3123 (x): Likewise.
3124 (FAIL): Remove macro.
3125 (NO_INLINE): Likewise.
3126 (handle_signal): Use match function instead of strstr.
3127 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3128 (ret): Remove variable.
3129 (x): Likewise.
3130 (FAIL): Remove macro.
3131 (NO_INLINE): Likewise.
3132 (handle_signal): Use match function instead of strstr.
3133
3134 2013-01-23 Roland McGrath <roland@hack.frob.com>
3135
3136 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3137
3138 2013-01-23 David S. Miller <davem@davemloft.net>
3139
3140 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3141 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3142 argument of CAS if possible.
3143 * sysdeps/sparc/sparc64/bits/atomic.h
3144 (__arch_compare_and_exchange_val_32_acq): Likewise.
3145 (__arch_compare_and_exchange_val_64_acq): Likewise.
3146
3147 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3148
3149 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3150 * sysdeps/posix/ulimit.c: ... this.
3151 Include <limits.h>.
3152 * sysdeps/unix/bsd/ulimit.c: Remove file.
3153
3154 2013-01-23 Adam Conrad <adconrad@0c3.net>
3155
3156 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3157 (LDFLAGS-tst-array5): Likewise.
3158
3159 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3160
3161 [BZ #15036]
3162 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3163 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3164 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3165 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3166
3167 2013-01-21 David S. Miller <davem@davemloft.net>
3168
3169 * sysdeps/sparc/backtrace.c: New file.
3170 * sysdeps/sparc/sparc32/backtrace.h: New file.
3171 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3172 * sysdeps/sparc/sparc64/backtrace.h: New file.
3173 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3174 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3175 -funwind-tables.
3176
3177 2013-01-21 Andreas Schwab <schwab@suse.de>
3178
3179 [BZ #15020]
3180 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3181 closed its stdout.
3182
3183 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3184
3185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3186 "mpa2.h".
3187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3188
3189 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3190 Mark Mitchell <mark@codesourcery.com>
3191 Tom de Vries <tom@codesourcery.com>
3192 Paul Pluzhnikov <ppluzhnikov@google.com>
3193
3194 * debug/tst-backtrace2.c: New file.
3195 * debug/tst-backtrace3.c: Likewise.
3196 * debug/tst-backtrace4.c: Likewise.
3197 * debug/tst-backtrace5.c: Likewise.
3198 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3199 (CFLAGS-tst-backtrace3.c): Likewise.
3200 (CFLAGS-tst-backtrace4.c): Likewise.
3201 (CFLAGS-tst-backtrace5.c): Likewise.
3202 (LDFLAGS-tst-backtrace2): Likewise.
3203 (LDFLAGS-tst-backtrace3): Likewise.
3204 (LDFLAGS-tst-backtrace4): Likewise.
3205 (LDFLAGS-tst-backtrace5): Likewise.
3206 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3207 tst-backtrace4 and tst-backtrace5.
3208
3209 2013-01-18 Anton Blanchard <anton@samba.org>
3210 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3211
3212 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3213 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3214 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3215 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3217 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3218 "+r" and remove output regs list as redundant. Add explicit inline
3219 asm to specify register of return val to work around compiler codegen
3220 bug. Remove (int) cast on return value. Add return type parameter to
3221 use in macro so that this macro does not truncate return value for
3222 64-bit values.
3223 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3224 pass to INTERNAL_VSYSCALL_NCS.
3225 (INLINE_VSYSCALL): Add 'long int' as return type to
3226 INTERNAL_VSYSCALL_NCS macro invocation.
3227 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3228 INTERNAL_VSYSCALL_NCS macro invocation.
3229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3230
3231 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3232
3233 [BZ #14496]
3234 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3235 Fix application of SIMD FP exception mask.
3236
3237 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3238 mp_no from a power of two.
3239 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3240 __mpexp_twomm1. Use __pow_mp.
3241
3242 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3243 multiplication.
3244
3245 2013-01-17 David S. Miller <davem@davemloft.net>
3246
3247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3248
3249 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3250
3251 [BZ #15023]
3252 * include/complex.h: Condition contents on [!_COMPLEX_H].
3253 (__kernel_casinhf): New prototype.
3254 (__kernel_casinh): Likewise.
3255 (__kernel_casinhl): Likewise.
3256 * math/Makefile (libm_calls): Add k_casinh.
3257 * math/k_casinh.c: New file.
3258 * math/k_casinhf.c: Likewise.
3259 * math/k_casinhl.c: Likewise.
3260 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3261 finite nonzero arguments.
3262 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3263 finite nonzero arguments.
3264 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3265 finite nonzero arguments.
3266 * math/s_casinh.c: Do not include <float.h>.
3267 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3268 * math/s_casinhf.c: Do not include <float.h>.
3269 (__casinhf): Move code for finite nonzero arguments to
3270 k_casinhf.c.
3271 * math/s_casinhl.c: Do not include <float.h>.
3272 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3273 redefine.
3274 (__casinhl): Move code for finite nonzero arguments to
3275 k_casinhl.c.
3276 * math/libm-test.inc (cacos_test): Add more tests.
3277 * sysdeps/i386/fpu/libm-test-ulps: Update.
3278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3279
3280 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3281
3282 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3283 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3284 [!HAVE_MREMAP]: Remove [defined linux] case.
3285 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3286
3287 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3288
3289 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3290
3291 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3292
3293 * elf/elf.h (R_386_SIZE32): New relocation.
3294 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3295 R_386_SIZE32.
3296 (elf_machine_rela): Likewise.
3297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3298 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3299
3300 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3301
3302 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3303 (FP_FAST_FMA): Do not define.
3304 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3305 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3306 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3307 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3308 !_SOFT_FLOAT]: Likewise.
3309 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3310 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3311 value.
3312 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3313 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3314 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3315 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3316 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3317 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3318 file.
3319
3320 2013-01-16 Andreas Schwab <schwab@suse.de>
3321
3322 [BZ #14327]
3323 * include/stdlib.h (__mktemp): Add declaration.
3324 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3325 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3326
3327 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3328
3329 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3330 definitions.
3331 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3332 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3333 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3334 definitions here.
3335 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3336 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3337 definitions.
3338 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3339 and ONE.
3340 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3341 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3342 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3343 definitions.
3344 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3345 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3346 definitions.
3347 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3348
3349 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3350
3351 2013-01-15 David S. Miller <davem@davemloft.net>
3352
3353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3354 trunc{,f} to libm-sysdep_routes.
3355 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3357 file.
3358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3360 file.
3361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3362 file.
3363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3365 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3366 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3367 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3368 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3369 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3370 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3371
3372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3373 nearbyint{,f} to libm-sysdep_routes.
3374 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3376 New file.
3377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3378 file.
3379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3380 New file.
3381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3382 file.
3383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3385 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3386 file.
3387 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3388 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3389 file.
3390 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3391 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3392 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3393
3394 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3395 libc_feholdexcept and libc_fesetenv.
3396
3397 2013-01-15 Mike Frysinger <vapier@gentoo.org>
3398
3399 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3400
3401 2013-01-14 David S. Miller <davem@davemloft.net>
3402
3403 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3404 (SPARC_ASM_VIS2_IFUNC): Likewise.
3405 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3407 use of 'siam' instruction.
3408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3409 Likewise.
3410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3411 Likewise.
3412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3413 Likewise.
3414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3419 file.
3420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3421 file.
3422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3423 file.
3424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3425 file.
3426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3431 new VIS2 routines.
3432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3435 Likewise.
3436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3437 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3441 routines to libm-sysdep_routines.
3442 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3443
3444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3445 fdim/fdimf to libm-sysdep_routines.
3446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3447 file.
3448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3450 file.
3451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3454 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3455 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3456 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3457 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3458
3459 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3460
3461 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3462 to optimize copies.
3463
3464 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3467
3468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3469 local variable MPTWO.
3470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3471 Likewise.
3472
3473 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3474
3475 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3476 GLOB_NOESCAPE.
3477
3478 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3479
3480 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3481
3482 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3483
3484 * manual/pattern.texi (glob_t): Document gl_flags.
3485 (glob64_t): Likewise.
3486
3487 2013-01-11 David S. Miller <davem@davemloft.net>
3488
3489 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3490 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3491 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
3492 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3493 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3494 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3495 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3496 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3497 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3498 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3499 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3500 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3501 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3502
3503 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3504 sparc V9 rather than using V8 code.
3505 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3506 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3507
3508 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3509 Move to...
3510 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3511 Here.
3512
3513 2013-01-11 Roland McGrath <roland@hack.frob.com>
3514
3515 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3516 not in the main loop.
3517 * configure: Regenerated.
3518
3519 2013-01-11 Joseph Myers <joseph@codesourcery.com>
3520
3521 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3522 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3523 to just #else.
3524 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3525 [!__GLIBC_HAVE_LONG_LONG] case.
3526 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3527 condition to just #else.
3528 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3529 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3530 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3531 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3532 unconditional.
3533 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3534 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3535 #elif condition to just #else.
3536 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3537 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3538 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3539 #elif condition to just #else.
3540
3541 2013-01-11 Steve Ellcey <sellcey@mips.com>
3542
3543 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3544 (EF_MIPS_ARCH_64): Fix value.
3545 (EF_MIPS_ARCH_32R2): New.
3546 (EF_MIPS_ARCH_64R2): New.
3547
3548 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3549
3550 * Makeconfig (+link-pie-before-libc): New.
3551 (+link-pie-after-libc): Likewise.
3552 (+link-pie-tests): Likewise.
3553 (+link-pie): Rewritten.
3554 (link-before-libc): Remove $(config-LDFLAGS).
3555 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3556 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3557 (config-LDFLAGS): Renamed to ...
3558 (rtld-LDFLAGS): This.
3559 (rtld-tests-LDFLAGS): New macro.
3560 (link-libc-rpath-link): Likewise.
3561 (link-libc-tests-rpath-link): Likewise.
3562 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3563 (link-libc): Prepand $(link-libc-rpath-link).
3564 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3565 (test-program-prefix): New macro.
3566 (test-via-rtld-prefix): Likewise.
3567 (test-program-cmd): Likewise.
3568 (host-test-program-cmd): Likewise.
3569 * Makefile ($(common-objpfx)testrun.sh): Replace
3570 $(run-program-prefix) with $(test-program-prefix).
3571 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3572 $(rtld-LDFLAGS).
3573 ($(common-objpfx)shlib.lds): Likewise.
3574 (build-module-helper): Likewise.
3575 ($(common-objpfx)format.lds): Likewise.
3576 * Rules (binaries-pie-tests): New.
3577 (binaries-pie-notests): Likewise.
3578 (binaries-pie): Rewritten.
3579 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3580 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3581 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3582 (make-test-out): Replace $(host-built-program-cmd) with
3583 $(host-test-program-cmd).
3584 * config.make.in (build-hardcoded-path-in-tests): New variable.
3585 * configure.in (--enable-hardcoded-path-in-tests): New configure
3586 option.
3587 (hardcoded_path_in_tests): New AC_SUBST.
3588 * configure: Regenerated.
3589 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3590 $(built-program-cmd) with $(test-program-cmd).
3591 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3592 (test_program_cmd): This.
3593 * elf/Makefile ($(objpfx)order.out): Run test with
3594 $(test-program-prefix).
3595 ($(objpfx)order2.out): Likewise.
3596 ($(objpfx)tst-initorder.out): Likewise.
3597 ($(objpfx)tst-initorder2.out): Likewise.
3598 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3599 $(test-program-cmd).
3600 ($(objpfx)tst-array1-static.out): Likewise.
3601 ($(objpfx)tst-array2.out): Likewise.
3602 ($(objpfx)tst-array3.out): Likewise.
3603 ($(objpfx)tst-array4.out): Likewise.
3604 ($(objpfx)tst-array5.out): Likewise.
3605 ($(objpfx)tst-array5-static.out): Likewise.
3606 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3607 $(test-program-cmd).
3608 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3609 $(run-program-prefix) with $(test-program-prefix).
3610 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3611 (test_program_prefix): This.
3612 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3613 $(run-program-prefix) with $(test-program-prefix).
3614 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3615 (test_program_prefix): This.
3616 * iconvdata/tst-tables.sh: Likewise.
3617 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3618 $(run-program-prefix) with $(test-program-prefix).
3619 ($(objpfx)tst-translit.out): Likewise.
3620 ($(objpfx)tst-gettext2.out): Likewise.
3621 ($(objpfx)tst-gettext4.out): Likewise.
3622 ($(objpfx)tst-gettext6.out): Likewise.
3623 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3624 (test_program_prefix): This.
3625 * intl/tst-gettext2.sh: Likewise.
3626 * intl/tst-gettext4.sh Likewise.
3627 * intl/tst-gettext6.sh: Likewise.
3628 * intl/tst-translit.sh: Likewise.
3629 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3630 with $(test-program-cmd).
3631 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3632 $(run-program-prefix) with $(test-program-prefix).
3633 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3634 (test_program_prefix): This.
3635 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3636 $(run-program-prefix) with $(test-program-prefix).
3637 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3638 (test_program_prefix): This.
3639 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3640 * posix/Makefile ($(objpfx)globtest.out): Replace
3641 $(run-via-rtld-prefix) and $(test-wrapper) with
3642 $(test-program-prefix) and $(test-via-rtld-prefix).
3643 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3644 $(test-program-prefix).
3645 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3646 $(host-test-program-cmd).
3647 (tst-spawn-ARGS): Likewise.
3648 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3649 $(test-program-prefix).
3650 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3651 (test_via_rtld_prefix): This.
3652 (test_wrapper): Renamed to ...
3653 (test_program_prefix): This.
3654 (run_program_prefix): Replaced by test_program_prefix.
3655 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3656 (test_program_prefix): This.
3657 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3658 with $(host-test-program-cmd).
3659 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3660 $(run-program-prefix) with $(test-program-prefix).
3661 ($(objpfx)tst-printf.out): Likewise.
3662 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3663 $(test-program-cmd).
3664 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3665 (test_program_prefix): This.
3666 * stdio-common/tst-unbputc.sh: Likewise.
3667 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3668 $(run-program-prefix) with $(test-program-prefix).
3669 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3670 (test_program_prefix): This.
3671 * string/Makefile ($(objpfx)tst-svc.out): Replace
3672 $(built-program-cmd) with $(test-program-cmd).
3673
3674 2013-01-11 Andreas Jaeger <aj@suse.de>
3675
3676 [BZ #15003]
3677 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3678 value. Sync with Linux 3.7.
3679
3680 2013-01-10 David S. Miller <davem@davemloft.net>
3681
3682 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3683 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3684 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3685
3686 2013-01-10 Roland McGrath <roland@hack.frob.com>
3687
3688 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3689 never set.
3690 * configure: Regenerated.
3691
3692 2013-01-10 David S. Miller <davem@davemloft.net>
3693
3694 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3695 sparc V9 rather than using V8 code.
3696 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3697 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3698
3699 2013-01-10 Roland McGrath <roland@hack.frob.com>
3700
3701 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3702 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3703 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3704 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3705 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3706 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3707 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3708 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3709 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3710 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3711 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3712 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3713 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3714 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3715 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3716 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3717 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3718 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3719 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3720 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3721 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3722 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3723 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3724 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3725 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3726 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3727 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3728
3729 2013-01-10 David S. Miller <davem@davemloft.net>
3730
3731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3732
3733 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3734
3735 * posix/Makefile (tests-static): New variable.
3736 (tests): Add $(tests-static).
3737 (tst-exec-static-ARGS): New variable.
3738 (tst-spawn-static-ARGS): Likewise.
3739 * posix/tst-exec-static.c: New file.
3740 * posix/tst-spawn-static.c: Likewise.
3741 * posix/tst-exec.c: Support run directly.
3742 * posix/tst-spawn.c: Likewise.
3743
3744 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3745
3746 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3747 long.
3748 * math/bits/mathcalls.h (llrint): Likewise.
3749 (llround): Likewise.
3750 * stdlib/stdlib.h (struct drand48_data): Likewise.
3751 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3752 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3753 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3754 Likewise.
3755 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3756 Likewise.
3757 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3758 (elf_greg_t): Likewise.
3759 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3760 (__jmp_buf): Likewise.
3761 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3762 definitions.
3763 (llrint): Likewise, for all definitions.
3764 (llrintl): Likewise.
3765
3766 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3767 Remove [__GNUC__] condition.
3768 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3769 condition to just [__USE_ISOC99].
3770 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3771
3772 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3773
3774 [BZ #14200]
3775 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3776 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3777 defined.
3778 (_POSIX_V6_ILP32_OFF32): Likewise.
3779 (_XBS5_ILP32_OFF32): Likewise.
3780 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3781 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3782
3783 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3784
3785 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3786
3787 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3788 doubles __mpexp_twomm1. Adjust usage.
3789 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3790 Remove.
3791
3792 2013-01-10 Andreas Schwab <schwab@suse.de>
3793
3794 [BZ #14964]
3795 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3796 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3797
3798 2013-01-09 David S. Miller <davem@davemloft.net>
3799
3800 [BZ #15003]
3801 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3802 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3803 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3804 TCP_FASTOPEN): Define.
3805 (tcp_repair_opt): New structure.
3806 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3807 enum values.
3808 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3809 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3810 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3811 (tcp_cookie_transactions): New structure.
3812
3813 2013-01-09 Anton Blanchard <anton@samba.org>
3814
3815 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3816 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3817 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3818 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3819
3820 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3821
3822 * include/features.h (__USE_ANSI): Remove.
3823
3824 2013-01-09 Roland McGrath <roland@hack.frob.com>
3825
3826 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3827
3828 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3829
3830 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3831
3832 * sysdeps/s390/fpu/libm-test-ulps: Update.
3833
3834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3835
3836 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3837 (__acr): Likewise.
3838 (__cpy): Likewise.
3839 (norm): Likewise.
3840 (denorm): Likewise.
3841 (__mp_dbl): Likewise.
3842 (__dbl_mp): Likewise.
3843 (add_magnitudes): Likewise.
3844 (sub_magnitudes): Likewise.
3845 (__add): Likewise.
3846 (__sub): Likewise.
3847 (__mul): Likewise.
3848 (__inv): Likewise.
3849 (__dvd): Likewise.
3850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3851 (__acr): Likewise.
3852 (__cpy): Likewise.
3853 (norm): Likewise.
3854 (denorm): Likewise.
3855 (__mp_dbl): Likewise.
3856 (__dbl_mp): Likewise.
3857 (add_magnitudes): Likewise.
3858 (sub_magnitudes): Likewise.
3859 (__add): Likewise.
3860 (__sub): Likewise.
3861 (__mul): Likewise.
3862 (__inv): Likewise.
3863 (__dvd): Likewise.
3864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3865 (__acr): Likewise.
3866 (__cpy): Likewise.
3867 (norm): Likewise.
3868 (denorm): Likewise.
3869 (__mp_dbl): Likewise.
3870 (__dbl_mp): Likewise.
3871 (add_magnitudes): Likewise.
3872 (sub_magnitudes): Likewise.
3873 (__add): Likewise.
3874 (__sub): Likewise.
3875 (__mul): Likewise.
3876 (__inv): Likewise.
3877 (__dvd): Likewise.
3878
3879 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3880
3881 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3882 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3883 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3884 2 && __USE_EXTERN_INLINES]: Likewise.
3885
3886 2013-01-08 Andreas Jaeger <aj@suse.de>
3887
3888 [BZ# 14985]
3889 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3890 Remove.
3891 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3892 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3893
3894 2013-01-07 Anton Blanchard <anton@samba.org>
3895
3896 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3897 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3898 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3899 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3900 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3901 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3902 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3903 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3904 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3905 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3906 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3907 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3908 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3909 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3910 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3911 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3912 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3913 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3914 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3915 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3916 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3917 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3918 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3919 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3920 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3921 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3922 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3923 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3924 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3925 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3926 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3928 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3929 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3930 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3931 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3932 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3933 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3934 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3935 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3936 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3938 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3939
3940 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3941
3942 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3943 (__MALLOC_PMT): Likewise.
3944 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3945 [__GNUC__], only on [_LIBC].
3946 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3947 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3948 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3949 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3950 forward declaration.
3951 (realloc_hook_ini): Likewise.
3952 (memalign_hook_ini): Likewise.
3953 (__libc_memalign): Do not use __MALLOC_PMT in variable
3954 declaration.
3955 (__libc_valloc): Likewise.
3956 (__libc_pvalloc): Likewise.
3957 (__libc_calloc): Likewise.
3958 (__posix_memalign): Likewise.
3959
3960 [BZ #14996]
3961 * math/s_casinh.c: Include <float.h>.
3962 (__casinh): Do not do computation with squaring and square root
3963 for large arguments.
3964 * math/s_casinhf.c: Include <float.h>.
3965 (__casinhf): Do not do computation with squaring and square root
3966 for large arguments.
3967 * math/s_casinhl.c: Include <float.h>.
3968 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3969 (__casinhl): Do not do computation with squaring and square root
3970 for large arguments.
3971 * math/libm-test.inc (casin_test): Add more tests.
3972 (casinh_test): Likewise.
3973 * sysdeps/i386/fpu/libm-test-ulps: Update.
3974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3975
3976 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3977
3978 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3979 (__x86_64_raw_data_cache_size): Likewise.
3980 (__x86_64_data_cache_size_half): Likewise.
3981 (__x86_64_raw_data_cache_size_half): Likewise.
3982 (__x86_64_shared_cache_size): Likewise.
3983 (__x86_64_raw_shared_cache_size): Likewise.
3984 (__x86_64_shared_cache_size_half): Likewise.
3985 (__x86_64_raw_shared_cache_size_half): Likewise.
3986 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3987 to ...
3988 (__x86_data_cache_size): This.
3989 (__x86_64_raw_data_cache_size): Renamed to ...
3990 (__x86_raw_data_cache_size): This.
3991 (__x86_64_data_cache_size_half): Renamed to ...
3992 (__x86_data_cache_size_half): This.
3993 (__x86_64_raw_data_cache_size_half): Renamed to ...
3994 (__x86_raw_data_cache_size_half): This.
3995 (__x86_64_shared_cache_size): Renamed to ...
3996 (__x86_shared_cache_size): This.
3997 (__x86_64_raw_shared_cache_size): Renamed to ...
3998 (__x86_raw_shared_cache_size): This.
3999 (__x86_64_shared_cache_size_half): Renamed to ...
4000 (__x86_shared_cache_size_half): This.
4001 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4002 (__x86_raw_shared_cache_size_half): This.
4003 * sysdeps/x86_64/memcpy.S: Updated.
4004 * sysdeps/x86_64/memset.S: Likewise.
4005 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4006 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4007 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4008
4009 2013-01-04 David S. Miller <davem@davemloft.net>
4010
4011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4012
4013 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4014
4015 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4016 1 to avoid redefinition warning.
4017 (__USE_GNU): Don't define.
4018 (init_signaling_nan): Protoize.
4019
4020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4021
4022 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4023
4024 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4026 (__cpymn): Likewise.
4027 (norm): Remove commented code.
4028 (denorm): Likewise.
4029 (__mp_dbl): Likewise.
4030 (__inv): Likewise.
4031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4032 (__cpymn): Likewise.
4033 (norm): Remove commented code.
4034 (denorm): Likewise.
4035 (__mp_dbl): Likewise.
4036 (__inv): Likewise.
4037
4038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4039 mp_no value for 1.0 and 2.0.
4040 (norm): Use RADIXI instead of radixi.d.
4041 (denorm): Likewise.
4042 (__mul): Use 0.0 instead of zero.d.
4043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4044 mp_no value for 1.0 and 2.0.
4045 (norm): Use RADIXI instead of radixi.d.
4046 (denorm): Likewise.
4047 (__mul): Use 0.0 instead of zero.d.
4048
4049 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4050
4051 [BZ #14994]
4052 * math/s_casinh.c (__casinh): Reduce finite argument to first
4053 quadrant then set signs of results at the end.
4054 * math/s_casinhf.c (__casinhf): Likewise.
4055 * math/s_casinhl.c (__casinhl): Likewise.
4056 * math/libm-test.inc (casin_test): Add more tests.
4057 (casinh_test): Likewise.
4058 * sysdeps/i386/fpu/libm-test-ulps: Update.
4059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4060
4061 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4062
4063 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4064
4065 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4066
4067 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4068 declarations.
4069 (denorm): Likewise.
4070 (__mp_dbl): Likewise.
4071 (__inv): Likewise.
4072
4073 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4074 and adjust the header comment.
4075
4076 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4077 variable name from declaration.
4078
4079 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4080
4081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4082 Initialize COMMON_CPUID_INDEX_7 element.
4083 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4084 (CPUID_RTM): Likewise.
4085 (HAS_RTM): Likewise.
4086 (COMMON_CPUID_INDEX_7): New enum.
4087
4088 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4089
4090 [BZ #14981]
4091 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4092 size is zero, record memory as freed.
4093
4094 2013-01-03 Andreas Jaeger <aj@suse.de>
4095
4096 * po/ia.po: Add new Interlingua translation.
4097
4098 2012-01-03 Allan McRae <allan@archlinux.org>
4099
4100 * locale/programs/localedef.c: Fix description of '--posix' flag.
4101
4102 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4103
4104 * NEWS: Update dates in second copyright notice.
4105 * README: Update copyright dates in example.
4106 * manual/libc.texinfo: Update copyright dates.
4107 * scripts/test-installation.pl: Update copyright date in --version
4108 output.
4109
4110 * hurd/ctty-input.c: Fix copyright notice formatting.
4111 * hurd/ctty-output.c: Likewise.
4112 * hurd/dtable.c: Likewise.
4113 * hurd/hurd-raise.c: Likewise.
4114 * hurd/hurdprio.c: Likewise.
4115 * hurd/msgportdemux.c: Likewise.
4116 * misc/sys/file.h: Likewise.
4117 * misc/sys/ioctl.h: Likewise.
4118 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4119 * sysdeps/mach/hurd/chdir.c: Likewise.
4120 * sysdeps/mach/hurd/fchdir.c: Likewise.
4121 * sysdeps/mach/hurd/rename.c: Likewise.
4122 * sysdeps/mach/hurd/rmdir.c: Likewise.
4123 * sysdeps/mach/hurd/seekdir.c: Likewise.
4124 * sysdeps/mach/hurd/setsid.c: Likewise.
4125 * sysdeps/posix/wait3.c: Likewise.
4126
4127 * All files with FSF copyright notices: Update copyright dates
4128 using scripts/update-copyrights.
4129 * intl/plural.c: Regenerated.
4130 * locale/programs/charmap-kw.h: Likewise.
4131 * locale/programs/locfile-kw.h: Likewise.
4132
4133 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4134
4135 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4136 four values.
4137
4138 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4139 calculation loop and add branch prediction.
4140
4141 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4142 check access beyond bounds of m1np.
4143
4144 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4145 MPTWO.
4146 (__inv): Remove local variable MPTWO to use the global
4147 constant.
4148 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4149 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4150 variable MPTWO.
4151 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4152 MP3HALFS static const.
4153
4154 2013-01-01 David S. Miller <davem@davemloft.net>
4155
4156 * po/ca.po: Update from translation team.
4157
4158 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4159
4160 * scripts/update-copyrights: New file.
4161 * Makeconfig: Reformat copyright notice.
4162 * ctype/ctype.h: Likewise.
4163 * debug/swprintf_chk.c: Likewise.
4164 * elf/dl-cache.c: Likewise.
4165 * elf/dl-debug.c: Likewise.
4166 * elf/dl-object.c: Likewise.
4167 * grp/initgroups.c: Likewise.
4168 * hurd/Makefile: Likewise.
4169 * hurd/hurd/signal.h: Likewise.
4170 * hurd/hurdfault.c: Likewise.
4171 * hurd/hurdioctl.c: Likewise.
4172 * hurd/hurdlookup.c: Likewise.
4173 * hurd/intr-msg.c: Likewise.
4174 * iconv/gconv_open.c: Likewise.
4175 * libio/swprintf.c: Likewise.
4176 * locale/lc-ctype.c: Likewise.
4177 * locale/nl_langinfo.c: Likewise.
4178 * mach/Machrules: Likewise.
4179 * mach/Makefile: Likewise.
4180 * malloc/obstack.h: Likewise.
4181 * manual/Makefile: Likewise.
4182 * manual/tsort.awk: Likewise.
4183 * misc/bits/stab.def: Likewise.
4184 * nis/nis_print_group_entry.c: Likewise.
4185 * nis/nis_table.c: Likewise.
4186 * nis/nss_compat/compat-pwd.c: Likewise.
4187 * nis/nss_compat/compat-spwd.c: Likewise.
4188 * po/Makefile: Likewise.
4189 * posix/fnmatch.c: Likewise.
4190 * posix/regex.h: Likewise.
4191 * resolv/Makefile: Likewise.
4192 * resolv/nss_dns/dns-network.c: Likewise.
4193 * resolv/res_hconf.c: Likewise.
4194 * scripts/gen-sorted.awk: Likewise.
4195 * soft-fp/soft-fp.h: Likewise.
4196 * stdio-common/printf.h: Likewise.
4197 * stdlib/monetary.h: Likewise.
4198 * stdlib/random.c: Likewise.
4199 * stdlib/random_r.c: Likewise.
4200 * sysdeps/generic/Makefile: Likewise.
4201 * sysdeps/gnu/Makefile: Likewise.
4202 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4225 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4226 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4229 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4230 * sysdeps/mach/hurd/errnos.awk: Likewise.
4231 * sysdeps/mach/hurd/fork.c: Likewise.
4232 * sysdeps/mach/hurd/getcwd.c: Likewise.
4233 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4234 * sysdeps/mach/hurd/mmap.c: Likewise.
4235 * sysdeps/mach/hurd/utimes.c: Likewise.
4236 * sysdeps/mach/hurd/xmknod.c: Likewise.
4237 * sysdeps/posix/profil.c: Likewise.
4238 * sysdeps/posix/readdir_r.c: Likewise.
4239 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4240 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4241 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4242 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4244 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4245 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4246 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4248 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4249 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4250 * sysdeps/pthread/lio_listio.c: Likewise.
4251 * sysdeps/sparc/dl-procinfo.h: Likewise.
4252 * sysdeps/unix/i386/sysdep.S: Likewise.
4253 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4254 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4255 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4256 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4258 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4259 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4260 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4261 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4262 * sysdeps/wordsize-32/divdi3.c: Likewise.
4263 * time/sys/time.h: Likewise.
4264 * wcsmbs/Makefile: Likewise.
4265
4266 2013-01-01 David S. Miller <davem@davemloft.net>
4267
4268 * po/fr.po: Update from translation team.
4269
4270 * catgets/gencat.c: Update copyright year.
4271 * csu/version.c: Likewise.
4272 * debug/catchsegv.sh: Likewise.
4273 * debug/pcprofiledump.c: Likewise.
4274 * debug/xtrace.sh: Likewise.
4275 * elf/ldconfig.c: Likewise.
4276 * elf/ldd.bash.in: Likewise.
4277 * elf/pldd.c: Likewise.
4278 * elf/sotruss.ksh: Likewise.
4279 * elf/sprof.c: Likewise.
4280 * iconv/iconv_prog.c: Likewise.
4281 * iconv/iconvconfig.c: Likewise.
4282 * locale/programs/locale.c: Likewise.
4283 * locale/programs/localedef.c: Likewise.
4284 * login/programs/pt_chown.c: Likewise.
4285 * malloc/memusage.sh: Likewise.
4286 * malloc/memusagestat.c: Likewise.
4287 * malloc/mtrace.pl: Likewise.
4288 * nscd/nscd.c: Likewise.
4289 * nss/getent.c: Likewise.
4290 * nss/makedb.c: Likewise.
4291 * posix/getconf.c: Likewise.
4292
4293 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4294
4295 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4296 numbers.
4297
4298 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4299
4300 * math/bits/mathcalls.h (modf): Use __nonnull.
4301
4302 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4303
4304 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4305 (split): Use macro CN instead of the bare value.
4306 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4307 could be used.
4308 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4309 instead of the bare value.
4310 (power1): Likewise.
4311
4312 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4313
4314 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4315 __ATAN_TWOM.
4316 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4317
4318 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4319 their values.
4320 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4321 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4322 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4323 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4324
4325 2012-12-28 Andreas Jaeger <aj@suse.de>
4326
4327 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4328 values are from Linux 3.7.
4329
4330 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4331 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4332
4333 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4334
4335 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4336 TRUE case.
4337
4338 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4339 (norm): Likewise.
4340 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4341 variables with preprocessor constants.
4342 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4343 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4344 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4345
4346 2012-12-27 Bruno Haible <bruno@clisp.org>
4347
4348 [BZ #14317]
4349 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4350 only if needed.
4351
4352 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4353
4354 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4355 and use variable directly.
4356 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4357
4358 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4359 MPONE.
4360 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4361 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4362 variable MPONE.
4363 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4365 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4366 include directive. Remove local variable MPONE.
4367 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4368 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4369 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4370
4371 2012-12-25 David S. Miller <davem@davemloft.net>
4372
4373 * version.h (RELEASE): Set to "development".
4374 (VERSION): Set to "2.17.90".
4375 * NEWS: Add 2.18 section.
4376
4377 2012-12-21 David S. Miller <davem@davemloft.net>
4378
4379 * po/hr.po: Update from translation team.
4380
4381 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4382
4383 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4384
4385 2012-12-19 Steve Ellcey <sellcey@mips.com>
4386
4387 * NEWS: Mention new memcpy for MIPS.
4388
4389 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4390
4391 * manual/contrib.texi (Contributors): Spelling correction.
4392
4393 2012-12-15 David S. Miller <davem@davemloft.net>
4394
4395 * po/ru.po: Update from translation team.
4396
4397 2012-12-13 David S. Miller <davem@davemloft.net>
4398
4399 * NEWS: Mention IFUNC testsuite enhancements.
4400
4401 * po/pl.po: Update from translation team.
4402 * po/bg.po: Likewise.
4403
4404 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4405 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4406
4407 2012-12-11 David S. Miller <davem@davemloft.net>
4408
4409 * po/sv.po: Update from translation team.
4410
4411 * po/vi.po: Update from translation team.
4412
4413 * po/cs.po: Update from translation team.
4414
4415 * po/de.po: Update from translation team.
4416 * po/eo.po: Likewise.
4417 * po/nl.po: Likewise.
4418
4419 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4420
4421 [BZ #14246]
4422 * manual/argp.texi (Argp Helper Functions): Move node to follow
4423 Argp Parsing State.
4424
4425 [BZ #14872]
4426 * manual/conf.texi (Limits on File System Capacity): Mention if
4427 terminating null is included in the max size.
4428
4429 2012-12-10 Andreas Jaeger <aj@suse.de>
4430
4431 * po/cs.po: Update from translation team.
4432
4433 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4434
4435 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4436 void pointer and cast to uintptr_t.
4437 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4438 path.
4439 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4440 * sysdeps/s390/s390-64/memset.S: Likewise.
4441
4442 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
4443
4444 [BZ #14833]
4445 * menual/message.texi (Message Translation): Fix typos.
4446 (Helper programs for gettext): Likewise.
4447
4448 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4449
4450 [BZ #14898]
4451 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4452 Change to -1.
4453
4454 2012-12-07 David S. Miller <davem@davemloft.net>
4455
4456 * po/libc.pot: Update.
4457
4458 2012-12-07 Richard Henderson <rth@redhat.com>
4459
4460 [BZ #10114]
4461 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4462 normal/normal case to before the switch.
4463 (_FP_DIV): Likewise.
4464
4465 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4466 Mike Frysinger <vapier@gentoo.org>
4467
4468 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4469 check for __NR_fadvise64_64.
4470
4471 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4472
4473 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4474 0, not just to plain "0" as a statement.
4475 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4476 with cw.
4477
4478 2012-12-06 Joseph Myers <joseph@codesourcery.com>
4479
4480 * NEWS: Use sourceware.org in Bugzilla URL.
4481
4482 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4483
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4485 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4486
4487 * stdio-common/tst-put-error.c (do_test): Add newline to the
4488 padded test to ensure flush.
4489
4490 2012-12-05 Jeff Law <law@redhat.com>
4491
4492 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4493
4494 2012-12-05 Joseph Myers <joseph@codesourcery.com>
4495
4496 * README: Don't refer to ports add-on as distributed separately.
4497 Mention AArch64 in list of systems supported in the ports add-on.
4498
4499 * LICENSES: Add more non-FSF copyright and license notices.
4500
4501 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4502 ((unused)).
4503
4504 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4505
4506 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4507 10000 as width of padded output.
4508
4509 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4510
4511 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4512
4513 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4514 variable LX with __attribute__ ((unused)).
4515 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4516 Likewise.
4517 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4518 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4519 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4520 with __attribute__ ((unused)).
4521
4522 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
4523
4524 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4525
4526 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4527
4528 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4529 (CFLAGS-nldbl-acos.c): New variable.
4530 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4531 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4532 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4533 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4534 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4535 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4536 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4537 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4538 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4539 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4540 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4541 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4542 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4543 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4544 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4545 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4546 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4547 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4548 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4549 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4550 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4551 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4552 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4553 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4554 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4555 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4556 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4557 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4558 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4559 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4560 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4561 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4562 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4563 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4564 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4565 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4566 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4567 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4568 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4569 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4570 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4571 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4572 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4573 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4574 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4575 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4576 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4577 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4578 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4579 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4580 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4581 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4582 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4583 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4584 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4585 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4586 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4587 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4588 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4589 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4590 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4591 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4592 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4593 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4594 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4595 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4596 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4597 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4598 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4599 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4600 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4601 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4602 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4603 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4604 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4605 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4606 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4607 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4608 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4609 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4610 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4611 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4612 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4613 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4614 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4615 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4616 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4617 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4618 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4619 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4620 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4621 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4622 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4623 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4624 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4625 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4626 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4627
4628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4629 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4630
4631 [BZ #14914]
4632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4633 whole low double instead of just low 47 bits when splitting values
4634 into two parts.
4635
4636 2012-12-03 Allan McRae <allan@archlinux.org>
4637
4638 * manual/stdio.texi (Predefined Printf Handlers): Remove
4639 @hsep and @vsep usage.
4640
4641 2012-12-03 Mike Frysinger <vapier@gentoo.org>
4642
4643 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4644 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4645
4646 2012-12-03 Jeff Law <law@redhat.com>
4647
4648 * time/sys/time.h (settimeofday): Do not mark TV argument
4649 as __nonnull.
4650
4651 2012-12-01 Mike Frysinger <vapier@gentoo.org>
4652
4653 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4654 when currently writing and seek to current position when not.
4655 * libio/Makefile (tests): Remove bug-fclose1.
4656 * libio/bug-fclose1.c: Delete.
4657
4658 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4659
4660 * manual/arith.texi (feenableexcept): Fix typo.
4661 (fedisableexcept): Likewise.
4662
4663 2012-11-30 Roland McGrath <roland@hack.frob.com>
4664
4665 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4666 second, differently-typed declaration, rather than a cast.
4667
4668 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4669
4670 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4671 * include/rpc/svc.h: ... here.
4672
4673 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4674
4675 [BZ #13013]
4676 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4677 depending n and resplen2 to catch cases where answer
4678 equals answerp2.
4679
4680 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4681
4682 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4683 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4684
4685 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4686
4687 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4688
4689 2012-11-29 Roland McGrath <roland@hack.frob.com>
4690
4691 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4692
4693 2012-11-28 Jeff Law <law@redhat.com>
4694
4695 [BZ #13761]
4696 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4697 dataset_temporary. Track alloca usage into alloca_used.
4698 If dataset is large allocate and release it via malloc/free.
4699
4700 2012-06-04 Florian Weimer <fweimer@redhat.com>
4701
4702 [BZ #14197]
4703 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4704
4705 2012-11-28 David S. Miller <davem@davemloft.net>
4706
4707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4708
4709 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4710
4711 [BZ #14803]
4712 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4713 of pi/2 rounded to nearest to 64 bits.
4714 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4715 nearest to 64 bits.
4716 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4717 bits.
4718
4719 2012-11-28 Jeff Law <law@redhat.com>
4720 Martin Osvald <mosvald@redhat.com>
4721
4722 [BZ #14889]
4723 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4724 * sunrpc/svc.c: Include time.h.
4725 (__svc_accept_failed): New function.
4726 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4727 any reason other than EINTR, call __svc_accept_failed.
4728 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4729 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4730
4731 2012-11-28 Andreas Schwab <schwab@suse.de>
4732
4733 * scripts/abilist.awk: Also handle indirect functions in .opd
4734 section.
4735
4736 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4737
4738 [BZ #13881]
4739 * sysdeps/x86/fpu/powl_helper.c: New file.
4740 * sysdeps/x86/fpu/Makefile: Likewise.
4741 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4742 (p3): New object.
4743 (__ieee754_powl): Use __powl_helper for finite arguments except
4744 integer exponents below 8.
4745 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4746 (p3): New object.
4747 (__ieee754_powl): Use __powl_helper for finite arguments except
4748 integer exponents below 8.
4749 * math/libm-test.inc (pow_test): Add more tests and enable some
4750 previously disabled tests.
4751 * sysdeps/i386/fpu/libm-test-ulps: Update.
4752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4753
4754 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4755 Carlos O'Donell <carlos_odonell@mentor.com>
4756
4757 * nss/makedb.c (is_prime): Assert that input is odd and greater
4758 than 4. Note that fact in a comment too.
4759 (next_prime): Add 4 to input.
4760
4761 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4762
4763 [BZ #11741]
4764 * libio/Makefile (tests): Add test case tst-fwrite-error.
4765 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4766 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4767 * libio/tst-fwrite-error.c: New test case.
4768
4769 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4770
4771 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4772 before casting to void *.
4773 * include/libc-internal.h (__pointer_type): New macro.
4774 (__integer_if_pointer_type_sub): Likewise.
4775 (__integer_if_pointer_type): Likewise.
4776 (cast_to_integer): Likewise.
4777 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4778 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4779 before casting to atomic64_t.
4780 (atomic_exchange_acq): Likewise.
4781 (__arch_exchange_and_add_body): Likewise.
4782 (__arch_add_body): Likewise.
4783 (atomic_add_negative): Likewise.
4784 (atomic_add_zero): Likewise.
4785
4786 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4787
4788 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4789 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4790 (add_fdes): Likewise.
4791 (linear_search_fdes): Likewise.
4792 (binary_search_unencoded_fdes): Likewise.
4793
4794 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4795
4796 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4797
4798 2012-11-24 Adam Conrad <adconrad@0c3.net>
4799
4800 * configure.in: Autodetect C++ header directories.
4801 * configure: Regenerated.
4802
4803 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4804
4805 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4806
4807 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4808
4809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4810
4811 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4812
4813 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4814 LDBL_MANT_DIG == 106]: Disable some tests.
4815 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4816 Likewise.
4817 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4818 Likewise.
4819
4820 [BZ #14871]
4821 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4822 input for small inputs. Return +/- pi/2 for large inputs.
4823 * math/libm-test.inc (atan_test): Add more tests.
4824
4825 * sysdeps/generic/unwind-dw2-fde-glibc.c
4826 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4827 __attribute__ ((unused)).
4828
4829 [BZ #14645]
4830 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4831 x * y if x and y are nonzero and z is zero.
4832
4833 [BZ #14811]
4834 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4835 nonzero exponents with absolute value below 0x1p-117 to +/-
4836 0x1p-117.
4837
4838 [BZ #14869]
4839 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4840 up arguments below 2**-450, not just those below 2**-500.
4841 * math/libm-test.inc (hypot_test): Add another test.
4842
4843 [BZ #14868]
4844 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4845 Return a+b for ratio over 2**120, not 2**60.
4846 * math/libm-test.inc (hypot_test): Add another test.
4847
4848 * math/libm-test.inc (clog_test): Use
4849 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4850 (clog10_test): Likewise.
4851
4852 [BZ #6778]
4853 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4854
4855 2012-11-22 Andreas Schwab <schwab@suse.de>
4856
4857 * sysdeps/i386/fpu/libm-test-ulps: Update.
4858
4859 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4860
4861 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4862 printf output with newline.
4863
4864 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4865
4866 [BZ #14865]
4867 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4868 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4869 -z nodlopen, -z initfirst and -z execstack support.
4870 * configure: Regenerated.
4871
4872 * elf/elf.h (DF_1_NODIRECT): New macro.
4873 (DF_1_IGNMULDEF): Likewise.
4874 (DF_1_NOKSYMS): Likewise.
4875 (DF_1_NOHDR): Likewise.
4876 (DF_1_EDITED): Likewise.
4877 (DF_1_NORELOC): Likewise.
4878 (DF_1_SYMINTPOSE): Likewise.
4879 (DF_1_GLOBAUDIT): Likewise.
4880 (DF_1_SINGLETON): Likewise.
4881 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4882 DT_1_SUPPORTED_MASK bits.
4883 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4884
4885 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4886
4887 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4888
4889 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4890
4891 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4892 macro.
4893
4894 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4895 (sendmmsg): Move declarations...
4896 * socket/sys/socket.h: ... here.
4897 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4898 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4899 include it from...
4900 * socket/recvmmsg.c: ... this new file.
4901 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4902 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4903 definition of __sendmmsg hidden.
4904 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4905 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4906 Move ENOSYS stub into and include it from...
4907 * socket/sendmmsg.c: ... this new file.
4908 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4909 (sysdep_routines): Move recvmmsg and sendmmsg...
4910 * socket/Makefile (routines): ... here.
4911 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4912 (GLIBC_PRIVATE): Add __sendmmsg.
4913 * include/sys/socket.h (__sendmmsg): Add declarations.
4914 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4915 sendmmsg.
4916
4917 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4918
4919 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4920 variable I1 with __attribute__ ((unused)).
4921 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4922
4923 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4924
4925 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4926 DUMMY variables with __attribute__ ((unused)).
4927
4928 * bits/byteswap.h: Include <bits/types.h>.
4929 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4930
4931 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4932
4933 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4934 string_t. Do not manually set errno.
4935 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4936 length with __strnlen. Make sure to both set errno and return it on
4937 failure.
4938
4939 2012-11-19 David S. Miller <davem@davemloft.net>
4940
4941 With help from Joseph Myers.
4942 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4943 very large arguments properly.
4944 * math/libm-test.inc (atan_test): New tests.
4945 (atan2_test): New tests.
4946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4948
4949 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4950
4951 [BZ #14856]
4952 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4953 Define to 3.
4954
4955 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4956 [POSIX] (EADDRNOTAVAIL): Likewise.
4957 [POSIX] (EAFNOSUPPORT): Likewise.
4958 [POSIX] (EALREADY): Likewise.
4959 [POSIX] (ECONNABORTED): Likewise.
4960 [POSIX] (ECONNREFUSED): Likewise.
4961 [POSIX] (ECONNRESET): Likewise.
4962 [POSIX] (EDESTADDRREQ): Likewise.
4963 [POSIX] (EDQUOT): Likewise.
4964 [POSIX] (EHOSTUNREACH): Likewise.
4965 [POSIX] (EIDRM): Likewise.
4966 [POSIX] (EISCONN): Likewise.
4967 [POSIX] (ELOOP): Likewise.
4968 [POSIX] (EMULTIHOP): Likewise.
4969 [POSIX] (ENETDOWN): Likewise.
4970 [POSIX] (ENETUNREACH): Likewise.
4971 [POSIX] (ENOBUFS): Likewise.
4972 [POSIX] (ENODATA): Likewise.
4973 [POSIX] (ENOLINK): Likewise.
4974 [POSIX] (ENOMSG): Likewise.
4975 [POSIX] (ENOPROTOOPT): Likewise.
4976 [POSIX] (ENOSR): Likewise.
4977 [POSIX] (ENOSTR): Likewise.
4978 [POSIX] (ENOTCONN): Likewise.
4979 [POSIX] (ENOTSOCK): Likewise.
4980 [POSIX] (EOPNOTSUPP): Likewise.
4981 [POSIX] (EOVERFLOW): Likewise.
4982 [POSIX] (EPROTO): Likewise.
4983 [POSIX] (EPROTONOSUPPORT): Likewise.
4984 [POSIX] (EPROTOTYPE): Likewise.
4985 [POSIX] (ESTALE): Likewise.
4986 [POSIX] (ETIME): Likewise.
4987 [POSIX] (ETXTBSY): Likewise.
4988 [POSIX] (EWOULDBLOCK): Likewise.
4989 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4990 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4991 [POSIX] (SEEK_CUR): Likewise.
4992 [POSIX] (SEEK_END): Likewise.
4993 [POSIX || UNIX98] (mode_t): Do not require.
4994 [POSIX] (off_t): Likewise.
4995 [POSIX] (pid_t): Likewise.
4996 [POSIX] (sys/stat.h): Do not allow header.
4997 [POSIX] (unistd.h): Likewise.
4998 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4999 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5000 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5001 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5002 require.
5003 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5004 sigevent): Specify elements.
5005 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5006 entry.
5007 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5008 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5009
5010 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5011 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5012 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5013 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5014 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5015 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5016 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5017 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5018 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5019 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5020 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5021 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5022 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5023 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5024 Likewise.
5025 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5026 Likewise.
5027 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5028 Likewise.
5029 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5030 Likewise.
5031 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5032 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5033 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5034 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5035 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5036 Specify lower bound on value.
5037 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5038 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5039 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5040 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5041 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5042 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5043 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5044 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5045 value.
5046 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5047 as optional.
5048 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5049 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5050 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5051 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5052 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5053 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5054 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5055 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5056 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5057 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5058 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5059 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5060 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5061 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5062 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5063 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5064 entry.
5065 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5066 optional.
5067 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5068 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5069 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5070 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5071 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5072 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5073 Likewise.
5074 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5075 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5076 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5077 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5078 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5079 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5080 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5081 as optional.
5082 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5083 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5084 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5085 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5086 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5087 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5088 specify as optional.
5089 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5090 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5091 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5092 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5093 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5094 [XPG3] (NL_LANGMAX): Likewise.
5095 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5096 [POSIX || XPG3] (NL_NMAX): Likewise.
5097 [POSIX || XPG3] (NL_SETMAX): Likewise.
5098 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5099 [XPG3] (NZERO): Likewise.
5100 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5101 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5102 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5103 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5104 (REG_ERANGE): Expect.
5105 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5106 optional-constant.
5107 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5108 Use (void) in prototype.
5109 [POSIX] (*_t): Allow.
5110 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5111 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5112 (WRDE_BADVAL): Expect.
5113
5114 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5115 expect.
5116 [XPG3 || XPG4] (O_RSYNC): Likewise.
5117 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5118 Likewise.
5119 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5120 [XPG3 || XPG4] (sigqueue): Likewise.
5121 [XPG3 || XPG4] (sigtimedwait): Likewise.
5122 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5123 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5124 [XPG3 || XPG4] (vsnprintf): Likewise.
5125 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5126 Likewise.
5127 [XPG3 || XPG4] (blksize_t): Likewise.
5128 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5129 Likewise.
5130 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5131 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5132 [XPG3 || XPG4] (struct itimerspec): Likewise.
5133 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5134 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5135 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5136 [XPG3 || XPG4] (clockid_t): Likewise.
5137 [XPG3 || XPG4] (timer_t): Likewise.
5138 [XPG3 || XPG4] (clock_getres): Likewise.
5139 [XPG3 || XPG4] (clock_gettime): Likewise.
5140 [XPG3 || XPG4] (clock_settime): Likewise.
5141 [XPG3 || XPG4] (nanosleep): Likewise.
5142 [XPG3 || XPG4] (timer_create): Likewise.
5143 [XPG3 || XPG4] (timer_delete): Likewise.
5144 [XPG3 || XPG4] (timer_gettime): Likewise.
5145 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5146 [XPG3 || XPG4] (timer_settime): Likewise.
5147 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5148 [XPG3 || XPG4] (getlogin_r): Likewise.
5149 [XPG3 || XPG4] (pread): Likewise.
5150 [XPG3 || XPG4] (pthread_atfork): Likewise.
5151 [XPG3 || XPG4] (pwrite): Likewise.
5152
5153 [BZ #14835]
5154 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5155 <bits/siginfo.h>.
5156
5157 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5158
5159 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5160 finalizing MALLSTREAM.
5161
5162 * sysdeps/mach/hurd/syncfs.c: New file.
5163
5164 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5165
5166 [BZ #14719]
5167 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5168 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5169 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5170 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5171 (_nss_dns_gethostbyname4_r): Likewise.
5172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5173 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5174
5175 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5176
5177 [BZ #13763]
5178 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5179
5180 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5181
5182 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5183 * elf/cache.c (print_entry): Print ",AArch64" for
5184 FLAG_AARCH64_LIB64
5185
5186 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5187 * elf/cache.c (print_entry): Print ",hard-float" for
5188 FLAG_ARM_LIBHF.
5189
5190 2012-11-18 David S. Miller <davem@davemloft.net>
5191
5192 With help from Joseph Myers.
5193 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5194 cutoff to 2**-13.
5195 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5196 cutoff to 2**-25.
5197 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5198 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5199 small.
5200 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5201 * math/libm-test.inc (y0_test): New tests.
5202 (y1_test): New tests.
5203 * sysdeps/i386/fpu/libm-test-ulps: Update.
5204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5206
5207 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5208
5209 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5210 64-bit targets.
5211 * configure: Regenerated.
5212
5213 2012-11-17 David S. Miller <davem@davemloft.net>
5214
5215 [BZ #14811]
5216 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5217 nonzero exponents with absolute value below 0x1p-128 to +/-
5218 0x1p-128.
5219
5220 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5221
5222 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5223
5224 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5225
5226 * posix/getconf-speclist.c: New file.
5227 * posix/posix-envs.def: Likewise.
5228 * posix/confstr.c (START_ENV_GROUP): New macro.
5229 (END_ENV_GROUP): Likewise.
5230 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5231 (KNOWN_PRESENT_ENV_STRING): Likewise.
5232 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5233 (UNKNOWN_ENVIRONMENT): Likewise.
5234 (confstr): Include posix-envs.def instead of handling
5235 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5236 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5237 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5238 (END_ENV_GROUP): Likewise.
5239 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5240 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5241 (UNKNOWN_ENVIRONMENT): Likewise.
5242 (__sysconf): Include posix-envs.def instead of handling associated
5243 cases directly here.
5244 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5245 preprocessing getconf-speclist.c rather than running getconf or
5246 generating empty file.
5247
5248 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5249
5250 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5251
5252 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5253
5254 [BZ #14672]
5255 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5256
5257 2012-11-16 David S. Miller <davem@davemloft.net>
5258
5259 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5260 smaller than LDBL_EPSILON/2.0L, just return xm1.
5261
5262 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5263
5264 * elf/tst-array1.c (init): Set constructor priority to 1000.
5265 (fini): Set destructor priority to 1000.
5266 * elf/tst-array2dep.c: Likewise.
5267
5268 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5269
5270 [BZ #11741]
5271 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5272 (_IO_new_file_xsputn): Also return EOF if none of the input
5273 data was written when overflow failed.
5274 * libio/iopadn.c (_IO_padn): Likewise.
5275 * libio/iowpadn.c (_IO_wpadn): Likewise.
5276 * stdio-common/tst-put-error.c: Add copyright notice.
5277 (do_test): Add case for printing padded string.
5278 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5279 _IO_padn returned error.
5280 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5281 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5282 return EOF.
5283
5284 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5285
5286 * libio/libioP.h: Add comment note that the references to C++
5287 bits are now obsolete.
5288
5289 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5290
5291 * math/libm-test.inc (check_complex): Use asprintf.
5292
5293 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5294
5295 * debug/pcprofiledump.c (print_version): Update copyright year.
5296 * malloc/memusagestat.c (print_version): Likewise.
5297
5298 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5299
5300 [BZ #14831]
5301 * elf/Makefile (tests): Add tst-audit8.
5302 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5303 ($(objpfx)tst-audit8.out): New target.
5304 (tst-audit8-ENV): New variable.
5305 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5306 audit if l_reloc_result is NULL.
5307 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5308 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5309 * elf/tst-audit8.c: New file.
5310
5311 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5312
5313 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5314 * misc/Makefile (CFLAGS-select.c): Define.
5315 * posix/Makefile (CFLAGS-pause.c): Define.
5316
5317 2012-11-13 David S. Miller <davem@davemloft.net>
5318
5319 * crypt/Makefile: Move test targets after toplevel Rules
5320 inclusion. Grab any necessary sysdep routines when linking.
5321 * crypt/md5.c (md5_process_block): Remove define, we will always
5322 name it __md5_process_block.
5323 (md5_finish_ctx): Update md5_process_block call.
5324 (md5_stream): Likewise.
5325 (md5_process_bytes): Likewise.
5326 (md5_process_block): Rename to __md5_process_block and move to ...
5327 * crypt/md5-block.c: ... here.
5328 * crypt/sha256.c (sha256_process_block): Move to ...
5329 * crypt/sha256-block.c: ... here.
5330 * crypt/sha512.c (sha512_process_block): Move to ...
5331 * crypt/sha512-block.c: ... here.
5332 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5333 path.
5334 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5335 * sysdeps/sparc/sparc64/multiarch/Makefile
5336 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5337 crypt subdir.
5338 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5339 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5340 multiarch changes.
5341 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5342 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5343 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5344 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5345 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5346 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5347 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5348 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5349 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5350 file.
5351 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5352 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5353 file.
5354 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5355
5356 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5357
5358 * timezone/tzselect.ksh: Update from tzcode git revision
5359 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5360 * timezone/zdump.c: Likewise.
5361 * timezone/zic.c: Likewise.
5362 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5363 in TZVERSION setting, not $(PKGVERSION).
5364 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5365 REPORT_BUGS_TO settings.
5366
5367 [BZ #14838]
5368 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5369 macro.
5370
5371 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5372
5373 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5374 detection to immediately after _FP_ROUND().
5375 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5376 bits are 0.
5377
5378 2012-11-11 David S. Miller <davem@davemloft.net>
5379
5380 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5381 inttypes.h
5382 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5383 __close rather than their public counterparts.
5384
5385 2012-11-10 Joseph Myers <joseph@codesourcery.com>
5386
5387 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5388 file.
5389 [UNIX98] (sem_timedwait): Do not expect.
5390 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5391 [XPG4 || UNIX98] (sockatmark): Do not expect.
5392 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5393 (clock_getcpuclockid): Do not expect.
5394 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5395 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5396 Do not expect.
5397 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5398 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5399 [UNIX98] (vwscanf): Likewise.
5400 [UNIX98] (vswscanf): Likewise.
5401
5402 2012-11-09 Joseph Myers <joseph@codesourcery.com>
5403
5404 * timezone/version.h: Remove file.
5405 * timezone/README: Do not refer to version.h.
5406 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5407 $(objpfx)version.h.
5408 ($(objpfx)zdump.o): Likewise.
5409 ($(objpfx)version.h): New target.
5410
5411 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5412 2012i.
5413 * timezone/README: Don't mention modification to tzselect.ksh.
5414 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5415 work on unmodified tzselect.ksh. Substitute version numbers in
5416 tzselect.ksh.
5417
5418 * Makefile (format-me): Remove.
5419 (INSTALL): Adjust indentation. Use commands directly instead of
5420 using $(format-me).
5421
5422 * aclocal.m4 (ACX_PKGVERSION): New macro.
5423 (ACX_BUGURL): Likewise.
5424 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5425 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5426 (REPORT_BUGS_TO): Likewise.
5427 * configure: Regenerated.
5428 * config.h.in (PKGVERSION): New macro.
5429 (REPORT_BUGS_TO): Likewise.
5430 * config.make.in (PKGVERSION): New variable.
5431 (PKGVERSION_TEXI): Likewise.
5432 (REPORT_BUGS_TO): Likewise.
5433 (REPORT_BUGS_TEXI): Likewise.
5434 * Makefile (format-me): Use -I$(common-objpfx)manual.
5435 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5436 ($(common-objpfx)manual/%): New target.
5437 (manual/%): Remove target.
5438 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5439 (print_version): Use PKGVERSION.
5440 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5441 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5442 and REPORT_BUGS_TO.
5443 ($(objpfx)xtrace): Likewise.
5444 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5445 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5446 (print_version): Use PKGVERSION.
5447 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5448 (do_version): Use PKGVERSION.
5449 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5450 REPORT_BUGS_TO.
5451 (common-ldd-rewrite): Likewise.
5452 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5453 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5454 (print_version): Use PKGVERSION.
5455 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5456 * elf/pldd.c (argp_program_bug_address): Remove variable.
5457 (more_help): New function.
5458 (argp): Use more_help.
5459 (print_version): Use PKGVERSION.
5460 * elf/sln.c (main): Use PKGVERSION.
5461 (usage): Use REPORT_BUGS_TO.
5462 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5463 (top level): Use PKGVERSION.
5464 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5465 (print_version): Use PKGVERSION.
5466 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5467 (print_version): Use PKGVERSION.
5468 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5469 (print_version): Use PKGVERSION.
5470 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5471 (print_version): Use PKGVERSION.
5472 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5473 (print_version): Use PKGVERSION.
5474 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5475 (print_version): Use PKGVERSION.
5476 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5477 and BUGURL.
5478 ($(objpfx)memusage): Likewise.
5479 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5480 (do_version): Use PKGVERSION.
5481 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5482 (print_version): Use PKGVERSION.
5483 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5484 ($PKGVERSION): New variable.
5485 ($REPORT_BUGS_TO): Likewise.
5486 (usage): Use $REPORT_BUGS_TO.
5487 (top level): Use $PKGVERSION.
5488 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5489 ($(objpfx)pkgvers.texi): New rule.
5490 ($(objpfx)stamp-pkgvers): Likewise.
5491 * manual/install.texi: Include pkgvers.texi.
5492 (--with-pkgversion): Document new configure option.
5493 (--with-bugurl): Likewise.
5494 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5495 than necessarily for this particular distribution. Use
5496 REPORT_BUGS_TO for where to report bugs.
5497 * INSTALL: Regenerated.
5498 * manual/libc.texinfo: Include pkgvers.texi.
5499 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5500 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5501 (print_version): Use PKGVERSION.
5502 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5503 (print_version): Use PKGVERSION.
5504 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5505 (print_version): Use PKGVERSION.
5506 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5507 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5508 macro.
5509 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5510 (print_version): Use PKGVERSION.
5511 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5512 (print_version): Use PKGVERSION.
5513 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5514 and PKGVERSION.
5515
5516 * timezone/checktab.awk: Update from tzcode 2012i.
5517 * timezone/ialloc.c: Likewise.
5518 * timezone/private.h: Likewise.
5519 * timezone/scheck.c: Likewise.
5520 * timezone/tzfile.h: Likewise.
5521 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5522 (TZVERSION): Hardcode tzcode version number.
5523 * timezone/zdump.c: Update from tzcode 2012i.
5524 * timezone/zic.c: Likewise.
5525 * timezone/version.h: New file.
5526 * timezone/README: Describe version.h. Update upstream location.
5527
5528 [BZ #14824]
5529 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5530 (mktemp): Enable declaration.
5531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5533 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5535 Likewise.
5536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5537 Likewise.
5538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5539 Likewise.
5540 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5541 Likewise.
5542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5543 Likewise.
5544 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5545 Likewise.
5546
5547 [BZ #14821]
5548 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5549 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5550 for copies of such integer values.
5551 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5552 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5553
5554 2012-11-09 Andreas Jaeger <aj@suse.de>
5555
5556 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5557 definitions and declarations that are provided by
5558 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5559
5560 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5561
5562 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5563 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5564 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5565 definition.
5566
5567 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5568
5569 * elf/elf.h: Update comment before AArch64 relocations.
5570
5571 2012-11-07 David S. Miller <davem@davemloft.net>
5572
5573 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5574 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5575 (__start_context): Declare.
5576 (__makecontext_ret): Delete.
5577 (__makecontext): Hook up __start_context instead of
5578 __makecontext_ret.
5579 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5580 (sysdep_routines): Add __start_context when in stdlib.
5581
5582 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5583
5584 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5585 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5586 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5587 hardcoded "nm".
5588 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5589 (READELF): New variable. Use it instead of hardcoded "readelf".
5590
5591 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5592
5593 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5594 * sysdeps/x86/Makefile: Here.
5595 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5596 * sysdeps/x86/tst-xmmymm.sh: This.
5597
5598 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5599
5600 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5601 expectations.
5602 [UNIX98] (pthread_barrier_t): Do not expect.
5603 [UNIX98] (pthread_barrierattr_t): Likewise.
5604 [UNIX98] (pthread_spinlock_t): Likewise.
5605 [UNIX98] (pthread_barrier_destroy): Likewise.
5606 [UNIX98] (pthread_barrier_init): Likewise.
5607 [UNIX98] (pthread_barrier_wait): Likewise.
5608 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5609 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5610 [UNIX98] (pthread_barrierattr_init): Likewise.
5611 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5612 [UNIX98] (pthread_getcpuclockid): Likewise.
5613 [UNIX98] (pthread_mutex_timedlock): Likewise.
5614 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5615 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5616 [UNIX98] (pthread_sigmask): Likewise.
5617 [UNIX98] (pthread_spin_destroy): Likewise.
5618 [UNIX98] (pthread_spin_init): Likewise.
5619 [UNIX98] (pthread_spin_lock): Likewise.
5620 [UNIX98] (pthread_spin_trylock): Likewise.
5621 [UNIX98] (pthread_spin_unlock): Likewise.
5622 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5623 Do not expect.
5624 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5625 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5626 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5627 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5628 [XPG3 || XPG4] (pthread_key_t): Likewise.
5629 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5630 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5631 [XPG3 || XPG4] (pthread_once_t): Likewise.
5632 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5633 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5634 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5635 [XPG3 || XPG4] (pthread_t): Likewise.
5636
5637 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5638 not expect.
5639 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5640
5641 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5642 Change function return type to int.
5643
5644 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5645 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5646 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5647 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5648 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5649 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5650 [!POSIX] (posix_madvise): Likewise.
5651 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5652 && !UNIX98].
5653 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5654 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5655 (mode_t): Likewise.
5656 (posix_mem_offset): Likewise.
5657 (posix_typed_mem_get_info): Likewise.
5658 (posix_typed_mem_open): Likewise.
5659
5660 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5661 Change condition to [XOPEN2K8].
5662
5663 * conform/conformtest.pl: Preprocess allow-header data with -x c
5664 instead of from stdin.
5665 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5666 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5667 [C99-based standards] (cerfc): Likewise.
5668 [C99-based standards] (cexp2): Likewise.
5669 [C99-based standards] (cexpm1): Likewise.
5670 [C99-based standards] (clog10): Likewise.
5671 [C99-based standards] (clog1p): Likewise.
5672 [C99-based standards] (clog2): Likewise.
5673 [C99-based standards] (clgamma): Likewise.
5674 [C99-based standards] (ctgamma): Likewise.
5675 [C99-based standards] (cerff): Likewise.
5676 [C99-based standards] (cerfcf): Likewise.
5677 [C99-based standards] (cexp2f): Likewise.
5678 [C99-based standards] (cexpm1f): Likewise.
5679 [C99-based standards] (clog10f): Likewise.
5680 [C99-based standards] (clog1pf): Likewise.
5681 [C99-based standards] (clog2f): Likewise.
5682 [C99-based standards] (clgammaf): Likewise.
5683 [C99-based standards] (ctgammaf): Likewise.
5684 [C99-based standards] (cerfl): Likewise.
5685 [C99-based standards] (cerfcl): Likewise.
5686 [C99-based standards] (cexp2l): Likewise.
5687 [C99-based standards] (cexpm1l): Likewise.
5688 [C99-based standards] (clog10l): Likewise.
5689 [C99-based standards] (clog1pl): Likewise.
5690 [C99-based standards] (clog2l): Likewise.
5691 [C99-based standards] (clgammal): Likewise.
5692 [C99-based standards] (ctgammal): Likewise.
5693 * conform/data/inttypes.h-data [C99-based standards]: Include
5694 stdint.h-data. Remove all expectations for stdint.h contents.
5695 [C99-based standards] (PRI*): Do not allow.
5696 [C99-based standards] (SCN*): Likewise.
5697 [C99-based standards] (*_t): Likewise.
5698 [C99-based-standards] (PRId8): Expect macro.
5699 [C99-based-standards] (PRIi8): Likewise.
5700 [C99-based-standards] (PRIo8): Likewise.
5701 [C99-based-standards] (PRIu8): Likewise.
5702 [C99-based-standards] (PRIx8): Likewise.
5703 [C99-based-standards] (PRIX8): Likewise.
5704 [C99-based-standards] (SCNd8): Likewise.
5705 [C99-based-standards] (SCNi8): Likewise.
5706 [C99-based-standards] (SCNo8): Likewise.
5707 [C99-based-standards] (SCNu8): Likewise.
5708 [C99-based-standards] (SCNx8): Likewise.
5709 [C99-based-standards] (PRIdLEAST8): Likewise.
5710 [C99-based-standards] (PRIiLEAST8): Likewise.
5711 [C99-based-standards] (PRIoLEAST8): Likewise.
5712 [C99-based-standards] (PRIuLEAST8): Likewise.
5713 [C99-based-standards] (PRIxLEAST8): Likewise.
5714 [C99-based-standards] (PRIXLEAST8): Likewise.
5715 [C99-based-standards] (SCNdLEAST8): Likewise.
5716 [C99-based-standards] (SCNiLEAST8): Likewise.
5717 [C99-based-standards] (SCNoLEAST8): Likewise.
5718 [C99-based-standards] (SCNuLEAST8): Likewise.
5719 [C99-based-standards] (SCNxLEAST8): Likewise.
5720 [C99-based-standards] (PRIdFAST8): Likewise.
5721 [C99-based-standards] (PRIiFAST8): Likewise.
5722 [C99-based-standards] (PRIoFAST8): Likewise.
5723 [C99-based-standards] (PRIuFAST8): Likewise.
5724 [C99-based-standards] (PRIxFAST8): Likewise.
5725 [C99-based-standards] (PRIXFAST8): Likewise.
5726 [C99-based-standards] (SCNdFAST8): Likewise.
5727 [C99-based-standards] (SCNiFAST8): Likewise.
5728 [C99-based-standards] (SCNoFAST8): Likewise.
5729 [C99-based-standards] (SCNuFAST8): Likewise.
5730 [C99-based-standards] (SCNxFAST8): Likewise.
5731 [C99-based-standards] (PRId16): Likewise.
5732 [C99-based-standards] (PRIi16): Likewise.
5733 [C99-based-standards] (PRIo16): Likewise.
5734 [C99-based-standards] (PRIu16): Likewise.
5735 [C99-based-standards] (PRIx16): Likewise.
5736 [C99-based-standards] (PRIX16): Likewise.
5737 [C99-based-standards] (SCNd16): Likewise.
5738 [C99-based-standards] (SCNi16): Likewise.
5739 [C99-based-standards] (SCNo16): Likewise.
5740 [C99-based-standards] (SCNu16): Likewise.
5741 [C99-based-standards] (SCNx16): Likewise.
5742 [C99-based-standards] (PRIdLEAST16): Likewise.
5743 [C99-based-standards] (PRIiLEAST16): Likewise.
5744 [C99-based-standards] (PRIoLEAST16): Likewise.
5745 [C99-based-standards] (PRIuLEAST16): Likewise.
5746 [C99-based-standards] (PRIxLEAST16): Likewise.
5747 [C99-based-standards] (PRIXLEAST16): Likewise.
5748 [C99-based-standards] (SCNdLEAST16): Likewise.
5749 [C99-based-standards] (SCNiLEAST16): Likewise.
5750 [C99-based-standards] (SCNoLEAST16): Likewise.
5751 [C99-based-standards] (SCNuLEAST16): Likewise.
5752 [C99-based-standards] (SCNxLEAST16): Likewise.
5753 [C99-based-standards] (PRIdFAST16): Likewise.
5754 [C99-based-standards] (PRIiFAST16): Likewise.
5755 [C99-based-standards] (PRIoFAST16): Likewise.
5756 [C99-based-standards] (PRIuFAST16): Likewise.
5757 [C99-based-standards] (PRIxFAST16): Likewise.
5758 [C99-based-standards] (PRIXFAST16): Likewise.
5759 [C99-based-standards] (SCNdFAST16): Likewise.
5760 [C99-based-standards] (SCNiFAST16): Likewise.
5761 [C99-based-standards] (SCNoFAST16): Likewise.
5762 [C99-based-standards] (SCNuFAST16): Likewise.
5763 [C99-based-standards] (SCNxFAST16): Likewise.
5764 [C99-based-standards] (PRId32): Likewise.
5765 [C99-based-standards] (PRIi32): Likewise.
5766 [C99-based-standards] (PRIo32): Likewise.
5767 [C99-based-standards] (PRIu32): Likewise.
5768 [C99-based-standards] (PRIx32): Likewise.
5769 [C99-based-standards] (PRIX32): Likewise.
5770 [C99-based-standards] (SCNd32): Likewise.
5771 [C99-based-standards] (SCNi32): Likewise.
5772 [C99-based-standards] (SCNo32): Likewise.
5773 [C99-based-standards] (SCNu32): Likewise.
5774 [C99-based-standards] (SCNx32): Likewise.
5775 [C99-based-standards] (PRIdLEAST32): Likewise.
5776 [C99-based-standards] (PRIiLEAST32): Likewise.
5777 [C99-based-standards] (PRIoLEAST32): Likewise.
5778 [C99-based-standards] (PRIuLEAST32): Likewise.
5779 [C99-based-standards] (PRIxLEAST32): Likewise.
5780 [C99-based-standards] (PRIXLEAST32): Likewise.
5781 [C99-based-standards] (SCNdLEAST32): Likewise.
5782 [C99-based-standards] (SCNiLEAST32): Likewise.
5783 [C99-based-standards] (SCNoLEAST32): Likewise.
5784 [C99-based-standards] (SCNuLEAST32): Likewise.
5785 [C99-based-standards] (SCNxLEAST32): Likewise.
5786 [C99-based-standards] (PRIdFAST32): Likewise.
5787 [C99-based-standards] (PRIiFAST32): Likewise.
5788 [C99-based-standards] (PRIoFAST32): Likewise.
5789 [C99-based-standards] (PRIuFAST32): Likewise.
5790 [C99-based-standards] (PRIxFAST32): Likewise.
5791 [C99-based-standards] (PRIXFAST32): Likewise.
5792 [C99-based-standards] (SCNdFAST32): Likewise.
5793 [C99-based-standards] (SCNiFAST32): Likewise.
5794 [C99-based-standards] (SCNoFAST32): Likewise.
5795 [C99-based-standards] (SCNuFAST32): Likewise.
5796 [C99-based-standards] (SCNxFAST32): Likewise.
5797 [C99-based-standards] (PRId64): Likewise.
5798 [C99-based-standards] (PRIi64): Likewise.
5799 [C99-based-standards] (PRIo64): Likewise.
5800 [C99-based-standards] (PRIu64): Likewise.
5801 [C99-based-standards] (PRIx64): Likewise.
5802 [C99-based-standards] (PRIX64): Likewise.
5803 [C99-based-standards] (SCNd64): Likewise.
5804 [C99-based-standards] (SCNi64): Likewise.
5805 [C99-based-standards] (SCNo64): Likewise.
5806 [C99-based-standards] (SCNu64): Likewise.
5807 [C99-based-standards] (SCNx64): Likewise.
5808 [C99-based-standards] (PRIdLEAST64): Likewise.
5809 [C99-based-standards] (PRIiLEAST64): Likewise.
5810 [C99-based-standards] (PRIoLEAST64): Likewise.
5811 [C99-based-standards] (PRIuLEAST64): Likewise.
5812 [C99-based-standards] (PRIxLEAST64): Likewise.
5813 [C99-based-standards] (PRIXLEAST64): Likewise.
5814 [C99-based-standards] (SCNdLEAST64): Likewise.
5815 [C99-based-standards] (SCNiLEAST64): Likewise.
5816 [C99-based-standards] (SCNoLEAST64): Likewise.
5817 [C99-based-standards] (SCNuLEAST64): Likewise.
5818 [C99-based-standards] (SCNxLEAST64): Likewise.
5819 [C99-based-standards] (PRIdFAST64): Likewise.
5820 [C99-based-standards] (PRIiFAST64): Likewise.
5821 [C99-based-standards] (PRIoFAST64): Likewise.
5822 [C99-based-standards] (PRIuFAST64): Likewise.
5823 [C99-based-standards] (PRIxFAST64): Likewise.
5824 [C99-based-standards] (PRIXFAST64): Likewise.
5825 [C99-based-standards] (SCNdFAST64): Likewise.
5826 [C99-based-standards] (SCNiFAST64): Likewise.
5827 [C99-based-standards] (SCNoFAST64): Likewise.
5828 [C99-based-standards] (SCNuFAST64): Likewise.
5829 [C99-based-standards] (SCNxFAST64): Likewise.
5830 [C99-based-standards] (PRIdMAX): Likewise.
5831 [C99-based-standards] (PRIiMAX): Likewise.
5832 [C99-based-standards] (PRIoMAX): Likewise.
5833 [C99-based-standards] (PRIuMAX): Likewise.
5834 [C99-based-standards] (PRIxMAX): Likewise.
5835 [C99-based-standards] (PRIXMAX): Likewise.
5836 [C99-based-standards] (SCNdMAX): Likewise.
5837 [C99-based-standards] (SCNiMAX): Likewise.
5838 [C99-based-standards] (SCNoMAX): Likewise.
5839 [C99-based-standards] (SCNuMAX): Likewise.
5840 [C99-based-standards] (SCNxMAX): Likewise.
5841 [C99-based-standards] (PRIdPTR): Likewise.
5842 [C99-based-standards] (PRIiPTR): Likewise.
5843 [C99-based-standards] (PRIoPTR): Likewise.
5844 [C99-based-standards] (PRIuPTR): Likewise.
5845 [C99-based-standards] (PRIxPTR): Likewise.
5846 [C99-based-standards] (PRIXPTR): Likewise.
5847 [C99-based-standards] (SCNdPTR): Likewise.
5848 [C99-based-standards] (SCNiPTR): Likewise.
5849 [C99-based-standards] (SCNoPTR): Likewise.
5850 [C99-based-standards] (SCNuPTR): Likewise.
5851 [C99-based-standards] (SCNxPTR): Likewise.
5852 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5853 allow.
5854 * conform/data/stdint.h-data: Update comments to clarify
5855 requirements.
5856 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5857 type.
5858 [C99-based standards] (INT8_MAX): Likewise.
5859 [C99-based standards] (INT16_MIN): Likewise.
5860 [C99-based standards] (INT16_MAX): Likewise.
5861 [C99-based standards] (INT32_MIN): Likewise.
5862 [C99-based standards] (INT32_MAX): Likewise.
5863 [C99-based standards] (INT64_MIN): Likewise.
5864 [C99-based standards] (INT64_MAX): Likewise.
5865 [C99-based standards] (UINT8_MAX): Likewise.
5866 [C99-based standards] (UINT16_MAX): Likewise.
5867 [C99-based standards] (UINT32_MAX): Likewise.
5868 [C99-based standards] (UINT64_MAX): Likewise.
5869 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5870 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5871 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5872 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5873 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5874 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5875 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5876 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5877 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5878 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5879 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5880 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5881 [C99-based standards] (INT_FAST8_MIN): Likewise.
5882 [C99-based standards] (INT_FAST8_MAX): Likewise.
5883 [C99-based standards] (INT_FAST16_MIN): Likewise.
5884 [C99-based standards] (INT_FAST16_MAX): Likewise.
5885 [C99-based standards] (INT_FAST32_MIN): Likewise.
5886 [C99-based standards] (INT_FAST32_MAX): Likewise.
5887 [C99-based standards] (INT_FAST64_MIN): Likewise.
5888 [C99-based standards] (INT_FAST64_MAX): Likewise.
5889 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5890 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5891 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5892 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5893 [C99-based standards] (INTPTR_MIN): Likewise.
5894 [C99-based standards] (INTPTR_MAX): Likewise.
5895 [C99-based standards] (UINTPTR_MAX): Likewise.
5896 [C99-based standards] (INTMAX_MIN): Likewise.
5897 [C99-based standards] (INTMAX_MAX): Likewise.
5898 [C99-based standards] (UINTMAX_MAX): Likewise.
5899 [C99-based standards] (PTRDIFF_MIN): Likewise.
5900 [C99-based standards] (PTRDIFF_MAX): Likewise.
5901 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5902 [C99-based standards] (SIZE_MAX): Likewise.
5903 [C99-based standards] (WCHAR_MAX): Likewise.
5904 [C99-based standards] (WINT_MAX): Likewise.
5905 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5906 constraint on value.
5907 [C99-based standards] (WCHAR_MIN): Likewise.
5908 [C99-based standards] (WINT_MIN): Likewise.
5909 [C99-based standards] (*_t): Allow.
5910 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5911 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5912 Include math.h-data and complex.h-data. Remove all expectations
5913 of math.h and complex.h contents.
5914 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5915 at end of line.
5916 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5917 (struct tm): Expect tag.
5918 [C99-based-standards] (wcstof): Expect function.
5919 [C99-based-standards] (wcstold): Likewise.
5920 [C99-based-standards] (wcstoll): Likewise.
5921 [C99-based-standards] (wcstoull): Likewise.
5922 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5923 macro-int-constant. Specify type.
5924 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5925 constraint on value.
5926 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5927 Specify type.
5928 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5929 Specify value.
5930 [ISO C standards]: Do not allow headers.
5931 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5932 wcs[abcdefghijklmnopqrstuvwxyz]*.
5933 [ISO C standards] (*_t): Do not allow.
5934 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5935 Expect function.
5936 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5937 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5938 Specify type.
5939 [ISO C standards]: Do not allow headers.
5940 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5941 is[abcdefghijklmnopqrstuvwxyz]*.
5942 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5943 to[abcdefghijklmnopqrstuvwxyz]*.
5944 [ISO C standards] (*_t): Do not allow.
5945 * conform/data/stdalign.h-data: New file.
5946 * conform/data/stdbool.h-data: Likewise.
5947 * conform/data/stdnoreturn.h-data: Likewise.
5948
5949 2012-11-07 Roland McGrath <roland@hack.frob.com>
5950
5951 [BZ #14815]
5952 * manual/filesys.texi (Directory Entries): Typo fix.
5953 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5954
5955 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5956
5957 * elf/elf.h (EM_AARCH64): New macro.
5958 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5959 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5960 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5961 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5962 (R_AARCH64_TLSDESC): Likewise.
5963 (NT_ARM_TLS): Likewise.
5964 (NT_ARM_HW_BREAK): Likewise.
5965 (NT_ARM_HW_WATCH): Likewise.
5966
5967 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5968
5969 [BZ #14811]
5970 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5971 (__ieee754_powl): Saturate nonzero exponents with absolute value
5972 below 0x1p-79 to +/- 0x1p-79.
5973 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5974 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5975 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5976 nonzero exponents with absolute value below 0x1p-32 to +/-
5977 0x1p-32.
5978 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5979 (__ieee754_powl): Saturate nonzero exponents with absolute value
5980 below 0x1p-79 to +/- 0x1p-79.
5981 * math/libm-test.inc (pow_test): Add more tests.
5982
5983 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5984
5985 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5986 _dl_s390_cap_flags with kernel. Increase string length.
5987 (_dl_s390_platforms): Add z196 and zEC12.
5988
5989 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5990
5991 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5992 Change XOPEN21K to XOPEN2K.
5993
5994 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5995
5996 * string/memmove.c: Use memcpy when possible.
5997
5998 2012-11-06 Andreas Jaeger <aj@suse.de>
5999
6000 * po/eo.po: Update from translation team.
6001
6002 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6003
6004 [BZ #14793]
6005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6006 exponent and small x and y exponents, scale x or y up. Increase
6007 by 2 the exponent used in scaling up.
6008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6009 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6010 * math/libm-test.inc (fma_test): Add more tests.
6011 (fma_test_towardzero): Likewise.
6012 (fma_test_downward): Likewise.
6013 (fma_test_upward): Likewise.
6014
6015 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6016
6017 [BZ #14805]
6018 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6019 fenv_t *.
6020
6021 [BZ #14801]
6022 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6023 namespace for names of struct fields.
6024 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6025 fenv_t fields.
6026 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6027 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6028
6029 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6030
6031 [BZ #3665]
6032 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6033
6034 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6035
6036 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6037 PTR_DEMANGLE.
6038
6039 [BZ #5246]
6040 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6041 PTR_DEMANGLE.
6042
6043 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6044
6045 [BZ #14797]
6046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6047 definitely overflow as x * y not x * y + z.
6048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6049 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6050 * math/libm-test.inc (fma_test): Add more tests.
6051 (fma_test_towardzero): Likewise.
6052 (fma_test_downward): Likewise.
6053 (fma_test_upward): Likewise.
6054
6055 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6056
6057 [BZ #157]
6058
6059 * include/stub-tag.h: Remove file.
6060 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6061 '#include' of it.
6062 * manual/maint.texi (Porting): Don't reference it.
6063 * Makerules ($(objpfx)stubs): Likewise.
6064 * dirent/closedir.c: Don't include <stub-tag.h>.
6065 * dirent/dirfd.c: Likewise.
6066 * dirent/fdopendir.c: Likewise.
6067 * dirent/getdents.c: Likewise.
6068 * dirent/getdents64.c: Likewise.
6069 * dirent/opendir.c: Likewise.
6070 * dirent/readdir.c: Likewise.
6071 * dirent/readdir64.c: Likewise.
6072 * dirent/readdir64_r.c: Likewise.
6073 * dirent/readdir_r.c: Likewise.
6074 * dirent/rewinddir.c: Likewise.
6075 * dirent/seekdir.c: Likewise.
6076 * dirent/telldir.c: Likewise.
6077 * gmon/profil.c: Likewise.
6078 * grp/setgroups.c: Likewise.
6079 * inet/if_index.c: Likewise.
6080 * io/access.c: Likewise.
6081 * io/chdir.c: Likewise.
6082 * io/chmod.c: Likewise.
6083 * io/chown.c: Likewise.
6084 * io/close.c: Likewise.
6085 * io/dup.c: Likewise.
6086 * io/dup2.c: Likewise.
6087 * io/dup3.c: Likewise.
6088 * io/euidaccess.c: Likewise.
6089 * io/faccessat.c: Likewise.
6090 * io/fchdir.c: Likewise.
6091 * io/fchmod.c: Likewise.
6092 * io/fchmodat.c: Likewise.
6093 * io/fchown.c: Likewise.
6094 * io/fchownat.c: Likewise.
6095 * io/fcntl.c: Likewise.
6096 * io/flock.c: Likewise.
6097 * io/fstatfs.c: Likewise.
6098 * io/fstatfs64.c: Likewise.
6099 * io/fstatvfs.c: Likewise.
6100 * io/fstatvfs64.c: Likewise.
6101 * io/futimens.c: Likewise.
6102 * io/fxstat.c: Likewise.
6103 * io/fxstat64.c: Likewise.
6104 * io/fxstatat.c: Likewise.
6105 * io/fxstatat64.c: Likewise.
6106 * io/getcwd.c: Likewise.
6107 * io/isatty.c: Likewise.
6108 * io/lchmod.c: Likewise.
6109 * io/lchown.c: Likewise.
6110 * io/link.c: Likewise.
6111 * io/linkat.c: Likewise.
6112 * io/lseek.c: Likewise.
6113 * io/lseek64.c: Likewise.
6114 * io/lxstat64.c: Likewise.
6115 * io/mkdir.c: Likewise.
6116 * io/mkdirat.c: Likewise.
6117 * io/mkfifo.c: Likewise.
6118 * io/mkfifoat.c: Likewise.
6119 * io/open.c: Likewise.
6120 * io/open64.c: Likewise.
6121 * io/openat.c: Likewise.
6122 * io/openat64.c: Likewise.
6123 * io/pipe.c: Likewise.
6124 * io/pipe2.c: Likewise.
6125 * io/poll.c: Likewise.
6126 * io/posix_fadvise.c: Likewise.
6127 * io/posix_fadvise64.c: Likewise.
6128 * io/posix_fallocate.c: Likewise.
6129 * io/posix_fallocate64.c: Likewise.
6130 * io/read.c: Likewise.
6131 * io/readlink.c: Likewise.
6132 * io/readlinkat.c: Likewise.
6133 * io/rmdir.c: Likewise.
6134 * io/sendfile.c: Likewise.
6135 * io/sendfile64.c: Likewise.
6136 * io/statfs.c: Likewise.
6137 * io/statfs64.c: Likewise.
6138 * io/statvfs.c: Likewise.
6139 * io/statvfs64.c: Likewise.
6140 * io/symlink.c: Likewise.
6141 * io/symlinkat.c: Likewise.
6142 * io/ttyname.c: Likewise.
6143 * io/ttyname_r.c: Likewise.
6144 * io/umask.c: Likewise.
6145 * io/unlink.c: Likewise.
6146 * io/unlinkat.c: Likewise.
6147 * io/utime.c: Likewise.
6148 * io/utimensat.c: Likewise.
6149 * io/write.c: Likewise.
6150 * io/xmknod.c: Likewise.
6151 * io/xmknodat.c: Likewise.
6152 * io/xstat.c: Likewise.
6153 * io/xstat64.c: Likewise.
6154 * login/getpt.c: Likewise.
6155 * login/grantpt.c: Likewise.
6156 * login/unlockpt.c: Likewise.
6157 * math/e_acoshl.c: Likewise.
6158 * math/e_acosl.c: Likewise.
6159 * math/e_asinl.c: Likewise.
6160 * math/e_atan2l.c: Likewise.
6161 * math/e_atanhl.c: Likewise.
6162 * math/e_coshl.c: Likewise.
6163 * math/e_expl.c: Likewise.
6164 * math/e_fmodl.c: Likewise.
6165 * math/e_gammal_r.c: Likewise.
6166 * math/e_hypotl.c: Likewise.
6167 * math/e_j0l.c: Likewise.
6168 * math/e_j1l.c: Likewise.
6169 * math/e_jnl.c: Likewise.
6170 * math/e_lgammal_r.c: Likewise.
6171 * math/e_log10l.c: Likewise.
6172 * math/e_log2l.c: Likewise.
6173 * math/e_logl.c: Likewise.
6174 * math/e_powl.c: Likewise.
6175 * math/e_rem_pio2l.c: Likewise.
6176 * math/e_sinhl.c: Likewise.
6177 * math/e_sqrtl.c: Likewise.
6178 * math/fclrexcpt.c: Likewise.
6179 * math/fedisblxcpt.c: Likewise.
6180 * math/feenablxcpt.c: Likewise.
6181 * math/fegetenv.c: Likewise.
6182 * math/fegetexcept.c: Likewise.
6183 * math/fegetround.c: Likewise.
6184 * math/feholdexcpt.c: Likewise.
6185 * math/fesetenv.c: Likewise.
6186 * math/fesetround.c: Likewise.
6187 * math/feupdateenv.c: Likewise.
6188 * math/fgetexcptflg.c: Likewise.
6189 * math/fraiseexcpt.c: Likewise.
6190 * math/fsetexcptflg.c: Likewise.
6191 * math/ftestexcept.c: Likewise.
6192 * math/k_cosl.c: Likewise.
6193 * math/k_rem_pio2l.c: Likewise.
6194 * math/k_sinl.c: Likewise.
6195 * math/k_tanl.c: Likewise.
6196 * math/s_asinhl.c: Likewise.
6197 * math/s_atanl.c: Likewise.
6198 * math/s_cbrtl.c: Likewise.
6199 * math/s_erfl.c: Likewise.
6200 * math/s_expm1l.c: Likewise.
6201 * math/s_log1pl.c: Likewise.
6202 * math/s_tanhl.c: Likewise.
6203 * misc/acct.c: Likewise.
6204 * misc/brk.c: Likewise.
6205 * misc/chflags.c: Likewise.
6206 * misc/chroot.c: Likewise.
6207 * misc/fchflags.c: Likewise.
6208 * misc/fgetxattr.c: Likewise.
6209 * misc/flistxattr.c: Likewise.
6210 * misc/fremovexattr.c: Likewise.
6211 * misc/fsetxattr.c: Likewise.
6212 * misc/fsync.c: Likewise.
6213 * misc/ftruncate.c: Likewise.
6214 * misc/futimes.c: Likewise.
6215 * misc/futimesat.c: Likewise.
6216 * misc/getdomain.c: Likewise.
6217 * misc/getdtsz.c: Likewise.
6218 * misc/gethostid.c: Likewise.
6219 * misc/gethostname.c: Likewise.
6220 * misc/getloadavg.c: Likewise.
6221 * misc/getpagesize.c: Likewise.
6222 * misc/getsysstats.c: Likewise.
6223 * misc/getxattr.c: Likewise.
6224 * misc/gtty.c: Likewise.
6225 * misc/ioctl.c: Likewise.
6226 * misc/lgetxattr.c: Likewise.
6227 * misc/listxattr.c: Likewise.
6228 * misc/llistxattr.c: Likewise.
6229 * misc/lremovexattr.c: Likewise.
6230 * misc/lsetxattr.c: Likewise.
6231 * misc/lutimes.c: Likewise.
6232 * misc/madvise.c: Likewise.
6233 * misc/mincore.c: Likewise.
6234 * misc/mlock.c: Likewise.
6235 * misc/mlockall.c: Likewise.
6236 * misc/mmap.c: Likewise.
6237 * misc/mprotect.c: Likewise.
6238 * misc/msync.c: Likewise.
6239 * misc/munlock.c: Likewise.
6240 * misc/munlockall.c: Likewise.
6241 * misc/munmap.c: Likewise.
6242 * misc/preadv.c: Likewise.
6243 * misc/preadv64.c: Likewise.
6244 * misc/ptrace.c: Likewise.
6245 * misc/pwritev.c: Likewise.
6246 * misc/pwritev64.c: Likewise.
6247 * misc/readv.c: Likewise.
6248 * misc/reboot.c: Likewise.
6249 * misc/remap_file_pages.c: Likewise.
6250 * misc/removexattr.c: Likewise.
6251 * misc/revoke.c: Likewise.
6252 * misc/select.c: Likewise.
6253 * misc/setdomain.c: Likewise.
6254 * misc/setegid.c: Likewise.
6255 * misc/seteuid.c: Likewise.
6256 * misc/sethostid.c: Likewise.
6257 * misc/sethostname.c: Likewise.
6258 * misc/setregid.c: Likewise.
6259 * misc/setreuid.c: Likewise.
6260 * misc/setxattr.c: Likewise.
6261 * misc/sstk.c: Likewise.
6262 * misc/stty.c: Likewise.
6263 * misc/swapoff.c: Likewise.
6264 * misc/swapon.c: Likewise.
6265 * misc/sync.c: Likewise.
6266 * misc/syncfs.c: Likewise.
6267 * misc/syscall.c: Likewise.
6268 * misc/truncate.c: Likewise.
6269 * misc/ualarm.c: Likewise.
6270 * misc/usleep.c: Likewise.
6271 * misc/ustat.c: Likewise.
6272 * misc/utimes.c: Likewise.
6273 * misc/vhangup.c: Likewise.
6274 * misc/writev.c: Likewise.
6275 * posix/_exit.c: Likewise.
6276 * posix/alarm.c: Likewise.
6277 * posix/execve.c: Likewise.
6278 * posix/fexecve.c: Likewise.
6279 * posix/fork.c: Likewise.
6280 * posix/fpathconf.c: Likewise.
6281 * posix/getaddrinfo.c: Likewise.
6282 * posix/getegid.c: Likewise.
6283 * posix/geteuid.c: Likewise.
6284 * posix/getgid.c: Likewise.
6285 * posix/getgroups.c: Likewise.
6286 * posix/getlogin.c: Likewise.
6287 * posix/getlogin_r.c: Likewise.
6288 * posix/getpgid.c: Likewise.
6289 * posix/getpid.c: Likewise.
6290 * posix/getppid.c: Likewise.
6291 * posix/getresgid.c: Likewise.
6292 * posix/getresuid.c: Likewise.
6293 * posix/getsid.c: Likewise.
6294 * posix/getuid.c: Likewise.
6295 * posix/glob64.c: Likewise.
6296 * posix/nanosleep.c: Likewise.
6297 * posix/pathconf.c: Likewise.
6298 * posix/pause.c: Likewise.
6299 * posix/posix_madvise.c: Likewise.
6300 * posix/pread.c: Likewise.
6301 * posix/pread64.c: Likewise.
6302 * posix/pwrite.c: Likewise.
6303 * posix/pwrite64.c: Likewise.
6304 * posix/sched_getaffinity.c: Likewise.
6305 * posix/sched_getp.c: Likewise.
6306 * posix/sched_gets.c: Likewise.
6307 * posix/sched_primax.c: Likewise.
6308 * posix/sched_primin.c: Likewise.
6309 * posix/sched_rr_gi.c: Likewise.
6310 * posix/sched_setaffinity.c: Likewise.
6311 * posix/sched_setp.c: Likewise.
6312 * posix/sched_sets.c: Likewise.
6313 * posix/sched_yield.c: Likewise.
6314 * posix/setgid.c: Likewise.
6315 * posix/setlogin.c: Likewise.
6316 * posix/setpgid.c: Likewise.
6317 * posix/setresgid.c: Likewise.
6318 * posix/setresuid.c: Likewise.
6319 * posix/setsid.c: Likewise.
6320 * posix/setuid.c: Likewise.
6321 * posix/sleep.c: Likewise.
6322 * posix/spawni.c: Likewise.
6323 * posix/sysconf.c: Likewise.
6324 * posix/times.c: Likewise.
6325 * posix/wait.c: Likewise.
6326 * posix/wait3.c: Likewise.
6327 * posix/wait4.c: Likewise.
6328 * posix/waitpid.c: Likewise.
6329 * resolv/gai_sigqueue.c: Likewise.
6330 * resource/getpriority.c: Likewise.
6331 * resource/getrlimit.c: Likewise.
6332 * resource/getrusage.c: Likewise.
6333 * resource/nice.c: Likewise.
6334 * resource/setpriority.c: Likewise.
6335 * resource/setrlimit.c: Likewise.
6336 * resource/ulimit.c: Likewise.
6337 * rt/aio_cancel.c: Likewise.
6338 * rt/aio_fsync.c: Likewise.
6339 * rt/aio_read.c: Likewise.
6340 * rt/aio_sigqueue.c: Likewise.
6341 * rt/aio_suspend.c: Likewise.
6342 * rt/aio_write.c: Likewise.
6343 * rt/clock_getres.c: Likewise.
6344 * rt/clock_gettime.c: Likewise.
6345 * rt/clock_nanosleep.c: Likewise.
6346 * rt/clock_settime.c: Likewise.
6347 * rt/lio_listio.c: Likewise.
6348 * rt/mq_close.c: Likewise.
6349 * rt/mq_getattr.c: Likewise.
6350 * rt/mq_notify.c: Likewise.
6351 * rt/mq_open.c: Likewise.
6352 * rt/mq_receive.c: Likewise.
6353 * rt/mq_send.c: Likewise.
6354 * rt/mq_setattr.c: Likewise.
6355 * rt/mq_timedreceive.c: Likewise.
6356 * rt/mq_timedsend.c: Likewise.
6357 * rt/mq_unlink.c: Likewise.
6358 * rt/shm_open.c: Likewise.
6359 * rt/shm_unlink.c: Likewise.
6360 * rt/timer_create.c: Likewise.
6361 * rt/timer_delete.c: Likewise.
6362 * rt/timer_getoverr.c: Likewise.
6363 * rt/timer_gettime.c: Likewise.
6364 * rt/timer_settime.c: Likewise.
6365 * setjmp/__longjmp.c: Likewise.
6366 * setjmp/setjmp.c: Likewise.
6367 * signal/kill.c: Likewise.
6368 * signal/killpg.c: Likewise.
6369 * signal/raise.c: Likewise.
6370 * signal/sigaction.c: Likewise.
6371 * signal/sigaltstack.c: Likewise.
6372 * signal/sigblock.c: Likewise.
6373 * signal/sigignore.c: Likewise.
6374 * signal/sigintr.c: Likewise.
6375 * signal/signal.c: Likewise.
6376 * signal/sigpause.c: Likewise.
6377 * signal/sigpending.c: Likewise.
6378 * signal/sigqueue.c: Likewise.
6379 * signal/sigreturn.c: Likewise.
6380 * signal/sigset.c: Likewise.
6381 * signal/sigsetmask.c: Likewise.
6382 * signal/sigstack.c: Likewise.
6383 * signal/sigsuspend.c: Likewise.
6384 * signal/sigtimedwait.c: Likewise.
6385 * signal/sigvec.c: Likewise.
6386 * signal/sigwait.c: Likewise.
6387 * signal/sigwaitinfo.c: Likewise.
6388 * signal/sysv_signal.c: Likewise.
6389 * socket/accept.c: Likewise.
6390 * socket/accept4.c: Likewise.
6391 * socket/bind.c: Likewise.
6392 * socket/connect.c: Likewise.
6393 * socket/getpeername.c: Likewise.
6394 * socket/getsockname.c: Likewise.
6395 * socket/getsockopt.c: Likewise.
6396 * socket/isfdtype.c: Likewise.
6397 * socket/listen.c: Likewise.
6398 * socket/recv.c: Likewise.
6399 * socket/recvfrom.c: Likewise.
6400 * socket/recvmsg.c: Likewise.
6401 * socket/send.c: Likewise.
6402 * socket/sendmsg.c: Likewise.
6403 * socket/sendto.c: Likewise.
6404 * socket/setsockopt.c: Likewise.
6405 * socket/shutdown.c: Likewise.
6406 * socket/sockatmark.c: Likewise.
6407 * socket/socket.c: Likewise.
6408 * socket/socketpair.c: Likewise.
6409 * stdio-common/ctermid.c: Likewise.
6410 * stdio-common/cuserid.c: Likewise.
6411 * stdio-common/remove.c: Likewise.
6412 * stdio-common/rename.c: Likewise.
6413 * stdio-common/renameat.c: Likewise.
6414 * stdio-common/tempname.c: Likewise.
6415 * stdlib/getcontext.c: Likewise.
6416 * stdlib/makecontext.c: Likewise.
6417 * stdlib/setcontext.c: Likewise.
6418 * stdlib/swapcontext.c: Likewise.
6419 * stdlib/system.c: Likewise.
6420 * streams/fattach.c: Likewise.
6421 * streams/fdetach.c: Likewise.
6422 * streams/getmsg.c: Likewise.
6423 * streams/getpmsg.c: Likewise.
6424 * streams/putmsg.c: Likewise.
6425 * streams/putpmsg.c: Likewise.
6426 * sysdeps/unix/bsd/getpt.c: Likewise.
6427 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6428 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6429 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6431 Likewise.
6432 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6433 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6434 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6435 * sysvipc/msgctl.c: Likewise.
6436 * sysvipc/msgget.c: Likewise.
6437 * sysvipc/msgrcv.c: Likewise.
6438 * sysvipc/msgsnd.c: Likewise.
6439 * sysvipc/semctl.c: Likewise.
6440 * sysvipc/semget.c: Likewise.
6441 * sysvipc/semop.c: Likewise.
6442 * sysvipc/semtimedop.c: Likewise.
6443 * sysvipc/shmat.c: Likewise.
6444 * sysvipc/shmctl.c: Likewise.
6445 * sysvipc/shmdt.c: Likewise.
6446 * sysvipc/shmget.c: Likewise.
6447 * termios/tcdrain.c: Likewise.
6448 * termios/tcflow.c: Likewise.
6449 * termios/tcflush.c: Likewise.
6450 * termios/tcgetattr.c: Likewise.
6451 * termios/tcgetpgrp.c: Likewise.
6452 * termios/tcsendbrk.c: Likewise.
6453 * termios/tcsetattr.c: Likewise.
6454 * termios/tcsetpgrp.c: Likewise.
6455 * time/adjtime.c: Likewise.
6456 * time/clock.c: Likewise.
6457 * time/getitimer.c: Likewise.
6458 * time/gettimeofday.c: Likewise.
6459 * time/setitimer.c: Likewise.
6460 * time/settimeofday.c: Likewise.
6461 * time/stime.c: Likewise.
6462 * time/time.c: Likewise.
6463
6464 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
6465
6466 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6467 /usr/old/bin.
6468
6469 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6470 instead of spaces.
6471 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6472
6473 2012-11-03 Joseph Myers <joseph@codesourcery.com>
6474
6475 [BZ #14796]
6476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6477 FE_TONEAREST before applying Dekker multiplication and Knuth
6478 addition. Clear inexact exceptions and check for exact zero
6479 results afterwards.
6480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6481 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6482 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6483 * math/libm-test.inc (fma_test): Add more tests.
6484 (fma_test_towardzero): Likewise.
6485 (fma_test_downward): Likewise.
6486 (fma_test_upward): Likewise.
6487 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6488 function.
6489 (libc_fesetround): New macro.
6490 (libc_fesetroundf): Likewise.
6491 (libc_fesetroundl): Likewise.
6492 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6493 function.
6494 (libc_fesetround_387): Likewise.
6495 (libc_fesetroundf): New macro.
6496 (libc_fesetround): Likewise.
6497 (libc_fesetroundl): Likewise.
6498 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6499 function.
6500 (libc_fesetroundf): New macro.
6501 (libc_fesetround): Likewise.
6502 (libc_fesetroundl): Likewise.
6503 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6504 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6505 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6506 libm_hidden_ver.
6507 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6508 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6509 libm_hidden_def.
6510 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6511 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6512 libm_hidden_ver.
6513 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6514 libm_hidden_def.
6515
6516 [BZ #3439]
6517 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6518 integer constant usable in #if and use that to give value to enum
6519 constant.
6520 (FE_DIVBYZERO): Likewise.
6521 (FE_UNDERFLOW): Likewise.
6522 (FE_OVERFLOW): Likewise.
6523 (FE_INVALID): Likewise.
6524 (FE_INVALID_SNAN): Likewise.
6525 (FE_INVALID_ISI): Likewise.
6526 (FE_INVALID_IDI): Likewise.
6527 (FE_INVALID_ZDZ): Likewise.
6528 (FE_INVALID_IMZ): Likewise.
6529 (FE_INVALID_COMPARE): Likewise.
6530 (FE_INVALID_SOFTWARE): Likewise.
6531 (FE_INVALID_SQRT): Likewise.
6532 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6533 (FE_TONEAREST): Likewise.
6534 (FE_TOWARDZERO): Likewise.
6535 (FE_UPWARD): Likewise.
6536 (FE_DOWNWARD): Likewise.
6537 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6538 (FE_DIVBYZERO): Likewise.
6539 (FE_OVERFLOW): Likewise.
6540 (FE_UNDERFLOW): Likewise.
6541 (FE_INEXACT): Likewise.
6542 (FE_TONEAREST): Likewise.
6543 (FE_DOWNWARD): Likewise.
6544 (FE_UPWARD): Likewise.
6545 (FE_TOWARDZERO): Likewise.
6546 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6547 (FE_UNDERFLOW): Likewise.
6548 (FE_OVERFLOW): Likewise.
6549 (FE_DIVBYZERO): Likewise.
6550 (FE_INVALID): Likewise.
6551 (FE_TONEAREST): Likewise.
6552 (FE_TOWARDZERO): Likewise.
6553 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6554 (FE_OVERFLOW): Likewise.
6555 (FE_UNDERFLOW): Likewise.
6556 (FE_DIVBYZERO): Likewise.
6557 (FE_INEXACT): Likewise.
6558 (FE_TONEAREST): Likewise.
6559 (FE_TOWARDZERO): Likewise.
6560 (FE_UPWARD): Likewise.
6561 (FE_DOWNWARD): Likewise.
6562 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6563 (FE_DIVBYZERO): Likewise.
6564 (FE_OVERFLOW): Likewise.
6565 (FE_UNDERFLOW): Likewise.
6566 (FE_INEXACT): Likewise.
6567 (FE_TONEAREST): Likewise.
6568 (FE_DOWNWARD): Likewise.
6569 (FE_UPWARD): Likewise.
6570 (FE_TOWARDZERO): Likewise.
6571
6572 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6573
6574 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6575
6576 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6577
6578 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6579 commands. Quote $PWD.
6580 (blacklist_exports): Don't use remove_newlines. Replace "declare
6581 -x" by "export".
6582 (remove_newlines): Remove.
6583
6584 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6585
6586 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6587 * stdlib/stdlib.h (atof): Moved to ...
6588 * include/bits/stdlib-float.h: Here. New file.
6589 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6590 * stdlib/bits/stdlib-float.h: New file.
6591 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6592 -mno-sse -mno-mmx.
6593 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6594 <xmmintrin.h>.
6595
6596 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6597
6598 * conform/conformtest.pl (@headers): Add fenv.h.
6599 * conform/data/fenv.h-data: New file.
6600 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6601 include of <math/fenv.h>.
6602
6603 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6604 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6605 && !UNIX98]. Enables tests for XOPEN2K8.
6606 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6607 POSIX2008]: Likewise.
6608
6609 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6610 (struct rusage): Do not expect type or its members.
6611
6612 [BZ #3439]
6613 * math/math.h (FP_NAN): Define macro to integer constant usable in
6614 #if and use that to give value to enum constant.
6615 (FP_INFINITE): Likewise.
6616 (FP_ZERO): Likewise.
6617 (FP_SUBNORMAL): Likewise.
6618 (FP_NORMAL): Likewise.
6619
6620 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6621
6622 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6623 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6624 arguments.
6625
6626 2012-11-02 Roland McGrath <roland@hack.frob.com>
6627
6628 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6629 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6630 autoconf-time if not.
6631 * configure.in: Remove AC_PREREQ.
6632
6633 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6634
6635 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6636 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6637 of the internal implementation.
6638
6639 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6640
6641 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6642 except include of <misc/sys/syslog.h>.
6643
6644 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6645
6646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6647 function returns with a NULL context exit with zero.
6648
6649 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6650
6651 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6652
6653 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6654
6655 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6656 (run_program_cmd): This.
6657 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6658 (tst_langinfo): New variable. Use it.
6659
6660 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6661
6662 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6663 floating point opcodes.
6664
6665 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6666
6667 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6668 variable.
6669
6670 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6671
6672 * sysdeps/mach/hurd/powerpc: Remove directory.
6673 * sysdeps/mach/powerpc: Likewise.
6674
6675 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6676
6677 * scripts/check-local-headers.sh: Ignore c++ headers.
6678
6679 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6680
6681 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6682 __libc_cleanup_region_start argument.
6683
6684 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6685
6686 [BZ #14784]
6687 [BZ #14785]
6688 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6689 x * y using scaling, not as x * y + z.
6690 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6691 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6692 * math/libm-test.inc (fma_test): Add more tests.
6693 (fma_test_towardzero): Likewise.
6694 (fma_test_downward): Likewise.
6695 (fma_test_upward): Likewise.
6696
6697 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6698
6699 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6700
6701 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6702
6703 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6704 New variable.
6705
6706 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6707
6708 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6709
6710 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6711
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6713 Fix sort order.
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6715 Likewise.
6716
6717 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6718
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6720 Fix the order of the list for glibc 2.17.
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6722 Likewise.
6723
6724 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6725
6726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6727
6728 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6729
6730 [BZ #14610]
6731 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6732 for low part of x being zero before using __atanl (y).
6733 * math/libm-test.inc (atan2_test): Add another test.
6734
6735 * manual/install.texi (Configuring and compiling): Document
6736 general use of test-wrapper and test-wrapper-env.
6737 * INSTALL: Regenerated.
6738
6739 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6740 (__fma): Do not extract and scale down low bits on after-rounding
6741 systems when result rounded to normal precision would have normal
6742 exponent.
6743 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6744 (__fmal): Do not extract and scale down low bits on after-rounding
6745 systems when result rounded to normal precision would have normal
6746 exponent.
6747 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6748 (__fmal): Do not extract and scale down low bits on after-rounding
6749 systems when result rounded to normal precision would have normal
6750 exponent.
6751 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6752 macro.
6753 (fma_test): Add more tests.
6754 (fma_test_towardzero): Likewise.
6755 (fma_test_downward): Likewise.
6756 (fma_test_upward): Likewise.
6757
6758 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6759
6760 * sysdeps/i386/tininess.h: Renamed to ...
6761 * sysdeps/x86/tininess.h: This.
6762 * sysdeps/x86_64/tininess.h: Removed.
6763
6764 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6765
6766 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6767 input. Use $(build-program-cmd).
6768 ($(objpfx)tst-array1-static.out): Likewise.
6769 ($(objpfx)tst-array2.out): Likewise.
6770 ($(objpfx)tst-array3.out): Likewise.
6771 ($(objpfx)tst-array4.out): Likewise.
6772 ($(objpfx)tst-array5.out): Likewise.
6773 ($(objpfx)tst-array5-static.out): Likewise.
6774
6775 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6776
6777 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6778 if defined.
6779
6780 * nss/nsswitch.h (nss_interface_function): Provide new
6781 macro for use with NSS functions.
6782 * grp/initgroups.c: Use new macro.
6783 * nss/getXXbyYY.c: Likewise.
6784 * nss/getXXbyYY_r.c: Likewise.
6785 * nss/getXXent.c: Likewise.
6786 * nss/getXXent_r.c: Likewise.
6787 * sysdeps/posix/getaddrinfo.c: Likewise.
6788
6789 2012-10-30 Andreas Jaeger <aj@suse.de>
6790
6791 * po/ru.po: Update Russion translation from translation project.
6792
6793 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6794
6795 [BZ #14152]
6796 [BZ #14783]
6797 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6798 result and shift together with sticky bit instead of replicating
6799 round-to-nearest rounding.
6800 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6801 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6802 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6803 missing underflow exceptions.
6804 (fma_test_towardzero): Add more tests.
6805 (fma_test_downward): Likewise.
6806 (fma_test_upward): Likewise.
6807
6808 [BZ #14047]
6809 * sysdeps/generic/tininess.h: New file.
6810 * sysdeps/i386/tininess.h: Likewise.
6811 * sysdeps/sh/tininess.h: Likewise.
6812 * sysdeps/x86_64/tininess.h: Likewise.
6813 * stdlib/tst-strtod-underflow.c: Likewise.
6814 * stdlib/tst-tininess.c: Likewise.
6815 * stdlib/strtod_l.c: Include <tininess.h>.
6816 (round_and_return): Do not set errno for exact underflow cases.
6817 Force an underflow exception when setting errno for underflow.
6818 Determine underflow based on rounding to normal precision if
6819 TININESS_AFTER_ROUNDING.
6820 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6821 ERANGE for exact underflow cases.
6822 * stdlib/Makefile (tests): Add tst-tininess and
6823 tst-strtod-underflow.
6824 ($(objpfx)tst-tininess): Use $(link-libm).
6825 ($(objpfx)tst-strtod-underflow): Likewise.
6826
6827 2012-10-30 Andreas Jaeger <aj@suse.de>
6828
6829 [BZ#14767]
6830 * elf/Makefile (tests): Remove conditional for have-initfini-array
6831 since this is now always required and the variable does not exist
6832 anymore.
6833 (tests-static): Likewise.
6834 (modules-names): Likewise.
6835
6836 * po/eo.po: Add Esperanto translation from translation project.
6837
6838 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6839 merged with constructor/destructor.
6840 (init_array): Likewise.
6841 * elf/tst-array2dep.c (fini_array): Likewise.
6842 (init_array): Likewise.
6843
6844 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6845
6846 * manual/message.texi: Delete @cartouche tags.
6847
6848 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6849
6850 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6851 EOPNOTSUPP.
6852 * sysdeps/mach/hurd/fsync.c: Likewise.
6853
6854 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6855 [_POSIX_REALTIME_SIGNALS]: Change condition to
6856 [_POSIX_REALTIME_SIGNALS > 0].
6857
6858 2012-10-27 Andreas Jaeger <aj@suse.de>
6859
6860 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6861 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6863 [__WORDSIZE != 64]: Likewise.
6864
6865 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6866
6867 * iconvdata/tst-table.sh: Remove ${SHELL}.
6868 * iconvdata/tst-tables.sh: Likewise.
6869
6870 2012-10-25 David S. Miller <davem@davemloft.net>
6871
6872 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6873 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6874 of strtoull.
6875
6876 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6877 ifunc-impl-list.c
6878 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6879 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6880 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6881 file.
6882
6883 2012-10-25 Roland McGrath <roland@hack.frob.com>
6884
6885 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6886 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6887 __getdirentries.
6888
6889 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6890 Jim Blandy <jimb@codesourcery.com>
6891
6892 * scripts/cross-test-ssh.sh: New file.
6893 * manual/install.texi (Configuring and compiling): Document use of
6894 cross-test-ssh.sh.
6895 * INSTALL: Regenerated.
6896
6897 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6898
6899 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6900 EOPNOTSUPP.
6901
6902 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6903
6904 * Makeconfig (run-program-prefix): Fix comment.
6905
6906 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6907 Jim Blandy <jimb@codesourcery.com>
6908
6909 * Makeconfig (test-wrapper): New variable,
6910 (test-wrapper-env): Likewise.
6911 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6912 (run-built-tests): Define to yes.
6913 (run-program-prefix): Use $(test-wrapper).
6914 (built-program-cmd): Likewise.
6915 * Rules (make-test-out): Use $(test-wrapper-env) and
6916 $(host-built-program-cmd).
6917 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6918 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6919 tst-pathopt.sh.
6920 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6921 $(test-wrapper-env) to tst-rtld-load-self.sh.
6922 ($(objpfx)order2.out): Use $(test-wrapper).
6923 ($(objpfx)tst-initorder.out): Likewise.
6924 ($(objpfx)tst-initorder2.out): Likewise.
6925 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6926 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6927 (test_wrapper_env): New variable. Use it to run ld.so.
6928 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6929 Use it to run ld.so.
6930 (test_wrapper_env): Likewise.
6931 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6932 $(test-wrapper) to run-iconv-test.sh.
6933 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6934 (ICONV): Use $test_wrapper.
6935 * posix/Makefile ($(objpfx)globtest.out): Pass
6936 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6937 globtest.sh, not $(run-program-prefix).
6938 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6939 (test_wrapper): Likewise.
6940 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6941 set together with run_via_rtld_prefix.
6942 (run_program_prefix): Define in terms of test_wrapper and
6943 run_via_rtld_prefix.
6944
6945 2012-10-24 Roland McGrath <roland@hack.frob.com>
6946
6947 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6948 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6949 Targets removed.
6950
6951 [BZ #14743]
6952 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6953 Declare __clock_getres, __clock_gettime, __clock_settime,
6954 __clock_nanosleep, and __clock_getcpuclockid.
6955 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6956 Remove librt_hidden_def (clock_gettime).
6957 * sysdeps/unix/clock_gettime.c: Likewise.
6958 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6959 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6960 * rt/clock_getres.c: Define __clock_getres as an alias.
6961 * sysdeps/posix/clock_getres.c: Likewise.
6962 * rt/clock_settime.c: Define __clock_settime as an alias.
6963 * sysdeps/unix/clock_settime.c: Likewise.
6964 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6965 * sysdeps/unix/clock_nanosleep.c: Likewise.
6966 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6967 * rt/clock-compat.c: New file.
6968 * rt/Makefile (librt-routines): Add clock-compat and move
6969 $(clock-routines) to ...
6970 (routines): ... here, new variable.
6971 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6972 Don't add get_clockfreq here.
6973 * rt/Versions (libc: GLIBC_2.17): New version set.
6974 Add clock_* symbols here.
6975 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6976 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6977 (GLIBC_2.17): Add clock_* symbols.
6978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6980 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6982 Likewise.
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6984 Likewise.
6985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6989 * NEWS: Mention the move.
6990
6991 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6992 Use __open, __read, __close rather than their public counterparts.
6993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6994 (__get_clockfreq_via_cpuinfo): Likewise.
6995 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6996 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6997
6998 * config.h.in (HAVE_IFUNC): New #undef.
6999 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7000 was successful.
7001 * configure: Regenerated.
7002
7003 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7004
7005 * configure.in: Move READELF check to start of file.
7006 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7007 libc_cv_asm_gnu_indirect_function in the process.
7008 * configure: Regenerated.
7009
7010 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7011
7012 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7013 send the output to /dev/null.
7014 (libc_cv_cc_with_libunwind): Likewise.
7015 (libc_cv_as_noexecstack): Likewise.
7016 * configure: Regenerate.
7017
7018 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7019
7020 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7021
7022 * posix/globtest.sh (TMPDIR): Do not set.
7023 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7024 (testout): Likewise.
7025
7026 2012-10-24 Andreas Jaeger <aj@suse.de>
7027
7028 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7029 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7030 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7031 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7032 posix_fadvise64, posix_fallocate64.
7033
7034 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7035 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7036 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7037 Likewise.
7038 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7039 Likewise.
7040 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7041
7042 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7043 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7044 <bits/fcntl-linux.h>.
7045 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7046
7047 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7048 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7049 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7050 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7051 [__WORDSIZE != 64]: Likewise.
7052
7053 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7054
7055 * Makeconfig (run-built-tests): New variable.
7056 * Rules [$(cross-compiling) = yes]: Change condition to
7057 [$(run-built-tests) = no].
7058 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7059 to [$(run-built-tests) = yes].
7060 * elf/Makefile [$(cross-compiling) = no]: Likewise
7061 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7062 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7063 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7064 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7065 * io/Makefile [$(cross-compiling) = no]: Likewise.
7066 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7067 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7068 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7069 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7070 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7071 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7072 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7073 * string/Makefile [$(cross-compiling) = no]: Likewise.
7074
7075 * posix/Makefile ($(objpfx)globtest.out): Pass
7076 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7077 $(rtld-installed-name).
7078 * posix/globtest.sh (elf_objpfx): Remove variable.
7079 (rtld_installed_name): Likewise.
7080 (library_path): Likewise.
7081 (run_program_prefix): New variable. Use for running globtest
7082 binary.
7083
7084 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7085 Joseph Myers <joseph@codesourcery.com>
7086
7087 * Makeconfig (host-built-program-cmd): New variable.
7088 * elf/Makefile (tst-stackguard1-ARGS): Use
7089 $(host-built-program-cmd).
7090 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7091 (tst-spawn-ARGS): Likewise.
7092 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7093
7094 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7095 Jim Blandy <jimb@codesourcery.com>
7096
7097 * Makeconfig (run-via-rtld-prefix): New variable.
7098 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7099 (built-program-cmd): Likewise.
7100
7101 2012-10-22 Andreas Jaeger <aj@suse.de>
7102
7103 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7104 __O_RSYNC if it exists, otherwise to O_SYNC.
7105
7106 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7107 Joseph Myers <joseph@codesourcery.com>
7108
7109 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7110 /dev/null.
7111 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7112 from /dev/null
7113 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7114 /dev/null.
7115
7116 2012-10-22 Andreas Jaeger <aj@suse.de>
7117
7118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7119 Define always.
7120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7121
7122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7123 bits/fcntl-linux.h.
7124
7125 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7126 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7127
7128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7129 to __O_LARGEFILE.
7130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7131 to __O_LARGEFILE.
7132
7133 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7134 Joseph Myers <joseph@codesourcery.com>
7135
7136 * config.make.in (NM): New variable.
7137
7138 2012-10-21 Andreas Jaeger <aj@suse.de>
7139
7140 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7141 definitions and declarations that are provided by
7142 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7143
7144 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7145
7146 [BZ #14683]
7147 * elf/Makefile (tests-static): Add tst-leaks1-static.
7148 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7149 ($(objpfx)tst-leaks1-static): New rule.
7150 ($(objpfx)tst-leaks1-static-mem): Likewise.
7151 (tst-leaks1-static-ENV): New macro.
7152 * elf/dl-open.c (dl_open_worker): Check the main application
7153 only if SHARED is defined.
7154 * elf/tst-leaks1-static.c: New file.
7155
7156 2012-10-20 Andreas Jaeger <aj@suse.de>
7157
7158 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7159 generic values for Linux.
7160 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7161 and declarations that are provided by <bits/fcntl-linux.h> and
7162 include <bits/fcntl-linux.h>.
7163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7164 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7165
7166 2012-10-20 Roland McGrath <roland@hack.frob.com>
7167
7168 * io/fcntl.h: Move include of <bits/types.h> to the top and
7169 include it unconditionally.
7170
7171 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7172
7173 * wcsmbs/Makefile (tests-ifunc): New variable.
7174 (tests): Add $(tests-ifunc).
7175 * wcsmbs/test-wcschr-ifunc.c: New file.
7176 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7177 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7178 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7179 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7180 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7181
7182 * string/Makefile (tests-ifunc): New variable.
7183 (tests): Add $(tests-ifunc).
7184 * string/test-memccpy.c (TEST_NAME): New macro.
7185 * string/test-memchr.c (TEST_NAME): Likewise.
7186 * string/test-memcmp.c (TEST_NAME): Likewise.
7187 * string/test-memcpy.c (TEST_NAME): Likewise.
7188 * string/test-memmem.c (TEST_NAME): Likewise.
7189 * string/test-memmove.c (TEST_NAME): Likewise.
7190 * string/test-memset.c (TEST_NAME): Likewise.
7191 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7192 * string/test-stpcpy.c (TEST_NAME): Likewise.
7193 * string/test-stpncpy.c (TEST_NAME): Likewise.
7194 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7195 * string/test-strcasestr.c (TEST_NAME): Likewise.
7196 * string/test-strcat.c (TEST_NAME): Likewise.
7197 * string/test-strchr.c (TEST_NAME): Likewise.
7198 * string/test-strcmp.c(TEST_NAME): Likewise.
7199 * string/test-strcpy.c (TEST_NAME): Likewise.
7200 * string/test-strcspn.c (TEST_NAME): Likewise.
7201 * string/test-strlen.c (TEST_NAME): Likewise.
7202 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7203 * string/test-strncmp.c (TEST_NAME): Likewise.
7204 * string/test-strncpy.c (TEST_NAME): Likewise.
7205 * string/test-strnlen.c (TEST_NAME): Likewise.
7206 * string/test-strpbrk.c (TEST_NAME): Likewise.
7207 * string/test-strrchr.c (TEST_NAME): Likewise.
7208 * string/test-strspn.c (TEST_NAME): Likewise.
7209 * string/test-strstr.c (TEST_NAME): Likewise.
7210 * string/test-bcopy-ifunc.c: New file.
7211 * string/test-bzero-ifunc.c: Likewise.
7212 * string/test-memccpy-ifunc.c: Likewise.
7213 * string/test-memchr-ifunc.c: Likewise.
7214 * string/test-memcmp-ifunc.c: Likewise.
7215 * string/test-memcpy-ifunc.c: Likewise.
7216 * string/test-memmem-ifunc.c: Likewise.
7217 * string/test-memmove-ifunc.c: Likewise.
7218 * string/test-mempcpy-ifunc.c: Likewise.
7219 * string/test-memset-ifunc.c: Likewise.
7220 * string/test-rawmemchr-ifunc.c: Likewise.
7221 * string/test-stpcpy-ifunc.c: Likewise.
7222 * string/test-stpncpy-ifunc.c: Likewise.
7223 * string/test-strcasecmp-ifunc.c: Likewise.
7224 * string/test-strcasestr-ifunc.c: Likewise.
7225 * string/test-strcat-ifunc.c: Likewise.
7226 * string/test-strchr-ifunc.c: Likewise.
7227 * string/test-strchrnul-ifunc.c: Likewise.
7228 * string/test-strcmp-ifunc.c: Likewise.
7229 * string/test-strcpy-ifunc.c: Likewise.
7230 * string/test-strcspn-ifunc.c: Likewise.
7231 * string/test-strlen-ifunc.c: Likewise.
7232 * string/test-strncasecmp-ifunc.c: Likewise.
7233 * string/test-strncat-ifunc.c: Likewise.
7234 * string/test-strncmp-ifunc.c: Likewise.
7235 * string/test-strncpy-ifunc.c: Likewise.
7236 * string/test-strnlen-ifunc.c: Likewise.
7237 * string/test-strpbrk-ifunc.c: Likewise.
7238 * string/test-strrchr-ifunc.c: Likewise.
7239 * string/test-strspn-ifunc.c: Likewise.
7240 * string/test-strstr-ifunc.c: Likewise.
7241
7242 * debug/Makefile (tests-ifunc): New variable.
7243 (tests): Add $(tests-ifunc).
7244 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7245 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7246 * debug/test-stpcpy_chk-ifunc.c: New file.
7247 * debug/test-strcpy_chk-ifunc.c: Likewise.
7248
7249 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7250
7251 [BZ #13601]
7252 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7253 header is not read in.
7254
7255 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7256
7257 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7258 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7259 directly. Pass built executable to script as
7260 $(built-program-cmd).
7261 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7262 $testprogram without using LD_LIBRARY_PATH and $ldso.
7263
7264 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7265 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7266 $(rtld-installed-name).
7267 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7268 (rtld_installed_name): Likewise.
7269 (library_path): Likewise.
7270 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7271 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7272 $(run-program-prefix) to tst-tables.sh.
7273 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7274 it to run tst-table-from and tst-table-to.
7275 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7276 Pass it to tst-table.sh.
7277 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7278 $(run-program-prefix) to tst-gettext.sh.
7279 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7280 tst-translit.sh.
7281 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7282 tst-gettext2.sh.
7283 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7284 to run tst-gettext.
7285 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7286 to run tst-gettext2.
7287 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7288 to run tst-translit.
7289 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7290 $(run-program-prefix) to tst-mtrace.sh.
7291 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7292 to run tst-mtrace.
7293 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7294 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7295 $(rtld-installed-name).
7296 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7297 (rtld_installed_name): Likewise.
7298 (run_program_prefix): New variable. Use it to run wordexp-test.
7299
7300 * Makeconfig (ARCH): Remove all definitions.
7301 (machine): Likewise.
7302 [ARCH]: Remove conditional code.
7303 [!objdir]: Give error.
7304 [!objdir] (objpfx): Remove.
7305 [!objdir] (common-objpfx): Likewise.
7306 [!objdir] (common-objdir): Likewise.
7307 * configure.in (config_makefile): Remove. Hardcode Makefile in
7308 AC_CONFIG_FILES call.
7309 * configure: Regenerated.
7310
7311 [BZ #13888]
7312 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7313 or TMPDIR.
7314 (testout): Likewise.
7315
7316 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7317 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7318 $(rtld-installed-name).
7319 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7320 (rtld_installed_name): Likwise.
7321 (runit): Remove function.
7322 (run_getconf): New variable, Use it for running getconf binary.
7323
7324 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7325
7326 [BZ #14716]
7327 * string/test-memmem.c (check_result): New function.
7328 (do_one_test): Use it.
7329 (check1): New function.
7330 (test_main): Use it.
7331
7332 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7333
7334 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7335
7336 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7337
7338 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7339 (_G_LSEEK64): Likewise.
7340 (_G_MMAP64): Likewise.
7341 (_G_FSTAT64): Likewise.
7342 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7343 (_G_LSEEK64): Likewise.
7344 (_G_MMAP64): Likewise.
7345 (_G_FSTAT64): Likewise.
7346 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7347 unconditional. Call __mmap64 directly.
7348 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7349 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7350 __lseek64 directly.
7351 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7352 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7353 __mmap64 directly.
7354 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7355 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7356 __lseek64 directly.
7357 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7358 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7359 __lseek64 directly.
7360 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7361 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7362 __lseek64 directly.
7363 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7364 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7365 __fxstat64 directly.
7366 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7367 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7368 unconditional.
7369 (freopen64) [!_G_OPEN64]: Remove conditional code.
7370 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7371 unconditional.
7372 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7373 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7374 unconditional.
7375 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7376 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7377 unconditional.
7378 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7379 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7380 unconditional.
7381 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7382 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7383 unconditional.
7384 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7385 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7386 unconditional.
7387 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7388 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7389 unconditional.
7390 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7391
7392 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7393
7394 [BZ #12140]
7395 * manual/memory.texi (Malloc Tunable Parameters): Add note
7396 about free list pointers overwriting some perturb bytes.
7397 Wording suggested by Roland McGrath.
7398
7399 2012-10-17 Joseph Myers <joseph@codesourcery.com>
7400
7401 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7402 (lgamma_test): Likewise.
7403 (tgamma_test): Likewise.
7404
7405 2012-10-16 Florian Weimer <fweimer@redhat.com>
7406
7407 [BZ #14700]
7408 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7409 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7410
7411 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7412
7413 * NEWS: Mention BZ #14716.
7414 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7415 when removing AVAILABLE1_USES_J macro.
7416
7417 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7418
7419 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7420 (__bswap_64): __uint64_t for unsigned 64-bit int.
7421
7422 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7423
7424 * include/string.h (memmem): Declare libc hidden alias.
7425 * string/memmem.c (memmem): Define libc hidden alias.
7426 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7427 __read, __close instead of open, read, close.
7428
7429 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7430
7431 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7432 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7433 global and hidden.
7434 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7435 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7436 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7437 Likewise.
7438 (__rawmemchr_sse2): Likewise.
7439 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7440 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7441 (__strchr_sse2): Likewise.
7442 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7443 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7444 (__strcasecmp_sse2): Likewise.
7445 (__strncasecmp_sse2): Likewise.
7446 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7447 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7448 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7449 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7450 (__strrchr_sse2): Likewise.
7451 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7452 ifunc-impl-list.c.
7453 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7454 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7455 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7456 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7457 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7458 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7459 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7460 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7461 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7462 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7463 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7464 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7465 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7466 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7467 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7468 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7469 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7470 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7471 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7472 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7473 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7474 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7475 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7476 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7477 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7478 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7479 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7480 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7481 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7482 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7483
7484 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7485 global and hidden.
7486 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7487 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7488 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7489 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7490 Likewise.
7491 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7492 Likewise.
7493 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7494 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7495 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7496 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7497 ifunc-impl-list.c.
7498 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7499 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7500 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7501 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7502 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7503 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7504 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7505 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7506 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7507 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7508 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7509 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7510 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7511 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7512 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7513 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7514 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7515 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7516 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7517 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7518 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7519 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7520 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7521 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7522 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7523 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7524 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7525 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7526 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7527 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7528 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7529 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7530 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7531 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7532 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7533 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7534 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7535 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7536 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7537 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7538 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7539
7540 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7541 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7542 * include/ifunc-impl-list.h: New file.
7543 * misc/ifunc-impl-list.c: Likewise.
7544 * misc/Makefile (routines): Add ifunc-impl-list.
7545 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7546 * string/test-string.h: Include <ifunc-impl-list.h>.
7547 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7548 impl_array): New variables.
7549 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7550 are defined.
7551 (test_init): Call __libc_ifunc_impl_list to initialize
7552 func_list if TEST_IFUNC and TEST_NAME are defined.
7553
7554 * string/Makefile (strop-tests): Add bcopy and bzero.
7555 * string/test-bcopy.c: New file.
7556 * string/test-bzero.c: Likewise.
7557 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7558 defined.
7559 * string/test-memset.c: Support bzero test if TEST_BZERO is
7560 defined.
7561 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7562 __libc_memmove.
7563 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7564 __libc_memset.
7565 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7566 of memset.
7567
7568 2012-10-10 Joseph Myers <joseph@codesourcery.com>
7569
7570 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7571 * configure: Regenerated.
7572
7573 * Makeconfig (+link-static-before-libc): Don't include
7574 $(link-static-libc).
7575
7576 * libio/libio.h (_IO_pos_t): Remove.
7577
7578 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7579
7580 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7581 McGrath.
7582
7583 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7584
7585 * crypt/crypt-entry.c: Include fips-private.h.
7586 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7587 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7588 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7589 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7590
7591 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7592
7593 * crypt/crypt-private.h: Include stdbool.h.
7594 (_ufc_setup_salt_r): Return bool.
7595 * crypt/crypt-entry.c: Include errno.h.
7596 (__crypt_r): Return NULL with EINVAL for bad salt.
7597 * crypt/crypt_util.c (bad_for_salt): New.
7598 (_ufc_setup_salt_r): Check that salt is long enough and within
7599 the specified alphabet.
7600 * crypt/badsalttest.c: New file.
7601 * crypt/Makefile (tests): Add it.
7602 ($(objpfx)badsalttest): New.
7603
7604 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7605
7606 * NEWS: Add entry for BZ #14602.
7607
7608 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7609
7610 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7611 type-generic.
7612 * math/libm-test.inc: Update comment listing what functions and
7613 macros are tested.
7614 (isgreater_test): New function.
7615 (isgreaterequal_test): Likewise.
7616 (isless_test): Likewise.
7617 (islessequal_test): Likewise.
7618 (islessgreater_test): Likewise.
7619 (isunordered_test): Likewise.
7620 (main): Call the new functions.
7621
7622 2012-10-09 Roland McGrath <roland@hack.frob.com>
7623
7624 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7625 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7626 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7627 * sysdeps/i386/configure: Regenerated.
7628 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7629 * sysdeps/mach/configure: Regenerated.
7630 * sysdeps/mach/hurd/configure: Regenerated.
7631 * sysdeps/powerpc/configure: Regenerated.
7632 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7633 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7634 * sysdeps/s390/s390-32/configure: Regenerated.
7635 * sysdeps/s390/s390-64/configure: Regenerated.
7636 * sysdeps/sh/configure: Regenerated.
7637 * sysdeps/sparc/configure: Regenerated.
7638 * sysdeps/unix/sysv/linux/configure: Regenerated.
7639 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7640 * sysdeps/x86_64/configure: Regenerated.
7641
7642 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7643 defined. Don't check if MAP is NULL.
7644
7645 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7646
7647 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7648 (_G_stat64): Likewise.
7649 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7650 (_G_stat64): Likewise.
7651 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7652 instead of struct _G_stat64.
7653 * libio/fileops.c (mmap_remap_check): Likewise.
7654 (decide_maybe_mmap): Likewise.
7655 (_IO_new_file_seekoff): Likewise.
7656 (_IO_file_stat): Likewise.
7657 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7658 _G_off64_t.
7659 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7660 instead of struct _G_stat64.
7661 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7662
7663 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7664
7665 [BZ #14602]
7666 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7667 Replace with ...
7668 (CHECK_EOL): New macro.
7669 (two_way_short_needle): Check beginning of haystack for EOL. Use
7670 CHECK_EOL.
7671 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7672 Replace with CHECK_EOL.
7673 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7674 Replace with CHECK_EOL.
7675
7676 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7677
7678 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7679 type-generic.
7680 * math/libm-test.inc: Update comment listing what functions and
7681 macros are tested.
7682 (finite_test): New function.
7683 (isinf_test): Likewise.
7684 (isnan_test): Likewise.
7685 (fpclassify_test): Test subnormal input.
7686 (isfinite_test): Likewise.
7687 (isnormal_test): Likewise.
7688 (main): Call the new functions.
7689
7690 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7691
7692 [BZ #14660]
7693 * Makerules (%.dynsym): Force C locale when running
7694 $(OBJDUMP) --dynamic-syms.
7695
7696 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7697
7698 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7699 <stdint.h>.
7700
7701 2012-10-06 David S. Miller <davem@davemloft.net>
7702
7703 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7704 upper 32-bits of the length value in %o2 since we use branch-on-register
7705 tests which consider the entire 64-bit register.
7706
7707 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7708
7709 * string/test-strstr.c (check2): Add a test for page boundary.
7710
7711 2012-10-05 David S. Miller <davem@davemloft.net>
7712
7713 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7714 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7715 file.
7716 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7717 sysdep_routines.
7718 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7719 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7720 and bzero when HWCAP_SPARC_CRYPTO is present.
7721
7722 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7723
7724 [BZ #14602]
7725 * string/test-strstr.c (check2): New function.
7726 (test_main): Call check2.
7727
7728 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7729 and bug-strchr1.
7730 * string/bug-strcasestr1.c (do_test): Moved to ...
7731 * string/test-strcasestr.c (check1): Here. New function.
7732 (do_one_test): Break out result checking code into ...
7733 (check_result): This. New function.
7734 (do_one_test): Call check_result.
7735 (test_main): Call check1.
7736 * string/bug-strchr1.c (do_test): Moved to ...
7737 * string/test-strchr.c (check1): Here. New function.
7738 (do_one_test): Break out result checking code into ...
7739 (check_result): This. New function.
7740 (do_one_test): Call check_result.
7741 (test_main): Call check1.
7742 * string/bug-strstr1.c (main): Moved to ...
7743 * string/test-strstr.c (check1): Here. New function.
7744 (do_one_test): Break out result checking code into ...
7745 (check_result): This. New function.
7746 (do_one_test): Call check_result.
7747 (test_main): Call check1.
7748 * string/bug-strcasestr1.c: Removed.
7749 * string/bug-strchr1.c: Likewise.
7750 * string/bug-strstr1.c: Likewise.
7751
7752 * elf/Makefile (dl-routines): Add hwcaps.
7753 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7754 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7755 (_dl_important_hwcaps): Moved to ...
7756 * elf/dl-hwcaps.c: Here. New file.
7757 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7758
7759 [BZ #14557]
7760 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7761 if IS_IN_rtld isn't defined.
7762
7763 * elf/dl-support.c (_dl_sysinfo_map): New.
7764 Include "get-dynamic-info.h" and "setup-vdso.h".
7765 (_dl_non_dynamic_init): Call setup_vdso.
7766 * elf/dynamic-link.h: Don't include <assert.h>.
7767 (elf_get_dynamic_info): Moved to ...
7768 * elf/get-dynamic-info.h: Here. New file.
7769 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7770 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7771 * elf/setup-vdso.h: Here. New file.
7772 * elf/rtld.c: Include "setup-vdso.h".
7773 (dl_main): Call setup_vdso.
7774
7775 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7776
7777 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7778 creal in comment listing functions tested. List finite, isinf,
7779 isnan, isless, islessequal, isgreater, isgreaterequal,
7780 islessgreater, isunordered, lgamma_r and pow10 as functions and
7781 macros not tested. Mention which functions not tested are aliases
7782 for other functions. Fix typo. Note that signs of NaNs are not
7783 tested.
7784
7785 * scripts/config.guess: Update from config.git.
7786 * scripts/config.sub: Likewise.
7787
7788 2012-10-04 Roland McGrath <roland@hack.frob.com>
7789
7790 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7791 * misc/madvise.c (madvise): Renamed to __madvise.
7792 Make madvise a weak alias.
7793 * include/sys/mman.h: Declare __madvise.
7794 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7795 * sysdeps/unix/syscalls.list
7796 (madvise): Make __madvise the strong name, and madvise a weak alias.
7797 * sysdeps/unix/sysv/linux/syscalls.list
7798 (madvise, mmap): Remove redundant entries.
7799 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7800 * malloc/malloc.c (mtrim): Likewise.
7801 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7802
7803 2012-10-03 Roland McGrath <roland@hack.frob.com>
7804
7805 * sysdeps/mach/hurd/dl-cache.c: File removed.
7806 * config.h.in (USE_LDCONFIG): New #undef.
7807 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7808 * configure: Regenerated.
7809 * elf/Makefile (dl-routines): Add dl-cache only under
7810 [$(use-ldconfig) = yes].
7811 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7812 cache on [USE_LDCONFIG].
7813 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7814 [USE_LDCONFIG].
7815 * elf/rtld.c (dl_main): Likewise.
7816
7817 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7818
7819 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7820 _SC_LEVEL4_CACHE_LINESIZE.
7821
7822 2012-10-03 Roland McGrath <roland@hack.frob.com>
7823
7824 * sysdeps/unix/bsd/confstr.h: File removed.
7825
7826 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7827
7828 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7829 sys/sdt-config.h.
7830
7831 2012-10-02 Roland McGrath <roland@hack.frob.com>
7832
7833 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7834 Make 'mapoff' field ElfW(Off) rather than off_t.
7835
7836 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7837
7838 * nscd/Makefile: Remove nscd-cflags and all its users.
7839 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7840 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7841
7842 [BZ #10631]
7843 * malloc.c (malloc_printerr): Clarify error message.
7844
7845 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7846
7847 [BZ #14648]
7848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7849 Set bit_FMA_Usable if FMA is supported.
7850 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7851 macro.
7852 (bit_FMA4_Usable): Updated.
7853 (index_FMA_Usable): New macro.
7854 (CPUID_FMA): Likewise
7855 (HAS_FMA): Defined with bit_FMA_Usable.
7856
7857 2012-10-01 Roland McGrath <roland@hack.frob.com>
7858
7859 * bits/types.h (__swblk_t): Type removed.
7860 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7861 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7862 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7863 (__SWBLK_T_TYPE): Likewise.
7864 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7865 (__SWBLK_T_TYPE): Likewise.
7866 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7867 (__SWBLK_T_TYPE): Likewise.
7868 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7869 (__SWBLK_T_TYPE): Likewise.
7870
7871 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7872 Honza Horak <hhorak@redhat.com>
7873
7874 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7875 (xdr_mapname): Use YPMAXMAP as maxsize.
7876 (xdr_peername): Use YPMAXPEER as maxsize.
7877 (xdr_keydat): Use YPAXRECORD as maxsize.
7878 (xdr_valdat): Use YPMAXRECORD as maxsize.
7879
7880 2012-10-01 Roland McGrath <roland@hack.frob.com>
7881
7882 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7883
7884 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7885 * csu/init-first.c: ... here.
7886 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7887 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7888 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7889 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7890 * sysdeps/i386/init-first.c: File removed.
7891 * sysdeps/sh/init-first.c: File removed.
7892
7893 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7894
7895 [BZ #14645]
7896 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7897 if x * y might underflow to zero and z is zero.
7898 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7899 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7900 * math/libm-test.inc (min_subnorm_value): New variable.
7901 (fma_test): Add more tests.
7902 (fma_test_towardzero): Likewise.
7903 (fma_test_downward): Likewise
7904 (fma_test_upward): Likewise.
7905 (initialize): Set min_subnorm_value.
7906
7907 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7908
7909 [BZ #14638]
7910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7911 0 + 0.
7912 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7913 mode for addition resulting in exact zero.
7914 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7915 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7916 exact 0 + 0.
7917 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7918 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7919 * math/libm-test.inc (fma_test): Add more tests.
7920 (fma_test_towardzero): New function.
7921 (fma_test_downward): Likewise.
7922 (fma_test_upward): Likewise.
7923 (main): Call the new functions.
7924
7925 2012-09-28 David S. Miller <davem@davemloft.net>
7926
7927 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7928
7929 2012-09-28 Roland McGrath <roland@hack.frob.com>
7930
7931 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7932 instead of SIGALRM.
7933
7934 * sysdeps/gnu/_G_config.h: Moved to ...
7935 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7936 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7937 * sysdeps/generic/_G_config.h: ... here.
7938
7939 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7940
7941 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7942
7943 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7944 Conditionalize target on [libnss_test1.so-version].
7945
7946 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7947
7948 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7949 (elfobjdir): Move out of conditionals.
7950
7951 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7952 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7953 (__nss_lookup_function): Conditionalize label remove_from_tree on
7954 [!DO_STATIC_NSS || SHARED], matching its only use.
7955
7956 2012-09-28 David S. Miller <davem@davemloft.net>
7957
7958 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7959 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7960 file.
7961 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7962 sysdep_routines.
7963 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7965 when HWCAP_SPARC_CRYPTO is present.
7966
7967 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7968
7969 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7970
7971 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7972
7973 [BZ #6530]
7974 * stdio-common/vfprintf.c (process_string_arg): Revert
7975 2000-07-22 change.
7976
7977 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7978
7979 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7980 for testcase.
7981 * stdio-common/tst-sprintf.c: Include <locale.h>
7982 (main): Test sprintf's handling of incomplete multibyte
7983 characters.
7984
7985 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7986
7987 * elf/dl-runtime.c (VERSYMIDX): Removed.
7988 * elf/dl-version.c (VERSYMIDX): Likewise.
7989 * elf/do-rel.h (VERSYMIDX): Likewise.
7990 (VALIDX): Likewise.
7991 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7992 * elf/rtld.c (VALIDX): Likewise.
7993 (ADDRIDX): Likewise.
7994 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7995 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7996 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7997 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7998 (VALIDX): Likewise.
7999 (ADDRIDX): Likewise.
8000
8001 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8002
8003 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8004
8005 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8006
8007 [BZ #11438]
8008 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8009 to global scope.
8010 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8011 addresses are in the same scope as 192.0.2/24.
8012 * posix/gai.conf: Document new scope table defaults.
8013
8014 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8015
8016 [BZ #5298]
8017 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8018 for ftell. Compute offsets from write pointers instead.
8019 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8020
8021 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8022
8023 [BZ #14543]
8024 * libio/Makefile (tests): New test case tst-fseek.
8025 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8026 combination works in wide mode.
8027 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8028 state when the external buffer state changes.
8029
8030 2012-09-27 David S. Miller <davem@davemloft.net>
8031
8032 [BZ #14376]
8033 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8034 pass reloc->r_addend in as the 'high' argument to
8035 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8036
8037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8038
8039 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8040
8041 * rt/tst-aio2.c: Include <pthread.h>.
8042 * rt/tst-aio3.c: Likewise.
8043
8044 2012-09-27 Steve Ellcey <sellcey@mips.com>
8045
8046 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8047
8048 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8049
8050 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8051 contents on [SHARED].
8052
8053 2012-09-26 Marek Polacek <polacek@redhat.com>
8054
8055 [BZ #14530]
8056 [BZ #13741]
8057 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8058 for C++ and GCC <4.3 as well as for non GCC compilers.
8059
8060 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8061
8062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8063
8064 2012-09-25 Roland McGrath <roland@hack.frob.com>
8065
8066 * Makefile.in (all, install): Declare with .PHONY.
8067 Reported by Michael Hope <michael.hope@linaro.org>.
8068
8069 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8070
8071 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8072 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8073 system header.
8074 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8075 Likewise.
8076 (sydep_routines): Add the new and the internal functions.
8077 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8078 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8080 (GLIBC_2.17): Add the new function.
8081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8082 (GLIBC_2.17): Likewise.
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8084 (GLIBC_2.17): Likewise.
8085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8086 (GLIBC_2.17): Likewise.
8087 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8088
8089 2012-09-25 Alan Modra <amodra@gmail.com>
8090
8091 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8092 Add release barrier before setting once_control to say
8093 initialisation is done. Add hints on lwarx. Use macro in
8094 place of isync.
8095 (clear_once_control): Add release barrier.
8096
8097 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8098
8099 [BZ #13629]
8100 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8101 specially.
8102 * math/s_clog10.c (__clog10): Likewise.
8103 * math/s_clog10f.c (__clog10f): Likewise.
8104 * math/s_clog10l.c (__clog10l): Likewise.
8105 * math/s_clogf.c (__clogf): Likewise.
8106 * math/s_clogl.c (__clogl): Likewise.
8107 * math/Makefile (libm-calls): Add x2y2m1.
8108 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8109 (__x2y2m1): Likewise.
8110 (__x2y2m1l): Likewise.
8111 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8112 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8113 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8114 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8115 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8116 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8117 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8118 * sysdeps/i386/fpu/libm-test-ulps: Update.
8119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8120
8121 [BZ #14621]
8122 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8123 int as type of variable DEPTH.
8124 (glob): Use size_t instead of int as type of variables NEWCOUNT
8125 and OLD_PATHC.
8126
8127 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8128
8129 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8130 Add s_sincosf-sse2.
8131 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8132 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8133 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8134 macros for using routine as __sincosf_ia32.
8135 Use macro for function declaration and weak_alias.
8136 * sysdeps/i386/fpu/libm-test-ulps: Update.
8137
8138 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8140
8141 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8142 subnormal argument.
8143 * math/s_cexpf.c (__cexpf): Likewise.
8144 * math/s_csinf.c (__csinf): Likewise.
8145 * math/s_csinhf.c (__csinhf): Likewise.
8146 * math/s_ctanf.c (__ctanf): Likewise.
8147 * math/s_ctanhf.c (__ctanhf): Likewise.
8148 * math/s_ccosh.c (__ccoshf): Likewise.
8149 * math/s_cexp.c (__cexpl): Likewise.
8150 * math/s_csin.c (__csin): Likewise.
8151 * math/s_csinh.c (__csinh): Likewise.
8152 * math/s_ctan.c (__ctan): Likewise.
8153 * math/s_ctanh.c (ctanh): Likewise.
8154 * math/s_ccoshl.c (__ccoshl): Likewise.
8155 * math/s_cexpl.c (__cexpl): Likewise.
8156 * math/s_csinl.c (__csinl): Likewise.
8157 * math/s_csinhl.c (__csinhl): Likewise.
8158 * math/s_ctanl.c (__ctanl): Likewise.
8159 * math/s_ctanhl.c (__ctanhl): Likewise.
8160
8161 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8162
8163 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8164 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8165 (_IO_off_t): Define to __off_t, not _G_off_t.
8166 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8167 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8168 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8169 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8170 type of __dummy and __dummy2 fields.
8171 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8172 (_G_ssize_t): Likewise.
8173 (_G_off_t): Likewise.
8174 (_G_pid_t): Likewise.
8175 (_G_uid_t): Likewise.
8176 (_G_wchar_t): Likewise.
8177 (_G_wint_t): Likewise.
8178 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8179 (_G_ssize_t): Likewise.
8180 (_G_off_t): Likewise.
8181 (_G_pid_t): Likewise.
8182 (_G_uid_t): Likewise.
8183 (_G_wchar_t): Likewise.
8184 (_G_wint_t): Likewise.
8185 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8186 (_G_ssize_t): Likewise.
8187 (_G_off_t): Likewise.
8188 (_G_pid_t): Likewise.
8189 (_G_uid_t): Likewise.
8190 (_G_wchar_t): Likewise.
8191 (_G_wint_t): Likewise.
8192
8193 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8194
8195 * malloc/arena.c: Include malloc-sysdep.h.
8196 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8197 is sufficient to shrink the heap or an unmap is needed.
8198 * sysdeps/generic/malloc-sysdep.h: New file. Define
8199 new function check_may_shrink_heap.
8200 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8201 new function check_may_shrink_heap.
8202
8203 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8204
8205 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8206 comments.
8207
8208 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8209
8210 * catgets/test-gencat.sh: Add "set -e".
8211 * elf/tst-pathopt.sh: Likewise.
8212 * grp/tst_fgetgrent.sh: Likewise.
8213 * iconvdata/run-iconv-test.sh: Likewise.
8214 * intl/tst-gettext.sh: Likewise.
8215 * intl/tst-gettext2.sh: Likewise.
8216 * intl/tst-gettext4.sh: Likewise.
8217 * intl/tst-gettext6.sh: Likewise.
8218 * intl/tst-translit.sh: Likewise.
8219 * io/ftwtest-sh: Likewise.
8220 * libio/test-freopen.sh: Likewise.
8221 * malloc/tst-mtrace.sh: Likewise.
8222 * posix/globtest.sh: Likewise.
8223 * posix/tst-getconf.sh: Likewise.
8224 * posix/wordexp-tst.sh: Likewise.
8225 * stdio-common/tst-printf.sh: Likewise.
8226 * stdio-common/tst-unbputc.sh: Likewise.
8227 * stdlib/tst-fmtmsg.sh: Likewise.
8228 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8229 * catgets/Makefile: Do not specify -e option when running
8230 testsuite shell scripts.
8231 * elf/Makefile: Likewise.
8232 * grp/Makefile: Likewise.
8233 * iconvdata/Makefile: Likewise.
8234 * intl/Makefile: Likewise.
8235 * io/Makefile: Likewise.
8236 * libio/Makefile: Likewise.
8237 * malloc/Makefile: Likewise.
8238 * posix/Makefile: Likewise.
8239 * stdio-common/Makefile: Likewise.
8240 * stdlib/Makefile: Likewise.
8241 * sysdeps/x86_64/Makefile: Likewise.
8242
8243 * io/ftwtest-sh: Add copyright header.
8244 * posix/globtest.sh: Likewise.
8245 * posix/tst-getconf.sh: Likewise.
8246 * posix/wordexp-tst.sh: Likewise.
8247 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8248
8249 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8250
8251 [BZ #13679]
8252 * Makeconfig (+link): Defined as $(+link-static) if
8253 $(build-shared) isn't yes.
8254 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8255 isn't yes.
8256 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8257
8258 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8259
8260 [BZ #14562]
8261 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8262 new chunk size with MALLOC_ALIGN_MASK.
8263
8264 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8265
8266 [BZ #5044]
8267 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8268 <rounding-mode.h>.
8269 (__printf_fphex): Determine rounding using get_rounding_mode and
8270 round_away.
8271 * stdio-common/tst-printf-round.c (struct hex_test): New
8272 structure.
8273 (hex_tests): New variable.
8274 (test_hex_in_one_mode): New function.
8275 (do_test): Also run tests for hex float output.
8276
8277 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8278
8279 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8280 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8281 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8282 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8283 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8284 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8285 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8286 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8287
8288 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8289
8290 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8291 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8292 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8293 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8294
8295 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8296
8297 [BZ #14579]
8298 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8299 mode only.
8300 * elf/tst-rtld-load-self.sh: New test.
8301 * elf/Makefile: Run it.
8302
8303 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8304
8305 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8306 (tst-writev-ENV): Remove.
8307 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8308
8309 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8310
8311 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8312
8313 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8314
8315 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8316 unconditional.
8317 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8318 Likewise.
8319 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8320 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8321 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8322 Likewise.
8323
8324 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8325
8326 [BZ #14587]
8327 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8328 * config.make.in (have-cpp-asm-debuginfo): Removed.
8329 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8330 * configure: Regenerated.
8331
8332 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8333
8334 [BZ #5044]
8335 * stdio-common/printf_fp.c: Include <stdbool.h> and
8336 <rounding-mode.h>.
8337 (___printf_fp): Determine rounding using get_rounding_mode and
8338 round_away.
8339 * stdio-common/tst-printf-round.c: New file.
8340 * stdio-common/Makefile (tests): Add tst-printf-round.
8341 (link-libm): New variable.
8342 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8343
8344 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8345
8346 [BZ #14576]
8347 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8348 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8349 Likewise.
8350 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8351 Likewise.
8352
8353 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8354
8355 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8356 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8357 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8358 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8359
8360 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8361
8362 [BZ #14518]
8363 * include/rounding-mode.h: New file.
8364 * sysdeps/generic/get-rounding-mode.h: Likewise.
8365 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8366 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8367 (MAX_VALUE): New macro.
8368 (MIN_VALUE): Likewise.
8369 (overflow_value): New function.
8370 (underflow_value): Likewise.
8371 (round_and_return): Use overflow_value and underflow_value to
8372 determine return values in overflow and underflow cases. Use
8373 round_away to determine rounding depending on rounding mode.
8374 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8375 determine return values in overflow and underflow cases.
8376 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8377 (struct test_results): New structure.
8378 (struct test): Use struct test_results to store expected results
8379 for all rounding modes.
8380 (TEST): Include expected results for all rounding modes.
8381 (test_in_one_mode): New function.
8382 (do_test): Use test_in_one_mode to compute and check results.
8383 Check results for all rounding modes.
8384 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8385 $(link-libm).
8386
8387 2012-12-09 Allan McRae <allan@archlinux.org>
8388
8389 * sysdeps/i386/fpu/libm-test-ulps: Update
8390
8391 2012-09-11 Joseph Myers <joseph@codesourcery.com>
8392
8393 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8394 (_G_int32_t): Likewise.
8395 (_G_uint16_t): Likewise.
8396 (_G_uint32_t): Likewise.
8397 (_G_HAVE_BOOL): Likewise.
8398 (_G_HAVE_ATEXIT): Likewise.
8399 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8400 (_G_HAVE_IO_FILE_OPEN): Likewise.
8401 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8402 (_G_int32_t): Likewise.
8403 (_G_uint16_t): Likewise.
8404 (_G_uint32_t): Likewise.
8405 (_G_HAVE_BOOL): Likewise.
8406 (_G_HAVE_ATEXIT): Likewise.
8407 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8408 (_G_HAVE_IO_FILE_OPEN): Likewise.
8409 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8410 (_G_int32_t): Likewise.
8411 (_G_uint16_t): Likewise.
8412 (_G_uint32_t): Likewise.
8413 (_G_HAVE_BOOL): Likewise.
8414 (_G_HAVE_ATEXIT): Likewise.
8415 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8416 (_G_HAVE_IO_FILE_OPEN): Likewise.
8417
8418 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8419
8420 * csu/libc-tls.c: Update copyright years.
8421
8422 2012-09-10 Joseph Myers <joseph@codesourcery.com>
8423
8424 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8425 [!_G_USING_THUNKS]: Remove conditional code.
8426 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8427 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8428
8429 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8430 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8431 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8432 (_G_VTABLE_LABEL_PREFIX): Likewise.
8433 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8434 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8435 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8436 (_G_VTABLE_LABEL_PREFIX): Likewise.
8437 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8438 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8439 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8440 (_G_VTABLE_LABEL_PREFIX): Likewise.
8441 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8442
8443 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8444
8445 * libio/Makefile: Include ../Makeconfig before tests.
8446 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8447 only if $(build-shared) is yes.
8448
8449 * iconv/gconv_db.c: Update copyright years.
8450
8451 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8452
8453 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8454 unwind info if defined PIC. Fix special cases description.
8455 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8456
8457 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8458 DP_HI_MASK entry.
8459 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8460
8461 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8462
8463 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8464
8465 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8466 is NULL.
8467
8468 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8469 (LDLIBS-tst-chk4): This.
8470 (LDFLAGS-tst-chk5): Renamed to ...
8471 (LDLIBS-tst-chk5): This.
8472 (LDFLAGS-tst-chk6): Renamed to ...
8473 (LDLIBS-tst-chk6): This.
8474 (LDFLAGS-tst-lfschk4): Renamed to ...
8475 (LDLIBS-tst-lfschk4): This.
8476 (LDFLAGS-tst-lfschk5): Renamed to ...
8477 (LDLIBS-tst-lfschk5): This.
8478 (LDFLAGS-tst-lfschk6): Renamed to ...
8479 (LDLIBS-tst-lfschk6): This.
8480
8481 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8482 on $(common-objpfx)soversions.mk.
8483
8484 2012-09-07 Joseph Myers <joseph@codesourcery.com>
8485
8486 [BZ #10014]
8487 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8488 example host name.
8489
8490 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8491
8492 * malloc/arena.c (arena_get_retry): New function that gets
8493 another arena for the caller to try its request on.
8494 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8495 current arena cannot fulfill the request.
8496 (__libc_memalign): Likewise.
8497 (__libc_memalign): Likewise.
8498 (__libc_pvalloc): Likewise.
8499 (__libc_calloc): Likewise.
8500
8501 2012-09-05 John Tobey <john.tobey@gmail.com>
8502
8503 [BZ #13542]
8504 * manual/arith.texi (Operations on Complex): Fix description
8505 of carg branch cut.
8506
8507 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8508
8509 [BZ #10014]
8510 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8511 host name.
8512
8513 [BZ #10038]
8514 * manual/memory.texi (Memory): Make order of menu items match
8515 order of sections.
8516
8517 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8518
8519 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8520 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8521 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8522
8523 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8524
8525 * csu/libc-tls.c (static_dtv): Renamed to ...
8526 (_dl_static_dtv): This. Make it global.
8527 (_dl_initial_dtv): Removed.
8528 (__libc_setup_tls): Updated.
8529 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8530 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8531 DL_INITIAL_DTV.
8532
8533 2012-09-06 Petr Machata <pmachata@redhat.com>
8534
8535 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8536 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8537 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8538 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8539
8540 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8541
8542 [BZ #14545]
8543 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8544 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8545 freeing dtv[-1].
8546
8547 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8548
8549 [BZ #14544]
8550 * Makeconfig (link-static-before-libc): Replace $(+prector)
8551 with $(+prectorT).
8552 (link-static-after-libc): Replace $(+postctor) with
8553 $(+postctorT).
8554 (link-bounded): Replace $(+prector)/$(+postctor) with
8555 $(+prectorT)/$(+postctorT).
8556 (+prectorT): New macro.
8557 (+postctorT): Likewise.
8558
8559 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8560
8561 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8562 (round_str): Handle values above the maximum for IBM long double
8563 as inexact.
8564 * stdlib/tst-strtod-round.c (tests): Regenerated.
8565
8566 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8567
8568 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8569 assembler flag.
8570 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8571 zarch_nohighgprs around the zarch optimized routines.
8572 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8573 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8574 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8575 for zarch.
8576
8577 2012-09-05 David S. Miller <davem@davemloft.net>
8578
8579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8580
8581 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8582 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8583 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8584 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8585 entries.
8586
8587 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8588
8589 * malloc/arena.c: Fold copyright years.
8590 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8591
8592 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8593
8594 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8595
8596 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8597
8598 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8599
8600 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8601
8602 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8603 change internal state upon failure.
8604
8605 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8606
8607 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8608 * malloc/memusage.c (mmap): Likewise.
8609 (mmap64, mremap): Likewise. Adjust name in comment.
8610
8611 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8612
8613 * libio/fileops.c: Fix typos in comments.
8614 * libio/oldfileops.c: Likewise.
8615 * libio/wfileops.c: Likewise.
8616
8617 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8618
8619 [BZ #1349]
8620 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8621 (tst-malloc-usable-ENV): Set environment for test case.
8622 * malloc/hooks.c (malloc_check_get_size): New function to get
8623 requested size.
8624 * malloc/malloc.c (musable): Use malloc_check_get_size.
8625 * malloc/tst-malloc-usable.c: New test case.
8626
8627 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8628
8629 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8630
8631 2012-09-05 Allan McRae <allan@archlinux.org>
8632
8633 [BZ #13966]
8634 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8635 determine header location.
8636 * configure: Regenerated.
8637
8638 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8639
8640 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8641 float format.
8642 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8643 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8644 format.
8645 (test): Regenerate.
8646
8647 2012-09-04 David S. Miller <davem@davemloft.net>
8648
8649 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8650 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8651 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8652
8653 2012-09-04 Florian Weimer <fweimer@redhat.com>
8654
8655 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8656 failures.
8657
8658 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8659
8660 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8661
8662 [BZ #9914]
8663 * libio/iogetdelim.c: Include <limits.h>.
8664 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8665 + len + 1 would overflow.
8666
8667 2012-09-03 Andreas Jaeger <aj@suse.de>
8668
8669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8670 * sysdeps/i386/fpu/libm-test-ulps: Update.
8671
8672 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8673
8674 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8675 Add s_sinf-sse2, s_conf-sse2.
8676
8677 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8678 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8679 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8680 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8681
8682 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8683 for using routine as __sinf_ia32.
8684 Use macro for function declaration and weak_alias.
8685 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8686 for using routine as __cosf_ia32.
8687 Use macro for function declaration and weak_alias.
8688
8689 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8690 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8691
8692 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8693 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8695
8696 * math/libm-test.inc (cos_test): Add more test cases.
8697 (sin_test): Likewise.
8698 (sincos_test): Likewise.
8699
8700 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8701
8702 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8703 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8704 hidden.
8705 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8706
8707 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8708
8709 [BZ #14538]
8710 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8711 first element of the GOT.
8712 (elf_machine_load_address): Return the difference between
8713 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8714
8715 2012-09-01 Allan McRae <allan@archlinux.org>
8716
8717 [BZ #13412]
8718 * configure.in (AWK): Require gawk version 3.0 or later.
8719 * configure: Regenerated.
8720
8721 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8722
8723 * sysdeps/unix/sysv/linux/kernel-features.h
8724 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8725 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8726 [__NR_clock_getres]: Make code unconditional.
8727 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8728 (clock_getcpuclockid): Remove code left unreachable by removal of
8729 conditionals.
8730 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8731 code unconditional.
8732 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8733 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8734 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8735 Make code unconditional.
8736 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8737 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8738 * sysdeps/unix/sysv/linux/clock_settime.c
8739 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8740 conditional code.
8741 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8742 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8743
8744 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8745
8746 [BZ #14476]
8747 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8748 scripts/test-installation.pl.
8749
8750 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8751 and $ld_so_version if it is set.
8752
8753 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8754
8755 [BZ #14516]
8756 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8757 failure if reading from procfs failed.
8758 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8759
8760 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8761
8762 * sysdeps/unix/sysv/linux/kernel-features.h
8763 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8764 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8765 Remove conditional code.
8766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8767 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8768 Remove conditional code.
8769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8770 * sysdeps/unix/sysv/linux/i386/fxstat.c
8771 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8773 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8774 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8776 * sysdeps/unix/sysv/linux/i386/lxstat.c
8777 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8778 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8779 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8780 Remove conditional code.
8781 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8782 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8783 Remove conditional code.
8784 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8785 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8786 <kernel-features.h>.
8787 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8788 Remove.
8789 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8790 Remove conditional code.
8791 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8792 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8793 Remove conditional.
8794
8795 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8796
8797 [BZ #5400]
8798 * NEWS: Add fixed bug number.
8799
8800 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8801
8802 [BZ #14519]
8803 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8804 underflowing exponent in case of negative sign.
8805 * stdlib/tst-strtod-round-data: Add more tests.
8806 * stdlib/tst-strtod-round.c (tests): Regenerated.
8807
8808 [BZ #3479]
8809 * stdlib/strtod_l.c (NDIG): Remove.
8810 (HEXNDIG): Likewise.
8811 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8812 smallest representable value.
8813 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8814 lie within an exact representation of 1/2 ulp of the result.
8815 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8816 unconditionally.
8817 (TENS_P9_IDX): Define unconditionally.
8818 (TENS_P9_SIZE): Likewise.
8819 (TENS_P10_IDX): Likewise.
8820 (TENS_P10_SIZE): Likewise.
8821 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8822 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8823 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8824 entries for 10^2^13 and 10^2^14.
8825 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8826 (TENS_P13_IDX): Define.
8827 (TENS_P13_SIZE): Likewise.
8828 (TENS_P14_IDX): Likewise.
8829 (TENS_P14_SIZE): Likewise.
8830 (_fpioconst_pow10): Change array size to
8831 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8832 unconditional.
8833 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8834 1024]: Add entries for 10^2^13 and 10^2^14.
8835 [LAST_POW10 > _LAST_POW10]: Remove #error.
8836 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8837 (_fpioconst_pow10): Change array size to
8838 FPIOCONST_POW10_ARRAY_SIZE.
8839 * stdlib/gen-fpioconst.c: New file.
8840 * stdlib/gen-tst-strtod-round.c: Likewise.
8841 * stdlib/tst-strtod-round-data: Likewise.
8842 * stdlib/tst-strtod-round.c: Likewise.
8843 * stdlib/Makefile (tests): Add tst-strtod-round.
8844
8845 [BZ #14459]
8846 * stdlib/strtod_l.c: Include <stdint.h>.
8847 (NDEBUG): Do not define.
8848 (round_and_return): Change EXPONENT parameter to type intmax_t.
8849 Rearrange calculations to avoid internal overflow possibilities.
8850 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8851 Rearrange calculations to avoid internal overflow possibilities.
8852 Assert that number fits inside MPNSIZE limbs.
8853 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8854 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8855 calculations and add assertions to avoid internal overflow
8856 possibilities. Add casts to avoid signed/unsigned operations.
8857 * stdlib/tst-strtod-overflow.c: New file.
8858 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8859
8860 2012-08-25 Marek Polacek <polacek@redhat.com>
8861
8862 * time/time.h: Fix some typos in comments.
8863
8864 2012-08-23 Roland McGrath <roland@hack.frob.com>
8865
8866 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8867 * posix/tst-rfc3484-2.c: Likewise.
8868 * posix/tst-rfc3484-3.c: Likewise.
8869
8870 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8871
8872 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8873 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8874
8875 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8876
8877 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8878 #include of fxstatat64.c.
8879
8880 2012-08-22 Roland McGrath <roland@hack.frob.com>
8881
8882 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8883 * shadow/getspent_r.c: Likewise.
8884 * shadow/getspnam.c: Likewise.
8885 * shadow/getspnam_r.c: Likewise.
8886 * gshadow/getsgent.c: Likewise.
8887 * gshadow/getsgent_r.c: Likewise.
8888 * gshadow/getsgnam.c: Likewise.
8889 * gshadow/getsgnam_r.c: Likewise.
8890 * inet/getnetbyad.c: Likewise.
8891 * inet/getnetbyad_r.c: Likewise.
8892 * inet/getnetbynm.c: Likewise.
8893 * inet/getnetbynm_r.c: Likewise.
8894 * inet/getnetent.c: Likewise.
8895 * inet/getnetent_r.c: Likewise.
8896 * inet/getproto.c: Likewise.
8897 * inet/getproto_r.c: Likewise.
8898 * inet/getprtent.c: Likewise.
8899 * inet/getprtent_r.c: Likewise.
8900 * inet/getprtname.c: Likewise.
8901 * inet/getprtname_r.c: Likewise.
8902 * inet/getrpcbyname.c: Likewise.
8903 * inet/getrpcbyname_r.c: Likewise.
8904 * inet/getrpcbynumber.c: Likewise.
8905 * inet/getrpcbynumber_r.c: Likewise.
8906 * inet/getrpcent.c: Likewise.
8907 * inet/getrpcent_r.c: Likewise.
8908 * inet/getaliasent.c: Likewise.
8909 * inet/getaliasent_r.c: Likewise.
8910 * inet/getaliasname.c: Likewise.
8911 * inet/getaliasname_r.c: Likewise.
8912 * nscd/getgrgid_r.c: Likewise.
8913 * nscd/getgrnam_r.c: Likewise.
8914 * nscd/gethstbyad_r.c: Likewise.
8915 * nscd/gethstbynm3_r.c: Likewise.
8916 * nscd/getpwnam_r.c: Likewise.
8917 * nscd/getpwuid_r.c: Likewise.
8918 * nscd/getsrvbynm_r.c: Likewise.
8919 * nscd/getsrvbypt_r.c: Likewise.
8920 * nscd/gai.c: Likewise.
8921
8922 * configure.in (build_nscd): New substituted variable, set
8923 by --disable-build-nscd and defaults to $use_nscd.
8924 * configure: Regenerated.
8925 * config.make.in (build-nscd): New substituted variable.
8926 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8927 Change conditional to require [$(build-nscd) = yes] as well.
8928 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8929
8930 [BZ# 13696]
8931 * configure.in (use_nscd): New substituted variable, set by
8932 --disable-nscd. If enabled, define USE_NSCD.
8933 * configure: Regenerated.
8934 * config.h.in: Add USE_NSCD.
8935 * config.make.in (use-nscd): New substituted variable.
8936 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8937 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8938 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8939 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8940 (CFLAGS-getgrnam_r.c): Likewise.
8941 (CFLAGS-initgroups.c): Likewise.
8942 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8943 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8944 Variables removed.
8945 * inet/getnetgrent_r.c
8946 (nscd_setnetgrent): New function, broken out of ...
8947 (setnetgrent): ... here. Call it.
8948 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8949 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8950 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8951 * nscd/Makefile (routines, aux): Move definitions after include of
8952 Makeconfig. Conditionalize on [$(use-nscd) != no].
8953 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8954 Conditionalize on [USE_NSCD].
8955 (is_nscd, nscd_init_cb): Likewise.
8956 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8957 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8958 * nss/nss_db/db-init.c: Likewise.
8959 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8960 [USE_NSCD].
8961 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8962 (make_request): Use it.
8963 (cache_valid_p): New function.
8964 (__check_pf): Use it.
8965 * NEWS: Add item for --disable-nscd.
8966
8967 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8968
8969 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8970 to support sed >= 4.2.1-20-ga9bf076.
8971 * configure: Regenerated.
8972
8973 2012-08-22 Roland McGrath <roland@hack.frob.com>
8974
8975 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8976 Conditionalize whole body on [IREL].
8977
8978 2012-08-22 Jeff Law <law@redhat.com>
8979
8980 [BZ #14505]
8981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8982 if the family is PF_UNSPEC.
8983
8984 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8985
8986 * Makerules (lib-version): Rename from V.
8987 (install-lib-nosubdir): Change V to lib-version.
8988
8989 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8990
8991 [BZ #14252]
8992 * powerpc32/power6/wcschr.c: New file.
8993 * powerpc32/power6/wcscpy.c: New file.
8994 * powerpc32/power6/wcsrchr.c: New file.
8995 * powerpc64/power6/wcschr.c: New file.
8996 * powerpc64/power6/wcscpy.c: New file.
8997 * powerpc64/power6/wcsrchr.c: New file.
8998
8999 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9000
9001 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9002 (two_way_short_needle): Use it.
9003 * string/strstr.c (AVAILABLE1_USES_J): Define.
9004 * string/strcasestr.c: Likewise.
9005
9006 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9007 array references.
9008 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9009
9010 [BZ #11607]
9011 * NEWS: Add an entry.
9012 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9013 define their defaults.
9014 (two_way_short_needle): Detect end-of-string on-the-fly.
9015 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9016 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9017 * string/bug-strcasestr1.c: New test.
9018 * string/Makefile: Run it.
9019
9020 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9021
9022 [BZ #11607]
9023 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9024 the first character.
9025
9026 2012-08-21 Roland McGrath <roland@hack.frob.com>
9027
9028 * csu/elf-init.c (__libc_csu_irel): Function removed.
9029 * csu/libc-start.c (apply_irel): New function.
9030 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9031
9032 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9033
9034 * sysdeps/unix/sysv/linux/kernel-features.h
9035 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9036 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9037 <kernel-features.h>.
9038 [__NR_fadvise64_64]: Make code unconditional.
9039 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9040 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9041 !__NR_fadvise64_64)]: Likewise.
9042 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9043 !__NR_fadvise64_64))]: Likewise.
9044 [__NR_fadvise64]: Make code unconditional.
9045 [!__NR_fadvise64]: Remove conditional code.
9046 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9047 <kernel-features.h>.
9048 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9049 unconditional.
9050 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9051 conditional code.
9052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9053 not include <kernel-features.h>.
9054 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9055 unconditional.
9056 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9057 conditional code.
9058 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9059 include <kernel-features.h>.
9060 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9061 unconditional.
9062 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9063 conditional code.
9064
9065 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9066
9067 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9068 slight instruction rearrangements per scrollpipe analysis.
9069 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9070
9071 2012-08-20 Roland McGrath <roland@hack.frob.com>
9072
9073 * manual/syslog.texi (syslog; vsyslog, closelog):
9074 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9075 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9076
9077 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9078 DSOCAPS to match condition on defining it.
9079
9080 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9081
9082 * sysdeps/unix/sysv/linux/kernel-features.h
9083 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9085 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9086 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9088 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9089 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9091 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9092 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9093
9094 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9095 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9096
9097 * sysdeps/unix/sysv/linux/kernel-features.h
9098 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9099 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9100 unconditional.
9101 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9102 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9103 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9104 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9105 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9106 Make code unconditional.
9107 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9108 (__mmap64) [!__NR_mmap2]: Likewise.
9109 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9110 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9111 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9112 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9113 [__NR_mmap2]: Make code unconditional.
9114 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9115 (__mmap64) [!__NR_mmap2]: Likewise.
9116
9117 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9118
9119 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9120
9121 2012-08-18 Andreas Jaeger <aj@suse.de>
9122
9123 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9124
9125 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9126
9127 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9128 * include/unistd.h (__have_sock_cloexec): Likewise.
9129 (__have_pipe2): Likewise.
9130 (__have_dup3): Likewise.
9131
9132 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9133
9134 [BZ #9685]
9135 * include/unistd.h (__have_pipe2): Change define into an extern int.
9136 (__have_dup3): Likewise.
9137 * socket/have_sock_cloexec.c: Include fcntl.h.
9138 (__have_pipe2): New variable.
9139 (__have_dup3): Likewise.
9140
9141 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9142
9143 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9144
9145 2012-08-17 Marek Polacek <polacek@redhat.com>
9146
9147 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9148 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9149
9150 2012-08-17 Roland McGrath <roland@hack.frob.com>
9151
9152 * configure.in: Add AC_SUBST for sysheaders.
9153 * configure: Regenerated.
9154 * config.make.in (sysheaders): New substituted variable.
9155
9156 * sysdeps/unix/mkfifo.c: Moved ...
9157 * sysdeps/posix/mkfifo.c: ... here.
9158 * sysdeps/unix/mkfifoat.c: Moved ...
9159 * sysdeps/posix/mkfifoat.c: ... here.
9160
9161 * sysdeps/unix/utime.c: Moved ...
9162 * sysdeps/posix/utime.c: ... here.
9163
9164 * sysdeps/unix/time.c: Moved ...
9165 * sysdeps/posix/time.c: ... here.
9166 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9167 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9168
9169 * sysdeps/unix/nice.c: Moved ...
9170 * sysdeps/posix/nice.c: ... here.
9171
9172 * sysdeps/unix/alarm.c: Moved ...
9173 * sysdeps/posix/alarm.c: ... here.
9174
9175 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9176
9177 2012-08-17 Jeff Law <law@redhat.com>
9178
9179 * intl/Makefile (codeset_mo): New variable.
9180 ($(codeset_mo)): New target.
9181 (tst-codeset.out): Depend on that. Remove explicit rule.
9182 (tst-gettext3.out, tst-gettext5.out): Likewise.
9183 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9184 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9185 * intl/tst-codeset.sh: Remove.
9186 * intl/tst-gettext3.sh: Likewise.
9187 * intl/tst-gettext5.sh: Likewise.
9188
9189 2012-08-17 Roland McGrath <roland@hack.frob.com>
9190
9191 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9192 * sysdeps/unix/syscalls.list: ... here.
9193
9194 * sysdeps/posix/getaddrinfo.c
9195 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9196 (gaiconf_init, gaiconf_reload): Use them.
9197 [!_STATBUF_ST_NSEC]
9198 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9199 Define using time_t rather than struct timespec.
9200
9201 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9202 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9203 Macros removed.
9204 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9205 [!NO_THREADS].
9206 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9207 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9208 Likewise.
9209
9210 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9211 __libc_cleanup_push argument.
9212
9213 * bits/param.h: New file.
9214 * misc/sys/param.h: New file.
9215 * include/sys/param.h: New file.
9216 * misc/Makefile (headers): Add bits/param.h.
9217 * sysdeps/generic/sys/param.h: File removed.
9218 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9219 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9220 * sysdeps/mach/hurd/bits/param.h: New file.
9221 * sysdeps/mach/hurd/sys/param.h: File removed.
9222
9223 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9224 last change.
9225
9226 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9227 [_IO_MTSAFE_IO].
9228 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9229 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9230 New macros.
9231
9232 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9233 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9234 rather than -D_IO_MTSAFE_IO conditionally.
9235 * stdio-common/Makefile (CPPFLAGS): Likewise.
9236 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9237 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9238 Use $(libio-mtsafe).
9239 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9240 of -D_IO_MTSAFE_IO.
9241 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9242 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9243 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9244 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9245 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9246 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9247 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9248 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9249 (CFLAGS-fread_u_chk.c): Likewise.
9250 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9251 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9252 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9253 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9254 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9255 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9256 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9257 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9258 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9259
9260 * libio/Makefile: Test [$(libc-reentrant) = yes]
9261 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9262
9263 * Makeconfig
9264 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9265 * sysdeps/pthread/configure: File removed.
9266 * sysdeps/pthread/Makeconfig: New file.
9267 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9268 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9269
9270 2012-08-16 Gary Benson <gbenson@redhat.com>
9271
9272 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9273 unmapping the first object in a namespace.
9274
9275 2012-08-16 Roland McGrath <roland@hack.frob.com>
9276
9277 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9278 (__internal_setnetgrent): ... this. Add internal_function to
9279 definition. Add libc_hidden_def.
9280 (setnetgrent): Update caller.
9281 (internal_endnetgrent): Renamed to ...
9282 (__internal_endnetgrent): ... this. Add internal_function to
9283 definition. Add libc_hidden_def.
9284 (endnetgrent): Update caller.
9285 (internal_getnetgrent_r): Renamed to ...
9286 (__internal_getnetgrent_r): ... this. Add internal_function to
9287 definition. Add libc_hidden_def.
9288 (__getnetgrent_r): Update caller.
9289 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9290
9291 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9292
9293 * stdlib/longlong.h: Update from GCC.
9294
9295 2012-08-16 Roland McGrath <roland@hack.frob.com>
9296
9297 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9298 on _QL, which is set by umul_ppmm but never used.
9299 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9300 variables, which are set by GMP macros but never used.
9301 * stdio-common/_itowa.c (_itowa): Likewise.
9302 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9303 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9304
9305 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9306
9307 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9308 struct La_sh_regs is not constant.
9309 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9310 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9311 and struct La_sparc64_regs are not constant.
9312
9313 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9314
9315 * sysdeps/unix/sysv/linux/kernel-features.h
9316 (__ASSUME_POSIX_TIMERS): Remove.
9317 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9318 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9319 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9320 Make code unconditional.
9321 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9322 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9323 Make code unconditional.
9324 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9325 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9326 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9327 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9328 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9329 Make code unconditional.
9330 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9331 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9332 (__libc_missing_posix_timers): Remove.
9333
9334 2012-08-15 Roland McGrath <roland@hack.frob.com>
9335
9336 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9337 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9338
9339 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9340
9341 * elf/dl-sym.c: Include <stdlib.h>.
9342
9343 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9344 constants, which avoids warnings in 32-bit builds.
9345
9346 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9347 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9348
9349 * misc/lseek.c: File moved to ...
9350 * io/lseek.c: ... here.
9351
9352 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9353
9354 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9355 shifting LEN more than 31 bits at once.
9356
9357 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9358
9359 [BZ #14195]
9360 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9361 segmentation fault for a case of two empty input strings.
9362 * string/test-strncasecmp.c (check1): Renamed to...
9363 (bz12205): ...this.
9364 (bz14195): Add new testcase for two empty input strings and N > 0.
9365 (test_main): Call new testcase, adapt for renamed function.
9366
9367 2012-08-15 Andreas Jaeger <aj@suse.de>
9368
9369 [BZ #14090]
9370 * crypt/md5test2.c: New test, based on test supplied by Serge
9371 Belyshev <belyshev@depni.sinp.msu.ru>.
9372 * crypt/Makefile (xtests): Add md5test-giant..
9373 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9374
9375 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9376
9377 [BZ #14090]
9378 * crypt/md5.c (md5_process_block): Don't assume the buffer
9379 length is less than 2**32.
9380 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9381 length is less than 2**64.
9382
9383 2012-08-15 Roland McGrath <roland@hack.frob.com>
9384
9385 * string/str-two-way.h: Include <sys/param.h>.
9386 (MAX): Macro removed.
9387
9388 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9389 Move #define and #undef of memmove to just before and after
9390 including <string.h>.
9391
9392 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9393 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9394 and after including <string.h>. Move declarations of
9395 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9396 to before #include "string/memmove.c".
9397
9398 * include/dirent.h: Declare __getdirentries.
9399
9400 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9401 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9402
9403 2012-08-14 Mike Frysinger <vapier@gentoo.org>
9404
9405 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9406 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9407 * sysdeps/i386/configure: Regenerated.
9408 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9409 STABS_CURRENT_FILE, and STABS_FUN.
9410 (END): Remove call to STABS_FUN_END.
9411 (STABS_CURRENT_FILE1): Delete.
9412 (STABS_CURRENT_FILE): Likewise.
9413 (STABS_FUN): Likewise.
9414 (STABS_FUN_END): Likewise.
9415 (STABS_FUN2): Likewise.
9416 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9417 * sysdeps/x86_64/configure: Regenerated.
9418
9419 2012-08-14 Roland McGrath <roland@hack.frob.com>
9420
9421 * elf/dl-open.c: Include <atomic.h>.
9422 * elf/dl-lookup.c: Likewise.
9423
9424 2012-08-14 Joseph Myers <joseph@codesourcery.com>
9425
9426 * sysdeps/unix/sysv/linux/kernel-features.h
9427 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9428 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9429 unconditionally.
9430 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9431 unconditionally.
9432 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9433 condition on __ASSUME_CLONE_THREAD_FLAGS.
9434
9435 2012-08-14 Andreas Jaeger <aj@suse.de>
9436
9437 * sysdeps/i386/fpu/libm-test-ulps: Update.
9438
9439 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9440
9441 * include/atomic.h (atomic_exchange_and_add): Split into ...
9442 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9443 New atomic macros.
9444
9445 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9446
9447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9448
9449 2012-08-13 Jeff Law <law@redhat.com>
9450
9451 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9452 null byte in the output string.
9453
9454 2012-08-10 Joseph Myers <joseph@codesourcery.com>
9455
9456 * sysdeps/unix/sysv/linux/kernel-features.h
9457 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9458 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9459 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9460 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9461 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9462 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9463 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9464
9465 2012-08-09 Jeff Law <law@redhat.com>
9466
9467 [BZ #13939]
9468 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9469 When avoid_arena is set, don't retry in the that arena. Pick the
9470 next one, whatever it might be.
9471 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9472 (arena_lock): Pass in new parameter to arena_get2.
9473 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9474 arena_get2.
9475 (__libc_malloc): Unify retrying after main arena failure with
9476 __libc_memalign version.
9477 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9478
9479 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9480
9481 [BZ #14166]
9482 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9483 to __redirect_strstr.
9484 (__strstr_sse42): Use typeof __redirect_strstr.
9485 (__strstr_ia32): Likewise.
9486 (__libc_strstr): New prototype.
9487 (strstr): Renamed to ...
9488 (__libc_strstr): This.
9489 (strstr): New strong alias of __libc_strstr.
9490 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9491 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9492 __redirect_time.
9493 Include <time.h>.
9494 (__libc_time): New prototype.
9495 (time_ifunc): Replace time with __libc_time.
9496 (time): New strong alias and hidden definition of __libc_time.
9497 (__GI_time): Remove strong alias.
9498 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9499 Include <stddef.h>.
9500 (memmove): Redefined to __redirect_memmove.
9501 (__memmove_sse2): Use typeof __redirect_memmove.
9502 (__memmove_ssse3): Likewise.
9503 (__memmove_ssse3_back): Likewise.
9504 (__libc_memmove): New prototype.
9505 (memmove): Renamed to ...
9506 (__libc_memmove): This.
9507 (memmove): New strong alias of __libc_memmove.
9508
9509 2012-08-08 Mark Salter <msalter@redhat.com>
9510
9511 * elf/elf.h
9512 (R_MN10300_TLS_GD): Define.
9513 (R_MN10300_TLS_LD): Likewise.
9514 (R_MN10300_TLS_LDO): Likewise.
9515 (R_MN10300_TLS_GOTIE): Likewise.
9516 (R_MN10300_TLS_IE): Likewise.
9517 (R_MN10300_TLS_LE): Likewise.
9518 (R_MN10300_TLS_DTPMOD): Likewise.
9519 (R_MN10300_TLS_DTPOFF): Likewise.
9520 (R_MN10300_TLS_TPOFF): Likewise.
9521 (R_MN10300_SYM_DIFF): Likewise.
9522 (R_MN10300_ALIGN): Likewise.
9523 (R_MN10300_NUM): Update.
9524
9525 2012-08-08 Joseph Myers <joseph@codesourcery.com>
9526
9527 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9528 Remove.
9529
9530 2012-08-08 Roland McGrath <roland@hack.frob.com>
9531
9532 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9533
9534 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9535 sysdeps/unix -> sysdeps/posix move.
9536 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9537
9538 2012-08-07 Allan McRae <allan@archlinux.org>
9539
9540 [BZ #14303]
9541 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9542 (SUNOS_CPP): Likewise.
9543 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9544 not found.
9545 (open_input): Call CPP using execvp.
9546
9547 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9548
9549 * sysdeps/unix/sysv/linux/kernel-features.h
9550 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9551 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9552 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9553 (__ASSUME_WAITID_SYSCALL): Likewise.
9554 * sysdeps/unix/sysv/linux/dl-execstack.c
9555 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9556 code unconditional.
9557 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9558 conditional code.
9559 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9560 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9561 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9562 code.
9563 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9564 unconditional.
9565 [__ASSUME_WAITID_SYSCALL]: Likewise.
9566 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9567
9568 2012-08-07 Roland McGrath <roland@hack.frob.com>
9569
9570 * sysdeps/unix/closedir.c: Renamed to ...
9571 * sysdeps/posix/closedir.c: ... here.
9572 * sysdeps/unix/dirfd.c: Renamed to ...
9573 * sysdeps/posix/dirfd.c: ... here.
9574 * sysdeps/unix/dirstream.h: Renamed to ...
9575 * sysdeps/posix/dirstream.h: ... here.
9576 * sysdeps/unix/fdopendir.c: Renamed to ...
9577 * sysdeps/posix/fdopendir.c: ... here.
9578 * sysdeps/unix/opendir.c: Renamed to ...
9579 * sysdeps/posix/opendir.c: ... here.
9580 * sysdeps/unix/readdir.c: Renamed to ...
9581 * sysdeps/posix/readdir.c: ... here.
9582 * sysdeps/unix/readdir_r.c: Renamed to ...
9583 * sysdeps/posix/readdir_r.c: ... here.
9584 * sysdeps/unix/rewinddir.c: Renamed to ...
9585 * sysdeps/posix/rewinddir.c: ... here.
9586 * sysdeps/unix/seekdir.c: Renamed to ...
9587 * sysdeps/posix/seekdir.c: ... here.
9588 * sysdeps/unix/telldir.c: Renamed to ...
9589 * sysdeps/posix/telldir.c: ... here.
9590 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9591 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9592 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9593 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9594
9595 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9596 * bits/fcntl.h: ... here.
9597
9598 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9599 not 0.
9600 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9601 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9602 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9603 (struct flock): Move l_start, l_len to the beginning.
9604 Use __pid_t for l_pid.
9605 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9606 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9607 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9608 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9609 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9610 [__USE_LARGEFILE64] (struct flock64): New type.
9611 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9612
9613 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9614 * bits/dirent.h: ... here.
9615
9616 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9617 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9618
9619 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9620
9621 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9622 Change from 2.6.0 to 2.6.16.
9623 * sysdeps/unix/sysv/linux/configure: Regenerated.
9624 * sysdeps/unix/sysv/linux/kernel-features.h
9625 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9626 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9627 version.
9628 (__ASSUME_UTIMES): Likewise.
9629 (__ASSUME_CLONE_STOPPED): Remove.
9630 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9631 architectures, not kernel version.
9632 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9633 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9634 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9635 (__ASSUME_WAITID_SYSCALL): Likewise.
9636 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9637 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9638 * README: State 2.6.16 as minimum Linux kernel version. Do not
9639 refer to older versions.
9640
9641 2012-08-06 Roland McGrath <roland@hack.frob.com>
9642
9643 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9644 Define alphasort64 as an alias.
9645 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9646 Define versionsort64 as an alias.
9647 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9648 Define scandir64 as an alias.
9649 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9650 Define scandirat64 as an alias.
9651 * dirent/alphasort64.c (alphasort64):
9652 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9653 * dirent/versionsort64.c: Likewise.
9654 * dirent/scandir64.c: Likewise.
9655 * dirent/scandirat64.c: Likewise.
9656 * sysdeps/wordsize-64/alphasort.c: File removed.
9657 * sysdeps/wordsize-64/alphasort64.c: File removed.
9658 * sysdeps/wordsize-64/scandir.c: File removed.
9659 * sysdeps/wordsize-64/scandir64.c: File removed.
9660 * sysdeps/wordsize-64/scandirat.c: File removed.
9661 * sysdeps/wordsize-64/scandirat64.c: File removed.
9662 * sysdeps/wordsize-64/versionsort.c: File removed.
9663 * sysdeps/wordsize-64/versionsort64.c: File removed.
9664 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9665 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9666 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9667 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9668 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9669 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9670 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9671 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9672
9673 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9674 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9675 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9676 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9677 [defined __arch64__ || defined __sparcv9]
9678 (__INO_T_MATCHES_INO64_T): New macro.
9679 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9680 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9681 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9682 * sysdeps/unix/sysv/linux/bits/dirent.h
9683 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9684 (_DIRENT_MATCHES_DIRENT64): New macro.
9685
9686 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9687 Define lockf64 as an alias.
9688 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9689 Define fseeko64 as an alias.
9690 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9691 Define ftello64 as an alias.
9692 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9693 Define _IO_fgetpos64 and fgetpos64 as aliases.
9694 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9695 Define _IO_fsetpos64 and fsetpos64 as aliases.
9696 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9697 Conditionalize body on this.
9698 * libio/fseeko64.c: Likewise.
9699 * libio/ftello64.c: Likewise.
9700 * libio/iofgetpos64.c: Likewise.
9701 * libio/iofsetpos64.c: Likewise.
9702 * sysdeps/wordsize-64/lockf.c: File removed.
9703 * sysdeps/wordsize-64/lockf64.c: File removed.
9704 * sysdeps/wordsize-64/fseeko.c: File removed.
9705 * sysdeps/wordsize-64/fseeko64.c: File removed.
9706 * sysdeps/wordsize-64/ftello.c: File removed.
9707 * sysdeps/wordsize-64/ftello64.c: File removed.
9708 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9709 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9710 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9711 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9712 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9713 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9714 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9715 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9716 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9717 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9718 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9719 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9720 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9721 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9722
9723 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9725 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9727 [defined __arch64__ || defined __sparcv9]
9728 (__OFF_T_MATCHES_OFF64_T): New macro.
9729 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9730 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9731 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9732 (__OFF_T_MATCHES_OFF64_T): New macro.
9733
9734 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9735
9736 * stdlib/secure-getenv.c (__secure_getenv): Replace
9737 GLIBC_2_16 with GLIBC_2_17.
9738
9739 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9740
9741 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9742 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9743
9744 2012-08-03 David S. Miller <davem@davemloft.net>
9745
9746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9747
9748 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9749
9750 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9751 Remove.
9752 (__ASSUME_CORRECT_SI_PID): Likewise.
9753 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9754 (__ASSUME_TMPFS_NAME): Likewise.
9755 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9756 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9757 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9758 (HAVE_AUX_SECURE): Make definition unconditional.
9759 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9760 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9761
9762 2012-08-03 Roland McGrath <roland@hack.frob.com>
9763
9764 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9765 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9766 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9767 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9768 __eloop_threshold instead of SYMLOOP_MAX.
9769
9770 * sysdeps/generic/eloop-threshold.h: New file.
9771 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9772 of MAXSYMLINKS.
9773 * elf/chroot_canon.c (chroot_canon): Likewise.
9774
9775 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9776
9777 [BZ #13717]
9778 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9779 Change to 2.6.0 everywhere.
9780 * sysdeps/unix/sysv/linux/configure: Regenerated.
9781 * sysdeps/unix/sysv/linux/kernel-features.h
9782 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9783 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9784 kernel versions.
9785 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9786 (__ASSUME_FUTEX_REQUEUE): Remove.
9787 (__ASSUME_STATFS64): Define unconditionally.
9788 (__ASSUME_AT_SECURE): Likewise.
9789 (__ASSUME_CORRECT_SI_PID): Likewise.
9790 (__ASSUME_TGKILL): Define without depending on kernel version for
9791 i386.
9792 (__ASSUME_UTIMES): Likewise.
9793 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9794 kernel version.
9795 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9796 (__ASSUME_TMPFS_NAME): Likewise.
9797 * README: Update reference to Linux kernel versions.
9798
9799 2012-08-02 Marek Polacek <polacek@redhat.com>
9800
9801 [BZ# 14150]
9802 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9803 libc_cv_asm_type_prefix with %.
9804 * configure: Regenerated.
9805 * include/libc-symbols.h: Remove comment about
9806 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9807 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9808 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9809 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9810 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9811 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9812 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9813 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9814 * elf/tst-unique2mod1.c: Likewise.
9815 * elf/tst-unique1mod2.c: Likewise.
9816 * elf/tst-unique1mod1.c: Likewise.
9817 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9818 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9819 Replace ASM_TYPE_DIRECTIVE with .type.
9820 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9821 * sysdeps/i386/sysdep.h: Likewise.
9822 * sysdeps/x86_64/sysdep.h: Likewise.
9823 * sysdeps/sh/sysdep.h: Likewise.
9824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9825 Do not define ASM_TYPE_DIRECTIVE.
9826 * sysdeps/powerpc/sysdep.h: Likewise.
9827 * sysdeps/powerpc/powerpc32/sysdep.h:
9828 Replace ASM_TYPE_DIRECTIVE with .type.
9829 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9830 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9831 * sysdeps/i386/fpu/e_powf.S: Likewise.
9832 * sysdeps/i386/fpu/e_expl.S: Likewise.
9833 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9834 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9835 * sysdeps/i386/fpu/e_pow.S: Likewise.
9836 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9837 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9838 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9839 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9840 * sysdeps/i386/fpu/e_log2.S: Likewise.
9841 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9842 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9843 * sysdeps/i386/fpu/e_powl.S: Likewise.
9844 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9845 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9846 * sysdeps/i386/fpu/e_logl.S: Likewise.
9847 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9848 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9849 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9850 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9851 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9852 * sysdeps/i386/fpu/e_log.S: Likewise.
9853 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9854 * sysdeps/i386/fpu/e_logf.S: Likewise.
9855 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9856 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9857 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9858 * sysdeps/i386/fpu/e_log10.S: Likewise.
9859 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9860 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9861 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9862 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9863 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9864 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9865 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9866 * sysdeps/i386/i686/strtok.S: Likewise.
9867 * sysdeps/i386/i386-mcount.S: Likewise.
9868 * sysdeps/i386/strtok.S: Likewise.
9869 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9870 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9871 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9872 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9873 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9874 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9875 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9876 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9877 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9878 * sysdeps/x86_64/_mcount.S: Likewise.
9879 * sysdeps/x86_64/strtok.S: Likewise.
9880 * sysdeps/sh/_mcount.S: Likewise.
9881
9882 2012-08-01 Roland McGrath <roland@hack.frob.com>
9883
9884 * libio/iofopen.c: Include <fcntl.h>.
9885 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9886 (_IO_fopen64, fopen64): Define as aliases.
9887 * libio/iofopen64.c: Include <fcntl.h>.
9888 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9889 Conditionalize body on this.
9890 * sysdeps/wordsize-64/iofopen.c: File removed.
9891 * sysdeps/wordsize-64/iofopen64.c: File removed.
9892
9893 2012-08-01 Marek Polacek <polacek@redhat.com>
9894
9895 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9896 Use dlfcn directly instead of a variable.
9897 (binfmt-subdir): Do not define.
9898 (dlfcn): Likewise.
9899
9900 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9901
9902 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9903 Remove all definitions.
9904 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9905 <kernel-features.h>.
9906 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9907 (miss_F_GETOWN_EX): Remove all definitions.
9908 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9909 macro definition.
9910 [!__ASSUME_FCNTL64]: Remove conditional code.
9911 [__ASSUME_FCNTL64]: Make code unconditional.
9912 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9913 <kernel-features.h>.
9914 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9915 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9916 (lockf64) [__NR_fcntl64]: Make code unconditional.
9917 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9918
9919 * sysdeps/unix/sysv/linux/kernel-features.h
9920 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9921 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9922 Make code unconditional.
9923 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9924 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9926 [__NR_vfork]: Make code unconditional.
9927 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9928 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9930 [__NR_vfork]: Make code unconditional.
9931 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9932 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9933
9934 2012-08-01 Roland McGrath <roland@hack.frob.com>
9935
9936 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9937 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9938
9939 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9940 Define mkstemp64 as an alias.
9941 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9942 Define mkstemps64 as an alias.
9943 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9944 Define mkostemp64 as an alias.
9945 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9946 Define mkostemps64 as an alias.
9947 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9948 Conditionalize body on this.
9949 * misc/mkostemp64.c: Likewise.
9950 * misc/mkostemps64.c: Likewise.
9951 * misc/mkstemps64.c: Likewise.
9952 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9953 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9954 * sysdeps/wordsize-64/mkostemp.c: File removed.
9955 * sysdeps/wordsize-64/mkstemp.c: File removed.
9956 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9957 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9958 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9959 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9960
9961 [BZ #14138]
9962 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9963 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9964 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9965 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9966
9967 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9968 compat_symbol macros from <shlib-compat.h> rather than the underlying
9969 default_symbol_version and symbol_version macros, so that DEFAULT
9970 lines in shlib-versions are respected.
9971 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9972
9973 2012-08-01 Florian Weimer <fweimer@redhat.com>
9974
9975 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9976 Declare with warn_unused_result.
9977 (setgid, setregid, setegid, setresgid): Likewise.
9978 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9979 Likewise.
9980 * WUR-REPORT: Remove set*id functions.
9981
9982 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9983
9984 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9985
9986 2012-07-31 Roland McGrath <roland@hack.frob.com>
9987
9988 * include/sys/socket.h (__libc_accept, __libc_accept4):
9989 Add attribute_hidden.
9990 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9991
9992 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9993 use of PTR_MANGLE.
9994 * inet/getnetgrent_r.c (setup): Likewise.
9995
9996 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9997
9998 2012-07-31 David S. Miller <davem@davemloft.net>
9999
10000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10001
10002 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10003
10004 [BZ #13629]
10005 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10006 value between 1.0 and 2.0 and smaller part has absolute value less
10007 than 1.0.
10008 * math/s_clog10.c (__clog10): Likewise.
10009 * math/s_clog10f.c (__clog10f): Likewise.
10010 * math/s_clog10l.c (__clog10l): Likewise.
10011 * math/s_clogf.c (__clogf): Likewise.
10012 * math/s_clogl.c (__clogl): Likewise.
10013 * math/libm-test.inc (clog_test): Add more tests.
10014 (clog10_test): Likewise.
10015 * sysdeps/i386/fpu/libm-test-ulps: Update.
10016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10017
10018 2012-07-31 Florian Weimer <fweimer@redhat.com>
10019
10020 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10021 Exit with zero in case no suitable GID is found, and write a
10022 message to standard error.
10023
10024 2012-07-30 Roland McGrath <roland@hack.frob.com>
10025
10026 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10027 rather than to 1.
10028 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10029 (MAXPATHLEN): Removed.
10030 (NOGROUP, NODEV): New macros.
10031 (setbit, clrbit, isset, isclr): New macros.
10032 (howmany, roundup, powerof2): New macros.
10033 (DEV_BSIZE): New macro.
10034
10035 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10036 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10037
10038 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10039 definition on [!__NO_LONG_DOUBLE_MATH].
10040
10041 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10042 PTR_MANGLE and PTR_DEMANGLE.
10043
10044 * socket/accept4.c (accept4): Rename to __libc_accept4.
10045 Define accept4 as a weak alias.
10046
10047 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10048 on [_DIRENT_HAVE_D_TYPE].
10049 * io/ftw.c (ftw_dir): Likewise.
10050
10051 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10052
10053 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10054
10055 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10056 Use the BSD numbers rather than the arbitrary ones we had.
10057 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10058 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10059 (SIGXCPU, SIGXFSZ): New macros.
10060 (_NSIG): Now 32.
10061
10062 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10063 initializer on [_LIBC_REENTRANT].
10064
10065 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10066 definitions inside [_POSIX_MAPPED_FILES].
10067
10068 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10069
10070 * dirent/opendir.c: Include <fcntl.h>.
10071
10072 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10073 (__libc_getspecific): Likewise.
10074 (__libc_key_create): Likewise.
10075
10076 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10077 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10078 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10079 (tmpfile64): Define as alias.
10080 * sysdeps/wordsize-64/tmpfile.c: File removed.
10081 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10082 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10083 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10084
10085 * stdio-common/vfscanf.c: Include <stdbool.h>.
10086 * nss/makedb.c: Likewise.
10087 * stdio-common/_i18n_number.h: Likewise.
10088 * argp/argp-help.c: Likewise.
10089 * posix/wordexp.c: Likewise.
10090 * sysdeps/posix/spawni.c: Likewise.
10091 * nss/nss_files/files-initgroups.c: Likewise.
10092 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10093 * nss/nss_files/files-initgroups.c: Likewise.
10094 * nss/nss_db/db-netgrp.c: Likewise.
10095 * nss/nss_db/db-initgroups.c: Likewise.
10096 * io/fchmodat.c: Include <sys/stat.h>.
10097
10098 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10099 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10100
10101 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10102 [HAVE_MMAP].
10103
10104 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10105 Add multiple inclusion protection.
10106
10107 2012-07-27 David S. Miller <davem@davemloft.net>
10108
10109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10110
10111 2012-07-27 Gary Benson <gbenson@redhat.com>
10112
10113 [BZ #14298]
10114 * elf/rtld.c: Include <stap-probe.h>.
10115 (dl_main): Added static probes "init_start" and "init_complete".
10116 * elf/dl-load.c: Include <stap-probe.h>.
10117 (lose): Take new parameter "nsid".
10118 Added static probe "map_failed".
10119 (_dl_map_object_from_fd): Pass namespace id to lose.
10120 Added static probe "map_start".
10121 (open_verify): Pass namespace id to lose.
10122 * elf/dl-open.c: Include <stap-probe.h>.
10123 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10124 and "reloc_complete".
10125 * elf/dl-close.c: Include <stap-probe.h>.
10126 (_dl_close_worker): Added static probes "unmap_start" and
10127 "unmap_complete".
10128 * elf/rtld-debugger-interface.txt: New file documenting the above.
10129
10130 2012-07-26 Roland McGrath <roland@hack.frob.com>
10131
10132 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10133 rather than a string variable.
10134 * sunrpc/rpc_main.c (h_output): Likewise.
10135 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10136
10137 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10138
10139 * inet/check_native.c: New file.
10140
10141 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10142
10143 [BZ #13629]
10144 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10145 if larger part has absolute value 1.0.
10146 * math/s_clog10.c (__clog10): Likewise.
10147 * math/s_clog10f.c (__clog10f): Likewise.
10148 * math/s_clog10l.c (__clog10l): Likewise.
10149 * math/s_clogf.c (__clogf): Likewise.
10150 * math/s_clogl.c (__clogl): Likewise.
10151 * math/libm-test.inc (clog_test): Add more tests.
10152 (clog10_test): Likewise.
10153 * sysdeps/i386/fpu/libm-test-ulps: Update.
10154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10155
10156 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10157 (pltexit): Likewise.
10158 (La_regs): Likewise.
10159 (La_retval): Likewise.
10160 (int_retval): Likewise.
10161 Update #error for removed macros to refer only to definitions in
10162 tst-audit.h.
10163 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10164 macro.
10165 (pltexit): Likewise.
10166 (La_regs): Likewise.
10167 (La_retval): Likewise.
10168 (int_retval): Likewise.
10169 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10170 macro.
10171 (pltexit): Likewise.
10172 (La_regs): Likewise.
10173 (La_retval): Likewise.
10174 (int_retval): Likewise.
10175 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10176 macro.
10177 (pltexit): Likewise.
10178 (La_regs): Likewise.
10179 (La_retval): Likewise.
10180 (int_retval): Likewise.
10181 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10182 macro.
10183 (pltexit): Likewise.
10184 (La_regs): Likewise.
10185 (La_retval): Likewise.
10186 (int_retval): Likewise.
10187 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10188 macro.
10189 (pltexit): Likewise.
10190 (La_regs): Likewise.
10191 (La_retval): Likewise.
10192 (int_retval): Likewise.
10193 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10194 macro.
10195 (pltexit): Likewise.
10196 (La_regs): Likewise.
10197 (La_retval): Likewise.
10198 (int_retval): Likewise.
10199 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10200 macro definitions in tst-audit.h.
10201 * sysdeps/i386/tst-audit.h: New file.
10202 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10203 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10204 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10205 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10206 * sysdeps/sh/tst-audit.h: Likewise.
10207 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10208 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10209 * sysdeps/x86_64/tst-audit.h: Likewise.
10210
10211 2012-07-26 Andreas Jaeger <aj@suse.de>
10212
10213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10214 ptrace.
10215
10216 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10217 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10218 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10219 PTRACE_O_MASK.
10220 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10221 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10222 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10223
10224 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10225 value.
10226
10227 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10228 _sigsys.
10229 (si_call_addr, si_syscall, si_arch): Define new macro.
10230 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10231 _sigsys.
10232 (si_call_addr, si_syscall, si_arch): Define new marcro.
10233 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10234 _sigsys.
10235 (si_call_addr, si_syscall, si_arch): Define new macro.
10236 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10237 _sigsys.
10238 (si_call_addr, si_syscall, si_arch): Define new macro.
10239
10240 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10241
10242 [BZ #13717]
10243 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10244 Change to 2.4.21 where previously 2.4.1.
10245 * sysdeps/unix/sysv/linux/configure: Regenerated.
10246 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10247 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10248 Linux kernel version.
10249 (__ASSUME_STD_AUXV): Remove.
10250 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10251 kernel version.
10252 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10253 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10254 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10255 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10256 (__ASSUME_NETLINK_SUPPORT): Likewise.
10257 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10258 (__no_netlink_support): Remove conditional definition.
10259 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10260 Remove.
10261 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10262 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10263 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10264 (if_nameindex_ioctl): Remove.
10265 (if_nameindex_netlink): Do not handle __no_netlink_support.
10266 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10267 code.
10268 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10269 Remove conditional code.
10270 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10271 code.
10272 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10273 unconditional.
10274 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10275 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10276 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10277 Remove.
10278 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10279 [!__ASSUME_STD_AUXV]: Remove conditional code.
10280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10281 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10282 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10284 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10285 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10286 code.
10287 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10289 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10290 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10291 conditional code.
10292 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10294 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10295 code.
10296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10297 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10298 conditional code.
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10300 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10301 code unconditional.
10302 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10303 conditional code.
10304 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10305 unconditional.
10306 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10307 conditional code.
10308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10309 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10310 unconditional.
10311 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10312 conditional code.
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10314 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10315 code unconditional.
10316 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10317 conditional code.
10318 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10319 unconditional.
10320 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10321 conditional code.
10322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10323 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10324 code unconditional.
10325 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10326 conditional code.
10327 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10328 unconditional.
10329 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10330 conditional code.
10331
10332 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10333
10334 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10335 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10336 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10337 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10338 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10339 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10340 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10341 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10342 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10343 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10344 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10345 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10346 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10347 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10348 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10349 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10350 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10351 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10352 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10354 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10355 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10356 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10357
10358 2012-07-25 Florian Weimer <fweimer@redhat.com>
10359
10360 * Versions.def: Add GLIBC_2.17.
10361 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10362 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10363 Introduce __libc_secure_getenv.
10364 * stdlib/Versions (2.17): Add secure_getenv
10365 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10366 * stdlib/secure-getenv.c: Rename __secure_getenv to
10367 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10368 symbol __secure_getenv for GLIBC_2.0.
10369 * stdlib/tst-secure-getenv.c: New.
10370 * stdlib/Makefile (tests): Add testcase.
10371 * manual/startup.texi (Environment Access): Document
10372 secure_getenv.
10373 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10374 __libc_secure_getenv.
10375 * inet/ruserpass.c (ruserpass): Likewise.
10376 * malloc/mtrace.c (mtrace): Likewise.
10377 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10378 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10379 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10380 * sysdeps/posix/tempname.c: Likewise. Evaluate
10381 HAVE_SECURE_GETENV.
10382 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10383 __secure_getenv to __libc_secure_getenv.
10384 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10386 Likewise.
10387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10388 Likewise.
10389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10391 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10396
10397 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10398
10399 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10400 (struct La_i86_retval): Likewise.
10401 (struct La_x86_64_regs): Likewise.
10402 (struct La_x86_64_retval): Likewise.
10403 (struct La_x32_regs): Likewise.
10404 (struct La_x32_retval): Likewise.
10405 (struct La_ppc32_regs): Likewise.
10406 (struct La_ppc32_retval): Likewise.
10407 (struct La_ppc64_regs): Likewise.
10408 (struct La_ppc64_retval): Likewise.
10409 (struct La_sh_regs): Likewise.
10410 (struct La_sh_retval): Likewise.
10411 (struct La_s390_32_regs): Likewise.
10412 (struct La_s390_32_retval): Likewise.
10413 (struct La_s390_64_regs): Likewise.
10414 (struct La_s390_64_retval): Likewise.
10415 (struct La_sparc32_regs): Likewise.
10416 (struct La_sparc32_retval): Likewise.
10417 (struct La_sparc64_regs): Likewise.
10418 (struct La_sparc64_retval): Likewise.
10419 (struct audit_ifaces): Remove architecture-specific pltenter and
10420 pltexit members.
10421 * sysdeps/i386/ldsodefs.h: New file.
10422 * sysdeps/powerpc/ldsodefs.h: Likewise.
10423 * sysdeps/s390/ldsodefs.h: Likewise.
10424 * sysdeps/sh/ldsodefs.h: Likewise.
10425 * sysdeps/sparc/ldsodefs.h: Likewise.
10426 * sysdeps/x86_64/ldsodefs.h: Likewise.
10427
10428 2012-07-25 Marek Polacek <polacek@redhat.com>
10429
10430 [BZ #6808]
10431 * math/libm-test.inc (yn_test): Add another test.
10432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10433 to ERANGE when the result is +-Inf.
10434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10435 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10436 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10437 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10438
10439 2012-07-24 Joseph Myers <joseph@codesourcery.com>
10440
10441 * conform/data/time.h-data (NULL): Use macro-constant. Require
10442 equal to 0.
10443 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10444 clock_t.
10445 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10446
10447 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10448
10449 * configure.in <sysdeps resolving>: Correct printing
10450 Implies_before.
10451 * configure: Regenerate.
10452
10453 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10454
10455 * math/w_ilogb.c: Include <limits.h>.
10456 * math/w_ilogbl.c: Likewise.
10457
10458 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10459
10460 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10461 va_copy. Document allowing for unavailable va_copy only as
10462 pre-C99 compatibility.
10463 * manual/string.texi (Copying and Concatenation): Use va_copy
10464 instead of __va_copy in concat example.
10465
10466 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10467
10468 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10469 (__sendto): Use create_address_port. Initialize APORT and deallocate
10470 it if not null.
10471
10472 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10473 with O_NOLINK passed to __file_name_lookup.
10474
10475 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10476 with O_NOLINK passed to __file_name_lookup.
10477
10478 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10479 negative N or less than NGIDS.
10480
10481 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10482 type to string_t. Set ERANGE as errno and return it if NAME is not big
10483 enough. Use memcpy instead of strncpy.
10484
10485 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10486
10487 * elf/Makefile (check-data): Remove.
10488 (localplt.data): New vpath directive.
10489 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10490 instead of $(check-data).
10491 * scripts/data/localplt-generic.data: Move to ...
10492 * sysdeps/generic/localplt.data: ... here.
10493 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10494 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10495 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10497 ... here.
10498 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10500 ... here.
10501 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10503 ... here.
10504 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10506 ... here.
10507 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10509 ... here.
10510 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10512 ... here.
10513
10514 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10515
10516 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10517 PPC32 and PPC64 files.
10518 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10519 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10520
10521 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10522
10523 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10524 __makecontext_ret to ...
10525 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10526 ... here and call exit if uc_link is NULL. New file.
10527 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10528 __makecontext_ret.S.
10529 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10530 __makecontext_ret to ...
10531 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10532 ... here and call exit if uc_link is NULL. New file.
10533 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10534 __makecontext_ret.S.
10535
10536 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10537
10538 * elf/elf.h (R_390_IRELATIVE): New definition.
10539 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10540 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10541 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10542 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10543 (elf_machine_lazy_rel): Likewise.
10544 * sysdeps/s390/dl-irel.h: New file.
10545 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10546 * sysdeps/s390/s390-64/memset.S: New asm code.
10547 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10548 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10549 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10550 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10551 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10552 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10553 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10554 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10555 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10556 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10557 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10558 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10559 * sysdeps/s390/s390-32/memset.S: New asm code.
10560 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10561
10562 2012-07-17 Marek Polacek <polacek@redhat.com>
10563
10564 [BZ #14349]
10565 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10566 * sysdeps/s390/s390-64/configure.in: Likewise.
10567 * sysdeps/sparc/configure.in: Likewise.
10568 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10569 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10570 * sysdeps/i386/configure.in: Likewise.
10571 * sysdeps/x86_64/configure.in: Likewise.
10572 * sysdeps/sh/configure.in: Likewise.
10573 * sysdeps/s390/s390-32/configure: Regenerated.
10574 * sysdeps/s390/s390-64/configure: Likewise.
10575 * sysdeps/x86_64/configure: Likewise.
10576 * sysdeps/sh/configure: Likewise.
10577 * sysdeps/powerpc/powerpc64/configure: Likewise.
10578 * sysdeps/powerpc/powerpc32/configure: Likewise.
10579 * sysdeps/sparc/configure: Likwise.
10580 * sysdeps/i386/configure: Likewise.
10581
10582 * elf/dl-open.c: Comment fixes.
10583
10584 2012-07-17 Joseph Myers <joseph@codesourcery.com>
10585
10586 * Makefile [CXX] (check-data): Remove.
10587 [CXX] (c++-types.data): New vpath directive.
10588 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10589 vpath. Do not allow for C++ type data being missing.
10590 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10591 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10592 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10593 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10594 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10595 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10596 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10598 ... here.
10599 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10601 ... here.
10602 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10604 ... here.
10605 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10607 ... here.
10608 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10610 ... here.
10611 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10613 ... here.
10614 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10616 ... here.
10617 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10619
10620 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10621 definitions to architecture-specific files.
10622 (TLS_IE): Likewise.
10623 (TLS_LD): Likewise.
10624 (TLS_GD): Likewise.
10625 * sysdeps/i386/tls-macros.h: New file.
10626 * sysdeps/powerpc/tls-macros.h: Likewise.
10627 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10628 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10629 * sysdeps/sh/tls-macros.h: Likewise.
10630 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10631 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10632 * sysdeps/x86_64/tls-macros.h: Likewise.
10633
10634 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10635
10636 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10637 zero value for regular exit case.
10638
10639 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10640 (__start_context): Preserve zero value for regular exit case.
10641
10642 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10643 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10644
10645 * manual/setjmp.texi (setcontext): Clarify normal process
10646 termination when uc_link is the null pointer.
10647 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10648 exit call.
10649
10650 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10651
10652 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10653 preprocessor. Test for each exception mask separately.
10654
10655 2012-07-16 Andreas Jaeger <aj@suse.de>
10656
10657 * po/ru.po: Update from translation team.
10658
10659 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10660
10661 * conform/data/string.h-data (NULL): Use macro-constant. Require
10662 equal to 0.
10663 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10664 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10665 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10666 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10667 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10668
10669 2012-07-13 Andreas Jaeger <aj@suse.de>
10670
10671 * po/fr.po: Update from translation team.
10672
10673 2012-07-12 Marek Polacek <polacek@redhat.com>
10674
10675 [BZ #14173]
10676 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10677 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10678 loop condition.
10679
10680 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10681
10682 [BZ #13717]
10683 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10684 Change to 2.4.1 where previously 2.4.0.
10685 * sysdeps/unix/sysv/linux/configure: Regenerated.
10686 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10687 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10688 version.
10689 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10690 (__ASSUME_AT_CLKTCK): Remove.
10691 (__ASSUME_AT_PAGESIZE): Likewise.
10692 (__ASSUME_AT_XID): Likewise.
10693 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10694 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10695 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10696 unconditionally.
10697 (HAVE_AUX_PAGESIZE): Likewise.
10698 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10699 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10700 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10701
10702 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10703
10704 [BZ #14307]
10705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10706 the temporary buffer used to invoke __gethostbyname2_r,
10707 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10708 host_data / struct gaih_addrtuple.
10709 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10710 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10711 header file nss/nsswitch.h.
10712 * nss/nsswitch.h (global scope): Add definition of implementation
10713 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10714 resolv/nss_dns/dns-host.c).
10715
10716 2012-07-11 Andreas Jaeger <aj@suse.de>
10717
10718 * po/fr.po: Update from translation team.
10719
10720 * po/sv.po: Update from translation team
10721 * po/fr.po: Another update from translation team.
10722
10723 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10724
10725 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10726 for subnormals or multiply small sinh result by itself.
10727 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10729
10730 2012-07-11 David S. Miller <davem@davemloft.net>
10731
10732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10733
10734 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10735
10736 [BZ #14347]
10737 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10738 (INTERNAL_MARK): Shift it here.
10739
10740 2012-07-10 Marek Polacek <polacek@redhat.com>
10741
10742 [BZ #14151]
10743 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10744 libc_cv_asm_global_directive with .globl.
10745 * configure: Regenerated.
10746 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10747 with .globl.
10748 * sysdeps/i386/configure: Regenerated.
10749 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10750 with .globl.
10751 * sysdeps/x86_64/configure: Regenerated.
10752 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10753 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10754 * elf/tst-unique2mod2.c: Likewise.
10755 * elf/tst-unique2mod1.c: Likewise.
10756 * elf/tst-unique1mod2.c: Likewise.
10757 * elf/tst-unique1mod1.c: Likewise.
10758 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10759 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10761 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10762 * sysdeps/mach/sysdep.h: Likewise.
10763 * sysdeps/i386/sysdep.h: Likewise.
10764 * sysdeps/i386/i386-mcount.S: Likewise.
10765 * sysdeps/x86_64/_mcount.S: Likewise.
10766 * sysdeps/x86_64/sysdep.h: Likewise.
10767 * sysdeps/sh/_mcount.S: Likewise.
10768 * sysdeps/sh/sysdep.h: Likewise.
10769 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10770 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10771 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10772 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10773 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10774 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10775 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10776 * locale/localeinfo.h: Likewise.
10777 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10778 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10779
10780 2012-07-09 Roland McGrath <roland@hack.frob.com>
10781
10782 [BZ #14336]
10783 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10784 system".
10785 * manual/message.texi (The Uniforum approach): Likewise.
10786 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10787 (glibc iconv Implementation): Likewise.
10788
10789 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10790
10791 [BZ #14337]
10792 * math/s_clog.c (__clog): Avoid scaling a value down where that
10793 could result in underflow.
10794 * math/s_clog10.c (__clog10): Likewise.
10795 * math/s_clog10f.c (__clog10f): Likewise.
10796 * math/s_clog10l.c (__clog10l): Likewise.
10797 * math/s_clogf.c (__clogf): Likewise.
10798 * math/s_clogl.c (__clogl): Likewise.
10799 * math/libm-test.inc (clog_test): Add more tests.
10800 (clog10_test): Likewise.
10801 * sysdeps/i386/fpu/libm-test-ulps: Update.
10802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10803
10804 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10805
10806 [BZ #14283]
10807 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10808 by 7 not 8 to examine high bit of fractional part.
10809
10810 [BZ #14042]
10811 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10812 for call to __mcount_internal.
10813 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10814 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10815 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10816
10817 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10818
10819 [BZ #14154]
10820 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10821 approximation for values within 0x1p-13f of an odd multiple of
10822 pi/4.
10823 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10824 exception. Add more tests.
10825 * sysdeps/i386/fpu/libm-test-ulps: Update.
10826
10827 [BZ #6778]
10828 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10829 inputs and return -1 for them. Do not check for +Inf in case not
10830 reachable for +Inf.
10831 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10832 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10833 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10834 and return -1 for them. Do not check for +Inf in case not
10835 reachable for +Inf.
10836 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10837 define.
10838 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10839 and return -1 for them. Do not check for +Inf in case not
10840 reachable for +Inf.
10841 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10842 spurious underflow.
10843 * sysdeps/i386/fpu/libm-test-ulps: Update.
10844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10845
10846 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10847
10848 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10849
10850 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10851
10852 [BZ #14157]
10853 [BZ #14331]
10854 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10855 could result in spurious underflow. Scale down values above
10856 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10857 * math/s_csqrtf.c (__csqrtf): Likewise.
10858 * math/s_csqrtl.c (__csqrtl): Likewise.
10859 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10860 spurious underflow.
10861 * sysdeps/i386/fpu/libm-test-ulps: Update.
10862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10863
10864 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10865
10866 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10867 xopen-msg.sed.
10868 * catgets/xopen-msg.awk: New file.
10869 * catgets/xopen-msg.sed: Removed.
10870
10871 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10872 po2text.sed.
10873 * intl/po2test.awk: New file.
10874 * intl/po2test.sed: Removed.
10875
10876 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10877
10878 [BZ #14328]
10879 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10880 or multiply small sinh result by itself.
10881 * math/s_ctanf.c (__ctanf): Likewise.
10882 * math/s_ctanh.c (__ctanh): Likewise.
10883 * math/s_ctanhf.c (__ctanhf): Likewise.
10884 * math/s_ctanhl.c (__ctanhl): Likewise.
10885 * math/s_ctanl.c (__ctanl): Likewise.
10886 * math/libm-test.inc (ctan_test_tonearest): New function.
10887 (ctan_test_towardzero): Likewise.
10888 (ctan_test_downward): Likewise.
10889 (ctan_test_upward): Likewise.
10890 (ctanh_test_tonearest): Likewise.
10891 (ctanh_test_towardzero): Likewise.
10892 (ctanh_test_downward): Likewise.
10893 (ctanh_test_upward): Likewise.
10894 (main): Call these new functions.
10895 * sysdeps/i386/fpu/libm-test-ulps: Update.
10896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10897
10898 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10899
10900 * .gitignore: Delete /ports entry.
10901
10902 2012-07-03 Andreas Jaeger <aj@suse.de>
10903
10904 * po/bg.po: Update from translation team.
10905 * po/cs.po: Likewise.
10906 * po/de.po: Likewise.
10907 * po/hr.po: Likewise.
10908 * po/nl.pl: Likewise.
10909 * po/pl.po: Likewise.
10910 * po/vi.po: Likewise.
10911
10912 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10913
10914 * Makeconfig [!+link] (+link-before-libc): New variable.
10915 [!+link] (+link-after-libc): Likewise.
10916 [!+link] (+link-tests): Likewise.
10917 [!+link] (+link): Define in terms of $(+link-before-libc) and
10918 $(+link-after-libc).
10919 [!+link-static] (+link-static-before-libc): New variable.
10920 [!+link-static] (+link-static-after-libc): Likewise.
10921 [!+link-static] (+link-static-tests): Likewise.
10922 [!+link-static] (+link-static): Define in terms of
10923 $(+link-static-before-libc) and $(+link-static-after-libc).
10924 [build-shared] (link-libc-before-gnulib): New variable.
10925 [build-shared] (link-libc-tests): Likewise.
10926 [build-shared] (link-libc): Define in terms of
10927 $(link-libc-before-gnulib).
10928 [!build-shared] (link-libc-tests): New variable.
10929 (link-libc-static-tests): New variable.
10930 [!gnulib] (gnulib-arch): New variable.
10931 [!gnulib] (gnulib-tests): Likewise.
10932 [!gnulib] (static-gnulib-arch): Likewise.
10933 [!gnulib] (static-gnulib-tests): Likewise.
10934 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10935 Define with "=" instead of ":=".
10936 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10937 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10938 * Rules (binaries-all-notests): New variable.
10939 (binaries-all-tests): Likewise.
10940 (binaries-static-notests): Likewise.
10941 (binaries-static-tests): Likewise.
10942 (binaries-all): Define using $(binaries-all-notests) and
10943 $(binaries-all-tests).
10944 (binaries-static): Define using $(binaries-static-notests) and
10945 $(binaries-static-tests).
10946 (binaries-shared-tests): New variable.
10947 (binaries-shared-notests): Likewise.
10948 (binaries-shared): Remove variable.
10949 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10950 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10951 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10952 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10953 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10954 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10955 * elf/Makefile (sln-modules): New variable.
10956 (extra-objs): Add $(sln-modules:=.o).
10957 (ldconfig-modules): Add static-stubs.
10958 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10959 * elf/static-stubs.c: New file.
10960
10961 [BZ #14283]
10962 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10963 by 7 not 8 to examine high bit of fractional part. Use volatile
10964 variables when splitting into final array of floats if
10965 __FLT_EVAL_METHOD__ != 0.
10966 * math/libm-test.inc (cos_test): Add another test.
10967 (sin_test): Likewise.
10968 * sysdeps/i386/fpu/libm-test-ulps: Update.
10969
10970 [BZ #14273]
10971 * math/libm-test.inc (cosh_test): Add more tests.
10972
10973 * version.h (RELEASE): Set to "development".
10974 (VERSION): Set to "2.16.90".
10975
10976 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10977
10978 * NEWS: Update copyright. Remove last-updated date.
10979 Mention math library bug fixes and timezone data changes.
10980 * README: Mention GNU/Hurd, x32, and HPPA support status.
10981
10982 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10983
10984 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10985
10986 2012-06-27 Andreas Jaeger <aj@suse.de>
10987
10988 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10989
10990 2012-06-25 Andreas Jaeger <aj@suse.de>
10991
10992 * sysdeps/s390/fpu/libm-test-ulps: Update.
10993
10994 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10995 Thomas Schwinge <thomas@codesourcery.com>
10996
10997 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10998 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10999 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11000 fanotify_mark.
11001
11002 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11003
11004 * sysdeps/mach/start.c: Remove file.
11005 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11006 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11007 * sysdeps/sh/init-first.c: Likewise.
11008
11009 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11010 registers for frame unwinding purposes, add CFI directives.
11011 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11012 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11013 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11014 Likewise.
11015
11016 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11017 __fortify_fail returning.
11018 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11019
11020 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11021 sysdeps/sh/____longjmp_chk.S.
11022 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11023 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11024 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11025 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11026
11027 * sysdeps/sh/abort-instr.h: New file.
11028 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11029 process in case exit returns.
11030
11031 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11032 initialize the GOT register before use.
11033
11034 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11035 calculation of ARGC > 4.
11036
11037 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11038 meaningful names to some local labels.
11039
11040 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11041 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11042
11043 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11044 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11045 (__arch_compare_and_exchange_val_16_acq): Likewise.
11046 (__arch_compare_and_exchange_val_32_acq): Likewise.
11047 (atomic_exchange_and_add): Fix gUSA sequence.
11048 (atomic_add): Likewise.
11049 (atomic_add_negative): Likewise.
11050 (atomic_add_zero): Likewise.
11051 (atomic_bit_test_set): Likewise.
11052
11053 2012-06-22 Andreas Schwab <schwab@redhat.com>
11054
11055 [BZ #13579]
11056 * include/link.h (struct link_map): Add l_free_initfini.
11057 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11058 l_initfini.
11059 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11060 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11061 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11062 set.
11063
11064 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11065
11066 * configure.in: Use AC_LANG_SOURCE.
11067 * configure: Regenerate.
11068
11069 2012-06-22 Roland McGrath <roland@hack.frob.com>
11070
11071 * configure.in (libc_cv_localstatedir): New substituted variable.
11072 * configure: Regenerated.
11073 * config.make.in (localstatedir): New variable, substituted from
11074 libc_cv_localstatedir.
11075 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11076 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11077 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11078 * sysdeps/gnu/configure: Regenerated.
11079
11080 2012-06-21 Jeff Law <law@redhat.com>
11081
11082 [BZ #14277]
11083 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11084 free. Simplify list management for _LIBC case.
11085
11086 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11087
11088 [BZ #14273]
11089 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11090 Clear sign bit of 64-bit integer value before comparing against
11091 overflow value.
11092
11093 * sysdeps/mach/configure: Regenerated.
11094
11095 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11096
11097 [BZ #14278]
11098 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11099
11100 2012-06-21 Jeff Law <law@redhat.com>
11101
11102 [BZ #13882]
11103 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11104 uint16_t for elements in the "seen" array to avoid char overflows.
11105 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11106 * elf/dl-open.c (dl_open_worker): Likewise.
11107
11108 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11109
11110 * scripts/list-sources.sh: Scan PORTS for translations.
11111 * po/libc.pot: Regenerated.
11112
11113 2012-06-21 Andreas Jaeger <aj@suse.de>
11114
11115 [BZ #12194]
11116 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11117 warning.
11118 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11119 * bits/byteswap-16.h (__bswap_16): Likewise.
11120 * bits/byteswap.h (__bswap_constant_16): Likewise.
11121
11122 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11123
11124 [BZ #14117]
11125 * sysdeps/i386/fpu_control.h: Removed.
11126 * sysdeps/x86_64/fpu_control.h: Moved to ...
11127 * sysdeps/x86/fpu_control.h: Here.
11128
11129 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11130 (_FPU_SETCW): Likewise.
11131
11132 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11133
11134 [BZ #14117]
11135 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11136 * sysdeps/x86/fpu/bits/mathinline.h: This.
11137 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11138
11139 [BZ #14050]
11140 [BZ #14117]
11141 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11142 functions if __x86_64__ is defined.
11143
11144 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11145
11146 * string/endian.h: Add !__ASSEMBLER__ condition for including
11147 conversion interfaces.
11148
11149 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11150
11151 [BZ #14241]
11152 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11153 of ABS(x) in calculating zero to negative powers other than odd
11154 integers.
11155 * math/libm-test.inc (pow_test): Add more tests.
11156
11157 2012-06-15 Andreas Jaeger <aj@suse.de>
11158
11159 * manual/contrib.texi (Contributors): Update entry of Liubov
11160 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11161 Machado Filho.
11162
11163 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11164
11165 * string/string.h: Add __wur to GNU version of strerror_r.
11166
11167 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11168
11169 [BZ #14229]
11170 * string/Makefile (tests): Add tst-strtok_r.
11171 * string/tst-strtok_r.c: New file.
11172 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11173 RAX_LP/RDX_LP on SAVE_PTR.
11174
11175 2012-06-14 Roland McGrath <roland@hack.frob.com>
11176
11177 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11178
11179 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11180
11181 * libm_test.inc (csqrt_test): Allow more spurious underflow
11182 exceptions.
11183 (j0_test): Likewise.
11184 (j1_test): Likewise.
11185 (y0_test): Likewise.
11186 (y1_test): Likewise.
11187
11188 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11189
11190 * po/Makefile (libc.pot): Use UTF-8 charset.
11191
11192 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11193
11194 [BZ #14210]
11195 Suppress sign-conversion warning from FD_SET.
11196 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11197 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11198 not unsigned long int.
11199 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11200
11201 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11202
11203 [BZ #14050]
11204 [BZ #14117]
11205 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11206 __extern_always_inline instead of __extern_inline.
11207 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11208 (__signbit): Likewise.
11209 (__signbitl): Support C++ namespace.
11210 (lrintf): New inline function.
11211 (lrint): Likewise.
11212 (llrintf): Likewise.
11213 (llrint): Likewise.
11214 (fmaxf): Likewise.
11215 (fmax): Likewise.
11216 (fminf): Likewise.
11217 (fmin): Likewise.
11218 (rint): Likewise.
11219 (rintf): Likewise.
11220 (ceil): Likewise.
11221 (ceilf): Likewise.
11222 (floor): Likewise.
11223 (floorf): Likewise.
11224 (nearbyint): Likewise.
11225 (nearbyintf): Likewise.
11226
11227 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11228
11229 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11230 non-default versions.
11231
11232 2012-06-11 Roland McGrath <roland@hack.frob.com>
11233
11234 [BZ #14218]
11235 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11236
11237 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11238
11239 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11240 (FE_UPWARD, FE_DOWNWARD): Don't define.
11241 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11242 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11243
11244 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11245 reading it.
11246 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11247 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11248
11249 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11250
11251 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11252 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11253 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11254 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11255
11256 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11257
11258 [BZ #14117]
11259 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11260 * sysdeps/i386/fpu/Implies: New file.
11261 * sysdeps/x86_64/fpu/Implies: Likewise.
11262 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11263 * sysdeps/x86/fpu/bits/fenv.h: This.
11264
11265 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11266 __SSE_MATH__.
11267
11268 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11269
11270 [BZ #14134]
11271 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11272 character 0xffff that matches the last element of the
11273 conversion table.
11274
11275 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11276
11277 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11278 fmodl commit.
11279
11280 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11281
11282 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11283 values higher than 25.6283.
11284
11285 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11286
11287 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11288 subnormal exponent extraction and add some __builtin_expect.
11289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11290 Fix for subnormal mantissa calculation.
11291
11292 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11293
11294 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11295 cpu2 is -1 and errno is not ENOSYS.
11296
11297 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11298
11299 [BZ #14117]
11300 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11301 * sysdeps/x86/bits/string.h: This.
11302 * sysdeps/x86_64/bits/string.h: Removed.
11303
11304 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11305 if not compiling for x86-64, but compiling for >= i486.
11306
11307 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11308 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11309
11310 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11311 New macro from Linux kernel 3.4.0.
11312 (FP_XSTATE_MAGIC2): Likewise.
11313 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11314 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11315 (struct _fpx_sw_bytes): New struct.
11316 (struct _xsave_hdr): Likewise.
11317 (struct _ymmh_state): Likewise.
11318 (struct _xstate): Likewise.
11319
11320 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11321 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11322 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11323 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11324 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11325 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11326
11327 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11328 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11329 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11330 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11331 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11332 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11333
11334 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11335
11336 [BZ #13743]
11337 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11338 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11339 (sysdep_headers): Include sys/platform/ppc.h.
11340 * sysdeps/powerpc/test-gettimebase.c: Test for
11341 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11342 * manual/Makefile (appendices): Include platform.texi.
11343 * manual/contrib.texi (Contributors): Update @node pointers.
11344 * manual/maint.texi (Maintenance): Likewise.
11345 (Platform): New node.
11346 * manual/platform.texi: New file. Document the new features.
11347
11348 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11349 Jakub Jelinek <jakub@redhat.com>
11350
11351 [BZ #14188]
11352 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11353 where __builtin_expect is unavailable.
11354
11355 2012-06-03 David S. Miller <davem@davemloft.net>
11356
11357 * stdlib/longlong.h: Updated from GCC.
11358
11359 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11360
11361 [BZ #14042]
11362 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11363 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11364 __mcount_internal.
11365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11366 (GLIBC_2.16): Likewise.
11367
11368 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11369
11370 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11371
11372 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11373
11374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11375 (default-abi): New variable.
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11377 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11378 variable.
11379 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11380 Likewise.
11381 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11382 Likewise.
11383 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11384 Likewise.
11385
11386 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11387 definition. Document in comment.
11388
11389 2012-06-01 David S. Miller <davem@davemloft.net>
11390
11391 * stdlib/longlong.h: Updated from GCC.
11392
11393 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11394
11395 [BZ #14117]
11396 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11397 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11398 sys/debugreg.h sys/io.h here.
11399 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11400 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11401 sys/io.h.
11402 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11403 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11404 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11405 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11406 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11407 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11408
11409 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11410 Define only if __x86_64__ is defined.
11411
11412 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11413
11414 [BZ #14048]
11415 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11416 Use int64_t for variable i.
11417 * math/libm-test.inc (fmod_test): Add more tests.
11418
11419 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11420 z computation is not scheduled after fetestexcept.
11421 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11422 Use math_force_eval instead of asm to ensure calculation scheduled
11423 before exception test.
11424 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11425 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11426
11427 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11428
11429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11430 computation is not scheduled after fetestexcept.
11431
11432 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11433
11434 [BZ #14117]
11435 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11436 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11437
11438 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11439
11440 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11441 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11442
11443 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11444
11445 [BZ #14117]
11446 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11447 <bits/wordsize.h>.
11448 (__WCHAR_MIN): Support __WORDSIZE == 64.
11449 (__WCHAR_MAX): Likewise.
11450
11451 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11452 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11453
11454 [BZ #14183]
11455 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11456 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11457
11458 [BZ #14117]
11459 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11460 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11461
11462 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11463 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11464
11465 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11466 Defined to 1 if __x86_64__ isn't defined.
11467 (_STAT_VER_LINUX_OLD): New.
11468 (st_atime): Remove duplicate.
11469 (st_mtime): Likewise.
11470 (st_ctime): Likewise.
11471
11472 2012-05-31 David S. Miller <davem@davemloft.net>
11473
11474 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11475 entries.
11476
11477 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11478
11479 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11480 gen-libm-test.pl.
11481
11482 [BZ #14132]
11483 * elf/dl-reloc.c: Include <_itoa.h>.
11484 (_dl_reloc_bad_type): Remove use of INTUSE.
11485 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11486 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11487 * stdio-common/psiginfo.c (psiginfo): Likewise.
11488 * stdio-common/psignal.c (psignal): Likewise.
11489 * string/strsignal.c (strsignal): Likewise.
11490 * include/signal.h (_sys_siglist): Declare hidden proto.
11491 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11492 INTVARDEF with libc_hidden_data_def.
11493 * stdio-common/itoa-udigits.c: Likewise.
11494 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11495 (_itoa_lower_digits_internal): Remove declaration.
11496 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11497 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11498 (_sys_sigabbrev_internal): Remove aliases.
11499 (_sys_siglist): Define hidden alias.
11500
11501 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11502
11503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11504 bits/sysctl.h.
11505
11506 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11507
11508 [BZ #14117]
11509 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11510 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11511
11512 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11513 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11514 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11515 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11516 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11517 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11518
11519 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11520 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11521 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11522
11523 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11524 with __addr.
11525 (insw): Likewise.
11526 (insl): Likewise.
11527 (outsb): Likewise.
11528 (outsw): Likewise.
11529 (outsl): Likewise.
11530
11531 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11532 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11533 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11534
11535 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11536 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11537 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11538 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11539 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11540 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11541
11542 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11543 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11544
11545 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11546 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11547
11548 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11549 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11550 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11551
11552 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11553 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11554 to ...
11555 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11556
11557 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11558 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11559 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11560
11561 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11562 for x86-64.
11563 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11564
11565 2012-05-31 Joseph Myers <joseph@codesourcery.com>
11566
11567 * math/math.h (M_El): Use two more decimal places.
11568 (M_LOG2El): Likewise.
11569 (M_LOG10El): Likewise.
11570 (M_LN2l): Likewise.
11571 (M_LN10l): Likewise.
11572 (M_PIl): Likewise.
11573 (M_PI_2l): Likewise.
11574 (M_PI_4l): Likewise.
11575 (M_1_PIl): Likewise.
11576 (M_2_PIl): Likewise.
11577 (M_2_SQRTPIl): Likewise.
11578 (M_SQRT2l): Likewise.
11579 (M_SQRT1_2l): Likewise.
11580
11581 2012-05-31 David S. Miller <davem@davemloft.net>
11582
11583 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11584 values between float registers.
11585 * sysdeps/sparc/sparc64/memset.S: Likewise.
11586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11587
11588 2012-05-31 Mike Frysinger <vapier@gentoo.org>
11589
11590 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11591 -D_FORTIFY_SOURCE=1.
11592 (CPPFLAGS-tst-longjmp_chk.c): Define.
11593 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11594 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11595 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11596 CFLAGS-tst-wchar-h.c.
11597
11598 2012-05-31 Marek Polacek <polacek@redhat.com>
11599
11600 [BZ #14132]
11601 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11602 __endmntent_internal): Remove declaration.
11603 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11604 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11605 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11606
11607 2012-05-30 David S. Miller <davem@davemloft.net>
11608
11609 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11610 (___Q_simulate_exceptions): Use real FP ops rather than writing
11611 into the %fsr.
11612 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11613 Likewise.
11614
11615 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11616
11617 [BZ #14117]
11618 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11619 * sysdeps/x86/bits/xtitypes.h: This.
11620
11621 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11622 * sysdeps/x86/bits/wordsize.h: This.
11623
11624 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11625 * sysdeps/x86/bits/huge_vall.h: This.
11626
11627 * sysdeps/i386/bits/select.h: Removed.
11628 * sysdeps/x86_64/bits/select.h: Renamed to ...
11629 * sysdeps/x86/bits/select.h: This.
11630
11631 * sysdeps/i386/bits/setjmp.h: Removed.
11632 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11633 * sysdeps/x86/bits/setjmp.h: This.
11634
11635 * sysdeps/i386/bits/mathdef.h: Removed.
11636 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11637 * sysdeps/x86/bits/mathdef.h: This.
11638
11639 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11640
11641 [BZ #14132]
11642 * include/sys/socket.h (__connect_internal)
11643 (__libc_sa_len_internal): Remove declaration.
11644 (__connect, __libc_sa_len): Declare hidden_proto.
11645 (SA_LEN): Remove use of INTUSE.
11646 * socket/connect.c: Add libc_hidden_def.
11647 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11648 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11649 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11650 alias.
11651 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11652 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11653 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11654 of adding _internal alias.
11655
11656 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11657
11658 [BZ #14117]
11659 * sysdeps/i386/bits/link.h: Removed.
11660 * sysdeps/i386/bits/linkmap.h: Likewise.
11661 * sysdeps/x86_64/bits/link.h: Renamed to ...
11662 * sysdeps/x86/bits/link.h: This.
11663 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11664 * sysdeps/x86/bits/linkmap.h: This.
11665
11666 * sysdeps/i386/bits/endian.h: Removed.
11667 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11668 * sysdeps/x86/bits/endian.h: This.
11669
11670 * sysdeps/i386/bits/byteswap.h: Removed.
11671 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11672 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11673 * sysdeps/x86/bits/byteswap.h: This.
11674 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11675 * sysdeps/x86/bits/byteswap-16.h: This.
11676 * sysdeps/i386/Implies: Add x86.
11677 * sysdeps/x86_64/Implies: Likewise.
11678
11679 2012-05-30 David S. Miller <davem@davemloft.net>
11680
11681 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11682 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11683 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11684 (FP_TRAPPING_EXCEPTIONS): Define.
11685 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11686 (FP_TRAPPING_EXCEPTIONS): Define.
11687 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11688 subnormals only when inexact has been signalled or underflow
11689 exceptions are enabled.
11690 (_FP_PACK_CANONICAL): Likewise.
11691
11692 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11693
11694 [BZ #14183]
11695 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11696 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11697
11698 2012-05-30 Richard Henderson <rth@twiddle.net>
11699
11700 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11701 with #ifndef NOT_IN_libc.
11702
11703 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11704 marked to avoid plt entry.
11705
11706 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11707
11708 [BZ #14112]
11709 * Makeconfig (default-abi): New macro.
11710 (abi-includes): Likewise.
11711 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11712 $(abi-$(default-abi)-lib-soname) for soname if defined.
11713 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11714 abi-variants.
11715 * Makefile (installed-stubs): Likewise.
11716 * include/stubs-biarch.h: Removed.
11717 * scripts/lib-names.awk: Only handle one library at a time.
11718 * scripts/soversions.awk: Remove WORDSIZE support.
11719 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11720 entries.
11721 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11722 Removed.
11723 (syscall-list-default-condition): Likewise.
11724 (syscall-list-default-condition): Likewise.
11725 (syscall-list-includes): Likewise.
11726 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11727 syscall-list-* with abi-*. Handle undefined abi-variants.
11728 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11729 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11730 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11731 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11732 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11733 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11734 Removed.
11735 (syscall-list-32-options): Likewise.
11736 (syscall-list-32-condition): Likewise.
11737 (syscall-list-64-options): Likewise.
11738 (syscall-list-64-condition): Likewise.
11739 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11740 macro.
11741 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11742 Renamed to ...
11743 (abi-*): This.
11744 (abi-64-ld-soname): New macro.
11745 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11746 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11747 Renamed to ...
11748 (abi-*): This.
11749 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11750 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11751
11752 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11753
11754 * sysdeps/unix/sysv/linux/kernel-features.h
11755 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11756 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11757 include <kernel-features.h>.
11758 [!__NR_ftruncate64]: Remove conditional code.
11759 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11760 [__NR_ftruncate64]: Make code unconditional.
11761 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11762 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11763 include <kernel-features.h>.
11764 [!__NR_ftruncate64]: Remove conditional code.
11765 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11766 [__NR_ftruncate64]: Make code unconditional.
11767 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11769 include <kernel-features.h>.
11770 [!__NR_ftruncate64]: Remove conditional code.
11771 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11772 [__NR_ftruncate64]: Make code unconditional.
11773 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11775 include <kernel-features.h>.
11776 [!__NR_ftruncate64]: Remove conditional code.
11777 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11778 [__NR_ftruncate64]: Make code unconditional.
11779 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11780
11781 * configure.in (libc_cv_fpie): Weaken to a compile test using
11782 LIBC_TRY_CC_OPTION.
11783 * configure: Regenerated.
11784
11785 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11786
11787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11791 Refreshed.
11792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11798 Refreshed.
11799
11800 2012-05-27 David S. Miller <davem@davemloft.net>
11801
11802 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11803 (___Q_zero): New.
11804 (__Q_simulate_exceptions): Return void. Change to simulate
11805 exceptions by writing into the %fsr.
11806 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11807 (__Qp_handle_exceptions): Likewise.
11808 (numbers): Delete.
11809 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11810 __Qp_handle_exceptions.
11811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11812 __Qp_handle_exceptions.
11813 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11814 as unused and give dummy FP_RND_NEAREST initializer.
11815 (FP_INHIBIT_RESULTS): Define.
11816 (___Q_simulate_exceptions): Update declaration.
11817 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11818 formatting.
11819 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11820 as unused and give dummy FP_RND_NEAREST initializer.
11821 (__Qp_handle_exceptions): Update declaration.
11822 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11823 formatting.
11824
11825 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11826
11827 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11828 the temporary FPU control word.
11829 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11830 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11831 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11832 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11833 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11834 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11835 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11836 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11837 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11838 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11839 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11840
11841 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11842
11843 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11844 fields.
11845
11846 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11847
11848 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11849 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11850 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11851 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11852 Likewise.
11853 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11854 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11855 Likewise.
11856
11857 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11858
11859 * po/h.po: Update from translation team.
11860
11861 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11862
11863 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11864
11865 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11866 handling of denormals.
11867 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11868 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11869 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11870 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11873 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11874 Likewise.
11875
11876 2012-05-26 Marek Polacek <polacek@redhat.com>
11877
11878 [BZ #14152]
11879 * math/libm-test.inc (fma_test): Don't always expect underflow
11880 exception.
11881
11882 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11883
11884 [BZ #12416]
11885 * elf/tst-execstack.c: Include stackinfo.h.
11886 (do_test): Adjust test case to ensure that pthread_getattr_np
11887 behaviour remains the same after marking stack executable.
11888
11889 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11890
11891 * sysdeps/unix/sysv/linux/kernel-features.h
11892 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11893 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11894 kernel-features.h.
11895 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11896 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11897 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11898 kernel-features.h.
11899 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11900 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11901
11902 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11903
11904 * configure.in: Define the default includes to being none.
11905 * configure: Regenerated.
11906
11907 2012-05-25 Roland McGrath <roland@hack.frob.com>
11908
11909 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11910 * sysdeps/x86_64/setjmp.S: Likewise.
11911 * sysdeps/i386/bsd-setjmp.S: Likewise.
11912 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11913 * sysdeps/i386/setjmp.S: Likewise.
11914 * sysdeps/i386/__longjmp.S: Likewise.
11915 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11916 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11917
11918 * include/stap-probe.h: New file.
11919 * configure.in: Handle --enable-systemtap.
11920 * configure: Regenerated.
11921 * config.h.in (USE_STAP_PROBE): New #undef.
11922 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11923 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11924 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11925
11926 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11927
11928 [BZ #13717]
11929 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11930 to 2.4.0 where earlier.
11931 * sysdeps/unix/sysv/linux/configure: Regenerated.
11932 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11933 <kernel-features.h>.
11934 [__ASSUME_32BITUIDS]: Make code unconditional.
11935 [!__ASSUME_32BITUIDS]: Remove conditional code.
11936 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11937 <kernel-features.h>.
11938 [__ASSUME_32BITUIDS]: Make code unconditional.
11939 [!__ASSUME_32BITUIDS]: Remove conditional code.
11940 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11941 [__ASSUME_32BITUIDS]: Make code unconditional.
11942 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11943 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11944 <kernel-features.h>.
11945 [__ASSUME_32BITUIDS]: Make code unconditional.
11946 [!__ASSUME_32BITUIDS]: Remove conditional code.
11947 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11948 <kernel-features.h>.
11949 [__ASSUME_32BITUIDS]: Make code unconditional.
11950 [!__ASSUME_32BITUIDS]: Remove conditional code.
11951 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11952 <kernel-features.h>.
11953 [__ASSUME_32BITUIDS]: Make code unconditional.
11954 [!__ASSUME_32BITUIDS]: Remove conditional code.
11955 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11956 <kernel-features.h>.
11957 [__ASSUME_32BITUIDS]: Make code unconditional.
11958 [!__ASSUME_32BITUIDS]: Remove conditional code.
11959 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11960 <kernel-features.h>.
11961 [__ASSUME_32BITUIDS]: Make code unconditional.
11962 [!__ASSUME_32BITUIDS]: Remove conditional code.
11963 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11964 <kernel-features.h>.
11965 [__ASSUME_32BITUIDS]: Make code unconditional.
11966 [!__ASSUME_32BITUIDS]: Remove conditional code.
11967 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11968 <kernel-features.h>.
11969 [__ASSUME_32BITUIDS]: Make code unconditional.
11970 [!__ASSUME_32BITUIDS]: Remove conditional code.
11971 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11972 <kernel-features.h>.
11973 [__ASSUME_32BITUIDS]: Make code unconditional.
11974 [!__ASSUME_32BITUIDS]: Remove conditional code.
11975 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11976 <kernel-features.h>.
11977 [__ASSUME_32BITUIDS]: Make code unconditional.
11978 [!__ASSUME_32BITUIDS]: Remove conditional code.
11979 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11980 <kernel-features.h>.
11981 [__ASSUME_32BITUIDS]: Make code unconditional.
11982 [!__ASSUME_32BITUIDS]: Remove conditional code.
11983 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11984 <kernel-features.h>.
11985 [__NR_setresgid] (__setresgid): Do not declare.
11986 [__ASSUME_32BITUIDS]: Make code unconditional.
11987 [!__ASSUME_32BITUIDS]: Remove conditional code.
11988 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11989 <kernel-features.h>.
11990 [__NR_setresuid] (__setresuid): Do not declare.
11991 [__ASSUME_32BITUIDS]: Make code unconditional.
11992 [!__ASSUME_32BITUIDS]: Remove conditional code.
11993 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11994 <kernel-features.h>.
11995 [__ASSUME_32BITUIDS]: Make code unconditional.
11996 [!__ASSUME_32BITUIDS]: Remove conditional code.
11997 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11998 <kernel-features.h>.
11999 [__ASSUME_32BITUIDS]: Make code unconditional.
12000 [!__ASSUME_32BITUIDS]: Remove conditional code.
12001 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12002 <kernel-features.h>.
12003 [__ASSUME_32BITUIDS]: Make code unconditional.
12004 [!__ASSUME_32BITUIDS]: Remove conditional code.
12005 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12006 <kernel-features.h>.
12007 [__ASSUME_32BITUIDS]: Make code unconditional.
12008 [!__ASSUME_32BITUIDS]: Remove conditional code.
12009 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12010 <kernel-features.h>.
12011 [__ASSUME_32BITUIDS]: Make code unconditional.
12012 [!__ASSUME_32BITUIDS]: Remove conditional code.
12013 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12014 <kernel-features.h>.
12015 [__ASSUME_32BITUIDS]: Make code unconditional.
12016 [!__ASSUME_32BITUIDS]: Remove conditional code.
12017 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12018 <kernel-features.h>.
12019 [__ASSUME_32BITUIDS]: Make code unconditional.
12020 [!__ASSUME_32BITUIDS]: Remove conditional code.
12021 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12022 <kernel-features.h>.
12023 [__ASSUME_32BITUIDS]: Make code unconditional.
12024 [!__ASSUME_32BITUIDS]: Remove conditional code.
12025 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12026 <kernel-features.h>.
12027 [__ASSUME_32BITUIDS]: Make code unconditional.
12028 [!__ASSUME_32BITUIDS]: Remove conditional code.
12029 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12030 <kernel-features.h>.
12031 [__ASSUME_32BITUIDS]: Make code unconditional.
12032 [!__ASSUME_32BITUIDS]: Remove conditional code.
12033 * sysdeps/unix/sysv/linux/kernel-features.h
12034 (__ASSUME_SETRESUID_SYSCALL): Remove.
12035 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12036 (__ASSUME_32BITUIDS): Likewise.
12037 (__ASSUME_LDT_WORKS): Likewise.
12038 (__ASSUME_O_DIRECTORY): Likewise.
12039 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12040 architecture but not kernel version.
12041 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12042 (__ASSUME_MMAP2_SYSCALL): Likewise.
12043 (__ASSUME_STAT64_SYSCALL): Likewise.
12044 (__ASSUME_IPC64): Likewise.
12045 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12046 <kernel-features.h>.
12047 [__ASSUME_32BITUIDS]: Make code unconditional.
12048 [!__ASSUME_32BITUIDS]: Remove conditional code.
12049 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12050 <kernel-features.h>.
12051 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12052 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12053 132096]: Remove conditional code.
12054 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12055 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12056 <kernel-features.h>.
12057 [__ASSUME_32BITUIDS]: Make code unconditional.
12058 [!__ASSUME_32BITUIDS]: Remove conditional code.
12059 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12060 <kernel-features.h>.
12061 [__ASSUME_32BITUIDS]: Make code unconditional.
12062 [!__ASSUME_32BITUIDS]: Remove conditional code.
12063 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12064 <kernel-features.h>.
12065 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12066 unconditional.
12067 (__setresgid): Do not declare.
12068 [__ASSUME_32BITUIDS]: Make code unconditional.
12069 [!__ASSUME_32BITUIDS]: Remove conditional code.
12070 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12071 <kernel-features.h>.
12072 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12073 unconditional.
12074 (__setresuid): Do not declare.
12075 [__ASSUME_32BITUIDS]: Make code unconditional.
12076 [!__ASSUME_32BITUIDS]: Remove conditional code.
12077 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12078 <kernel-features.h>.
12079 [__ASSUME_32BITUIDS]: Make code unconditional.
12080 [!__ASSUME_32BITUIDS]: Remove conditional code.
12081 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12082 <kernel-features.h>.
12083 [__ASSUME_32BITUIDS]: Make code unconditional.
12084 [!__ASSUME_32BITUIDS]: Remove conditional code.
12085
12086 2012-05-25 Richard Henderson <rth@twiddle.net>
12087
12088 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12089 dl_hwcap to ifunc resolver.
12090 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12091 elf_ifunc_invoke.
12092 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12093 dl_hwcap to ifunc resolver.
12094 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12095
12096 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12097
12098 [BZ #14153]
12099 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12100 for |x| <= 2**-26, not 2**-57.
12101 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12102 exception.
12103
12104 2012-05-24 Jeff Law <law@redhat.com>
12105
12106 * stdio-common/Makefile (tests): Add bug25.
12107 * stdio-common/bug25.c: New test.
12108
12109 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12110
12111 [BZ #13576]
12112 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12113 multiple of MALLOC_ALIGNMENT in size.
12114 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12115
12116 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12117
12118 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12119 Require >= 256.
12120 (FILENAME_MAX): Use macro-int-constant.
12121 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12122 (_IOFBF): Use macro-int-constant.
12123 (_IOLBF): Likewise.
12124 (_IONBF): Likewise.
12125 (SEEK_CUR): Likewise.
12126 (SEEK_END): Likewise.
12127 (SEEK_SET): Likewise.
12128 (TMP_MAX): Likewise.
12129 (EOF): Use macro-int-constant. Require < 0.
12130 (NULL): Use macro-constant. Require == 0.
12131 (stdin): Require type to be FILE *.
12132 (stdout): Likewise.
12133 (stderr): Likewise.
12134 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12135 macro-int-constant.
12136 (EXIT_SUCCESS): Likewise.
12137 (NULL): Use macro-constant. Require == 0.
12138 (RAND_MAX): Use macro-int-constant.
12139 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12140 [C99-based standards] (strtof): Require function.
12141 [C99-based standards] (strtold): Likewise.
12142 [C99-based standards] (strtoll): Likewise.
12143 [C99-based standards] (strtoull): Likewise.
12144 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12145 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12146 [ISO || ISO99 || ISO11] (math.h): Likewise.
12147 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12148 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12149 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12150
12151 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12152
12153 [BZ #14132]
12154 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12155 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12156 * intl/dgettext.c (DCGETTEXT): Likewise.
12157 * intl/gettext.c (DCGETTEXT): Likewise.
12158 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12159 * posix/regex_internal.h (gettext): Likewise.
12160 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12161 Remove declaration.
12162 * include/argz.h (__argz_count_internal)
12163 (__argz_stringify_internal): Remove declaration.
12164 (__argz_count, __argz_stringify): Declare hidden proto.
12165 * intl/dcgettext.c: Remove use of INTDEF.
12166 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12167 * string/argz-stringify.c: Likewise.
12168 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12169 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12170 Declare hidden proto.
12171 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12172 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12173 Declare hidden proto.
12174 * include/stdio.h (__asprintf_internal): Don't declare.
12175 (__asprintf): Don't define as macro. Declare hidden proto.
12176 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12177 (__fsetlocking): Declare hidden proto.
12178 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12179 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12180 hidden proto.
12181 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12182 (_IO_setlinebuf): Remove use of INTUSE.
12183 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12184 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12185 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12186 Remove declaration.
12187 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12188 (_IO_do_flush): Remove use of INTUSE.
12189 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12190 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12191 (_IO_adjust_column, _IO_least_wmarker)
12192 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12193 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12194 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12195 (_IO_default_doallocate, _IO_wdefault_doallocate)
12196 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12197 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12198 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12199 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12200 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12201 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12202 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12203 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12204 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12205 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12206 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12207 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12208 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12209 proto.
12210 (_IO_flush_all_internal, _IO_adjust_column_internal)
12211 (_IO_default_uflow_internal, _IO_default_finish_internal)
12212 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12213 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12214 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12215 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12216 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12217 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12218 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12219 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12220 (_IO_file_close_internal, _IO_file_close_it_internal)
12221 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12222 (_IO_file_init_internal, _IO_file_attach_internal)
12223 (_IO_file_fopen_internal, _IO_file_read_internal)
12224 (_IO_file_sync_internal, _IO_file_seek_internal)
12225 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12226 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12227 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12228 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12229 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12230 (_IO_list_all_internal, _IO_link_in_internal)
12231 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12232 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12233 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12234 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12235 (_IO_do_write_internal, _IO_padn_internal)
12236 (_IO_getline_info_internal, _IO_getline_internal)
12237 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12238 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12239 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12240 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12241 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12242 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12243 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12244 with libc_hidden_ver, remove use of INTUSE.
12245 * libio/genops.c: Likewise.
12246 * libio/freopen.c: Likewise.
12247 * libio/freopen64.c: Likewise.
12248 * libio/iofclose.c: Likewise.
12249 * libio/iofdopen.c: Likewise.
12250 * libio/iofflush.c: Likewise.
12251 * libio/iofflush_u.c: Likewise.
12252 * libio/iofgets.c: Likewise.
12253 * libio/iofgets_u.c: Likewise.
12254 * libio/iofopen.c: Likewise.
12255 * libio/iofopncook.c: Likewise.
12256 * libio/iofread.c: Likewise.
12257 * libio/iofread_u.c: Likewise.
12258 * libio/ioftell.c: Likewise.
12259 * libio/iofwrite.c: Likewise.
12260 * libio/iogetline.c: Likewise.
12261 * libio/iogets.c: Likewise.
12262 * libio/iogetwline.c: Likewise.
12263 * libio/iopadn.c: Likewise.
12264 * libio/iopopen.c: Likewise.
12265 * libio/ioseekoff.c: Likewise.
12266 * libio/ioseekpos.c: Likewise.
12267 * libio/iosetbuffer.c: Likewise.
12268 * libio/iosetvbuf.c: Likewise.
12269 * libio/ioungetc.c: Likewise.
12270 * libio/ioungetwc.c: Likewise.
12271 * libio/iovdprintf.c: Likewise.
12272 * libio/iovsprintf.c: Likewise.
12273 * libio/iovsscanf.c: Likewise.
12274 * libio/memstream.c: Likewise.
12275 * libio/obprintf.c: Likewise.
12276 * libio/oldfileops.c: Likewise.
12277 * libio/oldiofclose.c: Likewise.
12278 * libio/oldiofdopen.c: Likewise.
12279 * libio/oldiofopen.c: Likewise.
12280 * libio/oldiopopen.c: Likewise.
12281 * libio/oldstdfiles.c: Likewise.
12282 * libio/putc.c: Likewise.
12283 * libio/setbuf.c: Likewise.
12284 * libio/setlinebuf.c: Likewise.
12285 * libio/stdfiles.c: Likewise.
12286 * libio/strops.c: Likewise.
12287 * libio/vasprintf.c: Likewise.
12288 * libio/vscanf.c: Likewise.
12289 * libio/vsnprintf.c: Likewise.
12290 * libio/vswprintf.c: Likewise.
12291 * libio/wfiledoalloc.c: Likewise.
12292 * libio/wfileops.c: Likewise.
12293 * libio/wgenops.c: Likewise.
12294 * libio/wmemstream.c: Likewise.
12295 * libio/wstrops.c: Likewise.
12296 * libio/__fpurge.c: Likewise.
12297 * libio/__fsetlocking.c: Likewise.
12298 * assert/assert.c: Likewise.
12299 * debug/fgets_chk.c: Likewise.
12300 * debug/fgets_u_chk.c: Likewise.
12301 * debug/fread_chk.c: Likewise.
12302 * debug/fread_u_chk.c: Likewise.
12303 * debug/gets_chk.c: Likewise.
12304 * debug/obprintf_chk.c: Likewise.
12305 * debug/vasprintf_chk.c: Likewise.
12306 * debug/vdprintf_chk.c: Likewise.
12307 * debug/vsnprintf_chk.c: Likewise.
12308 * debug/vsprintf_chk.c: Likewise.
12309 * malloc/mtrace.c: Likewise.
12310 * misc/error.c: Likewise.
12311 * misc/syslog.c: Likewise.
12312 * stdio-common/asprintf.c: Likewise.
12313 * stdio-common/fxprintf.c: Likewise.
12314 * stdio-common/getw.c: Likewise.
12315 * stdio-common/isoc99_fscanf.c: Likewise.
12316 * stdio-common/isoc99_scanf.c: Likewise.
12317 * stdio-common/isoc99_vfscanf.c: Likewise.
12318 * stdio-common/isoc99_vscanf.c: Likewise.
12319 * stdio-common/isoc99_vsscanf.c: Likewise.
12320 * stdio-common/printf-prs.c: Likewise.
12321 * stdio-common/printf_fp.c: Likewise.
12322 * stdio-common/printf_fphex.c: Likewise.
12323 * stdio-common/printf_size.c: Likewise.
12324 * stdio-common/putw.c: Likewise.
12325 * stdio-common/scanf.c: Likewise.
12326 * stdio-common/sprintf.c: Likewise.
12327 * stdio-common/tmpfile.c: Likewise.
12328 * stdio-common/vfprintf.c: Likewise.
12329 * stdio-common/vfscanf.c: Likewise.
12330 * stdlib/strfmon_l.c: Likewise.
12331 * sunrpc/openchild.c: Likewise.
12332 * sunrpc/xdr_stdio.c: Likewise.
12333 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12334 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12335
12336 2012-05-24 Roland McGrath <roland@hack.frob.com>
12337
12338 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12339
12340 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12341 in the third column, to generate for the shared library an IFUNC
12342 that uses _dl_vdso_vsym.
12343 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12344 * Makeconfig (object-suffixes-noshared): New variable.
12345
12346 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12347 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12348 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12349 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12350
12351 [BZ #14132]
12352 * include/sys/time.h (__gettimeofday): Remove macro.
12353 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12354 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12355 Remove INTDEF.
12356 (__gettimeofday): Add libc_hidden_def.
12357 (gettimeofday): Add libc_hidden_weak.
12358 * sysdeps/mach/gettimeofday.c: Likewise.
12359 * sysdeps/posix/gettimeofday.c: Likewise.
12360 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12361 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12363 (__gettimeofday_internal): Remove strong_alias.
12364 (__gettimeofday): Add libc_hidden_def.
12365 (gettimeofday): Add libc_hidden_weak.
12366 * sysdeps/unix/syscalls.list (gettimeofday):
12367 Remove __gettimeofday_internal alias.
12368
12369 2012-05-24 Daniel Jacobowitz <drow@false.org>
12370 H.J. Lu <hongjiu.lu@intel.com>
12371
12372 [BZ #12495]
12373 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12374 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12375 (largebin_index_32_big): New.
12376 (largebin_index): Use it for 16-byte alignment.
12377 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12378 correction with front_misalign.
12379
12380 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12381
12382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12384 Likewise.
12385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12386 Likewise.
12387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12388 Likewise.
12389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12390 Likewise.
12391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12392 Likewise.
12393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12394 Likewise.
12395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12396 Likewise.
12397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12398 Likewise.
12399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12400 Likewise.
12401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12402 Likewise.
12403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12404 Likewise.
12405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12406 Likewise.
12407
12408 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12409 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12410
12411 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12412
12413 [BZ #10846]
12414 [BZ #14036]
12415 * math/libm-test.inc (exp_test): Add test from bug 14036.
12416 (pow_test): Add test from bug 10846.
12417
12418 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12419 and other flags.
12420 (special_function): Do not include flags in test name.
12421 (parse_args): Likewise.
12422 * sysdeps/i386/fpu/libm-test-ulps: Update.
12423 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12424 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12425 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12427
12428 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12429 exceptions.
12430 * math/libm-test.inc ("Philosophy"): Update comment about
12431 exception testing.
12432 (UNDERFLOW_EXCEPTION): New macro.
12433 (UNDERFLOW_EXCEPTION_OK): Likewise.
12434 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12435 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12436 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12437 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12438 (INVALID_EXCEPTION_OK): Update value.
12439 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12440 (OVERFLOW_EXCEPTION_OK): Likewise.
12441 (IGNORE_ZERO_INF_SIGN): Likewise.
12442 (test_exceptions): Handle underflow exceptions.
12443 (acos_test): Update for underflow exception expectations.
12444 (cexp_test): Likewise.
12445 (clog_test): Likewise.
12446 (clog10_test): Likewise.
12447 (csqrt_test): Likewise.
12448 (ctan_test): Likewise.
12449 (ctanh_test): Likewise.
12450 (exp_test): Likewise.
12451 (exp10_test): Likewise.
12452 (exp2_test): Likewise.
12453 (expm1_test): Likewise.
12454 (fma_test): Likewise.
12455 (j0_test): Likewise.
12456 (jn_test): Likewise.
12457 (nexttoward_test): Likewise.
12458 (pow_test): Likewise.
12459 (scalbn_test): Likewise.
12460 (scalbln_test): Likewise.
12461 (tan_test): Likewise.
12462 (y1_test): Likewise.
12463 * sysdeps/i386/fpu/libm-test-ulps: Update.
12464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12465
12466 2012-05-23 David S. Miller <davem@davemloft.net>
12467
12468 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12469 (__libc_sigaction): Remove unused local variables.
12470
12471 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12472
12473 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12474
12475 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12476
12477 mktime: avoid signed integer overflow
12478 * time/mktime.c (__mktime_internal): Do not mishandle the case
12479 where diff == INT_MIN.
12480
12481 mktime: simplify computation of average
12482 * time/mktime.c (ranged_convert): Use new time_t_avg function
12483 instead of rolling our own (probably-slower) code.
12484
12485 mktime: do not assume signed right shift propagates sign bit
12486 * time/mktime.c (isdst_differ): New static function.
12487 (__mktime_internal): No need to normalize tm_isdst now.
12488 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12489 tm_isdst values.
12490
12491 mktime: merge another wrapv change from gnulib
12492 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12493 from some compilers.
12494
12495 mktime: remove incorrect attempt at unusual arithmetics
12496 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12497 The code didn't really work on such machines anyway.
12498 (TYPE_MINIMUM): Assume two's complement.
12499 (twos_complement_arithmetic): Verify that long_int and time_t
12500 are two's complement (or unsigned, in the latter case).
12501
12502 mktime: check signed shifts on long_int and time_t, too
12503 * time/mktime.c (SHR): Check that shifts work as desired
12504 on the types long_int and time_t too, as SHR is used on
12505 such types.
12506
12507 mktime: do not assume 'long' is wide enough
12508 * time/mktime.c (verify): Move decl up.
12509 (long_int): New type.
12510 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12511 to remove assumption in the code that 'long' is wide enough to
12512 store year values. This assumption is not true on x32 and on
12513 some non-glibc platforms.
12514
12515 mktime: merge wrapv change from gnulib
12516 * time/mktime.c (WRAPV): New macro.
12517 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12518 (guess_time_tm, __mktime_internal): Do not assume that signed
12519 integer overflow wraps around; modern compilers generate code
12520 where this assumption is no longer valid.
12521
12522 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12523
12524 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12525 Replace "jmp L(pseudo_end)" with "ret".
12526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12527 Likewise.
12528
12529 2012-05-23 Andreas Jaeger <aj@suse.de>
12530
12531 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12532 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12533
12534 2012-05-23 Andreas Jaeger <aj@suse.de>
12535 Maximilian Attems <max@stro.at>
12536
12537 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12538 New macros.
12539
12540 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12541
12542 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12543 code so that pseudo_end is just ret and the stack pointer is
12544 correct also for static library in error case.
12545
12546 2012-05-23 Joseph Myers <joseph@codesourcery.com>
12547
12548 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12549 move to syscalls.list.
12550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12554
12555 * manual/install.texi (Running make install): Do not mention Linux
12556 kernel version for which pt_chown is not needed.
12557 (Linux): Do not mention problems with nscd with 2.0 kernels.
12558 * INSTALL: Regenerated.
12559
12560 2012-05-23 Andreas Jaeger <aj@suse.de>
12561
12562 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12563 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12564 macro.
12565 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12566 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12567 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12568 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12569 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12570 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12571 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12572 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12573 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12574 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12575 * sysdeps/unix/sysv/linux/bits/in.h
12576 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12577
12578 2012-05-22 Roland McGrath <roland@hack.frob.com>
12579
12580 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12581 (PREPARE_VERSION): Just use assert instead, it will be elided
12582 under [NDEBUG] anyway.
12583
12584 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12585
12586 * sysdeps/unix/sysv/linux/Makefile: Include
12587 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12588 (sysdep_routines): Remove sysctl.
12589 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12590 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12591 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12592 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12593 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12594
12595 2012-05-22 Andreas Jaeger <aj@suse.de>
12596
12597 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12598 that pseudo_end is just ret and the stack pointer is correct also
12599 for static library in error case.
12600
12601 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12602
12603 [BZ #14122]
12604 * nss/nsswitch.c (defconfig_entries): New variable.
12605 (__nss_database_lookup): Don't leak defconfig entries.
12606 (nss_parse_service_list): Don't leak on error paths.
12607 (free_database_entries): New function.
12608 (free_defconfig): New function.
12609 (free_mem): Move common code to free_database_entries.
12610
12611 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12612
12613 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12614 Add arch_prctl.
12615 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12616
12617 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12618 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12620 New macro.
12621 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12622 (INTERNAL_SYSCALL_TYPES): Likewise.
12623 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12624 (LOAD_REGS_TYPES_[1-6]): Likewise.
12625 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12626 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12627
12628 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12629
12630 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12631 copysignl for GLIBC_2_0.
12632 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12633 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12634 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12635 logbl for GLIBC_2_0.
12636 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12637 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12638
12639 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12640
12641 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12642 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12643
12644 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12645 Use "neg %eax".
12646
12647 * time/mktime.c: Update copyright years.
12648
12649 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12650
12651 mktime: merge comment-quoting-style change from gnulib
12652 * time/mktime.c: Quote 'like this' in comments.
12653 The GNU coding standards suggest that we no longer quote `like this',
12654 as "`" and "'" are typically rendered asymmetrically nowadays.
12655 The typical gnulib style is to quote 'like this' when quoting
12656 code, and "like this" when quoting English.
12657
12658 * time/mktime.c (compile-command): Add "-I.".
12659
12660 mktime: merge mktime-internal.h change from gnulib
12661 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12662
12663 mktime: merge time_r change from gnulib
12664 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12665
12666 mktime: merge DEBUG change from gnulib
12667 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12668 case system <time.h> has a #define.
12669
12670 mktime: merge <sys/types.h> change from gnulib
12671 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12672 since <time.t> is now guaranteed to define time_t.
12673
12674 mktime: merge HAVE_CONFIG_H change from gnulib
12675 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12676
12677 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12678
12679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12680 Use "neg %eax".
12681
12682 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12683 __rlim_t cast.
12684 (struct rusage): Use anonymous union to pad each field to
12685 __syscall_slong_t.
12686
12687 2012-05-21 David S. Miller <davem@davemloft.net>
12688
12689 * Makefules (o-iterator): Remove .s cases.
12690 (compile-command.s): Delete.
12691 (COMPILE.s): Delete.
12692 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12693
12694 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12695
12696 * configure.in (libc_cv_predef_stack_protector): Only consider
12697 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12698 * configure: Regenerated.
12699
12700 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12701
12702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12703 New macro. Use R*LP on int and pointer.
12704 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12705 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12706 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12707 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12708
12709 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12710 [__WORDSIZE_TIME64_COMPAT32] instead of
12711 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12712 (struct utmp): Likewise.
12713 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12714 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12715 Renamed to ...
12716 (__WORDSIZE_TIME64_COMPAT32): This.
12717 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12718 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12719 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12720 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12721 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12722 (__WORDSIZE_TIME64_COMPAT32): New macro.
12723
12724 2012-05-21 Andreas Jaeger <aj@suse.de>
12725
12726 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12727 only if [SHARED]. Add prototype for __wcschr_ia32.
12728
12729 2012-05-21 Roland McGrath <roland@hack.frob.com>
12730
12731 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12732 of %rbp unmolested in the jmp_buf while mangling the low bits.
12733 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12734 unmolested high bits of %rbp while demangling the low bits.
12735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12736
12737 2012-05-21 Andreas Jaeger <aj@suse.de>
12738
12739 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12740 * sunrpc/svc_simple.c: Use it for registerrpc.
12741 * sunrpc/xcrypt.c: Use it for passwd2des.
12742
12743 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12744
12745 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12746
12747 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12748 Don't define if [__SYSCALL_WORDSIZE != 32].
12749 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12750 New macro.
12751
12752 2012-05-21 Bruno Haible <bruno@clisp.org>
12753 Andreas Jaeger <aj@suse.de>
12754
12755 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12756 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12757 inptr and inend for must_buffer_ch.
12758 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12759 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12760 * stdio-common/Makefile (tests): Remove bug15.
12761 (bug15-ENV): Remove macro.
12762 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12763 anymore.
12764
12765 2012-05-19 Andreas Jaeger <aj@suse.de>
12766 Roland McGrath <roland@hack.frob.com>
12767
12768 * manual/contrib.texi: Completely rewritten. It contains now an
12769 alphabetical list of contributors and their contributions.
12770
12771 2012-05-21 Richard Henderson <rth@twiddle.net>
12772
12773 * misc/getauxval.c (__getauxval): Use unsigned long int.
12774 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12775 (getauxval): Use unsigned long int.
12776
12777 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12778
12779 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12780
12781 2012-05-21 Roland McGrath <roland@hack.frob.com>
12782
12783 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12784 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12785 __alignof__ (long double).
12786
12787 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12788
12789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12790
12791 2012-05-20 Richard Henderson <rth@twiddle.net>
12792
12793 * misc/getauxval.c: New file.
12794 * misc/sys/auxv.h: New file.
12795 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12796 (routines): Add getauxval.
12797 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12798 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12799 * elf/dl-sysdep.c (_dl_auxv): Remove.
12800 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12801 * elf/dl-support.c (_dl_auxv): New variable.
12802 (_dl_aux_init): Initialize it.
12803 * manual/startup.texi (Auxiliary Vector): New node.
12804 * sysdeps/generic/bits/hwcap.h: New file.
12805 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12806 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12807 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12808 * sysdeps/sparc/sysdep.h: ... here. Include it.
12809 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12810 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12812 Update.
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12816 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12821
12822 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12823
12824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12825
12826 2012-05-19 David S. Miller <davem@davemloft.net>
12827
12828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12829
12830 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12831
12832 [BZ #14123]
12833 * math/s_ccosh.c: Include <float.h>
12834 (__ccosh): Avoid internal overflow calculating sinh and cosh
12835 values before multiplying by sin and cos values.
12836 * math/s_ccoshf.c: Likewise.
12837 * math/s_ccoshl.c: Likewise.
12838 * math/s_csin.c: Likewise.
12839 * math/s_csinf.c: Likewise.
12840 * math/s_csinl.c: Likewise.
12841 * math/s_csinh.c: Likewise.
12842 * math/s_csinhf.c: Likewise.
12843 * math/s_csinhl.c: Likewise.
12844 * math/libm-test.inc (ccos_test): Add more tests.
12845 (ccosh_test): Likewise.
12846 (csin_test): Likewise.
12847 (csinh_test): Likewise.
12848 * sysdeps/i386/fpu/libm-test-ulps: Update.
12849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12850
12851 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12852
12853 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12854 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12855
12856 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12857
12858 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12859
12860 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12861 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12862 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12863 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12864 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12865 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12866 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12867 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12868 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12869 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12870 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12871 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12872 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12873 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12874 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12875 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12876 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12877 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12878 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12879 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12880 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12881 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12882 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12883 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12884 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12885 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12886 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12887 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12888 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12889 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12890 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12891
12892 2012-05-18 Andreas Jaeger <aj@suse.de>
12893
12894 * csu/.gitignore: Delete.
12895
12896 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12897
12898 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12899 (timex): Use __syscall_slong_t.
12900
12901 2012-05-18 Andreas Jaeger <aj@suse.de>
12902 Carlos O'Donell <carlos_odonell@mentor.com>
12903
12904 * manual/install.texi (Configuring and compiling): Update
12905 description about files modified in the source directory.
12906 * INSTALL: Regenerated.
12907
12908 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12909
12910 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12911 value. Use "or" to set return value to -1.
12912 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12913 negate return value.
12914
12915 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12916
12917 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12918 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12919 failure if the compiler has Graphite support disabled.
12920 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12921 Likewise.
12922 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12923 CFLAGS-memmove.c): Likewise.
12924 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12925 Likewise.
12926
12927 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12928
12929 * sysdeps/x86_64/x32/_itoa.h: New file.
12930
12931 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12932 getdents system call only if kernel and user dirents have the
12933 same d_ino and d_off.
12934
12935 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12936 LLONG_MAX != LONG_MAX.
12937 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12938 (_fitoa_word): Likewise.
12939
12940 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12941 years.
12942 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12943 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12944 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12945
12946 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12947 include <bits/wordsize.h>. Check __x86_64__ instead of
12948 __WORDSIZE.
12949 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12950 if __x86_64__ is defined. Use anonymous union on fpstate.
12951
12952 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12953 anonymous union.
12954
12955 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12956
12957 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12958 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12959 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12960 Refer to _rtld_local_ro instead of _rtld_global_ro.
12961 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12962 Likewise.
12963 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12964 Likewise.
12965 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12966 Likewise.
12967 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12968 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12969 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12970
12971 * sysdeps/powerpc/powerpc32/dl-machine.c
12972 (__elf_machine_runtime_setup) [PROF]: Don't reference
12973 _dl_prof_resolve.
12974
12975 2012-05-18 Andreas Jaeger <aj@suse.de>
12976
12977 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12978 function only available for GCCs before 3.4 since GCC 3.4
12979 introduced a builtin.
12980 (lrint): Likewise.
12981 (llrintf): Likewise.
12982 (llrint): Likewise.
12983 (fmaxf): Likewise.
12984 (fmax): Likewise.
12985 (fminf): Likewise.
12986 (fmin): Likewise.
12987 (rint): Likewise.
12988 (rintf): Likewise.
12989 (nearbyint): Likewise.
12990 (nearbyintf): Likewise.
12991 (ceil): Likewise.
12992 (ceilf): Likewise.
12993 (floor): Likewise.
12994 (floorf): Likewise.
12995
12996 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12997
12998 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12999 on both fields and cast pointer to __syscall_ulong_t.
13000
13001 * bits/types.h (__fsword_t): New type.
13002 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13003 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13004 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13005 (__FSWORD_T_TYPE): Likewise.
13006 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13007 (__FSWORD_T_TYPE): Likewise.
13008 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13009 (__FSWORD_T_TYPE): Likewise.
13010 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13011 (__FSWORD_T_TYPE): Likewise.
13012 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13013 __SWORD_TYPE with __fsword_t.
13014 (statfs64): Likewise.
13015
13016 2012-05-17 David S. Miller <davem@davemloft.net>
13017
13018 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13019
13020 2012-05-17 Andreas Jaeger <aj@suse.de>
13021
13022 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13023 warning.
13024
13025 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13026
13027 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13028
13029 2012-05-17 Andreas Jaeger <aj@suse.de>
13030
13031 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13032 when it is used.
13033
13034 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13035
13036 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13037
13038 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13039
13040 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13041 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13042
13043 2012-05-17 Andreas Jaeger <aj@suse.de>
13044 Carlos O'Donell <carlos_odonell@mentor.com>
13045
13046 [BZ #14059]
13047 * sysdeps/x86_64/multiarch/init-arch.h
13048 (bit_YMM_Usable): Rename to...
13049 (bit_AVX_Usable): ... this.
13050 (bit_FMA4_Usable): New macro.
13051 (bit_XMM_state): New macro.
13052 (bit_YMM_state): New macro.
13053 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13054 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13055 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13056 (CPUID_OSXSAVE): New macro.
13057 (CPUID_AVX): New macro.
13058 (CPUID_FMA4): New macro.
13059 (index_YMM_Usable): Rename to...
13060 (index_AVX_Usable): ... this.
13061 (HAS_AVX): Use HAS_ARCH_FEATURE.
13062 (HAS_FMA4): Likewise.
13063 (HAS_YMM_USABLE): Remove.
13064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13065 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13066 are present.
13067 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13068 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13069 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13070 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13071 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13072
13073 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13074
13075 * math/libm-test.c: Support platforms without multiple rounding modes.
13076 * math/bug-nextafter.c: Support platforms without FP exceptions.
13077 * math/bug-nexttoward.c: Likewise.
13078 * math/test-fenv.c: Likewise.
13079 * math/test-misc.c: Likewise.
13080 * stdlib/bug-getcontext.c: Likewise.
13081
13082 2012-05-17 Andreas Jaeger <aj@suse.de>
13083
13084 * manual/examples/search.c (critter_cmp): Change signature to
13085 avoid warnings.
13086 * manual/string.texi (Collation Functions): Likewise.
13087
13088 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13089
13090 * bits/types.h: Fold copyright years.
13091 * bits/typesizes.h: Likewise.
13092 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13093 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13094 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13095 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13096 * time/time.h: Likewise.
13097
13098 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13099
13100 [BZ #208]
13101 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13102 in instead of returning them. Return void.
13103 (__libc_mallinfo): Accumulate over all arenas.
13104 (__malloc_stats): Adjust for change in int_mallinfo interface.
13105
13106 2012-05-16 Roland McGrath <roland@hack.frob.com>
13107
13108 [BZ #10375]
13109 * configure.in (NM): Add AC_CHECK_TOOL for it.
13110 (libc_extra_cflags): New substituted variable.
13111 Check for -fstack-protector being used implicitly.
13112 * configure: Regenerated.
13113 * config.make.in (config-extra-cflags): New variable,
13114 gets @libc_extra_cflags@.
13115 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13116
13117 [BZ #10375]
13118 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13119 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13120 * configure: Regenerated.
13121 * config.make.in (CPPUNDEFS): New substituted variable.
13122 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13123 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13124 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13125
13126 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13127
13128 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13129 (mq_attr): Use __syscall_slong_t.
13130
13131 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13132
13133 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13134 Check __x86_64__ instead of __WORDSIZE.
13135 (_STAT_VER_LINUX): Likewise.
13136 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13137 __syscall_ulong_t and __syscall_slong_t.
13138 (stat64): Likewise.
13139
13140 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13141
13142 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13143
13144 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13145
13146 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13147
13148 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13149
13150 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13151 __syscall_ulong_t.
13152
13153 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13154 include <bits/wordsize.h>. Check __x86_64__ instead of
13155 __WORDSIZE.
13156 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13157 defined.
13158 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13159
13160 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13161 include <bits/wordsize.h>. Check __x86_64__ instead of
13162 __WORDSIZE.
13163 (user_regs_struct): Use "__extension__ unsigned long long"
13164 instead of "unsigned long" if __x86_64__ is defined.
13165 (user): Likewise. Pad after pointer field if __ILP32__ is
13166 defined.
13167
13168 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13169
13170 * configure.in (makeinfo): Require version 4.5 or later. Allow
13171 versions 5 to 9.
13172 * configure: Regenerated.
13173 * manual/install.texi (texinfo): Increase version requirement to
13174 4.5 or later.
13175 * INSTALL: Regenerated.
13176
13177 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13178
13179 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13180
13181 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13182
13183 * sysdeps/x86_64/x32/ffs.c: New file.
13184
13185 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13186 __syscall_ulong_t.
13187 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13188 defined. Use __syscall_ulong_t.
13189 (shminfo): Use __syscall_ulong_t.
13190 (shm_info): Likewise.
13191
13192 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13193 __syscall_ulong_t.
13194
13195 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13196 <bits/wordsize.h>.
13197 (msgqnum_t): Use __syscall_ulong_t.
13198 (msglen_t): Likewise.
13199 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13200 __syscall_ulong_t.
13201
13202 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13203 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13204
13205 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13206
13207 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13208 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13209
13210 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13211 __syscall_slong_t.
13212
13213 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13214 include <bits/wordsize.h>. Check __x86_64__ instead of
13215 __WORDSIZE.
13216
13217 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13218 "unsigned long long int" if __x86_64__ is defined.
13219 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13220
13221 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13222 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13223 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13224
13225 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13226 <stdint.h>.
13227 (GET_PC): Cast to uintptr_t first.
13228 (GET_FRAME): Likewise.
13229 (GET_STACK): Likewise.
13230
13231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13232 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13234 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13236 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13237 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13238 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13239 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13241 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13242 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13243 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13244 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13245 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13246 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13247 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13248 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13249 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13250 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13251 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13252 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13253 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13254 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13255 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13256 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13257 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13258 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13259 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13260
13261 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13262
13263 * Makerules (+depfiles): Also collect depfiles from .oS in
13264 $(extra-objs).
13265 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13266 .oS, $(libnldbl-routines)).
13267
13268 * Makerules (native-compile-mkdep-flags): Define.
13269 * sunrpc/Makefile (extra-objs): Add $(addprefix
13270 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13271 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13272 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13273 calling $(make-target-directory).
13274
13275 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13276
13277 * bits/types.h (__snseconds_t): Removed.
13278 * time/time.h (struct timespec): Replace __snseconds_t with
13279 __syscall_slong_t.
13280 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13281 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13282 Likewise.
13283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13284 (__SNSECONDS_T_TYPE): Likewise.
13285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13286 (__SNSECONDS_T_TYPE): Likewise.
13287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13288 (__SNSECONDS_T_TYPE): Likewise.
13289
13290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13291
13292 * sysdeps/mach/hurd/bits/typesizes.h
13293 (__SYSCALL_SLONG_TYPE): New macro.
13294 (__SYSCALL_ULONG_TYPE): Likewise.
13295
13296 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13297
13298 * bits/types.h (__syscall_slong_t): New type.
13299 (__syscall_ulong_t): Likewise.
13300
13301 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13302 (__SYSCALL_ULONG_TYPE): Likewise.
13303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13304 (__SYSCALL_SLONG_TYPE): Likewise.
13305 (__SYSCALL_ULONG_TYPE): Likewise.
13306 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13307 (__SYSCALL_SLONG_TYPE): Likewise.
13308 (__SYSCALL_ULONG_TYPE): Likewise.
13309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13310 (__SYSCALL_SLONG_TYPE): Likewise.
13311 (__SYSCALL_ULONG_TYPE): Likewise.
13312
13313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13314
13315 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13316 Add sigaltstack-offsets.sym.
13317 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13318 <sigaltstack-offsets.h>.
13319 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13320 longjmp_msg pointer.
13321 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13322 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13323 signal stack.
13324 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13325
13326 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13327
13328 * elf/stackguard-macros.h: Remove file.
13329 * sysdeps/generic/stackguard-macros.h: New file.
13330 * sysdeps/i386/stackguard-macros.h: Likewise.
13331 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13332 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13333 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13334 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13335 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13336 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13337 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13338 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13339 <elf/stackguard-macros.h>.
13340
13341 [BZ #14109]
13342 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13343 __aligned__ in attribute.
13344 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13345 (gregset_t): Likewise.
13346
13347 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13348
13349 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13350 * sysdeps/x86_64/64/Implies-after: Here. New file.
13351 * sysdeps/x86_64/x32/Implies-after: New file.
13352
13353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13354
13355 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13356 and access return value for _dl_profile_fixup. Use R10_LP to
13357 load frame size.
13358
13359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13360
13361 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13362
13363 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13364
13365 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13366 * sysdeps/x86_64/x32/sysdep.h: New file.
13367
13368 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13369
13370 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13371 * sysdeps/x86_64/setjmp.S: Likewise.
13372
13373 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13374
13375 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13376 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13377 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13378 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13379 remove unused global constant.
13380
13381 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13382
13383 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13384 include of <not-cancel.h>.
13385
13386 2012-05-15 Roland McGrath <roland@hack.frob.com>
13387
13388 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13389
13390 2012-05-15 Jeff Law <law@redhat.com>
13391 Andreas Jaeger <aj@suse.de>
13392
13393 [BZ #13594]
13394 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13395 out from...
13396 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13397 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13398 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13399 code changing __hst_map_handle.map.
13400
13401 2012-05-15 Roland McGrath <roland@hack.frob.com>
13402
13403 * configure.in (sysnames): Look for Implies-before and Implies-after
13404 files.
13405 * configure: Regenerated.
13406
13407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13408
13409 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13410 8-byte data alignment with LP_SIZE alignment.
13411
13412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13413
13414 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13415 into R10_LP.
13416
13417 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13418
13419 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13420
13421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13422
13423 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13424 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13425 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13426 Likewise.
13427 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13428
13429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13430
13431 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13432 (stackinfo_sub_sp): Likewise.
13433
13434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13435
13436 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13437 RAX_LP.
13438
13439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13440
13441 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13442 into R*_LP.
13443
13444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13445
13446 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13447 sizes into R*_LP.
13448
13449 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13450
13451 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13452
13453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13454
13455 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13456 into R11_LP and load __x86_64_shared_cache_size_half into
13457 R8_LP.
13458
13459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13460
13461 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13462 R8_LP.
13463
13464 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13465
13466 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13467 logb for POWER7.
13468 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13469 logbf for POWER7.
13470 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13471 logbl for POWER7.
13472 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13473 powerpc32/power7/fpu/s_logb.c via #include.
13474 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13475 powerpc32/power7/fpu/s_logbf.c via #include.
13476 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13477 powerpc32/power7/fpu/s_logbl.c via #include.
13478
13479 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13480
13481 * README.libm: Remove file.
13482
13483 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13484
13485 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13486 count for x32. Use R*_LP and omit operand-size suffix.
13487
13488 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13489
13490 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13491 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13492 * sysdeps/x86_64/x32/shlib-versions: New file.
13493
13494 2012-05-14 Roland McGrath <roland@hack.frob.com>
13495
13496 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13497 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13498 Use _dl_fatal_printf instead.
13499
13500 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13501
13502 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13503 set if not set by the user. Do not allow for being unset.
13504 * sysdeps/unix/sysv/linux/configure: Regenerated.
13505
13506 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13507
13508 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13509 the `q' suffix from lea and replace .quad with ASM_ADDR.
13510
13511 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13512
13513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13514 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13515 instead of $17.
13516 (PTR_DEMANGLE): Likewise.
13517
13518 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13519
13520 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13521 (LP_OP): Likewise.
13522 (ASM_ADDR): Likewise.
13523 (RAX_LP): Likewise.
13524 (RBP_LP): Likewise.
13525 (RBX_LP): Likewise.
13526 (RCX_LP): Likewise.
13527 (RDI_LP): Likewise.
13528 (RSI_LP): Likewise.
13529 (RSP_LP): Likewise.
13530 (R8_LP): Likewise.
13531 (R9_LP): Likewise.
13532 (R10_LP): Likewise.
13533 (R10_LP): Likewise.
13534 (R11_LP): Likewise.
13535 (R12_LP): Likewise.
13536 (R13_LP): Likewise.
13537 (R14_LP): Likewise.
13538 (R15_LP): Likewise.
13539
13540 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13541
13542 * sysdeps/x86_64/x32/dl-machine.h: New file.
13543
13544 2012-05-14 Andreas Jaeger <aj@suse.de>
13545
13546 * manual/Makefile (subdir): Remove export of subdir.
13547 (all): Remove target.
13548 (.PHONY): Remove all from list.
13549 (mkinstalldirs): Remove.
13550 (.PHONY): Remove installdirs from list.
13551 ($(inst_infodir)/libc.info): Use make-target-directory.
13552 (installdirs): Remove.
13553 (subdir_%): Remove.
13554 (glibc-targets): Remove.
13555 (lib): Remove.
13556 (stubs): Remove.
13557 ($(objpfx)stubs ../po/manual.pot): Remove.
13558 ($(objpfx)stamp%): Remove.
13559 (make-target-directory): Remove.
13560 (subdir_install): Remove.
13561 (routines): Remove.
13562 (aux): Remove.
13563 (sources): Remove.
13564 (objects): Remove.
13565 (headers): Remove.
13566
13567 [BZ #13750]
13568 * manual/.gitignore: Remove, it's not needed anymore.
13569 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13570 all files in it.
13571 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13572 directory.
13573 (texis): Renamed to $(objpfx)texis.
13574 (texis-path): New, contains path to generated files.
13575 (chapters.%): Use texis-path for complete path, add extra argument
13576 libc-texinfo.sh.
13577 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13578 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13579 (summary,texi, stamp-summary): Use complete path of
13580 files. Generate files in build dir.
13581 (dir-add.texi): Build in build dir.
13582 (libm-err.texi,stamp-libm-err): Likewise.
13583 (version.texi, stamp-version): Likewise.
13584 (.%c.texi): Likewise.
13585 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13586 (mostlyclean): Remove target.
13587 (realclean): Remove target.
13588 (generated): Add new variable with contents from mostlyclean and
13589 realclean, remove entries duplicated in common-mostlyclean, add
13590 stamp-libm-err and stamp-version.
13591 (generated-dirs): Add libc directory.
13592 ($(inst_infodir)/libc.info): Install files from build dir.
13593
13594 * manual/install.texi (Configuring and compiling): Adjust since
13595 the info files are not part of the tar ball anymore.
13596
13597 2012-05-14 Andreas Jaeger <aj@suse.de>
13598
13599 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13600 variable.
13601
13602 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13603
13604 [BZ #13717]
13605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13606 to 2.2.0 where earlier.
13607 * sysdeps/unix/sysv/linux/configure: Regenerated.
13608 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13609 Remove conditional code.
13610 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13611 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13612 Remove conditional code.
13613 [!__NR_lchown]: Likewise.
13614 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13615 [__NR_lchown]: Likewise.
13616 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13617 comment referencing __ASSUME_LCHOWN_SYSCALL.
13618 * sysdeps/unix/sysv/linux/i386/sigaction.c
13619 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13620 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13621 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13622 Remove conditional code.
13623 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13624 (__protocol_available): Remove #if 0 code.
13625 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13626 conditional code.
13627 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13628 * sysdeps/unix/sysv/linux/kernel-features.h
13629 (__ASSUME_GETCWD_SYSCALL): Don't define.
13630 (__ASSUME_REALTIME_SIGNALS): Likewise.
13631 (__ASSUME_PREAD_SYSCALL): Likewise.
13632 (__ASSUME_PWRITE_SYSCALL): Likewise.
13633 (__ASSUME_POLL_SYSCALL): Likewise.
13634 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13635 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13636 non-SPARC.
13637 (__ASSUME_SIOCGIFNAME): Don't define.
13638 (__ASSUME_MSG_NOSIGNAL): Likewise.
13639 (__ASSUME_SENDFILE): Define unconditionally.
13640 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13641 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13642 conditional code.
13643 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13644 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13645 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13646 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13647 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13648 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13649 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13651 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13652 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13654 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13657 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13658 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13660 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13663 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13664 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13666 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13669 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13670 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13672 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13673 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13674 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13675 Remove conditional code.
13676 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13677 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13678 Remove conditional code.
13679 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13680 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13681 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13682 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13683 Remove conditional code.
13684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13685 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13686 Remove conditional code.
13687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13688 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13689 Remove conditional code.
13690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13691 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13692 Remove conditional code.
13693 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13694 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13695 Remove conditional code.
13696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13697 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13698 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13699 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13700 * sysdeps/unix/sysv/linux/sigaction.c
13701 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13702 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13703 * sysdeps/unix/sysv/linux/sigpending.c
13704 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13705 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13706 * sysdeps/unix/sysv/linux/sigprocmask.c
13707 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13708 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13709 * sysdeps/unix/sysv/linux/sigsuspend.c
13710 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13711 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13712 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13713 (__libc_missing_rt_sigs): Remove.
13714 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13715 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13716 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13717 Remove conditional code.
13718 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13719 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13720 return 1.
13721 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13722 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13723 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13724 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13725
13726 2012-05-14 Andreas Jaeger <aj@suse.de>
13727
13728 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13729 it's not used in glibc.
13730 (__coshm1): Likewise.
13731 (__acosh1p): Likewise.
13732 (__sgn): Likewise.
13733
13734 * manual/string.texi (Copying and Concatenation): Add missing
13735 variable in concat example.
13736 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13737
13738 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13739
13740 [BZ #14103]
13741 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13742 __builtin_clzl with __builtin_clzll.
13743
13744 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13745
13746 [BZ #14104]
13747 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13748 libc_freeres_ptr.
13749
13750 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13751
13752 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13753 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13754 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13755 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13756
13757 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13758
13759 * NEWS: Update ia64 info.
13760
13761 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13762
13763 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13764 used as bcopy.
13765
13766 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13767
13768 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13769 * sysdeps/unix/syscalls.list (dup3): Likewise.
13770 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13771 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13772
13773 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13774
13775 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13776 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13777
13778 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13779
13780 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13781 thread pointer.
13782 (TLS_IE): Use mov/add instead of movq/addq to load thread
13783 pointer.
13784 (TLS_GD_PREFIX): New.
13785 (TLS_GD): Use it.
13786
13787 2012-05-11 David S. Miller <davem@davemloft.net>
13788
13789 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13790 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13791 (_FPU_SETCW): Likewise.
13792
13793 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13794
13795 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13796 is 32-byte aligned.
13797
13798 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13799
13800 [BZ #11837]
13801 * iconvdata/gb18030.c: Update tables.
13802 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13803 characters specially.
13804 (BODY for TO_LOOP): Add encoding of missing ranges.
13805
13806 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13807
13808 [BZ #13673]
13809 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13810 * sysdeps/mach/hurd/dup3.c: Likewise.
13811 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13812 * sysdeps/powerpc/memmove.c:: Likewise.
13813
13814 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13815
13816 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13817 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13818
13819 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13820
13821 * elf/elf.h (R_X86_64_RELATIVE64): New.
13822 (R_X86_64_NUM): Updated.
13823 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13824 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13825 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13826 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13827 tst-quad1pie tst-quad2pie
13828 (modules-names): Add tst-quadmod1 tst-quadmod2.
13829 ($(objpfx)tst-quad1): New dependency.
13830 ($(objpfx)tst-quad2): Likewise.
13831 ($(objpfx)tst-quad1pie): Likewise.
13832 ($(objpfx)tst-quad2pie): Likewise.
13833 * sysdeps/x86_64/tst-quad1.c: New file.
13834 * sysdeps/x86_64/tst-quad1pie.c: New file.
13835 * sysdeps/x86_64/tst-quad2.c: Likewise.
13836 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13837 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13838 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13839 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13840 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13841
13842 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13843
13844 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13845 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13846 * streams/stropts.h (t_scalar_t): Define type.
13847
13848 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13849 (_PATH_PRESERVE): Set to "/var/lib".
13850 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13851
13852 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13853 instead of int.
13854
13855 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13856 if __dir_mkfile succeeded.
13857
13858 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13859 checking for _hurd_dtablesize. Unlock it right after having
13860 finished _hurd_dtable allocation.
13861
13862 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13863
13864 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13865 * sysdeps/mach/hurd/configure: Regenerated.
13866 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13867 special-casing to...
13868 * sysdeps/gnu/configure.in: ... this new file.
13869 * sysdeps/unix/sysv/linux/configure: Regenerated.
13870 * sysdeps/gnu/configure: New generated file.
13871
13872 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13873 for Linux: use nsec instead of usec, as well as:
13874 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13875 members of type struct timespec.
13876 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13877 New macros.
13878 (struct stat64): Likewise.
13879 (_STATBUF_ST_NSEC): New macro.
13880 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13881
13882 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13883 __strtoul_internal rather than strtoul.
13884
13885 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13886
13887 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13888 and reject them.
13889
13890 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13891
13892 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13893 which preserves existing values.
13894 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13895
13896 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13897
13898 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13899 TIMEOUT values. Return EINVAL for NFDS values either negative or
13900 greater than FD_SETSIZE.
13901
13902 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13903
13904 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13905 allocated, call __vm_protect to finish enabling the existing space, and
13906 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13907 allocate the remainder.
13908
13909 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13910
13911 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13912 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13913
13914 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13915
13916 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13917 sysdeps/mach/hurd/readlink.c.
13918
13919 * posix/tst-sysconf.c (posix_options): Only use
13920 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13921 _POSIX_SYNCHRONIZED_IO when they are defined
13922 * sysdeps/mach/hurd/bits/posix_opt.h:
13923 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13924 (_XOPEN_REALTIME): Undefine macro.
13925 (_XOPEN_REALTIME_THREADS): Undefine macro.
13926 (_XOPEN_SHM): Undefine macro.
13927 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13928 macro to -1.
13929 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13930 macro to -1.
13931 (_POSIX_ASYNC_IO): Undefine macro.
13932 (_POSIX_PRIORITIZED_IO): Undefine macro.
13933 (_POSIX_SPIN_LOCKS): Define macro to -1.
13934
13935 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13936 SA_NODEFER, SA_RESETHAND.
13937 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13938 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13939 F_DUPFD_CLOEXEC.
13940
13941 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13942
13943 * elf/Makefile (pldd-modules): Define unconditionally.
13944
13945 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13946
13947 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13948
13949 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13950
13951 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13952 Return ENOENT when name is empty.
13953 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13954
13955 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13956
13957 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13958
13959 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13960
13961 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13962
13963 Fix mlock in all cases except non-readable pages.
13964 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13965 instead of VM_PROT_ALL as parameter to __vm_wire function.
13966
13967 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13968 (__mkdir): When path is `/', just fail with EEXIST.
13969 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13970
13971 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13972
13973 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13974 <sys/uio.h> (for writev).
13975 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13976 and <sys/param.h> (for MIN).
13977
13978 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13979
13980 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13981 REQUESTED_TIME. Properly set the remaining time and return EINTR
13982 if interrupted.
13983
13984 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13985
13986 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13987 Depend on against $(link-rpcuserlibs).
13988
13989 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13990
13991 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13992 (__libc_stack_end): Do not use attribute_relro.
13993 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13994 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13995 to libthread-provided value.
13996 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13997 attribute_relro.
13998
13999 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14000
14001 [BZ #3748]
14002 * bits/libc-lock.h (__libc_once_get): New macro.
14003 * sysdeps/mach/bits/libc-lock.h: Likewise.
14004 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14005 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14006 instead of using implementation details.
14007
14008 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14009 * libio/freopen.c: Likewise.
14010 * libio/freopen64.c: Likewise.
14011 * misc/syslog.c: Likewise.
14012 * nscd/connections.c: Likewise.
14013 * nscd/netgroupcache.c: Likewise.
14014 * sysdeps/posix/getcwd.c: Likewise.
14015
14016 2012-05-10 Roland McGrath <roland@hack.frob.com>
14017
14018 * math/w_ilogbf.c: Add #include <limits.h>.
14019
14020 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14021
14022 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14023 path instead of returning without unlocking.
14024
14025 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14026 immediate-write ioctls.
14027 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14028
14029 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14030
14031 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14032 __builtin_frame_address instead of making assumptions about the
14033 location of the return address relative to DATA. Force early load of
14034 the return address.
14035 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14036 __builtin_frame_address.
14037
14038 dup3 for GNU Hurd.
14039 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14040 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14041 implement dup3 and do some further code clean-ups.
14042 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14043 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14044
14045 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14046
14047 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14048
14049 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14050 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14051 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14052 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14053 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14054 d->port.lock.
14055
14056 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14057 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14058 when handler == SIG_ERR, not when handler != SIG_ERR.
14059
14060 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14061
14062 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14063 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14064 definitions.
14065
14066 accept4 for GNU Hurd.
14067 * include/sys/socket.h (__libc_accept4): New prototype.
14068 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14069 to implement __libc_accept4.
14070 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14071 __libc_accept4.
14072 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14073
14074 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14075 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14076 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14077 signal-defines.sym.
14078
14079 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14080
14081 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14082
14083 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14084
14085 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14086 assertion on O_CLOEXEC flag.
14087 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14088 * hurd/intern-fd.c: Likewise.
14089 * hurd/port2fd.c: Likewise.
14090
14091 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14092
14093 [BZ #3906]
14094 * bits/in.h (IPV6_PKTINFO): Define new macro.
14095 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14096
14097 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14098
14099 [BZ #13954]
14100 [BZ #13955]
14101 [BZ #13956]
14102 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14103 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14104 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14105 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14107 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14108 * math/libm-test.inc (logb_test) : Additional logb tests.
14109
14110 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14111 Andreas Jaeger <aj@suse.de>
14112
14113 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14114 * configure: Regenerated.
14115 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14116 * config.make.in (link-obsolete-rpc): New substituted variable.
14117 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14118 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14119 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14120 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14121 so that libc.a contains the symbols.
14122 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14123 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14124 * sunrpc/auth_none.c: Likewise.
14125 * sunrpc/auth_unix.c: Likewise.
14126 * sunrpc/authdes_prot.c: Likewise.
14127 * sunrpc/authuxprot.c: Likewise.
14128 * sunrpc/clnt_gen.c: Likewise.
14129 * sunrpc/clnt_perr.c: Likewise.
14130 * sunrpc/clnt_raw.c: Likewise.
14131 * sunrpc/clnt_simp.c: Likewise.
14132 * sunrpc/clnt_tcp.c: Likewise.
14133 * sunrpc/clnt_udp.c: Likewise.
14134 * sunrpc/clnt_unix.c: Likewise.
14135 * sunrpc/des_crypt.c: Likewise.
14136 * sunrpc/des_soft.c: Likewise.
14137 * sunrpc/get_myaddr.c: Likewise.
14138 * sunrpc/key_call.c: Likewise.
14139 * sunrpc/key_prot.c: Likewise.
14140 * sunrpc/netname.c: Likewise.
14141 * sunrpc/pm_getmaps.c: Likewise.
14142 * sunrpc/pm_getport.c: Likewise.
14143 * sunrpc/pmap_clnt.c: Likewise.
14144 * sunrpc/pmap_prot.c: Likewise.
14145 * sunrpc/pmap_prot2.c: Likewise.
14146 * sunrpc/pmap_rmt.c: Likewise.
14147 * sunrpc/publickey.c: Likewise.
14148 * sunrpc/rpc_cmsg.c: Likewise.
14149 * sunrpc/rpc_common.c: Likewise.
14150 * sunrpc/rpc_dtable.c: Likewise.
14151 * sunrpc/rpc_prot.c: Likewise.
14152 * sunrpc/rpc_thread.c: Likewise.
14153 * sunrpc/rtime.c: Likewise.
14154 * sunrpc/svc.c: Likewise.
14155 * sunrpc/svc_auth.c: Likewise.
14156 * sunrpc/svc_raw.c: Likewise.
14157 * sunrpc/svc_run.c: Likewise.
14158 * sunrpc/svc_tcp.c: Likewise.
14159 * sunrpc/svc_udp.c: Likewise.
14160 * sunrpc/svc_unix.c: Likewise.
14161 * sunrpc/svcauth_des.c: Likewise.
14162 * sunrpc/xcrypt.c: Likewise.
14163 * sunrpc/xdr.c: Likewise.
14164 * sunrpc/xdr_array.c: Likewise.
14165 * sunrpc/xdr_float.c: Likewise.
14166 * sunrpc/xdr_intXX_t.c: Likewise.
14167 * sunrpc/xdr_mem.c: Likewise.
14168 * sunrpc/xdr_rec.c: Likewise.
14169 * sunrpc/xdr_ref.c: Likewise.
14170 * sunrpc/xdr_sizeof.c: Likewise.
14171 * sunrpc/xdr_stdio.c: Likewise.
14172
14173 2012-05-10 Roland McGrath <roland@hack.frob.com>
14174
14175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14176 change. Update copyright years.
14177
14178 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14179
14180 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14181
14182 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14183 Joseph Myers <joseph@codesourcery.com>
14184 Paul Pluzhnikov <ppluzhnikov@google.com>
14185
14186 [BZ #14012]
14187 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14188 requiring rpcgen.
14189 [cross-compiling] (extra-libs): Likewise.
14190 [cross-compiling] (extra-libs-others): Likewise.
14191 [cross-compiling] (librpcsvc-routines): Likewise.
14192 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14193 [cross-compiling] (omit-deps): Likewise.
14194 (sunrpc-CPPFLAGS): New variable.
14195 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14196 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14197 (cross-rpcgen-objs): New variable.
14198 (extra-objs): Append $(cross-rpcgen-objs).
14199 ($(cross-rpcgen-objs)): New rule.
14200 ($(objpfx)cross-rpcgen): Likewise.
14201 (rpcgen-cmd): Define to use $(built-program-file). Expand
14202 comment.
14203 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14204 ($(objpfx)x%.stmp): Likewise.
14205 * sunrpc/proto.h [IS_IN_build] (_): Define.
14206 [IS_IN_build] (_libc_intl_domainname): Likewise.
14207
14208 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14209
14210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14211 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14212 and R_X86_64_TPOFF64.
14213
14214 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14215
14216 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14217 sysdeps/unix/sysv/syscalls.list.
14218 (stime): Likewise.
14219 (utime): Likewise.
14220 * sysdeps/unix/sysv/syscalls.list: Remove file.
14221
14222 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14223
14224 [BZ #3440]
14225 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14226 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14227 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14228 (__LC_IDENTIFICATION): Make these macros useful in #if
14229 expressions, as required by C99.
14230
14231 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14232
14233 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14234 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14235 after this.
14236
14237 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14238
14239 * stdlib/longlong.h: Updated from GCC.
14240
14241 2012-05-09 Andreas Jaeger <aj@suse.de>
14242
14243 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14244 default is first entry.
14245 (run_mode): Set type.
14246 (main): Remove informal message about syslog.
14247 (options): Fix typo.
14248
14249 [BZ #14053]
14250 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14251 to asm.
14252 (lrint): Likewise.
14253 (llrintf): Likewise.
14254 (llrint): Likewise.
14255 (rint): Likewise.
14256 (rintf): Likewise.
14257 (nearbyint): Likewise.
14258 (nearbyintf): Likewise.
14259
14260 2012-05-09 Andreas Jaeger <aj@suse.de>
14261 Pedro Alves <palves@redhat.com>
14262
14263 * nscd/nscd.c (run_mode): Use enum.
14264 (main): Cleanup coding style issue.
14265
14266 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14267 Andreas Jaeger <aj@suse.de>
14268
14269 * nscd/nscd.c (go_background): Replaced with...
14270 (run_mode): ... this.
14271 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14272 (options): Add -F --foreground.
14273 (main): Implement it.
14274 (parse_opt): Parse it.
14275
14276 2012-05-09 Andreas Jaeger <aj@suse.de>
14277
14278 [BZ #14083]
14279 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14280 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14281 -Wconversion warning.
14282 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14283 Likewise.
14284
14285 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14286
14287 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14288 == 0.
14289 (LC_ALL): Use macro-int-constant.
14290 (LC_COLLATE): Likewise.
14291 (LC_CTYPE): Likewise.
14292 (LC_MESSAGES): Likewise.
14293 (LC_MONETARY): Likewise.
14294 (LC_NUMERIC): Likewise.
14295 (LC_TIME): Likewise.
14296 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14297 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14298 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14299 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14300 Specify type.
14301 [C99-based standards] (float_t): Expect type.
14302 [C99-based standards] (double_t): Expect type.
14303 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14304 type.
14305 [C99-based standards] (HUGE_VALL): Likewise.
14306 [C99-based standards] (INFINITY): Likewise.
14307 [C99-based standards] (NAN): Likewise.
14308 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14309 [C99-based standards] (FP_NAN): Likewise.
14310 [C99-based standards] (FP_NORMAL): Likewise.
14311 [C99-based standards] (FP_SUBNORMAL): Likewise.
14312 [C99-based standards] (FP_ZERO): Likewise.
14313 [C99-based standards] (FP_FAST_FMA): Use
14314 optional-macro-int-constant. Specify type. Require == 1.
14315 [C99-based standards] (FP_FAST_FMAF): Likewise.
14316 [C99-based standards] (FP_FAST_FMAL): Likewise.
14317 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14318 [C99-based standards] (FP_ILOGBNAN): Likewise.
14319 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14320 Specify type.
14321 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14322 [C99-based standards] (math_errhandling): Specify type.
14323 [ISO99 || ISO11] (signgam): Do not allow.
14324 [non-C99-based standards] (copysignf): Do not allow.
14325 [non-C99-based standards] (exp2f): Likewise.
14326 [non-C99-based standards] (log2f): Likewise.
14327 [non-C99-based standards] (modff): Allow.
14328 [non-C99-based standards] (erff): Do not allow.
14329 [non-C99-based standards] (erfcf): Likewise.
14330 [non-C99-based standards] (gammaf): Likewise.
14331 [non-C99-based standards] (hypotf): Likewise.
14332 [non-C99-based standards] (j0f): Likewise.
14333 [non-C99-based standards] (j1f): Likewise.
14334 [non-C99-based standards] (jnf): Likewise.
14335 [non-C99-based standards] (lgammaf): Likewise.
14336 [non-C99-based standards] (tgammaf): Likewise.
14337 [non-C99-based standards] (y0f): Likewise.
14338 [non-C99-based standards] (y1f): Likewise.
14339 [non-C99-based standards] (ynf): Likewise.
14340 [non-C99-based standards] (isnanf): Likewise.
14341 [non-C99-based standards] (acoshf): Likewise.
14342 [non-C99-based standards] (asinhf): Likewise.
14343 [non-C99-based standards] (atanhf): Likewise.
14344 [non-C99-based standards] (cbrtf): Likewise.
14345 [non-C99-based standards] (expm1f): Likewise.
14346 [non-C99-based standards] (ilogbf): Likewise.
14347 [non-C99-based standards] (log1pf): Likewise.
14348 [non-C99-based standards] (logbf): Likewise.
14349 [non-C99-based standards] (nextafterf): Likewise.
14350 [non-C99-based standards] (remainderf): Likewise.
14351 [non-C99-based standards] (rintf): Likewise.
14352 [non-C99-based standards] (scalbf): Likewise.
14353 [non-C99-based standards] (copysignl): Likewise.
14354 [non-C99-based standards] (exp2l): Likewise.
14355 [non-C99-based standards] (log2l): Likewise.
14356 [non-C99-based standards] (modfl): Allow.
14357 [non-C99-based standards] (erfl): Do not allow.
14358 [non-C99-based standards] (erfcl): Likewise.
14359 [non-C99-based standards] (gammal): Likewise.
14360 [non-C99-based standards] (hypotl): Likewise.
14361 [non-C99-based standards] (j0l): Likewise.
14362 [non-C99-based standards] (j1l): Likewise.
14363 [non-C99-based standards] (jnl): Likewise.
14364 [non-C99-based standards] (lgammal): Likewise.
14365 [non-C99-based standards] (tgammal): Likewise.
14366 [non-C99-based standards] (y0l): Likewise.
14367 [non-C99-based standards] (y1l): Likewise.
14368 [non-C99-based standards] (ynl): Likewise.
14369 [non-C99-based standards] (isnanl): Likewise.
14370 [non-C99-based standards] (acoshl): Likewise.
14371 [non-C99-based standards] (asinhl): Likewise.
14372 [non-C99-based standards] (atanhl): Likewise.
14373 [non-C99-based standards] (cbrtl): Likewise.
14374 [non-C99-based standards] (expm1l): Likewise.
14375 [non-C99-based standards] (ilogbl): Likewise.
14376 [non-C99-based standards] (log1pl): Likewise.
14377 [non-C99-based standards] (logbl): Likewise.
14378 [non-C99-based standards] (nextafterl): Likewise.
14379 [non-C99-based standards] (remainderl): Likewise.
14380 [non-C99-based standards] (rintl): Likewise.
14381 [non-C99-based standards] (scalbl): Likewise.
14382 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14383 [non-C99-based standards] (FP_*): Do not allow.
14384 [C99-based standards] (FP_*): Change to
14385 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14386 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14387 allow.
14388 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14389 (SIG_ERR): Likewise.
14390 [X/Open-based standards] (SIG_HOLD): Likewise.
14391 (SIG_IGN): Likewise.
14392 (SIGABRT): Use macro-int-constant. Specify type. Require
14393 positive value.
14394 (SIGFPE): Likewise.
14395 (SIGILL): Likewise.
14396 (SIGINT): Likewise.
14397 (SIGSEGV): Likewise.
14398 (SIGTER): Likewise.
14399 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14400 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14401 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14402 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14403 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14404 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14405 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14406 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14407 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14408 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14409 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14410 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14411 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14412 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14413 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14414 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14415 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14416 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14417 [X/Open-based standards] (SIGTRAP): Likewise.
14418 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14419 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14420 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14421 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14422 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14423 allow.
14424
14425 2012-05-08 Ian Wienand <ianw@vmware.com>
14426
14427 [BZ #14080]
14428 * time/tzset.c (__tzset_parse_tz): Update default rules for
14429 daylight time changes in the Energy Policy Act of 2005.
14430
14431 2012-05-09 Andreas Jaeger <aj@suse.de>
14432
14433 [BZ #13983]
14434 * elf/ldconfig.c (parse_conf): Change string to make clear that
14435 ldconfig only issued a warning if ld.so.conf does not exist.
14436
14437 2012-05-08 David S. Miller <davem@davemloft.net>
14438
14439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14440 movxtod instead of popping the value on the stack.
14441
14442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14443
14444 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14445
14446 * config.h.in: Add HAVE_ARM_PCS_VFP.
14447
14448 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
14449
14450 [BZ #13979]
14451 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14452 checking but the checks are disabled for any reason.
14453
14454 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14455
14456 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14457 and ELF64_R_TYPE with ELFW(R_TYPE).
14458
14459 2012-05-08 Joseph Myers <joseph@codesourcery.com>
14460
14461 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14462 (ulimit): Likewise.
14463
14464 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14465 (settimeofday): Likewise.
14466
14467 2012-05-08 Mike Frysinger <vapier@gentoo.org>
14468
14469 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14470 a struct th_u2 inside the union, and move tu_block/tu_code into
14471 a new th_u3 union of tu_block/tu_code inside of that. Move
14472 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14473 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14474 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14475 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14476 (th_stuff): Change to th_u1.tu_stuff.
14477 (th_data): Define.
14478 (th_msg): Change to th_u1.th_u2.tu_data.
14479
14480 2012-05-07 David S. Miller <davem@davemloft.net>
14481
14482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14483
14484 [BZ #14074]
14485 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14486 (SETUP_PIC_REG): Use it.
14487 (SETUP_PIC_REG_LEAF): Use it.
14488
14489 2012-05-07 Joseph Myers <joseph@codesourcery.com>
14490
14491 [BZ #13885]
14492 [BZ #13923]
14493 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14494 USE_AS_EXPM1L.
14495 (EXPL_FINITE): Likewise.
14496 (FLDLOG): Likewise.
14497 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14498 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14499 e_expl.S.
14500 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14501 USE_AS_EXPM1L.
14502 (EXPL_FINITE): Likewise.
14503 (FLDLOG): Likewise.
14504 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14505 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14506 e_expl.S.
14507 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14508 test of -max_value argument for long double.
14509 * sysdeps/i386/fpu/libm-test-ulps: Update.
14510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14511
14512 2012-05-06 David S. Miller <davem@davemloft.net>
14513
14514 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14515 quad soft-float symbols whose references which are compiler
14516 generated.
14517 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14518
14519 2012-05-06 Joseph Myers <joseph@codesourcery.com>
14520
14521 [BZ #13884]
14522 [BZ #13914]
14523 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14524 USE_AS_EXP10L.
14525 (EXPL_FINITE): Likewise.
14526 (FLDLOG): Likewise.
14527 (c0): Likewise.
14528 (c1): Likewise.
14529 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14530 Adjust comments for base varying.
14531 (__expl_finite): Change alias to EXPL_FINITE.
14532 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14533 e_expl.S.
14534 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14535 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14536 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14537 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14538 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14539 USE_AS_EXP10L.
14540 (EXPL_FINITE): Likewise.
14541 (FLDLOG): Likewise.
14542 (c0): Likewise.
14543 (c1): Likewise.
14544 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14545 Adjust comments for base varying.
14546 (__expl_finite): Change alias to EXPL_FINITE.
14547 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14548 tests for bugs.
14549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14550
14551 [BZ #14064]
14552 * math/libm-test.inc (check_float_internal): Correct ulp
14553 calculation for subnormal expected results.
14554
14555 2012-05-06 Andreas Jaeger <aj@suse.de>
14556
14557 * Makeconfig (+math-flags): New, set to -frounding-math.
14558 (+cflags): Add +math-flags so that all of glibc gets compiled with
14559 it.
14560
14561 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14562
14563 2012-05-05 Joseph Myers <joseph@codesourcery.com>
14564
14565 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14566 Disable one test.
14567
14568 [BZ #13787]
14569 [BZ #13922]
14570 [BZ #14036]
14571 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14572 (__ieee754_expl): Allow for and saturate large arguments.
14573 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14574 (u_threshold): Likewise.
14575 (__exp): Call __ieee754_exp before checking for overflow and
14576 underflow.
14577 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14578 (u_threshold): Likewise.
14579 (__expf): Call __ieee754_expf before checking for overflow and
14580 underflow.
14581 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14582 (u_threshold): Likewise.
14583 (__expl): Call __ieee754_expl before checking for overflow and
14584 underflow.
14585 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14586 (__ieee754_expl): Allow for and saturate large arguments.
14587 * math/libm-test.inc (exp_test): Add another test. Do not allow
14588 missing overflow exception on overflow.
14589 (expm1_test): Do not allow missing overflow exception on overflow.
14590
14591 * sysdeps/i386/fpu/e_expl.c: Move to ...
14592 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14593 rather than using inline asm.
14594 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14595 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14596 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14597
14598 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14599 (nice): Likewise.
14600 (poll): Likewise.
14601 (signal): Likewise.
14602 (time): Likewise.
14603 (times): Likewise.
14604
14605 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14606
14607 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14608 sysdeps/unix/common/syscalls.list.
14609 (fchmod): Likewise.
14610 (fchown): Likewise.
14611 (ftruncate): Likewise.
14612 (getrusage): Likewise.
14613 (gettimeofday): Likewise.
14614 (setpgid): Likewise.
14615 (setregid): Likewise.
14616 (setreuid): Likewise.
14617 (sigaction): Likewise.
14618 (truncate): Likewise.
14619 (vhangup): Likewise.
14620 * sysdeps/unix/common/syscalls.list: Remove file.
14621 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14622 * sysdeps/unix/sysv/linux/Implies: Likewise.
14623
14624 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14625
14626 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14628 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14629 Moved to ...
14630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14631 Here.
14632 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14633 to ...
14634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14635 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14636 to ...
14637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14638 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14639 to ...
14640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14641 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14642 to ...
14643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14644 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14645 to ...
14646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14647 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14648 to ...
14649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14650 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14651 to ...
14652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14653 Here.
14654 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14655 to ...
14656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14657 Here.
14658 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14659 to ...
14660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14661 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14662 Moved to ...
14663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14664 Here.
14665 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14666 to ...
14667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14668
14669 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14670
14671 * sysdeps/unix/common/bits/dirent.h: Remove file.
14672 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14673
14674 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14675 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14676 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14677 * sysdeps/unix/bsd/isatty.c: Likewise.
14678 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14679 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14680 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14681
14682 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14683
14684 [BZ #13563]
14685 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14686 long double comparison inaccuracies.
14687 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14689
14690 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14691
14692 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14693 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14694
14695 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14696
14697 [BZ #14049]
14698 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14699 nonzero digits before rounding a hex value.
14700 * stdlib/tst-strtod.c (tests): Add another test.
14701
14702 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14703
14704 * sysdeps/s390/fpu/libm-test-ulps: Update.
14705
14706 2012-05-03 Andreas Jaeger <aj@suse.de>
14707
14708 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14709 does not get optimized out.
14710 (malloc_opt_barrier): New.
14711
14712 2012-05-03 Andreas Jaeger <aj@suse.de>
14713 Roland McGrath <roland@hack.frob.com>
14714
14715 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14716 intermediate file deletion.
14717 (generated): Add .symlist files.
14718
14719 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14720
14721 [BZ #13775]
14722 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14723 Redirect under this condition.
14724 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14725 [__USE_GNU] (__dprintf_chk): Not under this condition.
14726 [__USE_GNU] (__vdprintf_chk): Likewise.
14727 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14728 under this condition.
14729 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14730 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14731 [__USE_XOPEN2K8] (vdprintf): Likewise.
14732 [__USE_GNU] (__dprintf_chk): Not under this condition.
14733 [__USE_GNU] (__vdprintf_chk): Likewise.
14734 [__USE_GNU] (dprintf): Likewise.
14735 [__USE_GNU] (vdprintf): Likewise.
14736
14737 2012-05-03 Roland McGrath <roland@hack.frob.com>
14738
14739 * elf/Makefile (common-generated): Set this instead of generated for
14740 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14741 $(all-built-dso)-derived lists.
14742
14743 2012-05-03 Andreas Jaeger <aj@suse.de>
14744
14745 * sysdeps/i386/fpu/libm-test-ulps: Update.
14746
14747 * FAQ: Removed.
14748 * FAQ.in: Likewise.
14749 * scripts/gen-FAQ.pl: Likewise.
14750 * manual/install.texi (Installation): Point to online location of
14751 FAQ.
14752 * Makefile (files-for-dist): Remove FAQ.
14753 (FAQ): Remove.
14754
14755 2012-05-02 Allan McRae <allan@archlinux.org>
14756
14757 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14758 (LDFLAGS-reldepmod5.so): Likewise.
14759 (LDFLAGS-reldep6mod1.so): Likewise.
14760 (LDFLAGS-reldep6mod4.so): Likewise.
14761 (LDFLAGS-reldep8mod3.so): Likewise.
14762 (LDFLAGS-unload4mod1.so): Likewise.
14763 (LDFLAGS-unload4mod2.so): Likewise.
14764 (LDFLAGS-tst-initorder): Likewise.
14765 (LDFLAGS-tst-initordera2.so): Likewise.
14766 (LDFLAGS-tst-initordera3.so): Likewise.
14767 (LDFLAGS-tst-initordera4.so): Likewise.
14768 (LDFLAGS-tst-initorderb2.so): Likewise.
14769 (LDFLAGS-noload): Likewise.
14770 (LDFLAGS-next): Likewise.
14771 (LDFLAGS-order2mod1.so): Likewise.
14772 (LDFLAGS-order2mod2.so): Likewise.
14773 (LDFLAGS-tst-initorder2): Likewise.
14774 (LDFLAGS-tst-initorder2a.so): Likewise.
14775 (LDFLAGS-tst-initorder2b.so): Likewise.
14776 (LDFLAGS-tst-initorder2c.so): Likewise.
14777 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14778
14779 2012-05-02 David S. Miller <davem@davemloft.net>
14780
14781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14782
14783 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14784
14785 [BZ #14055]
14786 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14787
14788 2012-05-02 Andreas Jaeger <aj@suse.de>
14789
14790 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14791 since we manipulate rounding mode.
14792 (CPPFLAGS-test-idouble.c): Likewise.
14793 (CPPFLAGS-test-ifloat.c): Likewise.
14794 (CFLAGS-test-ldouble.c): Likewise.
14795 (CFLAGS-test-double.c): Likewise.
14796 (CFLAGS-test-float.c): Likewise.
14797 (CFLAGS-test-misc.c): Likewise.
14798 (CFLAGS-test-test-fenv.c): Likewise.
14799
14800 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14801
14802 [BZ #2550]
14803 [BZ #2570]
14804 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14805 comparisons to determine direction to adjust input.
14806
14807 2012-05-01 Roland McGrath <roland@hack.frob.com>
14808
14809 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14810 output to the target.
14811
14812 * scripts/localplt.awk: New file.
14813 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14814 (check-localplt-CFLAGS): Variable removed.
14815 ($(all-built-dso:=.jmprel)): New static pattern rule.
14816 (generated): Add those targets.
14817 (localplt-built-dso): New variable.
14818 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14819
14820 * elf/check-localplt.c: File removed.
14821
14822 * scripts/check-execstack.awk: New file.
14823 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14824 (check-execstack-CFLAGS): Variable removed.
14825 ($(objpfx)check-execstack.h): Target removed.
14826 ($(objpfx)execstack-default): New target.
14827 (generated): Add that instead of check-execstack.h.
14828 ($(all-built-dso:=.phdr)): New static pattern rule.
14829 (generated): Add those targets.
14830 * elf/check-execstack.c: File removed.
14831
14832 * scripts/check-textrel.awk: New file.
14833 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14834 (check-textrel-CFLAGS): Variable removed.
14835 (all-built-dso): Use := to define.o
14836 ($(all-built-dso:=.dyn)): New static pattern rule.
14837 (generated): Add those targets.
14838 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14839 * config.make.in (READELF): New substituted variable.
14840 * elf/check-textrel.c: File removed.
14841
14842 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14843
14844 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14845 allow.
14846 * conform/data/ctype.h-data [C99-based standards] (isblank):
14847 Expect function.
14848 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14849 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14850 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14851 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14852 Specify type. Require positive value.
14853 (EILSEQ): Likewise.
14854 (ERANGE): Likewise.
14855 [ISO || POSIX] (EILSEQ): Do not expect.
14856 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14857 Specify type. Require positive value.
14858 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14859 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14860 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14861 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14862 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14863 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14864 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14865 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14866 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14867 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14868 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14869 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14870 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14871 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14872 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14873 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14874 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14875 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14876 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14877 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14878 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14879 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14880 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14881 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14882 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14883 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14884 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14885 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14886 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14887 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14888 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14889 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14890 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14891 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14892 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14893 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14894 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14895 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14896 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14897 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14898 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14899 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14900 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14901 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14902 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14903 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14904 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14905 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14906 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14907 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14908 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14909 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14910 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14911 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14912 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14913 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14914 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14915 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14916 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14917 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14918 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14919 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14920 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14921 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14922 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14923 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14924 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14925 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14926 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14927 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14928 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14929 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14930 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14931 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14932 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14933 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14934 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14935 Require >= 2.
14936 (FLT_ROUNDS): Expect as macro, not constant.
14937 (FLT_MANT_DIG): Use macro-int-constant.
14938 (DBL_MANT_DIG): Likewise.
14939 (LDBL_MANT_DIG): Likewise.
14940 (FLT_DIG): Likewise.
14941 (DBL_DIG): Likewise.
14942 (LDBL_DIG): Likewise.
14943 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14944 (DBL_MIN_EXP): Likewise.
14945 (LDBL_MIN_EXP): Likewise.
14946 (FLT_MAX_EXP): Use macro-int-constant.
14947 (DBL_MAX_EXP): Likewise.
14948 (LDBL_MAX_EXP): Likewise.
14949 (FLT_MAX_10_EXP): Likewise.
14950 (DBL_MAX_10_EXP): Likewise.
14951 (LDBL_MAX_10_EXP): Likewise.
14952 (FLT_MAX): Use macro-constant.
14953 (DBL_MAX): Likewise.
14954 (LDBL_MAX): Likewise.
14955 (FLT_EPSILON): Use macro-constant. Give upper bound.
14956 (DBL_EPSILON): Likewise.
14957 (LDBL_EPSILON): Likewise.
14958 (FLT_MIN): Likewise.
14959 (DBL_MIN): Likewise.
14960 (LDBL_MIN): Likewise.
14961 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14962 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14963 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14964 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14965 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14966 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14967 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14968 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14969 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14970 [ISO11] (FLT_TRUE_MIN): Likewise.
14971 [ISO11] (LDBL_TRUE_MIN): Likewise.
14972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14973 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14974 (SCHAR_MIN): Use macro-int-constant. Specify type.
14975 (SCHAR_MAX): Likewise.
14976 (UCHAR_MAX): Likewise.
14977 (CHAR_MIN): Likewise.
14978 (CHAR_MAX): Likewise.
14979 (MB_LEN_MAX): Use macro-int-constant.
14980 (SHRT_MIN): Use macro-int-constant. Specify type.
14981 (SHRT_MAX): Likewise.
14982 (USHRT_MAX): Likewise.
14983 (INT_MAX): Likewise.
14984 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14985 bound negative.
14986 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14987 bound with "U".
14988 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14989 bound with "L".
14990 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14991 bound negative. Suffix upper bound with "L".
14992 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14993 bound with "UL".
14994 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14995 Specify type.
14996 [C99-based standards] (LLONG_MAX): Likewise.
14997 [C99-based standards] (ULLONG_MAX): Likewise.
14998 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14999 == 0.
15000 [ISO11] (max_align_t): Require type.
15001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15002
15003 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15004 from $CFLAGS, without defining away __attribute__ calls.
15005 (checknamespace): Use $CFLAGS_namespace.
15006
15007 * conform/conformtest.pl (@keywords): Only include C99 keywords
15008 for standards based on C99 or C11.
15009
15010 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15011 Disable tests.
15012 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15013 UNIX98]: Likewise.
15014
15015 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15016 usability of symbols in #if.
15017
15018 * conform/conformtest.pl: If macro or constant types start
15019 "promoted:", expect the symbol to be of the following type
15020 promoted by the integer promotions.
15021
15022 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15023 in one place. Also handle "macro-constant".
15024
15025 * conform/conformtest.pl: Only accept expected macro values with
15026 "==". Parse all "macro" lines in one place.
15027 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15028
15029 * conform/conformtest.pl: Handle braced types on "constant" lines
15030 instead of handling "typed-constant".
15031 * conform/data/signal.h-data: Use "constant" instead of
15032 "typed-constant".
15033
15034 * conform/conformtest.pl: Handle "optional-" at start of lines in
15035 one place rather than duplicating several cases. Handle each
15036 format of "macro" line with initial "optional-".
15037
15038 * conform/conformtest.pl: Only accept expected constant or
15039 optional-constant values with "==". Parse all "constant" lines in
15040 one place. Parse all "optional-constant" lines in one place.
15041 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15042 * conform/data/fmtmsg.h-data: Likewise.
15043 * conform/data/netinet/in.h-data: Likewise.
15044 * conform/data/tar.h-data: Likewise.
15045 * conform/data/limits.h-data: Use "==" form on "constant" and
15046 "optional-constant" lines.
15047
15048 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15049 Use -std=c99 for XOPEN2K.
15050 (@knownproblems): Remove.
15051 (newtoken): Don't check %isknown.
15052
15053 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15054 Do not expect macro.
15055 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15056 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15057 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15058 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15059 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15060 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15061 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15062 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15063 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15064 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15065 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15066 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15067 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15068 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15069 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15070 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15071 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15072 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15073 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15074 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15075 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15076 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15077 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15078 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15079 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15080 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15081 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15082 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15083 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15084 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15085 [XPG3] (acosh): Likewise.
15086 [XPG3] (asinh): Likewise.
15087 [XPG3] (atanh): Likewise.
15088 [XPG3] (cbrt): Likewise.
15089 [XPG3] (expm1): Likewise.
15090 [XPG3] (ilogb): Likewise.
15091 [XPG3] (log1p): Likewise.
15092 [XPG3] (logb): Likewise.
15093 [XPG3] (nextafter): Likewise.
15094 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15095 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15096 [XPG3] (remainder): Likewise.
15097 [XPG3] (rint): Likewise.
15098 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15099 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15100 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15101 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15102 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15103 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15104 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15105 [UNIX98 || XOPEN2K] (scalb): Expect.
15106 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15107 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15108 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15109 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15110 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15111 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15112 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15113 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15114 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15115 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15116 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15117 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15118 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15119 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15120 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15121 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15122 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15123 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15124 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15125 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15126 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15127 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15128 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15129 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15133 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15134 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15135 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15136 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15137 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15138 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15139 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15140 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15141 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15142 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15143 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15144 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15146 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15147 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15152 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15153 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15155 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15156 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15157 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15159 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15161 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15162 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15163 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15171 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15212 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15213 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15220 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15221 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15225 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15226 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15227 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15228 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15229 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15230 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15231 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15232 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15233 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15234 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15235 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15236 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15237 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15238 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15240 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15241 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15242 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15243
15244 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15245 _XOPEN_SOURCE_EXTENDED for XPG4.
15246
15247 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15248
15249 * Makeconfig (localtime): Remove variable.
15250 (inst_localtime-file): Likewise.
15251
15252 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15253
15254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15255 Update.
15256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15257 Update.
15258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15259 Update.
15260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15261 Update.
15262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15263 Update.
15264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15265 Update.
15266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15267 Update.
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15269 Update.
15270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15271 Update.
15272
15273 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15274
15275 [BZ #2550]
15276 [BZ #2570]
15277 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15278 comparisons to determine direction to adjust input.
15279 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15280 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15281 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15282 Likewise.
15283 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15284 Likewise.
15285 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15286 Likewise.
15287 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15288 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15289 Likewise.
15290 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15291 Likewise.
15292 * math/libm-test.inc (nexttoward_test): Add more tests.
15293
15294 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15295
15296 [BZ #14040]
15297 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15298 in version GLIBC_2.1, not GLIBC_2.0.
15299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15300 Likewise.
15301
15302 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15303
15304 [BZ #13942]
15305 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15306 (1 - x) * (1 + x).
15307 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15308 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15309 * math/libm-test.inc (acos_test): Add more tests.
15310 (asin_test): Likewise.
15311 * sysdeps/i386/fpu/libm-test-ulps: Update.
15312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15313
15314 [BZ #14034]
15315 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15316 of square root.
15317 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15318 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15319 * math/libm-test.inc (acos_test_tonearest): New function.
15320 (acos_test_towardzero): Likewise.
15321 (acos_test_downward): Likewise.
15322 (acos_test_upward): Likewise.
15323 (asin_test_tonearest): Likewise.
15324 (asin_test_towardzero): Likewise.
15325 (asin_test_downward): Likewise.
15326 (asin_test_upward): Likewise.
15327 (main): Call the new functions.
15328 * sysdeps/i386/fpu/libm-test-ulps: Update.
15329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15330
15331 [BZ #13884]
15332 [BZ #13924]
15333 * math/e_exp10.c: Include <float.h>.
15334 (__ieee754_exp10): Handle underflow here rather than multiplying
15335 large negative argument by M_LN10.
15336 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15337 of __ieee754_expf.
15338 * math/e_exp10l.c: Include <float.h>.
15339 (__ieee754_exp10l): Handle underflow here rather than multiplying
15340 large negative argument by M_LN10l.
15341 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15342 spurious overflow exception on underflow.
15343
15344 2012-04-29 Marek Polacek <polacek@redhat.com>
15345
15346 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15347 (__fortify_function): New macro.
15348 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15349 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15350 __extern_always_inline.
15351 * libio/bits/stdio2.h: Likewise.
15352 * libio/bits/stdio.h: Likewise.
15353 * string/string.h: Likewise.
15354 * string/bits/string3.h: Likewise.
15355 * include/stdio.h: Likewise.
15356 * stdlib/bits/stdlib.h: Likewise.
15357 * stdlib/stdlib.h: Likewise.
15358 * rt/bits/mqueue2.h: Likewise.
15359 * rt/mqueue.h: Likewise.
15360 * posix/bits/unistd.h: Likewise.
15361 * posix/unistd.h: Likewise.
15362 * io/bits/poll2.h: Likewise.
15363 * io/bits/fcntl2.h: Likewise.
15364 * io/fcntl.h: Likewise.
15365 * io/sys/poll.h: Likewise.
15366 * misc/bits/syslog.h: Likewise.
15367 * misc/bits/syslog-ldbl.h: Likewise.
15368 * misc/sys/syslog.h: Likewise.
15369 * socket/bits/socket2.h: Likewise.
15370 * socket/sys/socket.h: Likewise.
15371 * debug/tst-chk1.c: Likewise.
15372 * wcsmbs/bits/wchar2.h: Likewise.
15373 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15374 * wcsmbs/wchar.h: Likewise.
15375
15376 2012-04-29 Andreas Jaeger <aj@suse.de>
15377
15378 * Makerules (tests): Remove enable-check-abi protection.
15379 (check-abi-warn): Remove.
15380 (check-abi-%): Remove check-abi-warn usage.
15381
15382 * configure.in: Remove check-abi configure option.
15383 * configure: Regenerated.
15384 * config.make.in (enable-check-abi): Remove.
15385
15386 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15387
15388 [BZ #14033]
15389 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15390 double functions to double *_finite functions.
15391
15392 [BZ #13941]
15393 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15394 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15395 LDBL_MIN_EXP.
15396 * stdio-common/Makefile (tests): Add tst-sprintf3.
15397 * stdio-common/tst-sprintf3.c: New file.
15398
15399 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15400 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15401
15402 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15403
15404 * conform/conformtest.pl: Remove duplicate typed-constant
15405 handling.
15406
15407 2012-04-28 David S. Miller <davem@davemloft.net>
15408
15409 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15410 (check-abi-%): Remove AWK script prerequisite and explicit
15411 abilist directory.
15412 (check-abi): Rewrite to just diff the symlist with the abilist.
15413 (config-tls, config-abi-config): Delete, no longer used.
15414 (update-abi-%): Remove AWK script and explicit abilist directory.
15415 (update-abi): Rewrite to simply compare and conditionally copy the
15416 symlist and the sysdep abilist file. Remove update-abi-config
15417 checks.
15418 * abilist/ld.abilist: Remove.
15419 * abilist/libBrokenLocale.abilist: Remove.
15420 * abilist/libanl.abilist: Remove.
15421 * abilist/libcrypt.abilist: Remove.
15422 * abilist/libdl.abilist: Remove.
15423 * abilist/librt.abilist: Remove.
15424 * abilist/libthread_db.abilist: Remove.
15425 * abilist/libutil.abilist: Remove.
15426 * scripts/extract-abilist.awk: Remove.
15427 * scripts/merge-abilist.awk: Remove.
15428 * sysdeps/generic/libcidn.abilist: New file.
15429 * sysdeps/generic/libnss_compat.abilist: New file.
15430 * sysdeps/generic/libnss_db.abilist: New file.
15431 * sysdeps/generic/libnss_dns.abilist: New file.
15432 * sysdeps/generic/libnss_files.abilist: New file.
15433 * sysdeps/generic/libnss_hesiod.abilist: New file.
15434 * sysdeps/generic/libnss_nis.abilist: New file.
15435 * sysdeps/generic/libnss_nisplus.abilist: New file.
15436 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15437 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15438 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15439 file.
15440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15441 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15442 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15443 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15444 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15445 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15446 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15447 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15448 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15449 file.
15450 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15451 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15452 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15453 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15454 file.
15455 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15456 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15457 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15458 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15459 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15460 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15461 file.
15462 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15463 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15464 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15465 file.
15466 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15468 New file.
15469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15470 New file.
15471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15472 New file.
15473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15474 New file.
15475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15476 New file.
15477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15478 New file.
15479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15480 New file.
15481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15482 New file.
15483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15484 New file.
15485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15486 New file.
15487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15488 New file.
15489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15490 New file.
15491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15492 New file.
15493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15494 file.
15495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15496 New file.
15497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15498 New file.
15499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15500 file.
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15502 New file.
15503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15504 New file.
15505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15506 file.
15507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15508 New file.
15509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15510 New file.
15511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15512 New file.
15513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15514 New file.
15515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15516 New file.
15517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15518 New file.
15519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15521 file.
15522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15523 New file.
15524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15525 file.
15526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15527 file.
15528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15529 file.
15530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15531 file.
15532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15533 file.
15534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15535 New file.
15536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15537 file.
15538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15539 file.
15540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15541 New file.
15542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15543 file.
15544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15546 file.
15547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15548 New file.
15549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15550 file.
15551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15552 file.
15553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15554 file.
15555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15556 file.
15557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15558 file.
15559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15560 New file.
15561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15562 file.
15563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15564 file.
15565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15566 New file.
15567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15568 file.
15569 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15570 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15571 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15572 file.
15573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15574 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15575 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15576 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15577 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15578 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15579 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15580 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15581 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15582 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15585 file.
15586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15587 New file.
15588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15589 file.
15590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15591 file.
15592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15593 file.
15594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15595 file.
15596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15597 file.
15598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15599 New file.
15600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15601 New file.
15602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15603 file.
15604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15605 New file.
15606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15607 file.
15608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15610 file.
15611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15612 New file.
15613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15614 file.
15615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15616 file.
15617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15618 file.
15619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15620 file.
15621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15622 file.
15623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15624 New file.
15625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15626 New file.
15627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15628 file.
15629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15630 New file.
15631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15632 file.
15633
15634 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15635
15636 * conform/conformtest.pl: Fix typo in handling typed-constant from
15637 allow-header.
15638
15639 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15640
15641 * README: Cut down references to pre-2.6 Linux kernels and
15642 Linuxthreads. Update lists of configurations in libc and ports
15643 and sort alphabetically. Say "or newer" with Linux kernel version
15644 requirements.
15645
15646 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15647
15648 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15649
15650 [BZ #887]
15651 * math/libm-test.inc (logb_test_downward): New test to expose
15652 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15653 rounding mode.
15654
15655 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15656
15657 [BZ #14027]
15658 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15659 to be done.
15660 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15661 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15662
15663 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15664
15665 * sysdeps/unix/i386/brk.S: Remove file.
15666 * sysdeps/unix/i386/dl-brk.S: Likewise.
15667 * sysdeps/unix/i386/pipe.S: Likewise.
15668 * sysdeps/unix/i386/sigreturn.S: Likewise.
15669 * sysdeps/unix/i386/syscall.S: Likewise.
15670 * sysdeps/unix/i386/vfork.S: Likewise.
15671 * sysdeps/unix/i386/wait.S: Likewise.
15672
15673 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15674 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15675
15676 * configure.in (arm*-none*): Do not allow without
15677 --enable-hacker-mode.
15678 (netbsd*): Remove case setting base_os.
15679 (386bsd*): Likewise.
15680 (freebsd*): Likewise.
15681 (bsdi*): Likewise.
15682 (osf*): Likewise.
15683 (sunos*): Likewise.
15684 (ultrix*): Likewise.
15685 (newsos*): Likewise.
15686 (dynix*): Likewise.
15687 (*bsd*): Likewise.
15688 (sysv*): Likewise.
15689 (isc*): Likewise.
15690 (esix*): Likewise.
15691 (sco*): Likewise.
15692 (minix*): Likewise.
15693 (irix4*): Likewise.
15694 (irix6*): Likewise.
15695 (solaris[2-9]*): Likewise.
15696 (none): Likewise.
15697 * configure: Regenerated.
15698
15699 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15700
15701 [BZ #11521]
15702 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15703 overflow or cancellation in calculating denominator.
15704 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15705 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15706 down expression to avoid unexpected rounding in newer GCCs.
15707 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15708
15709 2012-04-26 David S. Miller <davem@davemloft.net>
15710
15711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15712 long-double compat symbols.
15713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15726
15727 2012-04-25 David S. Miller <davem@davemloft.net>
15728
15729 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15730 HWCAP_* values only after the memory barriers have been defined.
15731 (atomic_full_barrier): Define.
15732 (atomic_read_barrier): Define.
15733 (atomic_write_barrier): Define.
15734
15735 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15736
15737 * shlib-versions: Add libgcc_s version information.
15738 * sysdeps/generic/libgcc_s.h: Remove.
15739 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15740 libgcc_s.h.
15741 * sysdeps/gnu/unwind-resume.c: Likewise.
15742 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15743
15744 2012-04-25 David S. Miller <davem@davemloft.net>
15745
15746 * sysdeps/unix/sparc/brk.S: Delete.
15747 * sysdeps/unix/sparc/dl-brk.S: Delete.
15748 * sysdeps/unix/sparc/pipe.S: Delete.
15749 * sysdeps/unix/sparc/sysdep.S: Delete.
15750 * sysdeps/unix/sparc/sysdep.h: Delete.
15751 * sysdeps/unix/sparc/vfork.S: Delete.
15752 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15753 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15754 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15755 ret_ERRVAL, r0, r1, MOVE): Define.
15756 (JUMPTARGET): Remove.
15757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15758 sysdeps/unix/sparc/sysdep.h
15759 (ENTRY, END): Remove.
15760 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15761
15762 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15763
15764 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15765 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15766 -DIS_IN_build.
15767
15768 * timezone/README: Update upstream location and email address for
15769 tzcode and tzdata.
15770 * timezone/zdump.c: Update from tzcode 2012b.
15771 * timezone/zic.c: Likewise.
15772
15773 * configure.in (libc_cv_as_needed): Remove test.
15774 * configure: Regenerated.
15775 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15776 conditional definition.
15777 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15778 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15779 * config.make.in (have-as-needed): Remove variable.
15780
15781 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15782 Paul Pluzhnikov <ppluzhnikov@google.com>
15783
15784 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15785 strings correctly.
15786
15787 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15788
15789 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15790 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15791 * sysdeps/sh/strlen.S: Likewise.
15792
15793 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15794
15795 * sysdeps/unix/fork.S: Remove file.
15796 * sysdeps/unix/i386/fork.S: Likewise.
15797 * sysdeps/unix/sparc/fork.S: Likewise.
15798
15799 * sysdeps/unix/system.c: Remove file.
15800 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15801
15802 * sysdeps/unix/getegid.S: Remove file.
15803 * sysdeps/unix/geteuid.S: Likewise.
15804
15805 2012-04-24 Roland McGrath <roland@hack.frob.com>
15806
15807 * scripts/check-localplt.awk: New file.
15808 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15809 of diff.
15810 * scripts/data/localplt-generic.data: Add a comment.
15811
15812 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15813 NODE when __dir_mkfile failed.
15814 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15815 Reported by Ludovic Courtès <ludo@gnu.org>.
15816
15817 2012-04-24 Andreas Jaeger <aj@suse.de>
15818
15819 * Makerules (common-clean): Also remove gen-as-const-headers
15820 files.
15821
15822 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15823
15824 * Makerules (native-compile): Do not change working directory for
15825 build. Use $(OUTPUT_OPTION) in command.
15826 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15827
15828 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15829
15830 [BZ #13886]
15831 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15832 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15833 * math/libm-test.inc (floor_test): Add more tests.
15834 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15835
15836 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15837
15838 * sysdeps/unix/getdents.c: Remove file.
15839 * sysdeps/unix/sysv/getdents.c: Likewise.
15840 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15841
15842 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15843 sysdeps/unix/mman/syscalls.list.
15844 (mmap): Likewise.
15845 (mprotect): Likewise.
15846 (msync): Likewise.
15847 (munmap): Likewise.
15848 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15849 * sysdeps/unix/mman/syscalls.list: Remove.
15850 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15851
15852 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15853 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15854 * configure: Regenerated.
15855 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15856 $(libgcc_s_suffix).
15857 * config.make.in (libgcc_s_suffix): Remove variable.
15858
15859 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15860
15861 * sysdeps/unix/sysv/gethostname.c: Move to ...
15862 * sysdeps/posix/gethostname.c: ... here.
15863
15864 * sysdeps/unix/execve.S: Remove file.
15865
15866 * sysdeps/unix/_exit.S: Remove file.
15867
15868 2012-04-23 Andreas Jaeger <aj@suse.de>
15869
15870 [BZ #13739]
15871 * manual/Makefile: Remove make dist support, there's no
15872 need for a stand-alone documentation tar ball.
15873 (TEXI2DVI): Define always, it's not in Makeconfig.
15874 (dist): Removed.
15875 (tar-it): Removed.
15876 (edition): Removed.
15877 (glibc-doc-$(edition).tar): Removed
15878 (%.Z): Removed.
15879 (%.gz): Removed.
15880 (%.uu): Removed.
15881 (ETAGS): Remove, it's in Makeconfig.
15882 (move-if-change): Remove, it's in Makeconfig.
15883
15884 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15885
15886 [BZ #13970]
15887 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15888 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15889 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15890 (strtod_l, strtof_l, strtold_l): Remove __wur.
15891 It is not necessarily an error to ignore strtol's return value.
15892 One can reliably look at the stored endptr to decide whether
15893 the number had valid syntax.
15894
15895 2012-04-21 Andreas Jaeger <aj@suse.de>
15896
15897 [BZ #13739]
15898 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15899
15900 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15901
15902 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15903 * sysdeps/unix/sysv/Versions: Remove file.
15904
15905 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15906
15907 [BZ #13927]
15908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15909
15910 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15911
15912 [BZ #7064]
15913 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15914 version from __vm86.
15915
15916 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15917
15918 * sysdeps/unix/common/lxstat.c: Remove file.
15919 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15920
15921 * sysdeps/unix/sysv/Makefile: Remove file.
15922
15923 * sysdeps/unix/sysv/direct.h: Remove file.
15924
15925 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15926 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15927 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15928 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15929 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15930 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15931 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15932
15933 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15934
15935 * sysdeps/unix/xmknod.c: Remove file.
15936 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15937
15938 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15939
15940 * sysdeps/unix/sysv/i386/time.S: Remove file.
15941
15942 * sysdeps/unix/fxstat.c: Remove file.
15943 * sysdeps/unix/xstat.c: Likewise.
15944 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15945
15946 * sysdeps/unix/sysv/sigaction.c: Remove file.
15947
15948 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15949 (sysdep_headers): Remove variable.
15950 [termio.h not in sysdep_headers] (generated): Likewise.
15951 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15952 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15953 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15954 * sysdeps/unix/sysv/tcflow.c: Likewise.
15955 * sysdeps/unix/sysv/tcflush.c: Likewise.
15956 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15957 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15958 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15959 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15960 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15961
15962 * sysdeps/unix/siglist.c: Remove file.
15963
15964 * sysdeps/unix/getppid.S: Remove file.
15965
15966 * sysdeps/unix/mkdir.c: Remove file.
15967 * sysdeps/unix/rmdir.c: Likewise.
15968
15969 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15970
15971 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15972 ERR_MAX value.
15973 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15974 errlist-compat value.
15975
15976 2012-04-18 David S. Miller <davem@davemloft.net>
15977
15978 * sysdeps/generic/memcopy.h (reg_char): Delete.
15979 * debug/strcat_chk.c: Use char, not reg_char.
15980 * debug/strcpy_chk.c: Likewise.
15981 * debug/strncat_chk.c: Likewise.
15982 * debug/strncpy_chk.c: Likewise.
15983 * string/memchr.c: Likewise.
15984 * string/memrchr.c: Likewise.
15985 * string/rawmemchr.c: Likewise.
15986 * string/strcat.c: Likewise.
15987 * string/strchr.c: Likewise.
15988 * string/strchrnul.c: Likewise.
15989 * string/strcmp.c: Likewise.
15990 * string/strcpy.c: Likewise.
15991 * string/strncat.c: Likewise.
15992 * string/strncmp.c: Likewise.
15993 * string/strncpy.c: Likewise.
15994
15995 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15996
15997 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15998 __builtin_memcopy is called when src and dest ranges are known to not
15999 overlap.
16000
16001 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16002
16003 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16004 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16005 fwd_align_merge macro call.
16006 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16007 bwd_align_merge macro call.
16008 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16009
16010 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16011
16012 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16013 bwd_align_merge macros.
16014 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16015 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16016 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16017
16018 2012-04-18 David S. Miller <davem@davemloft.net>
16019
16020 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16021
16022 2012-04-18 Andreas Jaeger <aj@suse.de>
16023
16024 [BZ# 6794]
16025 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16026 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16027 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16028
16029 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16030 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16031 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16032
16033 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16034 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16035 Adjust for changed ldbl-128 files.
16036
16037 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16038 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16039 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16040
16041 2012-04-17 David S. Miller <davem@davemloft.net>
16042
16043 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16044
16045 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16046
16047 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16048 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16049 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16050 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16051 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16052 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16053
16054 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16055
16056 [BZ #6794]
16057 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16058 * math/libm-test.inc: Add ilogb errno and exception tests.
16059 * math/w_ilogb.c: New file: ilogb wrapper.
16060 * math/w_ilogbf.c: New file: ilogbf wrapper.
16061 * math/w_ilogbl.c: New file: ilogbl wrapper.
16062 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16063 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16064 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16065 exception being thrown with 0.0 as argument.
16066 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16067 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16068 exception being thrown with 0.0 as argument.
16069 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16070 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16071 exception being thrown with 0.0 as argument.
16072 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16073 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16074 exception being thrown with 0.0 as argument.
16075 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16076 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16077 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16078 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16079 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16080 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16081 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16082 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16083 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16084
16085 2012-04-17 Petr Baudis <pasky@ucw.cz>
16086
16087 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16088 with altivec.
16089
16090 2012-04-16 Marek Polacek <polacek@redhat.com>
16091
16092 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16093
16094 2012-04-16 Marek Polacek <polacek@redhat.com>
16095
16096 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16097 operands of fdivp instruction.
16098
16099 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16100
16101 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16102 * elf/tst-auditmod3b.c: Likewise.
16103 * elf/tst-auditmod4b.c: Likewise.
16104 * elf/tst-auditmod5b.c: Likewise.
16105 * elf/tst-auditmod6b.c: Likewise.
16106 * elf/tst-auditmod6c.c: Likewise.
16107 * elf/tst-auditmod7b.c: Likewise.
16108 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16109 * sysdeps/x86_64/preconfigure.in: Likewise.
16110 * sysdeps/x86_64/preconfigure: Regenerated.
16111
16112 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16113
16114 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16115 __ILP32__.
16116
16117 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16118
16119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16120 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16121
16122 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16123
16124 [BZ #13973]
16125 * locale/iso-639.def: Fix gl language name. Spotted by
16126 Yaron Shahrabani.
16127
16128 2012-04-12 Roland McGrath <roland@hack.frob.com>
16129
16130 [BZ #2074]
16131 * libio/libio.h (__io_write_fn): Update comment.
16132
16133 2012-04-12 Petr Baudis <pasky@ucw.cz>
16134
16135 [BZ #2074]
16136 * stdio.texi (Hook Functions): The user provided writer function
16137 is not allowed to return -1.
16138
16139 2012-04-11 David S. Miller <davem@davemloft.net>
16140
16141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16142
16143 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16144
16145 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16146 Add a leading slash to rtkaio.
16147
16148 2012-04-11 Jim Meyering <meyering@redhat.com>
16149
16150 [BZ #11959]
16151 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16152 It is not necessarily an error to ignore fwrite's return
16153 value. One can reliably use ferror to test for errors after
16154 the fact.
16155
16156 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16157
16158 * bits/types.h (__snseconds_t): New type.
16159 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16160
16161 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16163 (__SNSECONDS_T_TYPE): Likewise.
16164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16165 (__SNSECONDS_T_TYPE): Likewise.
16166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16167 (__SNSECONDS_T_TYPE): Likewise.
16168
16169 2012-04-10 Andreas Jaeger <aj@suse.de>
16170
16171 [BZ #2636]
16172 * manual/time.texi (Processor Time): Return type of times is
16173 elapsed real time since an arbitrary point in the past.
16174 (CPU Time): Move CLK_TCK from here...
16175 (Processor Time): ...to here. Correct description.
16176 * manual/conf.texi (Constants for Sysconf): Correct description of
16177 _SC_CLK_TCK.
16178
16179 2012-04-10 David S. Miller <davem@davemloft.net>
16180
16181 [BZ #13967]
16182 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16183 where the is a gap between DT_REL(A) and DT_JMPREL.
16184
16185 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16186
16187 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16188 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16189 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16190
16191 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16192
16193 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16194 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16195 (dl_main): Handle --inhibit-cache.
16196 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16197 _dl_inhibit_cache.
16198 * elf/dl-load.c (_dl_map_object): Use it.
16199 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16200
16201 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16202
16203 [BZ #13872]
16204 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16205 (__ieee754_powl): Saturate large exponents rather than testing for
16206 overflow of y*log2(x).
16207 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16208 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16209 exceptions.
16210
16211 [BZ #11521]
16212 * math/s_ctan.c: Include <float.h>.
16213 (__ctan): Avoid internal overflow or cancellation in calculating
16214 denominator.
16215 * math/s_ctanf.c: Likewise.
16216 * math/s_ctanl.c: Likewise.
16217 * math/s_ctanh.c: Likewise.
16218 * math/s_ctanhf.c: Likewise.
16219 * math/s_ctanhl.c: Likewise.
16220 * math/libm-test.inc (ctan_test): Add more tests.
16221 (ctanh_test): Likewise.
16222 * sysdeps/i386/fpu/libm-test-ulps: Update.
16223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16224
16225 2012-04-09 Andreas Jaeger <aj@suse.de>
16226
16227 [BZ #6894]
16228 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16229 is an optional BSD extension.
16230
16231 [BZ #10254]
16232 * manual/stdio.texi (Opening Streams): Document additional fopen
16233 parameters.
16234
16235 2012-04-09 Roland McGrath <roland@hack.frob.com>
16236
16237 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16238 %eax without telling the compiler.
16239
16240 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16241
16242 [BZ # 13963]
16243 * manual/install.texi: Use sourceware.org.
16244
16245 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16246
16247 [BZ #13873]
16248 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16249 (__ieee754_pow): Generate overflow and underflow using huge*huge
16250 and tiny*tiny rather than just returning constant infinity or zero
16251 for large exponents.
16252 * math/libm-test.inc (pow_test): Require overflow exceptions for
16253 applicable cases of large exponents.
16254
16255 [BZ #706]
16256 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16257 (__ieee754_pow): Use iterative multiplication algorithm only for
16258 integer exponents with absolute value below 1024. Check for odd
16259 integer exponents when using algorithm for real exponents.
16260 * math/libm-test.inc (pow_test): Add more tests.
16261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16262
16263 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16264
16265 [BZ #13705]
16266 * math/libm-test.inc (exp_test): Do not allow overflow exception
16267 on underflow test.
16268
16269 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16270
16271 [BZ #13705]
16272 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16273 instead of __kernel_standard_f.
16274
16275 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16276
16277 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16278 * sysdeps/x86_64/memset_chk.S: Likewise.
16279
16280 2012-04-08 Andreas Jaeger <aj@suse.de>
16281
16282 [BZ #10153]
16283 * manual/startup.texi (Environment Access): Describe return value
16284 for putenv and setenv.
16285
16286 [BZ #6895]
16287 * manual/filesys.texi (Directory Entries): Add description for
16288 DT_LNK.
16289
16290 [BZ #6890]
16291 * manual/filesys.texi (Directory Entries): Clarify that it's file
16292 system not operating system in the description of DT_UNKNOWN.
16293
16294 [BZ #6578]
16295 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16296
16297 2012-04-08 Stephen Compall <s11@member.fsf.org>
16298
16299 [BZ #6649]
16300 * manual/llio.texi (Opening and Closing Files): Add cross
16301 reference to explain mode argument.
16302
16303 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16304
16305 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16306 * sysdeps/x86_64/memset_chk.S: Likewise.
16307
16308 2012-04-07 David S. Miller <davem@davemloft.net>
16309
16310 * elf/elf.h (R_SPARC_WDISP10): Define.
16311 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16312 R_SPARC_SIZE32.
16313 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16314 R_SPARC_SIZE64 and R_SPARC_H34.
16315
16316 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16317
16318 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16319 conditions and remove no longer applicable assertion.
16320
16321 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16322
16323 * bits/byteswap.h: Include <features.h>.
16324 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16325 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16326
16327 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16328
16329 * bits/byteswap.h (__bswap_16): Removed.
16330 Include <bits/byteswap-16.h> to get __bswap_16.
16331 * sysdeps/i386/bits/byteswap.h: Likewise.
16332 * sysdeps/s390/bits/byteswap.h: Likewise.
16333 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16334 * bits/byteswap-16.h: New file.
16335 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16336 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16337 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16338 * string/Makefile (headers): Add bits/byteswap-16.h.
16339
16340 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16341
16342 [BZ #13895]
16343 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16344 extra indirection.
16345 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16346 * nss/tst-nss-static.c: New.
16347
16348 2012-04-06 Robert Millan <rmh@gnu.org>
16349
16350 [BZ #6486]
16351 * manual/llio.texi (File Position Primitive): lseek
16352 refers to WHENCE when it really means OFFSET.
16353
16354 2012-04-06 Andreas Jaeger <aj@suse.de>
16355
16356 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16357 strncmp declarations.
16358
16359 * abilist/libc.abilist: Add __poll and __ppoll.
16360
16361 2012-04-05 David S. Miller <davem@davemloft.net>
16362
16363 * scripts/check-local-headers.sh: Accept a host triplet in the
16364 path matched by the exclude regexp.
16365
16366 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16367 definition.
16368 * sysdeps/powerpc/powerpc32/dl-machine.h
16369 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16370 * sysdeps/s390/s390-32/dl-machine.h
16371 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16372 * sysdeps/sparc/sparc32/dl-machine.h
16373 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16374 * sysdeps/sparc/sparc64/dl-machine.h
16375 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16376
16377 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16378 lazy binding.
16379 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16380 undefined symbol errors.
16381
16382 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16383 DT_NEEDED entries.
16384
16385 2012-04-05 Michael Matz <matz@suse.de>
16386
16387 [BZ #13592]
16388 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16389
16390 2012-04-05 Andreas Jaeger <aj@suse.de>
16391
16392 [BZ #13908]
16393 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16394 comment.
16395
16396 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16397
16398 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16399 which ROUND is no valid rounding mode.
16400
16401 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16402
16403 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16404 read again.
16405 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16406
16407 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16408
16409 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16410 an exception using FPU order intentionally.
16411
16412 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16413
16414 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16415 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16416 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16417 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16418
16419 2012-04-05 Simon Josefsson <simon@josefsson.org>
16420
16421 [BZ #12340]
16422 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16423 EINVAL when BUFLEN is too smal.
16424
16425 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16426
16427 [BZ #13553]
16428 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16429 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16430
16431 2012-04-03 Andreas Jaeger <aj@suse.de>
16432
16433 [BZ #13938]
16434 * manual/setjmp.texi (System V contexts): Fix sentence.
16435
16436 [BZ #13926]
16437 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16438 New macro for this case.
16439 [!__GNUC__] (__bswap_64): New inline function for this case.
16440 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16441 * bits/byteswap.h: Likewise.
16442 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16443 ull, guard with __GLIBC_HAVE_LONG_LONG.
16444
16445 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16446 __GLIBC_HAVE_LONG_LONG.
16447
16448 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16449 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16450
16451 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16452
16453 [BZ #13691]
16454 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16455 inptr and inend, rather than using last_ch.
16456
16457 2012-04-02 David S. Miller <davem@davemloft.net>
16458
16459 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16460 * stdio-common/printf-parse.h (read_int): Change return type to
16461 'int', return -1 on INT_MAX overflow.
16462 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16463 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16464 overflows INT_MAX. Check for overflow of in-format-string precision
16465 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16466 SIZE_MAX not INT_MAX for integer overflow test.
16467 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16468 skip the construct in the format string but do not record anything.
16469 * stdio-common/bug22.c: Adjust to test both width/prevision
16470 INT_MAX overflow as well as total length INT_MAX overflow. Check
16471 explicitly for proper errno values.
16472
16473 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16474
16475 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16476 CHAR_MAX.
16477 * string/test-strcmp.c [! WIDE]: Likewise.
16478 * time/tst-mktime2.c: Likewise for INT_MAX.
16479 * string/test-string.h: #include <sys/param.h> for MIN.
16480
16481 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16482 * sysdeps/i386/init-first.c (init): Likewise.
16483 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16484 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16485 * sysdeps/sh/init-first.c (init): Likewise.
16486
16487 2012-04-01 Ulrich Drepper <drepper@gmail.com>
16488
16489 * po/ru.po: Update from translation team.
16490 * po/vi.po: Likewise.
16491
16492 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16493
16494 * resolv/nss_dns/dns-host.c: Merge copyright years.
16495
16496 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16497
16498 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16499 Optimize memcpy with prefetch if
16500 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16501 src, dst pointers have unequal 16 byte alignments.
16502
16503 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16504
16505 [BZ #13928]
16506 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16507 from a CNAME entry and return the minimum ttl for the query.
16508 (gaih_getanswer_slice): Likewise.
16509
16510 2012-03-30 Jeff Law <law@redhat.com>
16511
16512 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16513 due to long keys.
16514 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16515 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16516
16517 * resolv/nss_dns/dns-host.c: Update copyright year.
16518
16519 2012-03-30 Ulrich Drepper <drepper@gmail.com>
16520
16521 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16522 requests to save a system call. Fix check that all bytes are sent.
16523
16524 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16525 comments for sendmmsg.
16526
16527 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16528
16529 [BZ #13691]
16530 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16531 with only 1 character between 0x0041 and 0x01b0.
16532 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16533 * wcsmbs/tst-mbsnrtowcs.c: New file.
16534
16535 2012-03-29 David S. Miller <davem@davemloft.net>
16536
16537 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16538 small copies by hand.
16539
16540 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16541
16542 [BZ #13761]
16543 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16544 _nss_compat_initgroups_dyn): Fall back to malloc/free
16545 for large group memberships.
16546
16547 2012-03-28 David S. Miller <davem@davemloft.net>
16548
16549 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16550 that branches into memcpy.
16551 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16553 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16554 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16556 bits.
16557 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16558 implementation too.
16559 * sysdeps/sparc/mempcpy.S: New file.
16560
16561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16562 the IFUNC routine in the libc case.
16563 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16564
16565 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16566 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16567 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16568 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16569 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16570 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16571 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16572 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16573
16574 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16575 loop to 256 bytes instead of 64 bytes and fix test signedness.
16576
16577 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16578 * sysdeps/sparc/sparc32/Makefile: rather than here...
16579 * sysdeps/sparc/sparc64/Makefile: and here.
16580
16581 2012-03-28 Ulrich Drepper <drepper@gmail.com>
16582
16583 * malloc/mallocbug.c: Avoid warnings about unused variables.
16584
16585 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16586
16587 [BZ #13760]
16588 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16589 in the right place. Discard and retry query if response is
16590 larger than input buffer size.
16591
16592 2012-03-28 Joseph Myers <joseph@codesourcery.com>
16593
16594 [BZ #369]
16595 [BZ #2678]
16596 [BZ #3866]
16597 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16598 x for large integer exponent.
16599 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16600 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16601 sign of result as needed afterwards.
16602 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16603 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16604 result for underflowing pow the same as for overflow.
16605 (__kernel_standard_l): Handle powl overflow and underflow here
16606 rather than calling __kernel_standard.
16607 * math/libm-test.inc (pow_test): Add more tests.
16608
16609 [BZ #3868]
16610 [BZ #13879]
16611 [BZ #13910]
16612 [BZ #13911]
16613 [BZ #13912]
16614 [BZ #13913]
16615 [BZ #13915]
16616 [BZ #13916]
16617 [BZ #13917]
16618 [BZ #13918]
16619 [BZ #13919]
16620 [BZ #13920]
16621 [BZ #13921]
16622 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16623 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16624 (__kernel_standard_l): New function.
16625 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16626 __kernel_standard.
16627 * math/w_acosl.c (__acosl): Likewise.
16628 * math/w_asinl.c (__asinl): Likewise.
16629 * math/w_atan2l.c (__atan2l): Likewise.
16630 * math/w_atanhl.c (__atanhl): Likewise.
16631 * math/w_coshl.c (__coshl): Likewise.
16632 * math/w_exp10l.c (__exp10l): Likewise.
16633 * math/w_exp2l.c (__exp2l): Likewise.
16634 * math/w_fmodl.c (__fmodl): Likewise.
16635 * math/w_hypotl.c (__hypotl): Likewise.
16636 * math/w_j0l.c (__j0l, __y0l): Likewise.
16637 * math/w_j1l.c (__j1l, __y1l): Likewise.
16638 * math/w_jnl.c (__jnl, __ynl): Likewise.
16639 * math/w_lgammal.c (__lgammal): Likewise.
16640 * math/w_log10l.c (__log10l): Likewise.
16641 * math/w_log2l.c (__log2l): Likewise.
16642 * math/w_logl.c (__logl): Likewise.
16643 * math/w_powl.c (__powl): Likewise.
16644 * math/w_remainderl.c (__remainderl): Likewise.
16645 * math/w_scalbl.c (sysv_scalbl): Likewise.
16646 * math/w_sinhl.c (__sinhl): Likewise.
16647 * math/w_sqrtl.c (__sqrtl): Likewise.
16648 * math/w_tgammal.c (__tgammal): Likewise.
16649 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16650 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16651 * math/libm-test.inc (acos_test): Add more tests.
16652 (acosh_test): Likewise.
16653 (asin_test): Likewise.
16654 (atanh_test): Likewise.
16655 (exp_test): Likewise.
16656 (exp10_test): Likewise.
16657 (exp2_test): Likewise.
16658 (expm1_test): Likewise.
16659 (lgamma_test): Likewise.
16660 (log_test): Likewise.
16661 (log10_test): Likewise.
16662 (log1p_test): Likewise.
16663 (log2_test): Likewise.
16664 (pow_test): Do not allow some spurious overflow exceptions.
16665 (sqrt_test): Add more tests.
16666 (tgamma_test): Likewise.
16667 (y0_test): Likewise.
16668 (y1_test): Likewise.
16669 (yn_test): Likewise.
16670
16671 2012-03-27 Anton Blanchard <anton@samba.org>
16672
16673 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16674 MAP_HUGETLB.
16675 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16676 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16677 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16678
16679 2012-03-27 David S. Miller <davem@davemloft.net>
16680
16681 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16682
16683 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16684 have-as-vis3 check.
16685
16686 2012-03-27 Andreas Jaeger <aj@suse.de>
16687
16688 * sysdeps/x86_64/elf/configure.in: Moved to ...
16689 * sysdeps/x86_64/configure.in: ... here.
16690 * sysdeps/x86_64/elf/start.S: Moved to ...
16691 * sysdeps/x86_64/start.S: ... here.
16692 * sysdeps/x86_64/elf/configure: Delete.
16693
16694 * sysdeps/x86_64/configure.in: Merge contents from
16695 sysdeps/i386/configure.in (without i686 check).
16696
16697 * sysdeps/i386/elf/Versions: Merge into ...
16698 * sysdeps/i386/Versions: ... this.
16699 * sysdeps/i386/elf/Versions: Delete file.
16700 * sysdeps/i386/elf/start.S: Moved to ...
16701 * sysdeps/i386/start.S: ...here.
16702 * sysdeps/i386/elf/configure.in: Merge into...
16703 * sysdeps/i386/configure.in: ...here.
16704 * sysdeps/i386/elf/configure.in: Delete file.
16705 * sysdeps/i386/elf/configure: Delete file.
16706
16707 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16708 * debug/backtracesyms.c: ... here.
16709 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16710 * debug/backtracesymsfd.c: ... here.
16711 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16712 * sysdeps/generic/ifunc-sel.h: ... here.
16713
16714 * sysdeps/unix/i386/start.c: Delete file.
16715 * sysdeps/unix/sparc/start.c: Delete file.
16716 * sysdeps/unix/start.c: Delete file.
16717
16718 * sysdeps/sh/elf/configure.in: Moved to ...
16719 * sysdeps/sh/configure.in: ... here.
16720 * sysdeps/sh/elf/start.S: Moved to ...
16721 * sysdeps/sh/start.S: ... here.
16722 * sysdeps/sh/elf/configure: Delete file.
16723
16724 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16725 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16726 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16727 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16728 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16729 * sysdeps/powerpc/powerpc64/start.S: here.
16730 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16731 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16732 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16733 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16734 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16735
16736 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16737 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16738 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16739 * sysdeps/powerpc/powerpc32/start.S: ... here.
16740 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16741 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16742 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16743
16744 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16745 * sysdeps/powerpc/ifunc-sel.h: ... here.
16746 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16747 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16748
16749 * sysdeps/sparc/elf/configure.in: Moved to ...
16750 * sysdeps/sparc/configure.in: ... here.
16751 * sysdeps/sparc/elf/configure: Delete file.
16752 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16753 * sysdeps/sparc/sparc32/start.S: ... here.
16754 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16755 * sysdeps/sparc/sparc64/start.S: ... here.
16756 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16757 * sysdeps/sparc/sparc32/Makefile: ... this.
16758 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16759 * sysdeps/sparc/sparc64/Makefile: ... this.
16760
16761 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16762 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16763 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16764 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16765 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16766 * sysdeps/s390/s390-32/setjmp.S: ... here.
16767 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16768 * sysdeps/s390/s390-32/configure.in: ... here.
16769 * sysdeps/s390/s390-32/elf/configure: Delete file.
16770 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16771 * sysdeps/s390/s390-32/start.S: ... here.
16772
16773 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16774 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16775 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16776 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16777 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16778 * sysdeps/s390/s390-64/setjmp.S: ... here.
16779 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16780 * sysdeps/s390/s390-64/configure.in: ... here
16781 * sysdeps/s390/s390-64/elf/configure: Delete file.
16782 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16783 * sysdeps/s390/s390-64/start.S: ... here.
16784 * sysdeps/s390/s390-64/elf/configure: Delete.
16785
16786 * configure.in: Remove support for elf directories in sysdeps.
16787
16788 * configure: Regenerated.
16789 * sysdeps/i386/configure: Regenerated.
16790 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16791 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16792 * sysdeps/s390/s390-32/configure: Regenerated.
16793 * sysdeps/s390/s390-64/configure: Regenerated.
16794 * sysdeps/sh/configure: Regenerated.
16795 * sysdeps/sparc/configure: Regenerated.
16796 * sysdeps/x86_64/configure: Regenerated.
16797
16798 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16799
16800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16801
16802 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16803 denormal result into account.
16804
16805 2012-03-25 Roland McGrath <roland@hack.frob.com>
16806
16807 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16808 Reported by Allan McRae <allan@archlinux.org>.
16809
16810 2012-03-23 Jeff Law <law@redhat.com>
16811
16812 * nss/getnssent.c (__nss_getent): Fix typo.
16813
16814 2012-03-23 David S. Miller <davem@davemloft.net>
16815
16816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16817
16818 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16819
16820 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16821 to pad to uint64_t for each field.
16822 (dl_tls_index): Replace unsigned long with uint64_t.
16823
16824 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16825 Paul Pluzhnikov <ppluzhnikov@google.com>
16826
16827 [BZ #6528]
16828 * grp/Makefile (otherlibs): Don't set it.
16829 * inet/Makefile (otherlibs): Likewise.
16830 * login/Makefile (otherlibs): Likewise.
16831 * nscd/Makefile (otherlibs): Likewise.
16832 * posix/Makefile (otherlibs): Likewise.
16833 * pwd/Makefile (otherlibs): Likewise.
16834 * rt/Makefile (otherlibs): Likewise.
16835 * sunrpc/Makefile (otherlibs): Likewise.
16836 * nss/Makefile (otherlibs): Likewise.
16837 Add libnss_files to routines and static-only-routines.
16838 ($(objpfx)getent): Remove rule.
16839 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16840 static-only-routines.
16841
16842 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16843
16844 [BZ #13892]
16845 * math/s_cexp.c: Include <float.h>.
16846 (__cexp): Handle exp result overflowing not necessarily
16847 overflowing both real and imaginary parts of result.
16848 * math/s_cexpf.c: Likewise.
16849 * math/s_cexpl.c: Likewise.
16850 * math/libm-test.inc (cexp_test): Add more tests.
16851 * sysdeps/i386/fpu/libm-test-ulps: Update.
16852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16853
16854 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16855
16856 * include/link.h (ELFW): New macro.
16857 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16858 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16859
16860 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16861
16862 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16863 with uint64_t.
16864
16865 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16866
16867 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16868 declaration.
16869 (struct La_x32_retval): Likewise.
16870
16871 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16872
16873 * sysdeps/x86_64/preconfigure.in: New file.
16874 * sysdeps/x86_64/preconfigure: New generated file.
16875
16876 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16877
16878 [BZ #13824]
16879 * math/e_exp2l.c: Include <float.h>.
16880 (__ieee754_exp2l): Handle overflow and underflow cases
16881 separately. Only pass fractional part of argument to
16882 __ieee754_expl.
16883 * math/libm-test.inc (exp2_test): Add more tests.
16884
16885 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16886 negating x to take absolute value.
16887 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16888 Likewise.
16889 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16890 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16891 Likewise.
16892 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16893 computing low part if x was negated.
16894 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16895
16896 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16897
16898 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16899 la_x32_gnu_pltexit.
16900 (pltexit): Cast int_retval to ptrdiff_t.
16901 * elf/tst-auditmod3b.c: Likewise.
16902 * elf/tst-auditmod4b.c: Likewise.
16903 * elf/tst-auditmod5b.c: Likewise.
16904 * elf/tst-auditmod6b.c: Likewise.
16905 * elf/tst-auditmod6c.c: Likewise.
16906 * elf/tst-auditmod7b.c: Likewise.
16907
16908 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16909 and x32_gnu_pltexit.
16910
16911 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16912 __ELF_NATIVE_CLASS.
16913 (La_x32_regs): New macro.
16914 (La_x32_retval): Likewise.
16915 (la_x32_gnu_pltenter): New function prototype.
16916 (la_x32_gnu_pltexit): Likewise.
16917
16918 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16919
16920 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16921 exponent.
16922
16923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16924
16925 * configure.in (libc_cv_cc_nofma): Check for option to disable
16926 generation of FMA instructions.
16927 * configure: Regenerate.
16928 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16929 * sysdeps/ieee754/dbl-64/Makefile: New file.
16930 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16931 Remove brandred-fma4.
16932 (CFLAGS-brandred-fma4.c): Remove.
16933 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16934 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16935 define.
16936 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16937 define.
16938
16939 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16940
16941 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16942 LLONG_MAX != LONG_MAX.
16943 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16944 (_fitoa_word): Likewise.
16945 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16946 LLONG_MAX != LONG_MAX.
16947 * stdio-common/_itowa.h: Include <_itoa.h>.
16948 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16949 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16950 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16951 only if not defined.
16952 (_ITOA_WORD_TYPE): Likewise.
16953 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16954 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16955
16956 2012-03-21 David S. Miller <davem@davemloft.net>
16957
16958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16959
16960 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16961
16962 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16963 of x86_64 when setting libc_cv_slibdir, libdir and
16964 libc_cv_localedir.
16965 * sysdeps/unix/sysv/linux/configure: Regenerated.
16966
16967 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16968
16969 * manual/lang.texi (Old Varargs): Remove section.
16970 (How Variadic): Update menu.
16971 (va_start): Do not mention varargs.h.
16972
16973 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16974 Joseph Myers <joseph@codesourcery.com>
16975
16976 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16977 link test.
16978 * configure: Regenerated.
16979
16980 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16981
16982 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16983 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16984 conformtest.pl
16985
16986 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16987
16988 * NOTES: Remove.
16989 * Makefile (files-for-dist): Remove NOTES.
16990 (NOTES): Remove rule.
16991 * README: Don't refer to NOTES.
16992 * manual/creature.texi: Don't include macros.texi.
16993 * manual/intro.texi (creature.texi): Remove comment referring to
16994 NOTES.
16995
16996 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16997 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16998 * configure: Regenerated.
16999 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17000 LIBC_TRY_CC_OPTION.
17001 (libc_cv_as_i686): Likewise.
17002 (libc_cv_cc_avx): Likewise.
17003 (libc_cv_cc_sse2avx): Likewise.
17004 (libc_cv_cc_fma4): Likewise.
17005 (libc_cv_cc_novzeroupper): Likewise.
17006 * sysdeps/i386/configure: Regenerated.
17007
17008 [BZ #13883]
17009 * sysdeps/i386/fpu/s_cexp.S: Remove.
17010 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17011 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17012 * math/libm-test.inc (cexp_test): Add more tests.
17013 * sysdeps/i386/fpu/libm-test-ulps: Update.
17014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17015
17016 2012-03-21 Allan McRae <allan@archlinux.org>
17017
17018 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17019
17020 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17021
17022 [BZ #13871]
17023 * math/w_exp2.c: Do not include <float.h>.
17024 (o_threshold, u_threshold): Remove.
17025 (__exp2): Calculate result before checking finiteness and calling
17026 __kernel_standard.
17027 * math/w_exp2f.c: Likewise.
17028 * math/w_exp2l.c: Likewise.
17029 * math/libm-test.inc (exp2_test): Require overflow exception for
17030 1e6 input.
17031
17032 [BZ #3866]
17033 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17034 range of signed 64-bit integers before using fistpll. Remove
17035 checks for whether integers fit in mantissa bits.
17036 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17037 the range of signed 32-bit integers before using fistpl. Remove
17038 checks for whether integers fit in mantissa bits.
17039 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17040 (__ieee754_powl): Test for y outside the range of signed 64-bit
17041 integers before using fistpll. Reduce 64-bit values to 63-bit
17042 ones as needed.
17043 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17044 divide-by-zero is raised for zero to large negative powers.
17045 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17046 (__ieee754_powl): Test for y outside the range of signed 64-bit
17047 integers before using fistpll. Reduce 64-bit values to 63-bit
17048 ones as needed.
17049 * math/libm-test.inc (pow_test): Add more tests.
17050
17051 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17052
17053 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17054 <stdio-common/_itoa.h>.
17055 * debug/segfault.c: Likewise.
17056 * elf/dl-cache.c: Likewise.
17057 * elf/dl-minimal.c: Likewise.
17058 * elf/dl-misc.c: Likewise.
17059 * elf/dl-sysdep.c: Likewise.
17060 * elf/dl-version.c: Likewise.
17061 * elf/rtld.c: Likewise.
17062 * hurd/hurdsock.c: Likewise.
17063 * hurd/lookup-retry.c: Likewise.
17064 * malloc/malloc.c: Likewise.
17065 * malloc/mtrace.c: Likewise.
17066 * nscd/nscd_getgr_r.c: Likewise.
17067 * nscd/nscd_getpw_r.c: Likewise.
17068 * nscd/nscd_getserv_r.c: Likewise.
17069 * posix/getopt_init.c: Likewise.
17070 * posix/wordexp.c: Likewise.
17071 * stdio-common/_itoa.c: Likewise.
17072 * stdio-common/printf_fphex.c: Likewise.
17073 * stdio-common/vfprintf.c: Likewise.
17074 * string/_strerror.c: Likewise.
17075 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17076 * sysdeps/i386/i686/hp-timing.h: Likewise.
17077 * sysdeps/mach/_strerror.c: Likewise.
17078 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17079 * sysdeps/mach/hurd/sethostid.c: Likewise.
17080 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17081 * sysdeps/mach/xpg-strerror.c: Likewise.
17082 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17083 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17084 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17085 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17086 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17087 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17088 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17089 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17090 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17091 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17092 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17093 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17094 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17095 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17096 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17097 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17098 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17099 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17100 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17101 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17102 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17103
17104 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17105
17106 * stdio-common/_itoa.h: Moved to ...
17107 * sysdeps/generic/_itoa.h: Here.
17108
17109 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17110
17111 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17112 instead of "_itoa.h" and "_itowa.h".
17113 * stdio-common/vfprintf.: Likewise.
17114
17115 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17116
17117 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17118 <bits/wordsize.h>.
17119 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17120 (__signbit): Likwise.
17121 (llrintf): Likwise.
17122 (llrint): Likwise.
17123
17124 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17125
17126 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17127 __WORDSIZE != 64.
17128
17129 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17130
17131 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17132 OVERFLOW_EXCEPTION_OK.
17133 * math/libm-test.inc ("Philosophy"): Update comment about
17134 exception testing.
17135 (OVERFLOW_EXCEPTION): Define.
17136 (OVERFLOW_EXCEPTION_OK): Likewise.
17137 (INVALID_EXCEPTION_OK): Renumber.
17138 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17139 (IGNORE_ZERO_INF_SIGN): Likewise.
17140 (test_exceptions): Handle FE_OVERFLOW.
17141 (exp10_test): Expect overflow exceptions.
17142 (exp2_test): Likewise.
17143 (expm1_test): Likewise.
17144 (nextafter_test): Likewise.
17145 (pow_test): Likewise.
17146 (scalbn_test): Likewise.
17147 (scalbln_test): Likewise.
17148
17149 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17150
17151 * sysdeps/x86_64/bits/atomic.h
17152 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17153 64bit integer.
17154 (atomic_exchange_acq): Likewise.
17155 (__arch_exchange_and_add_body): Likewise.
17156 (__arch_add_body): Likewise.
17157 (atomic_add_negative): Likewise.
17158 (atomic_add_zero): Likewise.
17159
17160 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17161
17162 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17163 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17164
17165 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17166
17167 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17168 Check __x86_64__ instead of __WORDSIZE.
17169
17170 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17171
17172 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17173
17174 2012-03-19 David S. Miller <davem@davemloft.net>
17175
17176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17177
17178 * sysdeps/sparc/fpu/fenv_private.h: New file.
17179 * sysdeps/sparc/fpu/math_private.h: Use it.
17180 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17181 Remove.
17182 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17183 (libc_feholdexcept_setroundl): Remove.
17184 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17185 Remove.
17186 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17187 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17188
17189 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17190
17191 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17192 int64_t instead of long int.
17193 (INSERT_WORDS64): Likwise.
17194
17195 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17196
17197 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17198 _Unwind_GetCFA return to _Unwind_Ptr first.
17199
17200 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17201
17202 [BZ #13629]
17203 * math/s_clog.c: Include <float.h>.
17204 (__clog): Scale large or subnormal inputs.
17205 * math/s_clogf.c: Likewise.
17206 * math/s_clogl.c: Likewise.
17207 * math/s_clog10.c: Include <float.h>.
17208 (M_LOG10_2): Define.
17209 (__clog10): Scale large or subnormal inputs.
17210 * math/s_clog10f.c: Likewise.
17211 * math/s_clog10l.c: Likewise.
17212 * math/libm-test.inc (clog_test): Add more tests.
17213 (clog10_test): Likewise.
17214 * sysdeps/i386/fpu/libm-test-ulps: Update.
17215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17216
17217 [BZ #11451]
17218 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17219 x and y.
17220 * math/libm-test.inc (atan2_test): Add another test.
17221
17222 * Makerules (common-objdir-compile): Remove.
17223 * sysdeps/unix/Makefile (config-generated): Do not add
17224 $(unix-generated) to variable.
17225 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17226 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17227 Remove rule.
17228 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17229 Likewise.
17230 [generic bits/local_lim.h] (before-compile): Do not append to
17231 variable.
17232 [generic bits/local_lim.h] (common-generated): Likewise.
17233 [generic sys/param.h] (before-compile): Do not append to variable.
17234 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17235 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17236 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17237 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17238 include.
17239 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17240 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17241 [generic sys/param.h] ($(addprefix
17242 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17243 [generic sys/param.h] (common-generated): Do not append to
17244 variable.
17245 [generic sys/param.h] (sysdep_headers): Likewise.
17246 [generic bits/errno.h] (before-compile): Do not append to
17247 variable.
17248 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17249 rule.
17250 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17251 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17252 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17253 [generic bits/errno.h] (common-generated): Do not append to
17254 variable.
17255 [generic bits/ioctls.h] (before-compile): Do not append to
17256 variable.
17257 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17258 rule.
17259 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17260 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17261 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17262 rule.
17263 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17264 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17265 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17266 [generic bits/ioctls.h] (common-generated): Do not append to
17267 variable.
17268 [generic sys/syscall.h] (syscall.h): Remove variable.
17269 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17270 rule.
17271 [generic sys/syscall.h] (before-compile): Do not append to
17272 variable.
17273 [generic sys/syscall.h] (common-generated): Likewise.
17274 * sysdeps/unix/errnos-tmpl.c: Remove file.
17275 * sysdeps/unix/errnos.awk: Likewise.
17276 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17277 * sysdeps/unix/ioctls.awk: Likewise.
17278 * sysdeps/unix/mk-local_lim.c: Likewise.
17279 * sysdeps/unix/snarf-ioctls: Likewise.
17280
17281 2012-03-19 Richard Henderson <rth@twiddle.net>
17282
17283 * sysdeps/i386/fpu/fenv_private.h: New file.
17284 * sysdeps/i386/fpu/math_private.h: Use it.
17285 (math_opt_barrier, math_force_eval): Remove.
17286 (libc_feholdexcept_setround_53bit): Remove.
17287 (libc_feupdateenv_53bit): Remove.
17288 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17289 (math_opt_barrier, math_force_eval): Remove.
17290 (libc_feholdexcept): Remove.
17291 (libc_feholdexcept_setround): Remove.
17292 (libc_fetestexcept, libc_fesetenv): Remove.
17293 (libc_feupdateenv_test): Remove.
17294 (libc_feupdateenv, libc_feholdsetround): Remove.
17295 (libc_feresetround): Remove.
17296
17297 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17298 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17299
17300 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17301 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17302 (libc_feupdateenv_testl): New.
17303 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17304 (libc_feupdateenv_testf): New.
17305 (libc_feupdateenv): Use libc_feupdateenv_test.
17306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17307 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17308
17309 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17310 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17311 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17312 (libc_feresetround_noex): New.
17313 (libc_feresetround_noexf): New.
17314 (libc_feresetround_noexl): New.
17315 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17316 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17317 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17318 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17319 SET_RESTORE_ROUND.
17320 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17321 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17322 (__cos): Likewise.
17323 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17324 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17325 SET_RESTORE_ROUND_NOEX.
17326 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17327 SET_RESTORE_ROUND_NOEXF.
17328 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17329 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17330 (libc_feholdsetroundf): New.
17331 (libc_feresetround, libc_feresetroundf): New.
17332
17333 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17334 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17335 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17336
17337 * sysdeps/generic/math_private.h: Include <fenv.h>.
17338 (default_libc_feholdexcept): New.
17339 (default_libc_feholdexcept_setround): New.
17340 (default_libc_fesetenv, default_libc_feupdateenv): New.
17341 (libc_feholdexcept): Only define if undefined.
17342 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17343 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17344 (libc_feholdexcept_setroundl): Likewise.
17345 (libc_feholdexcept_setround_53bit): Likewise.
17346 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17347 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17348 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17349 (libc_feupdateenv_53bit): Likewise.
17350 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17351 (libc_feholdexcept): Convert from macro to inline function.
17352 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17353 (libc_fesetenv, libc_feupdateenv): Likewise.
17354
17355 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17356 not previously defined.
17357 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17358 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17359 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17360 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17361 * sysdeps/ieee754/flt-32/math_private.h: New file.
17362 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17363 math_private.h below SET_FLOAT_WORD.
17364 (__isnan, __isinf_ns, __finite): Remove.
17365 (__isnanf, __isinf_nsf, __finitef): Remove.
17366
17367 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17368
17369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17370
17371 2012-03-17 David S. Miller <davem@davemloft.net>
17372
17373 [BZ #6471]
17374 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17375 for 2.16.
17376
17377 2012-03-16 David S. Miller <davem@davemloft.net>
17378
17379 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17380 warnings.
17381
17382 [BZ #6471]
17383 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17384 properly.
17385 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17386 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17387 sysdep_routines when subdir is sysvipc.
17388 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17389 __getshmlba helper.
17390
17391 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17392
17393 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17394
17395 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17396 [__LP64__].
17397
17398 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17399
17400 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17401 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17402 (__lround): Renamed to ...
17403 (__llround): This. Replace long int with long long int.
17404 Define lround functions as aliases of llround functions.
17405 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17406
17407 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17408
17409 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17410 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17411 adresses to uintptr_t. Replace "long int" and "unsigned long
17412 int" with "greg_t" on va_arg.
17413
17414 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17415
17416 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17417 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17418
17419 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17420 Move e_machine check before EI_CLASS check. Handle x32
17421 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17422 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17423 SKIP_EM_IA_64 and include
17424 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17425
17426 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17427 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17428 (add_system_dir): New macro.
17429
17430 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17431 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17432
17433 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17434
17435 [BZ #2551]
17436 [BZ #2552]
17437 [BZ #2553]
17438 [BZ #2554]
17439 [BZ #2562]
17440 [BZ #2563]
17441 [BZ #2565]
17442 [BZ #2566]
17443 [BZ #2576]
17444 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17445 (y0): Likewise.
17446 * math/w_j0f.c (j0f): Likewise.
17447 (y0f): Likewise.
17448 * math/w_j0l.c (__j0l): Likewise.
17449 (__y0l): Likewise.
17450 * math/w_j1.c (j1): Likewise.
17451 (y1): Likewise.
17452 * math/w_j1f.c (j1f): Likewise.
17453 (y1f): Likewise.
17454 * math/w_j1l.c (__j1l): Likewise.
17455 (__y1l): Likewise.
17456 * math/w_jn.c (jn): Likewise.
17457 (yn): Likewise.
17458 * math/w_jnf.c (jnf): Likewise.
17459 (ynf): Likewise.
17460 * math/w_jnl.c (__jnl): Likewise.
17461 (__ynl): Likewise.
17462 * math/libm-test.inc (j0_test): Add more tests.
17463 (j1_test): Likewise.
17464 (jn_test): Likewise. Add trailing semicolon to existing test.
17465 (y0_test): Likewise.
17466 (y1_test): Likewise.
17467 * sysdeps/i386/fpu/libm-test-ulps: Update.
17468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17469
17470 [BZ #13851]
17471 [BZ #13854]
17472 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17473 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17474 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17475 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17476 (__tanl): Set errno for infinite argument.
17477 * sysdeps/i386/fpu/mptan.c: Remove.
17478 * sysdeps/i386/fpu/s_tan.S: Likewise.
17479 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17480 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17481 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17482 * math/libm-test.inc (tan_test): Add more tests and enable more
17483 tests for double and long double.
17484 * sysdeps/i386/fpu/libm-test-ulps: Update.
17485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17486
17487 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17488
17489 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17490 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17491
17492 2012-03-16 Roland McGrath <roland@hack.frob.com>
17493
17494 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17495 * configure.in: Use it for both main tree and add-ons.
17496 * configure: Regenerated.
17497
17498 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17499
17500 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17501
17502 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17503
17504 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17505 in comment.
17506
17507 [BZ #13851]
17508 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17509 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17510 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17511 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17512 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17513 infinite argument.
17514 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17515 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17516 != 0 for prec == 2.
17517 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17518 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17519 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17520 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17521 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17522 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17523 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17524 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17525 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17526 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17527 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17528 * math/libm-test.inc (cos_test): Add more tests and enable more
17529 tests for long double.
17530 (sin_test): Likewise.
17531 (sincos_test): Likewise.
17532 * sysdeps/i386/fpu/libm-test-ulps: Update.
17533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17534
17535 2012-03-16 David S. Miller <davem@davemloft.net>
17536
17537 * sysdeps/sparc/fpu/math_private.h: New file.
17538
17539 2012-03-15 David S. Miller <davem@davemloft.net>
17540
17541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17542 file.
17543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17545 file.
17546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17551 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17552 sysdep routines.
17553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17554
17555 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17556 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17557
17558 * sysdeps/sparc/sparc-ifunc.h: New file.
17559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17560 sparc-ifunc.h
17561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17563 Likewise.
17564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17565 Likewise.
17566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17570 Likewise.
17571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17576 Likewise.
17577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17578 Likewise.
17579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17586 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17602 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17603
17604 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17605
17606 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17607 scaling.
17608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17609
17610 2012-03-15 Andreas Jaeger <aj@suse.de>
17611
17612 [BZ #13852]
17613 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17614 ieee754/flt-32 implementation for sin, cos and sincos.
17615 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17616 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17617 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17618 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17619 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17620 ieee754/flt-32 implementation for tan.
17621
17622 * math/libm-test.inc (cos_test): Enable some large input tests for
17623 float as well
17624 (sin_test): Likewise.
17625 (sincos_test): Likewise.
17626 (tan_test): Add tests for large input.
17627
17628 * sysdeps/i386/fpu/libm-test-ulps: Update.
17629
17630 2012-03-15 Andreas Jaeger <aj@suse.de>
17631
17632 [BZ #13658]
17633 * math/libm-test.inc (cos_test): Add more test cases.
17634 (sin_test): Likewise.
17635 (sincos_test): Likewise.
17636
17637 2012-03-15 Andreas Jaeger <aj@suse.de>
17638
17639 [BZ #13837]
17640 * math/libm-test.inc (cos_test): Add a test case for large input
17641 value.
17642 (sin_test): Likewise.
17643 (sincos_test): Likewise.
17644
17645 2012-03-15 Andreas Jaeger <aj@suse.de>,
17646 Joseph Myers <joseph@codesourcery.com>
17647
17648 [BZ #13658]
17649 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17650 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17651 * sysdeps/i386/fpu/branred.c: Likewise.
17652 * sysdeps/i386/fpu/dosincos.c: Likewise.
17653 * sysdeps/i386/fpu/mpa.c: Likewise.
17654 * sysdeps/i386/fpu/s_cos.S: Likewise.
17655 * sysdeps/i386/fpu/s_sin.S: Likewise.
17656 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17657 * sysdeps/i386/fpu/sincos32.c: Likewise.
17658
17659 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17660 Define.
17661 (libc_feupdateenv_53bit): Define.
17662 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17663 Define.
17664 (libc_feupdateenv_53bit): Define.
17665
17666 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17667 53 bit (without extend i386 double precision).
17668
17669 * math/libm-test.inc (sincos_test): Add tests for large input.
17670 (sin): Likewise.
17671 (cos): Likewise.
17672
17673 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17674
17675 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17676
17677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17678
17679 2012-03-15 David S. Miller <davem@davemloft.net>
17680
17681 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17682 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17683 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17684 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17697 file.
17698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17700 file.
17701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17703 file.
17704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17706 file.
17707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17709 fmin/fmax sysdep routines.
17710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17711
17712 2012-03-14 David S. Miller <davem@davemloft.net>
17713
17714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17717 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17721 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17737 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17741 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17743 routines.
17744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17745 file.
17746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17748 file.
17749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17751 file.
17752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17754 file.
17755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17757 file.
17758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17760 file.
17761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17762 file.
17763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17764 file.
17765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17766 file.
17767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17768 New file.
17769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17770 file.
17771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17772 file.
17773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17775 file.
17776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17778 file.
17779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17781 file.
17782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17784 VIS3 routines.
17785
17786 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17787 New file.
17788
17789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17790
17791 * sysdeps/sparc/configure.in: New file.
17792 * sysdeps/sparc/configure: Generate.
17793 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17794 * configure: Regenerate.
17795 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17796 * config.make.in (have-as-vis3): New.
17797 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17798 available use -Av9d instead of -Av9a.
17799 * sysdeps/sparc/sparc64/Makefile: Likewise.
17800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17802 New file.
17803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17804 file.
17805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17806 New file.
17807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17808 file.
17809 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17813 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17814
17815 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17816 fzeros/fnegs to load 0x80000000 into a float register instead of
17817 using the stack.
17818 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17819
17820 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17821
17822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17823 bits/syscall.h.
17824 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17825 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17826 ($(inst_includedir)/bits/syscall.h): Remove rule.
17827 ($(objpfx)bits/syscall.d): Include instead of
17828 $(objpfx)syscall-list.d.
17829 (generated): Change syscall-list.h and syscall-list.d to
17830 bits/syscall.h and bits/syscall.d.
17831
17832 2012-03-14 Roland McGrath <roland@hack.frob.com>
17833
17834 [BZ #13846]
17835 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17836
17837 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17838
17839 [BZ #13841]
17840 * math/s_csqrt.c: Include <float.h>.
17841 (__csqrt): Scale large or subnormal inputs.
17842 * math/s_csqrtf.c: Likewise.
17843 * math/s_csqrtl.c: Likewise.
17844 * math/libm-test.inc (csqrt_test): Add more tests.
17845 * sysdeps/i386/fpu/libm-test-ulps: Update.
17846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17847
17848 [BZ #13840]
17849 * math/libm-test.inc (hypot_test): Add more tests.
17850
17851 2012-03-13 David S. Miller <davem@davemloft.net>
17852
17853 [BZ #13840]
17854 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17855 double-precision for the calculation instead of scaling.
17856
17857 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17858
17859 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17860 manipulate bits before adding and subtracting TWO52[sx].
17861 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17862 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17863 Likewise.
17864 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17865
17866 2012-03-13 David S. Miller <davem@davemloft.net>
17867
17868 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17869 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17870 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17871 rtld-global-offsets.h
17872 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17873
17874 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17875 large parameters.
17876
17877 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17878
17879 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17880 'err' in the ifdef scope in which it is actually used.
17881
17882 * nss/nss_db/db-init.c: Include string.h
17883
17884 2012-03-12 David S. Miller <davem@davemloft.net>
17885
17886 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17887 masking out of the most significant byte of random value used.
17888 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17889 Fix coding style in previous change.
17890
17891 * sysdeps/unix/sysv/linux/kernel-features.h
17892 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17893 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17894 expression.
17895 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17896 later.
17897
17898 2012-03-11 David S. Miller <davem@davemloft.net>
17899
17900 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17901 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17902 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17903 for 'resultvar' otherwise things get truncated on 64-bit.
17904
17905 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17906 Fix masking out of the most significant byte of random value used.
17907
17908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17909
17910 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17911
17912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17913
17914 2012-03-09 David S. Miller <davem@davemloft.net>
17915
17916 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17917 variables with appropriate CPP guards.
17918 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17919 frame pointer, not the stack pointer. Correct layout comments. Fix test
17920 on resulting framesize and the management of the outregs buffer for pltexit.
17921 Preserve floating point return values across _dl_call_pltexit call.
17922 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17923 framesize and the management of the outregs buffer for pltexit.
17924 Preserve floating point return values across _dl_call_pltexit
17925 call.
17926 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17927 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17928 (print_exit): Fix format string for return register value.
17929
17930 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17931
17932 * sunrpc/Makefile (others): Add rpcgen.
17933 ($(objpfx)rpcgen): Remove special build rule and dependency on
17934 libc.
17935 * sunrpc/rpcgen.c: New file.
17936
17937 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17938
17939 [BZ #13673]
17940 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17941 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17942 * sysdeps/i386/crti.S: Likewise.
17943 * sysdeps/i386/crtn.S: Likewise.
17944 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17945 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17946 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17947 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17948 * sysdeps/sh/crti.S: Likewise.
17949 * sysdeps/sh/crtn.S: Likewise.
17950 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17951
17952 [BZ #13673]
17953 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17954 with URL.
17955 * locale/programs/locfile-kw.gperf: Likewise.
17956 * locale/programs/charmap-kw.h: Regenerated.
17957 * locale/programs/locfile-kw.h: Likewise.
17958
17959 [BZ #13673]
17960 * intl/plural.y: Replace FSF snail mail address with URL.
17961 * intl/plural.c: Regenerated.
17962
17963 2012-03-09 Richard Henderson <rth@twiddle.net>
17964
17965 * include/math_private.h: Remove file.
17966 * math/math_private.h: Move file ...
17967 * sysdeps/generic/math_private.h: ... here.
17968
17969 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17970 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17971 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17972
17973 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17974 and <math_private.h>.
17975 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17976 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17977 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17978 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17979 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17980 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17981 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17983 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17984 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17990 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17994 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17996 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17997 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17998 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17999 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18000 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18001 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18002 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18004 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18005 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18006 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18007 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18008 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18009 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18010 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18011 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18012 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18013 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18014 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18015 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18016 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18018 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18020 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18021 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18022 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18024 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18026 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18036 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18038 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18039 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18063 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18064 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18065 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18066 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18067 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18068 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18069 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18070 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18071 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18072 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18073 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18074 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18075 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18076 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18077 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18078 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18079 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18080 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18081 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18082 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18083 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18084 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18085 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18086 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18087 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18088 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18089 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18090 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18091 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18092 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18093 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18094 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18095 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18096 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18097 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18098 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18099 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18100 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18101 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18102 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18103 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18104 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18105 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18106 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18107 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18108 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18109 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18110 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18111 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18112 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18113 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18114 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18115 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18116 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18117 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18118 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18119 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18120 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18121 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18122 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18123 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18124 * sysdeps/ieee754/k_standard.c: Likewise.
18125 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18126 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18127 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18240 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18242 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18244 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18245 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18247 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18252 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18257 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18263 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18266 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18268 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18273 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18274 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18275 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18279 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18282 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18285 * sysdeps/ieee754/s_lib_version.c: Likewise.
18286 * sysdeps/ieee754/s_matherr.c: Likewise.
18287 * sysdeps/ieee754/s_signgam.c: Likewise.
18288 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18289 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18290 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18291 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18292 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18293 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18294 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18295 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18296 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18297 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18298 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18299 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18300 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18301 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18302 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18303 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18304 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18305 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18306 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18308 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18309
18310 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18311
18312 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18313 * sunrpc/rpc_main.c: Likewise.
18314 * sunrpc/rpc_svcout.c: Likewise.
18315
18316 2012-03-09 David S. Miller <davem@davemloft.net>
18317
18318 * include/math_private.h: New file.
18319
18320 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18321
18322 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18323 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18324 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18325 from <bits/socket_type.h>.
18326 (enum __socket_type): Don't define here.
18327 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18329 bits/socket_type.h.
18330
18331 [BZ #13566]
18332 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18333 checking __USE_GNU.
18334
18335 * Makerules ($(inst_includedir)/%.h): New rule.
18336 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18337 (install-others): Remove variable setting.
18338 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18339
18340 2012-03-08 Richard Henderson <rth@twiddle.net>
18341
18342 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18343 from macro to inline function; merge with the
18344 !__LIBC_INTERNAL_MATH_INLINES version.
18345 (__ieee754_sqrtf): Likewise.
18346
18347 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18348 to inline function.
18349 (__rintf, __floor, __floorf): Likewise.
18350
18351 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18352 macro to inline function.
18353 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18354
18355 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18356 not <math/math_private.h>.
18357
18358 2012-03-08 David S. Miller <davem@davemloft.net>
18359
18360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18361 copyright year.
18362 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18363
18364 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18365
18366 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18367 normalization.
18368 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18369 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18370
18371 2012-03-08 Ulrich Drepper <drepper@gmail.com>
18372
18373 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18374 be defined individually, they must be defined as a block. Define
18375 S for printing a string instead of hidint the different by using a
18376 macro for adding the 'l'.
18377 * stdio-common/tst-fphex-wide.c: Adjust.
18378
18379 2012-03-07 Marek Polacek <polacek@redhat.com>
18380
18381 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18382
18383 2012-03-08 Marek Polacek <polacek@redhat.com>
18384
18385 [BZ #13806]
18386 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18387 * stdio-common/tst-fphex.c: Define a few macros to make the
18388 test reusable. Use them.
18389 * stdio-common/tst-fphex-wide.c: New file.
18390
18391 2012-03-08 Joseph Myers <joseph@codesourcery.com>
18392
18393 [BZ #6911]
18394 * manual/macros.texi (gnusystems): New macro.
18395 (nongnusystems): Likewise.
18396 (gnulinuxhurdsystems): Likewise.
18397 (gnuhurdsystems): Likewise..
18398 (gnulinuxsystems): Likewise.
18399 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18400 variants of the GNU system, not "GNU system".
18401 * manual/conf.texi: Likewise.
18402 * manual/errno.texi: Likewise. Update example of errno macro
18403 expansion.
18404 * manual/filesys.texi: Likewise.
18405 (getumask): Document as specific to GNU/Hurd.
18406 * manual/install.texi: Likewise. Reword some references to
18407 GNU/Linux.
18408 * manual/intro.texi: Likewise.
18409 * manual/io.texi: Likewise.
18410 (File Name Portability): Detail which constraints are inapplicable
18411 to all GNU systems and which are only inapplicable to GNU/Hurd.
18412 * manual/job.texi: Likewise.
18413 * manual/llio.texi: Likewise.
18414 (O_NOCTTY): Document as present on GNU/Linux.
18415 * manual/maint.texi: Likewise.
18416 * manual/memory.texi: Likewise.
18417 * manual/pattern.texi: Likewise.
18418 * manual/pipe.texi: Likewise.
18419 * manual/process.texi: Likewise.
18420 * manual/resource.texi: Likewise.
18421 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18422 child on GNU/Hurd.
18423 * manual/setjmp.texi: Likewise.
18424 * manual/signal.texi: Likewise.
18425 * manual/startup.texi: Likewise.
18426 * manual/stdio.texi: Likewise.
18427 * manual/terminal.texi: Likewise.
18428 (ONLCR): Document as POSIX.
18429 (OXTABS): Document availability on GNU/Linux as XTABS.
18430 (ONOEOT): Document availability separately from other bits.
18431 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18432 * manual/time.texi: Likewise.
18433 * manual/users.texi: Likewise.
18434 * INSTALL: Regenerated.
18435 * sysdeps/gnu/errlist.c: Regenerated.
18436
18437 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18438 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18439 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18440 puts.
18441 * configure: Regenerated.
18442
18443 2012-03-07 Joseph Myers <joseph@codesourcery.com>
18444
18445 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18446 default includes instead of AC_HEADER_CHECK.
18447 * sysdeps/i386/configure: Regenerated.
18448
18449 [BZ #10716]
18450 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18451 * math/s_cacoshf.c (__cacoshf): Likewise.
18452 * math/s_cacoshl.c (__cacoshl): Likewise.
18453 * math/s_casinh.c (__casinh): Set signs of result from argument.
18454 * math/s_casinhf.c (__casinhf): Likewise.
18455 * math/s_casinhl.c (__casinhl): Likewise.
18456 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18457 (casinh_test): Add more tests.
18458 * sysdeps/i386/fpu/libm-test-ulps: Update.
18459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18460
18461 2012-03-07 Ulrich Drepper <drepper@gmail.com>
18462
18463 * po/zh_TW.po: Update from translation team.
18464
18465 * login/Makefile (distribute): Remove variable.
18466 * catgets/Makefile: Likewise.
18467 * mach/Makefile: Likewise.
18468 * malloc/Makefile: Likewise.
18469 * misc/Makefile: Likewise.
18470 * iconv/Makefile: Likewise.
18471 * nscd/Makefile: Likewise.
18472 * hurd/Makefile: Likewise.
18473 * manual/Makefile: Likewise.
18474 * locale/Makefile: Likewise.
18475 * intl/Makefile: Likewise.
18476 * conform/Makefile: Likewise.
18477 * nss/Makefile: Likewise.
18478 * time/Makefile: Likewise.
18479 * soft-fp/Makefile: Likewise.
18480 * dirent/Makefile: Likewise.
18481 * gmon/Makefile: Likewise.
18482 * po/Makefile: Likewise.
18483 * rt/Makefile: Likewise.
18484 * socket/Makefile: Likewise.
18485 * math/Makefile: Likewise.
18486 * signal/Makefile: Likewise.
18487 * debug/Makefile: Likewise.
18488 * elf/Makefile: Likewise.
18489 * timezone/Makefile: Likewise.
18490 * stdlib/Makefile: Likewise.
18491 * iconvdata/Makefile: Likewise.
18492 * sunrpc/Makefile: Likewise.
18493 * io/Makefile: Likewise.
18494 * argp/Makefile: Likewise.
18495 * inet/Makefile: Likewise.
18496 * hesiod/Makefile: Likewise.
18497 * grp/Makefile: Likewise.
18498 * csu/Makefile: Likewise.
18499 * wctype/Makefile: Likewise.
18500 * crypt/Makefile: Likewise.
18501 * libio/Makefile: Likewise.
18502 * string/Makefile: Likewise.
18503 * nis/Makefile: Likewise.
18504 * resolv/Makefile: Likewise.
18505 * stdio-common/Makefile: Likewise.
18506 * wcsmbs/Makefile: Likewise.
18507 * dlfcn/Makefile: Likewise.
18508 * posix/Makefile: Likewise.
18509
18510 [BZ #6959]
18511 * timezone/Makefile: Don't install timezone files, just the programs
18512 and scripts.
18513
18514 2012-03-06 Ulrich Drepper <drepper@gmail.com>
18515
18516 * nss/databases.def: Add missing gshadow entry.
18517
18518 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18519
18520 2012-03-06 Marek Polacek <polacek@redhat.com>
18521
18522 [BZ #13726]
18523 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18524 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18525 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18526 * stdio-common/tst-long-dbl-fphex.c: New file.
18527
18528 2012-03-06 David S. Miller <davem@davemloft.net>
18529
18530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18531 (set_obp_int): New function.
18532 (get_obp_int): New function.
18533 (__get_clockfreq_via_dev_openprom): Likewise.
18534 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18535 Avoid unused variable warnings on 'val' and use builtin_expect.
18536 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18537 __builtin_expect.
18538 (INLINE_CLONE_SYSCALL): Likewise.
18539
18540 2012-03-05 David S. Miller <davem@davemloft.net>
18541
18542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18543
18544 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18545
18546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18547
18548 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18549 only for |x| >= 40.
18550 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18551
18552 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
18553
18554 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18555 Replace gettimeofday with __vdso_gettimeofday.
18556
18557 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18558 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18559 __vdso_clock_gettime and __vdso_getcpu.
18560
18561 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18562 time with __vdso_time.
18563
18564 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18565
18566 * manual/lang.texi (size_t): Note types to which size_t may be
18567 equivalent with the GNU C Library, but do not describe when
18568 differences between them are significant.
18569
18570 2012-03-05 Andreas Jaeger <aj@suse.de>
18571
18572 * sysdeps/i386/fpu/libm-test-ulps: Update.
18573
18574 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18575
18576 [BZ #3976]
18577 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18578 (__ieee754_pow): Save and restore rounding mode and use
18579 round-to-nearest for main computations.
18580 * math/libm-test.inc (pow_test_tonearest): New function.
18581 (pow_test_towardzero): Likewise.
18582 (pow_test_downward): Likewise.
18583 (pow_test_upward): Likewise.
18584 (main): Call the new functions.
18585 * sysdeps/i386/fpu/libm-test-ulps: Update.
18586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18587
18588 [BZ #3976]
18589 * math/libm-test.inc (cosh_test_tonearest): New function.
18590 (cosh_test_towardzero): Likewise.
18591 (cosh_test_downward): Likewise.
18592 (cosh_test_upward): Likewise.
18593 (sinh_test_tonearest): Likewise.
18594 (sinh_test_towardzero): Likewise.
18595 (sinh_test_downward): Likewise.
18596 (sinh_test_upward): Likewise.
18597 (main): Call the new functions.
18598 * sysdeps/i386/fpu/libm-test-ulps: Update.
18599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18600
18601 2012-03-05 Tom de Vries <tom@codesourcery.com>
18602
18603 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18604 default stack guard is set in last bytes.
18605 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18606
18607 2012-03-05 Kees Cook <keescook@chromium.org>
18608
18609 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18610
18611 [BZ #13656]
18612 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18613 possibly allocate from heap instead of stack.
18614 * stdio-common/bug-vfprintf-nargs.c: New file.
18615 * stdio-common/Makefile (tests): Add nargs overflow test.
18616
18617 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18618
18619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18620
18621 2012-03-03 Marek Polacek <polacek@redhat.com>
18622
18623 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18624 * math/math_private.h: Likewise.
18625 * stdlib/tst-strtod.c: Likewise.
18626 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18627 * sysdeps/x86_64/bits/atomic.h: Likewise.
18628
18629 2012-03-02 David S. Miller <davem@davemloft.net>
18630
18631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18635 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18636 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18637 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18638 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18639
18640 2012-03-02 Roland McGrath <roland@hack.frob.com>
18641
18642 [BZ #13792]
18643 * manual/examples/README: New file, says the example source files
18644 can be used under GPL>=2.
18645 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18646 line containing just "*/".
18647 * manual/examples/add.c: Add copyright header (GPL>=2).
18648 * manual/examples/argp-ex1.c: Likewise.
18649 * manual/examples/argp-ex2.c: Likewise.
18650 * manual/examples/argp-ex3.c: Likewise.
18651 * manual/examples/argp-ex4.c: Likewise.
18652 * manual/examples/atexit.c: Likewise.
18653 * manual/examples/db.c: Likewise.
18654 * manual/examples/dir.c: Likewise.
18655 * manual/examples/dir2.c: Likewise.
18656 * manual/examples/execinfo.c: Likewise.
18657 * manual/examples/filecli.c: Likewise.
18658 * manual/examples/filesrv.c: Likewise.
18659 * manual/examples/fmtmsgexpl.c: Likewise.
18660 * manual/examples/genpass.c: Likewise.
18661 * manual/examples/inetcli.c: Likewise.
18662 * manual/examples/inetsrv.c: Likewise.
18663 * manual/examples/isockad.c: Likewise.
18664 * manual/examples/longopt.c: Likewise.
18665 * manual/examples/memopen.c: Likewise.
18666 * manual/examples/memstrm.c: Likewise.
18667 * manual/examples/mkfsock.c: Likewise.
18668 * manual/examples/mkisock.c: Likewise.
18669 * manual/examples/mygetpass.c: Likewise.
18670 * manual/examples/pipe.c: Likewise.
18671 * manual/examples/popen.c: Likewise.
18672 * manual/examples/rprintf.c: Likewise.
18673 * manual/examples/search.c: Likewise.
18674 * manual/examples/select.c: Likewise.
18675 * manual/examples/setjmp.c: Likewise.
18676 * manual/examples/sigh1.c: Likewise.
18677 * manual/examples/sigusr.c: Likewise.
18678 * manual/examples/stpcpy.c: Likewise.
18679 * manual/examples/strdupa.c: Likewise.
18680 * manual/examples/strftim.c: Likewise.
18681 * manual/examples/strncat.c: Likewise.
18682 * manual/examples/subopt.c: Likewise.
18683 * manual/examples/swapcontext.c: Likewise.
18684 * manual/examples/termios.c: Likewise.
18685 * manual/examples/testopt.c: Likewise.
18686 * manual/examples/testpass.c: Likewise.
18687 * manual/examples/timeval_subtract.c: Likewise.
18688
18689 [BZ #13792]
18690 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18691 function to ...
18692 * manual/timeval_subtract.c.texi: ... here, new file.
18693
18694 2012-03-02 David S. Miller <davem@davemloft.net>
18695
18696 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18697
18698 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18699
18700 [BZ #3976]
18701 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18702 (__sin): Save and restore rounding mode and use round-to-nearest
18703 for all computations.
18704 (__cos): Save and restore rounding mode and use round-to-nearest
18705 for all computations.
18706 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18707 <fenv.h>.
18708 (tan): Save and restore rounding mode and use round-to-nearest for
18709 all computations.
18710 * math/libm-test.inc (cos_test_tonearest): New function.
18711 (cos_test_towardzero): Likewise.
18712 (cos_test_downward): Likewise.
18713 (cos_test_upward): Likewise.
18714 (sin_test_tonearest): Likewise.
18715 (sin_test_towardzero): Likewise.
18716 (sin_test_downward): Likewise.
18717 (sin_test_upward): Likewise.
18718 (tan_test_tonearest): Likewise.
18719 (tan_test_towardzero): Likewise.
18720 (tan_test_downward): Likewise.
18721 (tan_test_upward): Likewise.
18722 (main): Call the new functions.
18723 * sysdeps/i386/fpu/libm-test-ulps: Update.
18724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18725
18726 [BZ #10135]
18727 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18728 small n, then large n, before computing and testing k+n.
18729 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18731 Likewise.
18732 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18733 Likewise.
18734 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18735 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18736 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18737 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18738 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18739 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18740 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18741 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18742 * math/libm-test.inc (scalbn_test): Add more tests.
18743 (scalbln_test): Likewise.
18744
18745 * manual/filesys.texi (mode_t): Describe constraints on size and
18746 signedness, not exact equivalence to a particular type.
18747 (ino_t): Likewise.
18748 (ino64_t): Likewise.
18749 (dev_t): Likewise.
18750 (nlink_t): Likewise.
18751 (blkcnt_t): Likewise.
18752 (blkcnt64_t): Likewise.
18753 * manual/llio.texi (off_t): Likewise.
18754
18755 [BZ #3976]
18756 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18757 (__ieee754_exp): Save and restore rounding mode and use
18758 round-to-nearest for all computations.
18759 * math/libm-test.inc (exp_test_tonearest): New function.
18760 (exp_test_towardzero): Likewise.
18761 (exp_test_downward): Likewise.
18762 (exp_test_upward): Likewise.
18763 (main): Call the new functions.
18764 * sysdeps/i386/fpu/libm-test-ulps: Update.
18765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18766
18767 2012-03-01 Chris Demetriou <cgd@google.com>
18768
18769 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18770 have predictable order.
18771
18772 2012-03-01 David S. Miller <davem@davemloft.net>
18773
18774 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18775
18776 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18777 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18778 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18779 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18780
18781 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18782 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18783 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18785 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18786 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18787 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18788 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18789 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18790
18791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18792
18793 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18794 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18795 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18796
18797 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18798 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18799 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18800 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18801 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18802 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18803 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18804 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18805 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18806 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18807 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18808 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18810 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18811 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18812 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18813 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18814 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18815 * sysdeps/sparc/elf/configure: Regenerated.
18816
18817 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18818
18819 * configure.in (AS, LD): Require binutils 2.20 or later.
18820 * configure: Regenerated.
18821 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18822 as required minimum version.
18823 * INSTALL: Regenerated.
18824
18825 [BZ #2541]
18826 [BZ #4108]
18827 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18828 before squaring exponent.
18829 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18830 bottom long double and 27 bits of top long double before squaring
18831 exponent.
18832 * math/libm-test.inc (erfc_test): Add more tests.
18833 * sysdeps/i386/fpu/libm-test-ulps: Update.
18834 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18836
18837 2012-03-01 Kai Tietz <ktietz@redhat.com>
18838
18839 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18840 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18841 containing bit-fields.
18842 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18843 * soft-fp/single.h (_FP_UNION_S): Likewise.
18844 * soft-fp/double.h (_FP_UNION_D): Likewise.
18845
18846 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18847
18848 [BZ #13786]
18849 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18850 not include ../strcmp.S.
18851 [USE_AS_STRNCASECMP_L]: Likewise.
18852 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18853 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18854 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18855 (__strncasecmp_l_ia32): Define as alias to
18856 __strncasecmp_l_nonascii.
18857
18858 [BZ #5794]
18859 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18860 * sysdeps/i386/fpu/libm-test-ulps: Update.
18861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18862
18863 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18865
18866 2012-02-29 Jeff Law <law@redhat.com>
18867
18868 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18869 out of bounds read.
18870
18871 2012-02-29 Marek Polacek <polacek@redhat.com>
18872
18873 [BZ #13706]
18874 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18875 * elf/Makefile: Add rules to run tst-unused-dep.out.
18876
18877 2012-02-28 David S. Miller <davem@davemloft.net>
18878
18879 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18880 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18881 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18882 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18883 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18884 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18885
18886 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18887
18888 * math/libm-test.inc (llround_test): Move one test from
18889 lround_test. Use TEST_f_L in moved test.
18890 (lround_test): Move misplaced test to llround_test. Add testcase
18891 from bug 2561.
18892
18893 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18894
18895 * sysdeps/x86_64/fpu/e_expf.S: New file.
18896 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18897
18898 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18899
18900 [BZ #13637]
18901 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18902 of remain_len that may cause incomplete multi-byte character and
18903 false match.
18904 * posix/bug-regex33.c: New file.
18905 * posix/Makefile (tests): Add bug-regex33.
18906
18907 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18908
18909 * manual/macros.texi: New file.
18910 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18911 * manual/libc.texinfo: Include macros.texi.
18912 * manual/creatute.texi: Likewise.
18913 * manual/install.texi: Likewise.
18914 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18915 @glibcadj{} in references to the GNU C Library.
18916 * manual/charset.texi: Likewise.
18917 * manual/conf.texi: Likewise.
18918 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18919 when not using those macros.
18920 * manual/creature.texi: Likewise.
18921 * manual/crypt.texi: Likewise.
18922 * manual/errno.texi: Likewise.
18923 * manual/filesys.texi: Likewise.
18924 * manual/header.texi: Likewise.
18925 * manual/install.texi: Likewise.
18926 * manual/intro.texi: Likewise.
18927 * manual/io.texi: Likewise.
18928 * manual/job.texi: Likewise.
18929 * manual/lang.texi: Likewise.
18930 * manual/libc.texiinfo: Likewise.
18931 * manual/llio.texi: Likewise.
18932 * manual/locale.texi: Likewise.
18933 * manual/maint.texi: Likewise.
18934 * manual/math.texi: Likewise.
18935 * manual/memory.texi: Likewise.
18936 * manual/message.texi: Likewise.
18937 * manual/nss.texi: Likewise.
18938 * manual/pattern.texi: Likewise.
18939 * manual/process.texi: Likewise.
18940 * manual/resource.texi: Likewise.
18941 * manual/search.texi: Likewise.
18942 * manual/setjmp.texi: Likewise.
18943 * manual/signal.texi: Likewise.
18944 * manual/socket.texi: Likewise.
18945 * manual/startup.texi: Likewise.
18946 * manual/stdio.texi: Likewise.
18947 * manual/string.texi: Likewise.
18948 * manual/sysinfo.texi: Likewise.
18949 * manual/syslog.texi: Likewise.
18950 * manual/terminal.texi: Likewise.
18951 * manual/time.texi: Likewise.
18952 * manual/users.texi: Likewise.
18953 * INSTALL: Regenerated.
18954 * NOTES: Regenerated.
18955 * sysdeps/gnu/errlist.c: Regenerated.
18956
18957 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18958
18959 * include/dirent.h: Include <dirstream.h> before
18960 <dirent/dirent.h>.
18961
18962 2012-02-28 David S. Miller <davem@davemloft.net>
18963
18964 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18965 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18966 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18967 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18968
18969 2012-02-27 David S. Miller <davem@davemloft.net>
18970
18971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18973 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18974 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18975
18976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18977 frame pointer instead of stack pointer relative arg slot.
18978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18979 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18980 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18981
18982 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18983
18984 [BZ #3992]
18985 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18986
18987 2012-02-27 David S. Miller <davem@davemloft.net>
18988
18989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18993 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18994 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18995 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18996 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18997
18998 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18999
19000 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19001 later. Allow versions 5-9.
19002 * configure: Regenerated.
19003 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19004 required minimum version and 4.6 as recommended version. Do not
19005 mention bugs in GCC 2.7 and 2.8.
19006 * INSTALL: Regenerated.
19007
19008 2012-02-27 David S. Miller <davem@davemloft.net>
19009
19010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19014 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19015 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19016 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19017 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19018
19019 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19020 manipulate bits before adding and subtracting TWO112[sx].
19021 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19022
19023 2012-02-27 Roland McGrath <roland@hack.frob.com>
19024
19025 [BZ #13775]
19026 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19027 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19028 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19029 being in POSIX, because they are in 1003.1-2008.
19030
19031 * rt/tst-aio.c: Include <fcntl.h>.
19032 * rt/tst-aio7.c: Likewise.
19033 * rt/tst-aio64.c: Likewise.
19034
19035 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19036
19037 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19038
19039 * manual/install.texi (--with-headers): Describe headers as
19040 interface headers, not private headers.
19041 (Specific advice for GNU/Linux systems): Describe use of headers
19042 from "make headers_install", not private headers from older
19043 kernels.
19044 * INSTALL: Regenerated.
19045 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19046 Change to 2.6.19.
19047 * sysdeps/unix/sysv/linux/configure: Regenerated.
19048
19049 * manual/llio.texi (fclean): Remove documentation.
19050
19051 * manual/Makefile (libc-texi-generated): New variable. Include
19052 version.texi.
19053 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19054 $(libc-texi-generated), not duplicated list of files.
19055 (version.texi, stamp-version): New rules.
19056 (realclean): Remove $(libc-texi-generated), not individual files
19057 from that list. Do not remove dir-add.texinfo.
19058 * manual/libc.texinfo: Comment out uses of edition numbers and
19059 references to printed manual. Remove last-updated dates.
19060 (EDITION): Comment out.
19061 (ISBN): Likewise.
19062 (VERSION, UPDATED): Remove.
19063 (version.texi): Include.
19064
19065 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19066
19067 * sysdeps/posix/spawni.c: Include <signal.h>.
19068 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19069 * sysdeps/pthread/aio_fsync.c: Likewise.
19070
19071 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19072
19073 * conform/Makefile (tests): Run only when not cross-compiling and
19074 when fast-check is not defined.
19075
19076 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19077 * conform/data/limits.h-data: Fixes for POSIX2008.
19078 * conform/run-conformtest.sh: Run all tests.
19079 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19080 headers.
19081 * include/bits/dlfcn.h: Likewise.
19082 * include/langinfo.h: Likewise.
19083 * include/monetary.h: Likewise.
19084 * include/sys/poll.h: Likewise.
19085
19086 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19087 for __USE_GNU.
19088 * posix/spawn.h: Define __need_sigset_t.
19089 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19090 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19091 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19092 to get sigevent_t only.
19093 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19094 only for __USE_GNU.
19095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19096 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19097 process_vm_writev only for __USE_GNU.
19098 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19099
19100 * conform/Makefile: For now ignore errors from run-conformtest.
19101 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19102 POSIX to avoid namespace pollution. Don't prepend headers.
19103 * conform/data/aio.h-data: Fixes for POSIX testing.
19104 * conform/data/fcntl.h-data: Likewise.
19105 * conform/data/glob.h-data: Likewise.
19106 * conform/data/grp.h-data: Likewise.
19107 * conform/data/pthread.h-data: Likewise.
19108 * conform/data/pwd.h-data: Likewise.
19109 * conform/data/signal.h-data: Likewise.
19110 * conform/data/spawn.h-data: Likewise.
19111 * conform/data/stdio.h-data: Likewise.
19112 * conform/data/stdlib.h-data: Likewise.
19113 * conform/data/stropts.h-data: Likewise.
19114 * conform/data/sys/mman.h-data: Likewise.
19115 * conform/data/sys/stat.h-data: Likewise.
19116 * conform/data/sys/types.h-data: Likewise.
19117 * conform/data/sys/wait.h-data: Likewise.
19118 * conform/data/time.h-data: Likewise.
19119 * conform/data/unistd.h-data: Likewise.
19120 * conform/data/utime.h-data: Likewise.
19121
19122 * io/sys/stat.h: fchmod was always in POSIX.
19123 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19124 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19125 * rt/aio.h: Define __need_timespec before including <time.h>.
19126 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19127 struct. Add forward declaration of pthread_attr_t and use it in
19128 sigevent.
19129 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19130 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19131 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19132 always remove CLK_TCK definition.
19133
19134 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19135
19136 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19137
19138 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19139
19140 * conform/run-conformtest.sh: New file.
19141 * conform/Makefile: Run run-conformtest for tests.
19142 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19143 support.
19144
19145 * conform/data/uchar.h-data: New file.
19146 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19147 * conform/data/arpa/inet.h-data: Likewise.
19148 * conform/data/assert.h-data: Likewise.
19149 * conform/data/complex.h-data: Likewise.
19150 * conform/data/cpio.h-data: Likewise.
19151 * conform/data/ctype.h-data: Likewise.
19152 * conform/data/dirent.h-data: Likewise.
19153 * conform/data/dlfcn.h-data: Likewise.
19154 * conform/data/errno.h-data: Likewise.
19155 * conform/data/fcntl.h-data: Likewise.
19156 * conform/data/float.h-data: Likewise.
19157 * conform/data/fmtmsg.h-data: Likewise.
19158 * conform/data/fnmatch.h-data: Likewise.
19159 * conform/data/ftw.h-data: Likewise.
19160 * conform/data/glob.h-data: Likewise.
19161 * conform/data/grp.h-data: Likewise.
19162 * conform/data/iconv.h-data: Likewise.
19163 * conform/data/inttypes.h-data: Likewise.
19164 * conform/data/langinfo.h-data: Likewise.
19165 * conform/data/libgen.h-data: Likewise.
19166 * conform/data/limits.h-data: Likewise.
19167 * conform/data/locale.h-data: Likewise.
19168 * conform/data/math.h-data: Likewise.
19169 * conform/data/monetary.h-data: Likewise.
19170 * conform/data/mqueue.h-data: Likewise.
19171 * conform/data/ndbm.h-data: Likewise.
19172 * conform/data/net/if.h-data: Likewise.
19173 * conform/data/netdb.h-data: Likewise.
19174 * conform/data/netinet/in.h-data: Likewise.
19175 * conform/data/nl_types.h-data: Likewise.
19176 * conform/data/poll.h-data: Likewise.
19177 * conform/data/pthread.h-data: Likewise.
19178 * conform/data/pwd.h-data: Likewise.
19179 * conform/data/regex.h-data: Likewise.
19180 * conform/data/sched.h-data: Likewise.
19181 * conform/data/search.h-data: Likewise.
19182 * conform/data/semaphore.h-data: Likewise.
19183 * conform/data/setjmp.h-data: Likewise.
19184 * conform/data/signal.h-data: Likewise.
19185 * conform/data/spawn.h-data: Likewise.
19186 * conform/data/stdarg.h-data: Likewise.
19187 * conform/data/stdio.h-data: Likewise.
19188 * conform/data/stdlib.h-data: Likewise.
19189 * conform/data/string.h-data: Likewise.
19190 * conform/data/strings.h-data: Likewise.
19191 * conform/data/stropts.h-data: Likewise.
19192 * conform/data/sys/ipc.h-data: Likewise.
19193 * conform/data/sys/mman.h-data: Likewise.
19194 * conform/data/sys/msg.h-data: Likewise.
19195 * conform/data/sys/resource.h-data: Likewise.
19196 * conform/data/sys/select.h-data: Likewise.
19197 * conform/data/sys/sem.h-data: Likewise.
19198 * conform/data/sys/shm.h-data: Likewise.
19199 * conform/data/sys/socket.h-data: Likewise.
19200 * conform/data/sys/stat.h-data: Likewise.
19201 * conform/data/sys/statvfs.h-data: Likewise.
19202 * conform/data/sys/time.h-data: Likewise.
19203 * conform/data/sys/timeb.h-data: Likewise.
19204 * conform/data/sys/times.h-data: Likewise.
19205 * conform/data/sys/types.h-data: Likewise.
19206 * conform/data/sys/uio.h-data: Likewise.
19207 * conform/data/sys/un.h-data: Likewise.
19208 * conform/data/sys/utsname.h-data: Likewise.
19209 * conform/data/sys/wait.h-data: Likewise.
19210 * conform/data/syslog.h-data: Likewise.
19211 * conform/data/tar.h-data: Likewise.
19212 * conform/data/termios.h-data: Likewise.
19213 * conform/data/utime.h-data: Likewise.
19214 * conform/data/utmpx.h-data: Likewise.
19215 * conform/data/varargs.h-data: Likewise.
19216 * conform/data/wchar.h-data: Likewise.
19217 * conform/data/wctype.h-data: Likewise.
19218 * conform/data/wordexp.h-data: Likewise.
19219
19220 * include/stropts.h: New file.
19221 * include/uchar.h: New file.
19222 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19223 * include/assert.h: Likewise.
19224 * include/ctype.h: Likewise.
19225 * include/dirent.h: Likewise.
19226 * include/dlfcn.h: Likewise.
19227 * include/fcntl.h: Likewise.
19228 * include/fnmatch.h: Likewise.
19229 * include/glob.h: Likewise.
19230 * include/grp.h: Likewise.
19231 * include/libio.h: Likewise.
19232 * include/locale.h: Likewise.
19233 * include/math.h: Likewise.
19234 * include/net/if.h: Likewise.
19235 * include/netdb.h: Likewise.
19236 * include/netinet/in.h: Likewise.
19237 * include/pthread.h: Likewise.
19238 * include/pwd.h: Likewise.
19239 * include/regex.h: Likewise.
19240 * include/sched.h: Likewise.
19241 * include/search.h: Likewise.
19242 * include/setjmp.h: Likewise.
19243 * include/signal.h: Likewise.
19244 * include/stdio.h: Likewise.
19245 * include/stdlib.h: Likewise.
19246 * include/string.h: Likewise.
19247 * include/sys/cdefs.h: Likewise.
19248 * include/sys/mman.h: Likewise.
19249 * include/sys/msg.h: Likewise.
19250 * include/sys/resource.h: Likewise.
19251 * include/sys/select.h: Likewise.
19252 * include/sys/socket.h: Likewise.
19253 * include/sys/stat.h: Likewise.
19254 * include/sys/statvfs.h: Likewise.
19255 * include/sys/time.h: Likewise.
19256 * include/sys/times.h: Likewise.
19257 * include/sys/uio.h: Likewise.
19258 * include/sys/utsname.h: Likewise.
19259 * include/sys/wait.h: Likewise.
19260 * include/termios.h: Likewise.
19261 * include/time.h: Likewise.
19262 * include/ulimit.h: Likewise.
19263 * include/unistd.h: Likewise.
19264 * include/utime.h: Likewise.
19265 * include/wchar.h: Likewise.
19266 * include/wctype.h: Likewise.
19267 * include/wordexp.h: Likewise.
19268
19269 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19270
19271 * time/time.h: TIME_UTC must be a macro.
19272 Make timespec_get available for ISO C11 only as well.
19273
19274 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19275
19276 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19277 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19278
19279 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19280
19281 * configure.in: Use -o not -a in test for unsupported multi-arch.
19282
19283 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19284
19285 * manual/texinfo.tex: Update to version 2012-01-19.16.
19286
19287 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19288
19289 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19290
19291 2012-02-24 Roland McGrath <roland@hack.frob.com>
19292
19293 [BZ #13738]
19294 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19295 * manual/fdl-1.3.texi: New file.
19296 * manual/fdl-1.1.texi: File removed.
19297
19298 [BZ #13738]
19299 * manual/libc.texinfo (FDL_VERSION): New @set.
19300 Use it for mention of FDL in cover text.
19301 (Documentation License): Use it in @include file name.
19302
19303 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19304 Roland McGrath <roland@hack.frob.com>
19305
19306 [BZ #5461]
19307 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19308 not LONG_LONG_MAX and LONG_LONG_MIN.
19309 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19310 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19311 name.
19312 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19313
19314 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19315
19316 [BZ #2547]
19317 [BZ #11365]
19318 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19319 manipulate bits before adding and subtracting TWO23[sx].
19320 * math/libm-test.inc (nearbyint_test): Add more tests.
19321
19322 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19323
19324 [BZ #2548]
19325 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19326 bits before adding and subtracting TWO23[sx].
19327 * math/libm-test.inc (rint_test): Add more tests.
19328 (rint_test_tonearest): Likewise.
19329 (rint_test_towardzero): Likewise.
19330 (rint_test_downward): Likewise.
19331 (rint_test_upward: Likewise.
19332
19333 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19334
19335 [BZ #10110]
19336 * include/stdc-predef.h: New file. Extracted from features.h.
19337 * include/features.h: Include stdc-predef.h.
19338 * Makefile (headers): Add stdc-predef.h.
19339 * CONFORMANCE (Compiler limitations): Update.
19340
19341 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19342
19343 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19344
19345 2012-02-21 David S. Miller <davem@davemloft.net>
19346
19347 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19348 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19349
19350 2012-02-20 David S. Miller <davem@davemloft.net>
19351
19352 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19353 using a normal save/restore sequence, rather than allocating a
19354 dummy stack frame just to store a frame pointer and restore.
19355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19356
19357 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19358
19359 * manual/install.texi: Fix stray word in line-wrapped comment.
19360
19361 2012-02-20 David S. Miller <davem@davemloft.net>
19362
19363 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19364 both binutils and gcc support GOTDATA.
19365
19366 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19367 "rd %pc" in the PIC register setup sequences.
19368
19369 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19370 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19371 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19372 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19373 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19375 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19376 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19378 (SYSCALL_ERROR_HANDLER): Likewise.
19379 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19380 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19382 (SYSCALL_ERROR_HANDLER): Likewise.
19383
19384 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19385 (HAVE_GCC_GOTDATA): New.
19386 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19387 relocation support in both binutils and gcc.
19388 * sysdeps/sparc/elf/configure: Regenerate.
19389
19390 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19391 * sysdeps/sparc/sparc32/elf/configure: Delete.
19392 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19393 * sysdeps/sparc/sparc64/elf/configure: Delete.
19394 * sysdeps/sparc/elf/configure.in: New file.
19395 * sysdeps/sparc/elf/configure: Generate.
19396
19397 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19398 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19399 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19400 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19401 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19402
19403 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19404
19405 * manual/install.texi: Do not mention specific glibc version
19406 numbers.
19407 * manual/libc.texinfo (VERSION, UPDATED): Update.
19408 (@copying): Use @copyright{} and range of years.
19409
19410 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19411
19412 [BZ #13695]
19413 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19414 [crti.S not in sysdirs] (generated): Do not append.
19415 [crti.S not in sysdirs] (omit-deps): Likewise.
19416 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19417 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19418 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19419 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19420 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19421 Likewise.
19422 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19423 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19424 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19425 * csu/defs.awk: Remove file.
19426 * sysdeps/generic/initfini.c: Likewise.
19427 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19428 variable.
19429 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19430 Likewise.
19431
19432 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19433
19434 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19435 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19436 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19437 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19438 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19439 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19440 <bits/epoll.h>.
19441 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19442 (__EPOLL_PACKED): Define to empty if not defined by
19443 <bits/epoll.h>.
19444 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19446 bits/epoll.h.
19447
19448 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19449
19450 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19451 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19452 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19453 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19454 <bits/timerfd.h>.
19455 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19457 bits/timerfd.h.
19458
19459 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19460
19461 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19462 in C locale.
19463 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19464 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19465 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19467
19468 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19469
19470 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19471 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19472
19473 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19474
19475 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19476 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19477 defined.
19478 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19479 Likewise.
19480 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19481 entry for 2.16.
19482
19483 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19484
19485 * math/w_acos.c: Use non-signaling floating-point comparisons.
19486 * math/w_acosf.c: Likewise.
19487 * math/w_acosh.c: Likewise.
19488 * math/w_acoshf.c: Likewise.
19489 * math/w_acoshl.c: Likewise.
19490 * math/w_acosl.c: Likewise.
19491 * math/w_asin.c: Likewise.
19492 * math/w_asinf.c: Likewise.
19493 * math/w_asinl.c: Likewise.
19494 * math/w_atanh.c: Likewise.
19495 * math/w_atanhf.c: Likewise.
19496 * math/w_atanhl.c: Likewise.
19497 * math/w_exp2.c: Likewise.
19498 * math/w_exp2f.c: Likewise.
19499 * math/w_exp2l.c: Likewise.
19500 * math/w_j0.c: Likewise.
19501 * math/w_j0f.c: Likewise.
19502 * math/w_j0l.c: Likewise.
19503 * math/w_j1.c: Likewise.
19504 * math/w_j1f.c: Likewise.
19505 * math/w_j1l.c: Likewise.
19506 * math/w_jn.c: Likewise.
19507 * math/w_jnf.c: Likewise.
19508 * math/w_log.c: Likewise.
19509 * math/w_log10.c: Likewise.
19510 * math/w_log10f.c: Likewise.
19511 * math/w_log10l.c: Likewise.
19512 * math/w_log2.c: Likewise.
19513 * math/w_log2f.c: Likewise.
19514 * math/w_log2l.c: Likewise.
19515 * math/w_logf.c: Likewise.
19516 * math/w_logl.c: Likewise.
19517 * math/w_sqrt.c: Likewise.
19518 * math/w_sqrtf.c: Likewise.
19519 * math/w_sqrtl.c: Likewise.
19520 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19521 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19522 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19523 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19524 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19525
19526 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19527
19528 [BZ #9739]
19529 * manual/string.texi (strnlen): Use correct parameter name in
19530 equivalent expression.
19531
19532 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19533
19534 [BZ #11174]
19535 * manual/users.texi (seteuid): Consistently use neweuid for
19536 argument name.
19537
19538 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19539
19540 [BZ #13704]
19541 * manual/nss.texi (Services in the NSS configuration): Correct
19542 list of services in example configuration file.
19543
19544 2012-02-19 Nick Bowler <nbowler@draconx.ca>
19545
19546 [BZ #11322]
19547 * manual/arith.texi: Remove statements about negative zero
19548 behaving identically to zero.
19549
19550 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19551
19552 [BZ #5993]
19553 * manual/install.texi: Do not document upgrading from libc5.
19554
19555 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19556
19557 [BZ #4596]
19558 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19559
19560 2012-02-18 David S. Miller <davem@davemloft.net>
19561
19562 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19563 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19564 %o7 across the call.
19565 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19566 instead.
19567 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19568 SETUP_PIC_REG_LEAF.
19569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19570 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19571 * sysdeps/sparc/crtn.S: Likewise.
19572
19573 2012-02-17 Ulrich Drepper <drepper@gmail.com>
19574
19575 * aout/Makefile: Remove.
19576
19577 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19578
19579 [BZ #13058]
19580 * manual/examples/argp-ex1.c (main): Format definition in GNU
19581 style.
19582 * manual/examples/argp-ex2.c (main): Likewise.
19583 * manual/examples/argp-ex3.c (main): Likewise.
19584 * manual/examples/argp-ex4.c (main): Likewise.
19585 * manual/examples/longopt.c (main): Use new-style prototype
19586 definition.
19587 * manual/examples/strncat.c (main): Specify return type and use
19588 (void) for arguments.
19589 * manual/examples/subopt.c (main): Use char **argv argument.
19590
19591 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19592
19593 [BZ #5077]
19594 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19595 rounding modes.
19596
19597 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19598
19599 [BZ #6907]
19600 * manual/string.texi (strchr): Change when strchrnul is
19601 recommended.
19602
19603 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19604
19605 [BZ #174]
19606 * manual/locale.texi (setlocale): Document LOCPATH.
19607
19608 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19609
19610 [BZ #10210]
19611 * manual/process.texi (execle): Move @dots{} before last argument.
19612
19613 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
19614
19615 [BZ #12047]
19616 * manual/charset.texi (Generic Charset Conversion): Fix typo
19617 (LC_TYPE -> LC_CTYPE).
19618
19619 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19620
19621 [BZ #5805]
19622 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19623 (scalbnf): Likewise.
19624 (scalbnl): Likewise.
19625 (scalbln): Likewise.
19626 (scalblnf): Likewise.
19627 (scalblnl): Likewise.
19628 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19629 (vwarnx): Likewise.
19630 (verr): Likewise.
19631 (verrx): Likewise.
19632 * manual/filesys.texi (telldir): Use braces around return type.
19633 * manual/llio.texi (mmap): Add space after comma.
19634 (mmap64): Likewise.
19635 * manual/math.texi (jn): Use @var{} on parameter names.
19636 (jnf): Likewise.
19637 (jnl): Likewise.
19638 (yn): Likewise.
19639 (ynf): Likewise.
19640 (ynl): Likewise.
19641 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19642 line.
19643 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19644 "...".
19645 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19646 (sched_get_priority_max): Likewise.
19647 * manual/signal.texi (sigvec): Add space after comma.
19648 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19649 names.
19650 (if_indextoname): Likewise.
19651 (if_freenameindex): Likewise.
19652 (sendto): Use ',' instead of '.' in prototype.
19653 * manual/startup.texi (syscall): Use @dots{} instead of literal
19654 "...".
19655 * manual/stdio.texi (__fpending): Separate initial words of
19656 paragraph from @deftypefun line.
19657 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19658 "...".
19659 (vsyslog): Use @var{} on parameter names.
19660 * manual/terminal.texi (stty): Use @var{} on parameter names.
19661 * manual/users.texi (getutmp): Use @var{} on parameter names.
19662 (getutmpx): Likewise.
19663
19664 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19665
19666 [BZ #6884]
19667 * manual/stdio.texi (fopen): Fix typos in description of
19668 ",ccs=STRING".
19669
19670 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19671
19672 [BZ #4026]
19673 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19674 get clock_id definition.
19675
19676 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19677
19678 [BZ #4822]
19679 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19680 (madvise): Cast every argument to void on its own.
19681
19682 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19683
19684 [BZ #9902]
19685 * manual/startup.texi (Exit Status): Fix typo.
19686
19687 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19688
19689 [BZ #10140]
19690 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19691 * manual/examples/argp-ex2.c: Likewise.
19692 * manual/examples/argp-ex3.c: Likewise.
19693
19694 2012-02-16 Richard Henderson <rth@redhat.com>
19695
19696 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19697 * sysdeps/s390/s390-32/initfini.c: Remove.
19698 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19699 * sysdeps/s390/s390-64/initfini.c: Remove.
19700
19701 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19702
19703 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19704 compiler output for sysdeps/generic/initfini.c.
19705 * sysdeps/sh/elf/initfini.c: Remove file.
19706
19707 2012-02-16 David S. Miller <davem@davemloft.net>
19708
19709 [BZ #11494]
19710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19711
19712 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19713 * sysdeps/sparc/crti.S: New file.
19714 * sysdeps/sparc/crtn.S: New file.
19715 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19716 * sysdeps/sparc/sparc64/Makefile: Likewise.
19717
19718 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19719
19720 [BZ #3335]
19721 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19722
19723 2012-02-15 Roland McGrath <roland@hack.frob.com>
19724
19725 [BZ #4822]
19726 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19727
19728 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19729 (write, read, close): Likewise.
19730 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19731
19732 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19733
19734 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19735 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19736 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19737 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19738 <bits/signalfd.h>.
19739 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19741 bits/signalfd.h.
19742
19743 2012-02-14 Marek Polacek <polacek@redhat.com>
19744
19745 * sysdeps/x86_64/crti.S: New file.
19746 * sysdeps/x86_64/crtn.S: New file.
19747 * sysdeps/x86_64/elf/initfini.c: Remove file.
19748
19749 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19750
19751 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19752 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19753 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19754 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19755 <bits/inotify.h>.
19756 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19758 bits/inotify.h.
19759
19760 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19761
19762 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19763 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19764 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19765 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19766 <bits/eventfd.h>.
19767 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19769 bits/eventfd.h.
19770
19771 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19772
19773 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19774 __feraiseexcept instead of feraiseexcept.
19775
19776 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19777 nanosleep invocations.
19778 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19779 strings, and add error checking for a nanosleep invocations.
19780
19781 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19782
19783 Replace FSF snail mail address with URLs, as per GNU coding standards.
19784 Most of the snail mail addresses were wrong anyway, and omitting
19785 them makes the source code easier to maintain. Almost all of the
19786 changes are to license notices and to locale LC_IDENTIFICATION
19787 addresses, except for this one:
19788 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19789 not its snail mail address.
19790
19791 2012-02-09 Richard Henderson <rth@twiddle.net>
19792
19793 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19794 of kernel-features.h.
19795
19796 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19797
19798 2012-02-08 Marek Polacek <polacek@redhat.com>
19799
19800 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19801 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19802 * sysdeps/gnu/_G_config.h: Likewise.
19803 * sysdeps/generic/_G_config.h: Likewise.
19804
19805 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19806
19807 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19808 tests.
19809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19810
19811 * sysdeps/powerpc/powerpc32/crti.S: New file.
19812 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19813 * sysdeps/powerpc/powerpc64/crti.S: New file.
19814 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19815
19816 * Makeconfig (have-initfini): Don't set.
19817 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19818 * configure.in (nopic_initfini): Don't substitute.
19819 * config.h.in (HAVE_INITFINI): Don't #undef.
19820 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19821 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19822
19823 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19824
19825 Support crti.S and crtn.S provided directly by architectures.
19826 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19827 [crti.S in sysdirs] (omit-deps): Likewise.
19828 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19829 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19830 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19831 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19832 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19833 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19834 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19835 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19836 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19837 compiler output for sysdeps/generic/initfini.c.
19838 * sysdeps/i386/elf/Makefile: Remove file.
19839 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19840
19841 2012-02-07 Marek Polacek <polacek@redhat.com>
19842
19843 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19844 * sysdeps/gnu/_G_config.h: Likewise.
19845 * sysdeps/mach/hurd/_G_config.h: Likewise.
19846
19847 2012-02-07 Marek Polacek <polacek@redhat.com>
19848
19849 * math/Makefile (tests): Add tst-CMPLX2.
19850 * math/tst-CMPLX2.c: New file.
19851
19852 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19853
19854 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19855
19856 * math/libm-test.inc (jn_test): Add missing L suffix.
19857
19858 2012-02-06 Marek Polacek <polacek@redhat.com>
19859
19860 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19861 * sysdeps/i386/fpu/e_powf.S: Likewise.
19862 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19863 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19864 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19865 * sysdeps/i386/fpu/e_pow.S: Likewise.
19866 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19867 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19868 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19869 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19870 * sysdeps/i386/fpu/e_log2.S: Likewise.
19871 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19872 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19873 * sysdeps/i386/fpu/e_powl.S: Likewise.
19874 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19875 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19876 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19877 * sysdeps/i386/fpu/e_logl.S: Likewise.
19878 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19879 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19880 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19881 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19882 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19883 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19884 * sysdeps/i386/fpu/e_log.S: Likewise.
19885 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19886 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19887 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19888 * sysdeps/i386/fpu/e_logf.S: Likewise.
19889 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19890 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19891 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19892 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19893 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19894 * sysdeps/i386/fpu/e_log10.S: Likewise.
19895 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19896 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19897 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19898 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19899 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19900 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19901 * sysdeps/i386/asm-syntax.h: Likewise.
19902 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19903 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19904 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19905 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19906 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19907 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19908 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19909 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19910 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19911 * sysdeps/powerpc/sysdep.h: Likewise.
19912 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19913 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19914
19915 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19916
19917 [BZ #411]
19918 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19919
19920 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19921
19922 * sysdeps/i386/sysdep.h: Include <features.h>.
19923 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19924 version.
19925
19926 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19927
19928 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19929 Define.
19930 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19931 LOAD_PIC_REG_STR.
19932
19933 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19934
19935 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19936 (SETUP_PIC_REG): Use GET_PC_THUNK.
19937 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19938 macro.
19939
19940 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19941
19942 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19943 for non-PIC compilation.
19944 (SETUP_PIC_REG): Add .p2align directive.
19945 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19946 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19947 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19948 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19949 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19950 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19951 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19952 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19953 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19954 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19955 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19956 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19957 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19958 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19959 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19960 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19961 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19962 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19963 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19964 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19965 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19966 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19967 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19968 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19969 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19970 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19971 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19972 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19973 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19974 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19975 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19976 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19977 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19978 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19979 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19980 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19981 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19982 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19983 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19984 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19985 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19986
19987 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19988
19989 * math/tst-CMPLX.c: Include <stdio.h>.
19990
19991 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19992
19993 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19994 float.
19995 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19996 * sysdeps/sparc/bits/mathdef.h: Likewise.
19997
19998 2012-01-31 Marek Polacek <polacek@redhat.com>
19999
20000 * libio/libio.h: Don't define _PARAMS.
20001 * locale/programs/config.h: Don't define PARAMS.
20002 * stdlib/strtol_l.c: Likewise.
20003 (__strtol_l): Remove PARAMS from the prototype.
20004
20005 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20006
20007 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20008 names. Just use the correct names. Remove unnecessary wrapper
20009 functions.
20010 * malloc/arena.c: Likewise.
20011 * malloc/hooks.c: Likewise.
20012
20013 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20014 ARENA_TEST says not to. Simplify test for creation of a new arena.
20015 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20016
20017 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20018
20019 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20020 into tail calls.
20021 (update_get_addr): New function.
20022 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20023 GET_ADDR_MODULE parameter.
20024
20025 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20026
20027 * crypt/cert.c: Remove __STDC__ conditionals.
20028 * crypt/crypt-entry.c: Likewise.
20029 * crypt/crypt_util.c: Likewise.
20030 * libio/filedoalloc.c: Likewise.
20031 * libio/fileops.c: Likewise.
20032 * libio/genops.c: Likewise.
20033 * libio/iofclose.c: Likewise.
20034 * libio/iofdopen.c: Likewise.
20035 * libio/iofopen.c: Likewise.
20036 * libio/iofopen64.c: Likewise.
20037 * libio/iogetdelim.c: Likewise.
20038 * libio/iopopen.c: Likewise.
20039 * libio/obprintf.c: Likewise.
20040 * libio/oldfileops.c: Likewise.
20041 * libio/oldiofclose.c: Likewise.
20042 * libio/oldiofdopen.c: Likewise.
20043 * libio/oldiofopen.c: Likewise.
20044 * libio/oldiopopen.c: Likewise.
20045 * libio/wfiledoalloc.c: Likewise.
20046 * libio/wgenops.c: Likewise.
20047 * locale/programs/xmalloc.c: Likewise.
20048 * misc/syslog.c: Likewise.
20049 * stdio-common/xbug.c: Likewise.
20050 * string/memchr.c: Likewise.
20051 * string/memcmp.c: Likewise.
20052 * string/memrchr.c: Likewise.
20053 * string/rawmemchr.c: Likewise.
20054 * sysdeps/posix/getcwd.c: Likewise.
20055 * time/strftime_l.c: Likewise.
20056
20057 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20058
20059 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20060 * config.make.in (config-cflags-sse2avx): Define.
20061 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20062 Fix typo.
20063
20064 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20065
20066 * scripts/config.guess: Update from upstream config git repository.
20067 * scripts/config.sub: Likewise.
20068
20069 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20070
20071 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20072 (EM_NUM): Update.
20073 (R_TILEPRO_*, R_TILEGX_*): New macros.
20074
20075 * scripts/firstversions.awk: Fix bug in version range handling.
20076
20077 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20078
20079 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20080
20081 * include/sys/epoll.h: New file.
20082 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20083 libc_hidden_def.
20084
20085 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20086
20087 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20088 Avoid unnecessary __WORDSIZE == 64 test.
20089 (fmaxf): Use VEX format if possible.
20090 (fmax): Likewise.
20091 (fminf): Likewise.
20092 (fmin): Likewise.
20093
20094 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20095 * math/math_private.h: Remove libc_fegetround* and
20096 libc_fesetround*.
20097 * sysdeps/i386/configure.in: Check for -msse2avx.
20098 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20099 also if SSE2AVX is defined.
20100 Remove libc_fegetround* and libc_fesetround*.
20101 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20102 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20103 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20104 of HAS_YMM_USABLE.
20105 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20106 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20107 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20108 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20109 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20110
20111 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20112
20113 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20114
20115 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20116 size is not set.
20117 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20118
20119 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20120
20121 [BZ #13618]
20122 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20123 relocation.
20124 * Makeconfig (libm): Define.
20125 * elf/Makefile: Add rules to build and run tst-relsort1.
20126 * elf/tst-relsort1.c: New file.
20127 * elf/tst-relsort1mod1.c: New file.
20128 * elf/tst-relsort1mod2.c: New file.
20129
20130 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20131
20132 * math/s_ldexp.c: Remove __STDC__ conditionals.
20133 * math/s_ldexpf.c: Likewise.
20134 * math/s_ldexpl.c: Likewise.
20135 * math/s_nextafter.c: Likewise.
20136 * math/s_nexttowardf.c: Likewise.
20137 * math/s_significand.c: Likewise.
20138 * math/s_significandf.c: Likewise.
20139 * math/s_significandl.c: Likewise.
20140 * math/w_jnl.c: Likewise.
20141 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20142 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20143 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20144 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20145 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20146 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20147 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20148 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20149 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20150 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20151 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20152 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20153 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20154 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20155 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20156 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20157 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20158 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20159 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20160 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20161 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20162 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20163 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20164 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20165 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20166 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20167 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20168 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20169 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20170 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20171 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20172 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20173 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20174 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20175 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20176 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20177 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20178 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20179 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20180 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20181 * sysdeps/ieee754/k_standard.c: Likewise.
20182 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20183 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20184 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20185 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20186 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20187 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20188 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20189 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20190 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20191 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20192 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20193 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20194 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20195 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20196 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20197 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20198 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20199 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20200 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20201 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20202 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20203 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20204 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20205 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20206 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20207 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20211 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20212 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20213 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20214 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20215 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20216 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20217 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20218 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20219 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20220 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20221 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20222 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20223 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20224 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20225 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20226 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20227 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20228 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20229 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20230 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20231 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20232 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20233 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20234 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20235 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20236 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20237 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20238 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20239 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20240 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20241 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20243 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20244 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20245 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20246 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20247 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20248 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20249 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20250 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20251 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20252 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20253 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20254 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20255 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20256 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20257 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20258 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20259 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20260 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20261 * sysdeps/ieee754/s_matherr.c: Likewise.
20262 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20263 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20264 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20266
20267 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20268
20269 * crypt/md5.h: Remove __STDC__ conditionals.
20270 * libio/libioP.h: Likewise.
20271 * locale/programs/config.h: Likewise.
20272 * sysdeps/generic/sysdep.h: Likewise.
20273 * sysdeps/i386/asm-syntax.h: Likewise.
20274 * sysdeps/s390/asm-syntax.h: Likewise.
20275 * sysdeps/unix/sysdep.h: Likewise.
20276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20278
20279 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20280
20281 * libio/libio.h: Remove __STDC__ conditionals.
20282 * malloc/obstack.h: Likewise.
20283 * math/complex.h: Likewise.
20284 * math/math.h: Likewise.
20285 * sysdeps/generic/_G_config.h: Likewise.
20286 * sysdeps/gnu/_G_config.h: Likewise.
20287 * sysdeps/mach/hurd/_G_config.h: Likewise.
20288 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20289 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20290 * sysdeps/sparc/bits/mathdef.h: Likewise.
20291
20292 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20293
20294 [BZ #13583]
20295 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20296 Clean up HAS_* macros.
20297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20298 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20299 possible.
20300 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20301 HAS_AVX.
20302 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20303 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20304 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20305 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20306 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20307
20308 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20309
20310 * elf/tst-unique3.cc (gets): Remove declaration.
20311 * elf/tst-unique3lib.cc (gets): Likewise.
20312 * elf/tst-unique3lib2.cc (gets): Likewise.
20313 * elf/tst-unique4.cc (gets): Likewise.
20314
20315 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20316
20317 * include/stdio.h: Add C++ protection. Add gets declarations and
20318 definitions.
20319 * debug/tst-chk1.c: Don't declare gets here.
20320 * stdio-common/tst-gets.c: Likewise.
20321
20322 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20323
20324 * posix/glob: Remove directory.
20325
20326 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20327
20328 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20329
20330 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20331
20332 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20333 of the non-standard EPFNOSUPPORT.
20334
20335 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20336
20337 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20338 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20339 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20340
20341 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20342
20343 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20344
20345 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20346
20347 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20348 transient errors.
20349 * nscd/grpcache.c (cache_addgr): Likewise.
20350 * nscd/hstcache.c (cache_addhst): Likewise.
20351 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20352 * nscd/pwdcache.c (cache_addpw): Likewise.
20353 * nscd/servicescache.c (cache_addserv): Likewise.
20354
20355 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20356
20357 * malloc/malloc.c: Various cleanups.
20358 * malloc/hooks.c: Likewise.
20359
20360 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20361 * stdlib/bug-fmtmsg1.c: New file.
20362
20363 * stdlib/fmtmsg.c (init): Add missing unlock.
20364 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20365
20366 2012-01-12 Marek Polacek <polacek@redhat.com>
20367
20368 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20369 and _GNU_SOURCE.
20370
20371 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20372
20373 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20374 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20375 macro to ensure uniqueness of label name.
20376 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20377 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20378
20379 2012-01-11 Ulrich Drepper <drepper@gmail.com>
20380
20381 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20382
20383 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20384 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20385 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20387
20388 2012-01-10 Ulrich Drepper <drepper@gmail.com>
20389
20390 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20391
20392 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20393 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20394 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20395
20396 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20397
20398 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20399 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20400 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20402
20403 * math/bits/math-finite.h: Add ldexp support.
20404
20405 2012-01-10 Marek Polacek <polacek@redhat.com>
20406
20407 * locale/programs/localedef.h (show_archive_content): Add noreturn
20408 attribute.
20409
20410 2012-01-09 Ulrich Drepper <drepper@gmail.com>
20411
20412 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20413
20414 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20415
20416 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20417
20418 * io/Makefile (headers): Add bits/poll2.h.
20419
20420 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20421
20422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20423 typo #include statement.
20424
20425 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20426
20427 * include/sys/cdefs.h: Define __attribute_alloc_size.
20428 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20429 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20430 * elf/pldd.c: Likewise.
20431 * iconv/iconv_charmap.c: Likewise.
20432 * iconv/iconvconfig.c: Likewise.
20433 * iconv/strtab.c: Likewise.
20434 * locale/programs/locale.c: Likewise.
20435 * locale/programs/localedef.h: Likewise.
20436 * locale/programs/simple-hash.c: Likewise.
20437 * nscd/nscd.h: Likewise.
20438 * nss/makedb.c: Likewise.
20439 * sysdeps/generic/ldconfig.h: Likewise.
20440 * locale/programs/localedef.c: Remove xmalloc prototype.
20441 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20442
20443 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20444
20445 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20446 appropriate.
20447
20448 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20449
20450 * math/Makefile (tests): Add tst-CMPLX.
20451 * math/tst-CMPLX.c: New file.
20452
20453 * math/complex.h (CMPLXL): Fix typo.
20454
20455 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20456 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20457 GLIBC_2.16.
20458 * debug/tst-chk1.c: Add poll and ppoll tests.
20459 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20460 * include/sys/poll.h: Add hidden proto for ppoll.
20461 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20462 * sysdeps/mach/hurd/ppoll.c: Likewise.
20463 * io/ppoll.c: Likewise.
20464 * debug/poll_chk.c: New file.
20465 * debug/ppoll_chk.c: New file.
20466 * include/bits/poll2.h: New file.
20467 * io/bits/poll2.h: New file.
20468
20469 [BZ #1350]
20470 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20471
20472 * configure.in: static is always set to yes. Remove.
20473 * config.make.in: Don't set build-static.
20474 * Makeconfig: Remove use of build-static.
20475 * dlfcn/Makefile: Likewise.
20476 * elf/Makefile: Likewise.
20477 * math/Makefile: Likewise.
20478 * misc/Makefile: Likewise.
20479 * nptl/Makefile: Likewise.
20480 * sysdeps/mach/hurd/Makefile: Likewise.
20481
20482 * configure.in: PWD_P is not used anymore.
20483 * config.make.in: Remove PWD_P entry.
20484
20485 * configure.in: Remove last remnants of RANLIB.
20486 No need to check for signed size_t anymore.
20487 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20488 and IA-64.
20489 Remove __builtin_expect test because we require at least gcc 3.4.
20490 * aclocal.m4: Likewise.
20491
20492 * wcsmbs/mbrtoc16.c: Implement using towc function.
20493 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20494 * wcsmbs/wcsmbsload.c: Likewise.
20495 * iconv/gconv_simple.c: Likewise.
20496 * iconv/gconv_int.h: Likewise.
20497 * iconv/gconv_builtin.h: Likewise.
20498 * iconv/iconv_prog.c: Remove CHAR16 handling.
20499
20500 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20501
20502 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20503
20504 * configure.in: Remove --with-elf and --enable-bounded options.
20505 Dont set base_machine for ia64. More non-ELF conditions removed.
20506 Remove testing and setting of leading underscore information.
20507 * config.make.in (build-bounded): Set to no.
20508 * config.h.in: Remove NO_UNDERSCORES entry.
20509 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20510 them.
20511 * csu/start.c: Remove !NO_UNDERSCORE code.
20512 * locale/localeinfo.h: Likewise.
20513 * sysdeps/generic/machine-gmon.h: Likewise.
20514 * sysdeps/generic/sysdep.h: Likewise.
20515 * sysdeps/i386/sysdep.h: Likewise.
20516 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20517 * sysdeps/mach/sysdep.h: Likewise.
20518 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20519 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20520 * sysdeps/sh/sysdep.h: Likewise.
20521 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20522 * sysdeps/unix/i386/sysdep.S: Likewise.
20523 * sysdeps/unix/sparc/start.c: Likewise.
20524 * sysdeps/unix/sparc/sysdep.S: Likewise.
20525 * sysdeps/unix/sparc/sysdep.h: Likewise.
20526 * sysdeps/unix/start.c: Likewise.
20527 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20528 * sysdeps/x86_64/sysdep.h: Likewise.
20529
20530 2012-01-07 Ulrich Drepper <drepper@gmail.com>
20531
20532 [BZ #13553]
20533 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20534 for non-gcc.
20535 * argp/argp-fmtstream.h: Use const instead __const.
20536 * argp/argp.h: Likewise.
20537 * assert/assert.h: Likewise.
20538 * bits/fenv.h: Likewise.
20539 * bits/sched.h: Likewise.
20540 * bits/sigset.h: Likewise.
20541 * bits/sigthread.h: Likewise.
20542 * catgets/nl_types.h: Likewise.
20543 * conform/data/pthread.h-data: Likewise.
20544 * crypt/crypt-private.h: Likewise.
20545 * crypt/crypt.h: Likewise.
20546 * crypt/crypt_util.c: Likewise.
20547 * ctype/ctype.h: Likewise.
20548 * debug/execinfo.h: Likewise.
20549 * debug/mbsnrtowcs_chk.c: Likewise.
20550 * debug/mbsrtowcs_chk.c: Likewise.
20551 * debug/wcsnrtombs_chk.c: Likewise.
20552 * debug/wcsrtombs_chk.c: Likewise.
20553 * debug/wcstombs_chk.c: Likewise.
20554 * dirent/dirent.h: Likewise.
20555 * dlfcn/dlfcn.h: Likewise.
20556 * elf/neededtest4.c: Likewise.
20557 * grp/grp.h: Likewise.
20558 * gshadow/gshadow.h: Likewise.
20559 * iconv/gconv.h: Likewise.
20560 * iconv/gconv_int.h: Likewise.
20561 * iconv/gconv_simple.c: Likewise.
20562 * iconv/iconv.h: Likewise.
20563 * iconv/loop.c: Likewise.
20564 * iconv/skeleton.c: Likewise.
20565 * include/aio.h: Likewise.
20566 * include/aliases.h: Likewise.
20567 * include/argz.h: Likewise.
20568 * include/arpa/inet.h: Likewise.
20569 * include/assert.h: Likewise.
20570 * include/dirent.h: Likewise.
20571 * include/dlfcn.h: Likewise.
20572 * include/execinfo.h: Likewise.
20573 * include/fcntl.h: Likewise.
20574 * include/fenv.h: Likewise.
20575 * include/glob.h: Likewise.
20576 * include/grp.h: Likewise.
20577 * include/libintl.h: Likewise.
20578 * include/mntent.h: Likewise.
20579 * include/netdb.h: Likewise.
20580 * include/pwd.h: Likewise.
20581 * include/rpc/netdb.h: Likewise.
20582 * include/sched.h: Likewise.
20583 * include/search.h: Likewise.
20584 * include/shadow.h: Likewise.
20585 * include/signal.h: Likewise.
20586 * include/stdio.h: Likewise.
20587 * include/stdlib.h: Likewise.
20588 * include/string.h: Likewise.
20589 * include/sys/socket.h: Likewise.
20590 * include/sys/stat.h: Likewise.
20591 * include/sys/statfs.h: Likewise.
20592 * include/sys/statvfs.h: Likewise.
20593 * include/sys/syslog.h: Likewise.
20594 * include/sys/time.h: Likewise.
20595 * include/sys/uio.h: Likewise.
20596 * include/time.h: Likewise.
20597 * include/unistd.h: Likewise.
20598 * include/utmp.h: Likewise.
20599 * include/wchar.h: Likewise.
20600 * include/wctype.h: Likewise.
20601 * inet/aliases.h: Likewise.
20602 * inet/arpa/inet.h: Likewise.
20603 * inet/netinet/ether.h: Likewise.
20604 * inet/netinet/in.h: Likewise.
20605 * intl/libintl.h: Likewise.
20606 * io/bits/fcntl2.h: Likewise.
20607 * io/fcntl.h: Likewise.
20608 * io/ftw.h: Likewise.
20609 * io/sys/poll.h: Likewise.
20610 * io/sys/stat.h: Likewise.
20611 * io/sys/statfs.h: Likewise.
20612 * io/sys/statvfs.h: Likewise.
20613 * io/utime.h: Likewise.
20614 * libio/bits/stdio.h: Likewise.
20615 * libio/bits/stdio2.h: Likewise.
20616 * libio/libio.h: Likewise.
20617 * libio/libioP.h: Likewise.
20618 * libio/stdio.h: Likewise.
20619 * locale/lc-ctype.c: Likewise.
20620 * locale/locale.h: Likewise.
20621 * login/utmp.h: Likewise.
20622 * malloc/arena.c: Likewise.
20623 * malloc/malloc.c: Likewise.
20624 * malloc/malloc.h: Likewise.
20625 * malloc/mcheck.c: Likewise.
20626 * malloc/mtrace.c: Likewise.
20627 * math/bits/mathcalls.h: Likewise.
20628 * math/fenv.h: Likewise.
20629 * math/math_private.h: Likewise.
20630 * misc/bits/error.h: Likewise.
20631 * misc/bits/syslog.h: Likewise.
20632 * misc/err.h: Likewise.
20633 * misc/error.h: Likewise.
20634 * misc/fstab.h: Likewise.
20635 * misc/mntent.h: Likewise.
20636 * misc/regexp.h: Likewise.
20637 * misc/search.h: Likewise.
20638 * misc/sgtty.h: Likewise.
20639 * misc/sys/mman.h: Likewise.
20640 * misc/sys/syslog.h: Likewise.
20641 * misc/sys/uio.h: Likewise.
20642 * misc/sys/xattr.h: Likewise.
20643 * misc/ttyent.h: Likewise.
20644 * nis/rpcsvc/ypclnt.h: Likewise.
20645 * nss/nss.h: Likewise.
20646 * posix/bits/unistd.h: Likewise.
20647 * posix/fnmatch.h: Likewise.
20648 * posix/glob.h: Likewise.
20649 * posix/sched.h: Likewise.
20650 * posix/spawn.h: Likewise.
20651 * posix/sys/wait.h: Likewise.
20652 * posix/unistd.h: Likewise.
20653 * posix/wordexp.h: Likewise.
20654 * pwd/pwd.h: Likewise.
20655 * resolv/netdb.h: Likewise.
20656 * resource/sys/resource.h: Likewise.
20657 * rt/aio.h: Likewise.
20658 * rt/bits/mqueue2.h: Likewise.
20659 * rt/mqueue.h: Likewise.
20660 * shadow/shadow.h: Likewise.
20661 * signal/signal.h: Likewise.
20662 * socket/send.c: Likewise.
20663 * socket/sendto.c: Likewise.
20664 * socket/sys/socket.h: Likewise.
20665 * stdio-common/printf.h: Likewise.
20666 * stdlib/bits/stdlib.h: Likewise.
20667 * stdlib/fmtmsg.h: Likewise.
20668 * stdlib/monetary.h: Likewise.
20669 * stdlib/stdlib.h: Likewise.
20670 * stdlib/ucontext.h: Likewise.
20671 * streams/stropts.h: Likewise.
20672 * string/argz.h: Likewise.
20673 * string/bits/string2.h: Likewise.
20674 * string/string.h: Likewise.
20675 * string/strings.h: Likewise.
20676 * sunrpc/rpc/auth.h: Likewise.
20677 * sunrpc/rpc/auth_des.h: Likewise.
20678 * sunrpc/rpc/clnt.h: Likewise.
20679 * sunrpc/rpc/netdb.h: Likewise.
20680 * sunrpc/rpc/pmap_clnt.h: Likewise.
20681 * sunrpc/rpc/xdr.h: Likewise.
20682 * sysdeps/generic/inttypes.h: Likewise.
20683 * sysdeps/generic/net/if.h: Likewise.
20684 * sysdeps/generic/sys/swap.h: Likewise.
20685 * sysdeps/gnu/net/if.h: Likewise.
20686 * sysdeps/gnu/utmpx.h: Likewise.
20687 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20688 * sysdeps/i386/i486/bits/string.h: Likewise.
20689 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20690 * sysdeps/s390/bits/string.h: Likewise.
20691 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20692 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20693 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20694 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20695 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20696 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20697 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20698 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20699 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20700 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20701 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20702 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20703 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20704 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20705 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20706 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20707 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20709 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20710 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20711 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20712 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20713 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20714 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20715 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20716 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20717 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20718 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20719 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20720 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20721 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20722 * sysvipc/sys/ipc.h: Likewise.
20723 * sysvipc/sys/msg.h: Likewise.
20724 * sysvipc/sys/sem.h: Likewise.
20725 * sysvipc/sys/shm.h: Likewise.
20726 * termios/termios.h: Likewise.
20727 * time/sys/time.h: Likewise.
20728 * time/time.h: Likewise.
20729 * wcsmbs/bits/wchar2.h: Likewise.
20730 * wcsmbs/uchar.h: Likewise.
20731 * wcsmbs/wchar.h: Likewise.
20732 * wctype/wctype.h: Likewise.
20733
20734 [BZ #13551]
20735 * Makeconfig: Remove all but ELF support including AIX support.
20736 * Makerules: Likewise.
20737 * config.h.in: Likewise.
20738 * config.make.in: Likewise.
20739 * configure: Likewise.
20740 * configure.in: Likewise.
20741 * csu/Makefile: Likewise.
20742 * csu/version.c: Likewise.
20743 * debug/Makefile: Likewise.
20744 * dlfcn/Makefile: Likewise.
20745 * elf/Makefile: Likewise.
20746 * extra-lib.mk: Likewise.
20747 * iconv/Makefile: Likewise.
20748 * include/libc-symbols.h: Likewise.
20749 * include/shlib-compat.h: Likewise.
20750 * resolv/Makefile: Likewise.
20751 * resolv/res_libc.c: Likewise.
20752 * rt/Makefile: Likewise.
20753 * sysdeps/i386/asm-syntax.h: Likewise.
20754 * sysdeps/i386/sysdep.h: Likewise.
20755 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20756 * sysdeps/mach/sysdep.h: Likewise.
20757 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20758 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20759 * sysdeps/s390/asm-syntax.h: Likewise.
20760 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20761 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20762 * sysdeps/sh/sysdep.h: Likewise.
20763 * sysdeps/unix/sparc/sysdep.h: Likewise.
20764 * sysdeps/wordsize-32/divdi3.c: Likewise.
20765 * sysdeps/x86_64/sysdep.h: Likewise.
20766
20767 * argp/Versions: Remove _argp_unlock_xxx.
20768
20769 [BZ #13559]
20770 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20771 * abilist/libBrokenLocale.abilist: Likewise.
20772 * abilist/libanl.abilist: Likewise.
20773 * abilist/libc.abilist: Likewise.
20774 * abilist/libcrypt.abilist: Likewise.
20775 * abilist/libdl.abilist: Likewise.
20776 * abilist/libm.abilist: Likewise.
20777 * abilist/libnsl.abilist: Likewise.
20778 * abilist/libpthread.abilist: Likewise.
20779 * abilist/libresolv.abilist: Likewise.
20780 * abilist/librt.abilist: Likewise.
20781 * abilist/libthread_db.abilist: Likewise.
20782 * abilist/libutil.abilist: Likewise.
20783 * abilist/libnss_db.abilist: New file.
20784
20785 * scripts/abilist.awk: Add support for indirect functions.
20786
20787 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20788
20789 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20790
20791 * shlib-versions: Remove entries for ports architectures.
20792
20793 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20794 files in ports.
20795 * elf/stackguard-macros.h: Remove support for IA-64.
20796 * elf/tst-auditmod1.c: Likewise.
20797 * sysdeps/generic/ldsodefs.h: Likewise.
20798
20799 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20800 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20801 configure files.
20802
20803 [BZ #13552]
20804 * configure.in: Remove --enable-omitfp support.
20805 * FAQ.in: Adjust.
20806 * config.make.in: Likewise.
20807 * Makeconfig: Likewise.
20808 * manual/install.texi: Likewise.
20809
20810 In case anyone cares, the IA-64 architecture could move to ports.
20811 * sysdeps/ia64/*: Removed.
20812 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20813 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20814
20815 [BZ #13555]
20816 * configure.in: Remove entries for unsupported architectures.
20817
20818 [BZ #13533]
20819 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20820 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20821 routines.
20822 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20823 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20824 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20825 fall back to using wcrtomb.
20826 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20827 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20828 renaming.
20829 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20830 * wcsmbs/tst-c16c32-1.c: New file.
20831
20832 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20833 local variable.
20834
20835 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20836
20837 * elf/tst-unique3.cc: Add explicit declaration of gets.
20838 * elf/tst-unique3lib.cc: Likewise.
20839 * elf/tst-unique3lib2.cc: Likewise.
20840 * elf/tst-unique4.cc: Likewise.
20841
20842 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20843
20844 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20845
20846 [BZ #13566]
20847 * assert/assert.h (static_assert): Don't define for C++.
20848 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20849 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20850
20851 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20852
20853 * iconv/loop.c (single loop): Fix assertion in storing of
20854 remaining bytes.
20855
20856 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20857
20858 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20859
20860 * posix/getconf.c: Update copyright year.
20861 * nss/getent.c: Likewise.
20862 * nss/makedb.c: Likewise.
20863 * iconv/iconvconfig.c: Likewise.
20864 * iconv/iconv_prog.c: Likewise.
20865 * elf/ldconfig.c: Likewise.
20866 * elf/pldd.c: Likewise.
20867 * elf/sotruss.ksh: Likewise.
20868 * catgets/gencat.c: Likewise.
20869 * csu/version.c: Likewise.
20870 * elf/ldd.bash.in: Likewise.
20871 * elf/sprof.c (print_version): Likewise.
20872 * locale/programs/locale.c: Likewise.
20873 * locale/programs/localedef.c: Likewise.
20874 * login/programs/pt_chown.c: Likewise.
20875 * nscd/nscd.c (print_version): Likewise.
20876 * debug/xtrace.sh: Likewise.
20877 * malloc/memusage.sh: Likewise.
20878 * malloc/mtrace.pl: Likewise.
20879 * debug/catchsegv.sh: Likewise.
20880
20881 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20882
20883 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20884 pure attribute.
20885
20886 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20887
20888 [BZ #13533]
20889 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20890 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20891 transformations.
20892 * iconv/gconv_int.h: Likewise.
20893 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20894 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20895 from libc for GLIBC_2.16.
20896 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20897 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20898 * wcsmbs/uchar.h: Really define mbstate_t.
20899 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20900 * wcsmbs/c16rtomb.c: New file.
20901 * wcsmbs/mbrtoc16.c: New file.
20902 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20903 for C/POSIX locale.
20904 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20905 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20906
20907 * wcsmbs/wchar.h: Add missing __restrict.
20908
20909 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20910
20911 [BZ #13532]
20912 * time/Makefile (routines): Add timespec_get.
20913 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20914 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20915 timespec for ISO C11.
20916 * time/timespec_get.c: New file.
20917 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20918 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20919
20920 [BZ #13531]
20921 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20922 * stdlib/stdlib.h: Declare aligned_alloc.
20923 * Versions.def: Add GLIBC_2.16 for libc.
20924 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20925
20926 [BZ 13527]
20927 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20928 ISO C11.
20929
20930 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20931 code.
20932
20933 [BZ #13528]
20934 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20935
20936 [BZ #13529]
20937 * assert/assert.h (static_assert): Define.
20938
20939 * version.h: Update for 2.16 development version.
20940
20941 [BZ #13526]
20942 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20943 _ISOC11_SOURCE.
20944
20945 * version.h (RELEASE): Bump for 2.15 release.
20946 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20947
20948 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20949 Patch by Marek Polacek <mpolacek@redhat.com>.
20950
20951 * bits/byteswap.h: Protect long long constants with __extension__.
20952 * sysdeps/i386/bits/byteswap.h: Likewise.
20953 * sysdeps/ia64/bits/byteswap.h: Likewise.
20954 * sysdeps/s390/bits/byteswap.h: Likewise.
20955 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20956
20957 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20958
20959 [BZ #13540]
20960 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20961 destination buffer.
20962 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20963
20964 2011-12-23 Marek Polacek <polacek@redhat.com>
20965
20966 * elf/dl-addr.c (determine_info): Add inline keyword.
20967 * elf/tst-auditmod4b.c (check_avx): Likewise.
20968 * elf/tst-auditmod6b.c (check_avx): Likewise.
20969 * elf/tst-auditmod6c.c (check_avx): Likewise.
20970 * elf/tst-auditmod7b.c (check_avx): Likewise.
20971
20972 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20973
20974 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20975 !__SSE_MATH__.
20976
20977 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20978
20979 [BZ #13540]
20980 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20981 processing for last bytes.
20982
20983 2011-08-06 Bruno Haible <bruno@clisp.org>
20984
20985 [BZ #13061]
20986 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20987 U+0385, not to U+1FEE.
20988
20989 [BZ #13062]
20990 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20991 entry for U+00A5 U+0301.
20992
20993 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20994
20995 [BZ #13166]
20996 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20997 buffer for the output is too small.
20998
20999 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21000 optimization.
21001
21002 [BZ #13185]
21003 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21004 SSE flags if possible.
21005
21006 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21007
21008 [BZ #13540]
21009 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21010 processing for last bytes.
21011
21012 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21013
21014 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21015 (syscall-list-default-options, syscall-list-default-condition)
21016 (syscall-list-includes): Define.
21017 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21018 list of ABIs and options and #if conditions for each ABI. Do not
21019 handle common syscalls between ABIs specially.
21020 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21021 Remove.
21022 (syscall-list-variants, syscall-list-32bit-options)
21023 (syscall-list-32bit-condition, syscall-list-64bit-options)
21024 (syscall-list-64bit-condition): Define.
21025 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21026 (syscall-list-variants, syscall-list-32bit-options)
21027 (syscall-list-32bit-condition, syscall-list-64bit-options)
21028 (syscall-list-64bit-condition): Define.
21029 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21030 Remove.
21031 (syscall-list-variants, syscall-list-32bit-options)
21032 (syscall-list-32bit-condition, syscall-list-64bit-options)
21033 (syscall-list-64bit-condition): Define.
21034 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21035 Remove.
21036 (syscall-list-variants, syscall-list-32bit-options)
21037 (syscall-list-32bit-condition, syscall-list-64bit-options)
21038 (syscall-list-64bit-condition): Define.
21039
21040 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21041
21042 * locale/iso-639.def: Add brx entry.
21043
21044 [BZ #13328]
21045 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21046 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21047
21048 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21049 __feraiseexcept_renamed.
21050
21051 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21052
21053 [BZ #13538]
21054 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21055 EPOLLET with unsigned values.
21056 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21057 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21058
21059 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21060 to large cancellation.
21061 * math/s_cacoshf.c: Likewise.
21062 * math/s_cacoshl.c: Likewise.
21063
21064 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21065
21066 [BZ #13305]
21067 [BZ #12786]
21068 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21069 * math/s_cacoshf.c: Likewise.
21070 * math/s_cacoshl.c: Likewise.
21071
21072 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21073
21074 [BZ #13439]
21075 * iconv/gconv.h: Define __GCONV_SWAP.
21076 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21077 * iconvdata/utf-16.c: Likewise.
21078 * iconvdata/utf-32.c: Likewise.
21079
21080 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21081
21082 [BZ #13524]
21083 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21084 numerator after shifting it by one limb.
21085
21086 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21087
21088 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21089 under [__USE_EXTERN_INLINES].
21090
21091 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21092
21093 [BZ #13446]
21094 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21095
21096 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21097
21098 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21099 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21100 optimized code.
21101 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21102 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21103 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21104 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21105 for strncasecmp/strncasecmp_l compilation.
21106 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21107 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21108
21109 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21110
21111 [BZ #13484]
21112 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21113 of __asm__.
21114
21115 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21116
21117 [BZ #13506]
21118 * time/tzfile.c (__tzfile_read): Check values from file header.
21119
21120 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21121
21122 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21123 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21124 * powerpc/powerpc32/dl-start.S: Likewise.
21125 * powerpc/powerpc32/elf/start.S: Likewise.
21126 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21127 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21128 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21129 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21130 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21131 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21132 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21133 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21134 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21135 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21136 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21137 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21138 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21139 * powerpc/powerpc32/memset.S: Likewise.
21140 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21141 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21142 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21143 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21144 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21145 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21146 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21147 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21148 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21149 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21150 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21151 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21152 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21153
21154 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21155
21156 * math/libm-test.inc: Added more nearbyint tests.
21157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21158 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21159 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21161
21162 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21163
21164 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21165 FD_CLOEXEC.
21166
21167 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21168
21169 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21170 Add wcscpy-ssse3 wcscpy-c.
21171 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21172 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21173 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21174 * sysdeps/x86_64/wcschr.S: New file.
21175 * sysdeps/x86_64/wcsrchr.S: New file.
21176 * string/test-strcmp.c: Remove checking of wcscmp function for
21177 wrong alignments.
21178 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21179 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21180 wcsrchr-sse2 wcsrchr-c.
21181 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21182 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21183 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21184 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21185 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21186 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21187 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21188 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21189 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21190 * wcsmbc/wcschr.c (WCSCHR): New macro.
21191
21192 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21193
21194 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21195 * wcsmbs/test-wcsrchr.c: New file.
21196 * string/test-strrchr.c: Add wcsrchr support.
21197 (WIDE): New macro.
21198 * wcsmbs/test-wcscpy.c: New file.
21199 * string/test-strcpy.c: Add wcscpy support.
21200 (WIDE): New macro.
21201
21202 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21203
21204 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21205 the inner loop.
21206
21207 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21208
21209 [BZ #13472]
21210 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21211
21212 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21213
21214 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21215 Minor optimizations.
21216
21217 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21218 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21219 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21220
21221 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21222
21223 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21224 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21225 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21226 for gcc to avoid warnings.
21227 * inet/Makefile (tests): Add tst-checks.
21228 * inet/tst-checks.c: New file.
21229
21230 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21231 warning.
21232
21233 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21234 __wmemcmp_sse2.
21235
21236 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21237 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21238
21239 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21240
21241 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21242
21243 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21244 problem.
21245
21246 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21247
21248 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21249
21250 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21251 conditional on GCC version.
21252 (__arch_compare_and_exchange_val_8_acq)
21253 (__arch_compare_and_exchange_val_16_acq)
21254 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21255 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21256 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21257
21258 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21259
21260 * sysdeps/sh/backtrace.c: New file.
21261
21262 2011-12-02 Andreas Schwab <schwab@redhat.com>
21263
21264 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21265 parenthesis.
21266
21267 2011-12-01 Andreas Schwab <schwab@redhat.com>
21268
21269 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21270 falling back to utime.
21271
21272 2011-11-30 Andreas Schwab <schwab@redhat.com>
21273
21274 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21275 expectations for float.
21276
21277 2011-11-29 Andreas Schwab <schwab@redhat.com>
21278
21279 * locale/weight.h (findidx): Add parameter len.
21280 * locale/weightwc.h (findidx): Likewise.
21281 * posix/fnmatch_loop.c (FCT): Adjust caller.
21282 * posix/regcomp.c (build_equiv_class): Likewise.
21283 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21284 * posix/regexec.c (check_node_accept_bytes): Likewise.
21285 * string/strcoll_l.c (STRCOLL): Likewise.
21286 * string/strxfrm_l.c (STRXFRM): Likewise.
21287
21288 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21289
21290 * Makefile.in: Remove CVSOPT handling.
21291 * configure.in: Remove use of AC_REVISION.
21292 * iconvdata/Makefile (distribute): No need to filter out CVS.
21293 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21294 handling.
21295
21296 2011-11-16 Andreas Schwab <schwab@redhat.com>
21297
21298 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21299 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21300 [USE_AS_STRNCASECMP_L]: Likewise.
21301 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21302 NO_TLS_DIRECT_SEG_REFS.
21303 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21304 Fix argument offsets for non-PIC.
21305 [USE_AS_STRNCASECMP_L]: Likewise.
21306 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21307 NO_TLS_DIRECT_SEG_REFS.
21308
21309 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21310
21311 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21312 O_CLOEXEC.
21313 * locale/loadlocale.c (_nl_load_locale): Likewise.
21314
21315 2011-11-15 Andreas Schwab <schwab@redhat.com>
21316
21317 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21318 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21319 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21320 (SYSCALL_GETTIME): Set errno on error.
21321
21322 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21323 count references to noai6ai_cached.
21324
21325 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21326
21327 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21328
21329 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21330 FD_CLOEXEC for /proc/self/maps.
21331
21332 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21333 FD_CLOEXEC for /proc/meminfo.
21334
21335 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21336 gai.conf.
21337
21338 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21339 FD_CLOEXEC for given file.
21340
21341 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21342
21343 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21344 FD_CLOEXEC for /etc/hosts.
21345 (_gethtent): Likewise.
21346
21347 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21348
21349 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21350 cancellation and set FD_CLOEXEC for /etc/netgroup.
21351
21352 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21353 reading /etc/publickey.
21354
21355 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21356 allow cancellation when reading /etc/group.
21357
21358 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21359 cancellation.
21360 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21361
21362 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21363 when using data file.
21364
21365 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21366
21367 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21368 (write_nis_obj): Use "c" and "e" in fopen.
21369
21370 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21371
21372 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21373
21374 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21375
21376 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21377
21378 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21379 locale.alias.
21380
21381 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21382
21383 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21384
21385 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21386
21387 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21388 file parsing and set FD_CLOEXEC.
21389
21390 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21391
21392 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21393
21394 2011-11-14 Andreas Schwab <schwab@redhat.com>
21395
21396 * malloc/arena.c (arena_get2): Don't call reused_arena when
21397 _int_new_arena failed.
21398
21399 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21400
21401 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21402 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21403 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21404 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21405 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21406 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21407 to compile strcasecmp and strncasecmp.
21408 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21409 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21410
21411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21412
21413 2011-11-13 Ulrich Drepper <drepper@gmail.com>
21414
21415 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21416 locale-defines.sym to gen-as-const-headers.
21417 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21418 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21420 to compile strcasecmp and strncasecmp.
21421 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21422 strcasecmp_l and strncasecmp_l.
21423 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21424 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21425 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21426 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21427 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21428 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21429 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21430 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21431 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21432 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21433 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21434
21435 2011-11-12 Ulrich Drepper <drepper@gmail.com>
21436
21437 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21438 result of SYSDEP_GETTIME_CPU to retval.
21439 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21440 parameter list to macro. Remove trailing semicolon. Adjust users.
21441
21442 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21443 variable.
21444
21445 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21446 mantissa words.
21447 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21448
21449 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21450 from unused variable.
21451
21452 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21453 DWARF definitions.
21454 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21455 for assembling.
21456
21457 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21458 over namespaces.
21459
21460 * sunrpc/rpc_prot.c (rejected): Fix case value.
21461
21462 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21463 unsigned long long int to avoid warnings in shift.
21464
21465 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21466 of use of trans.
21467 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21468 variable tmp.
21469
21470 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21471 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21472 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21473
21474 * nis/nis_table.c (nis_list): Use variable of correct type for
21475 result of __follow_path call.
21476
21477 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21478
21479 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21480 of math functions ceil, trunc, floor, round, and sqrt, when
21481 avaliable on the platform.
21482 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21483 name clash.
21484 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21485 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21486 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21487
21488 2011-10-30 Marek Polacek <mpolacek@redhat.com>
21489
21490 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21491 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21492
21493 2011-11-11 Roland McGrath <roland@hack.frob.com>
21494
21495 * include/unistd.h: Fix __readlink return type.
21496 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21497
21498 2011-11-11 Ulrich Drepper <drepper@gmail.com>
21499
21500 * stdlib/ucontext.h: Undo last change for makecontext.
21501
21502 2011-11-11 Andreas Schwab <schwab@redhat.com>
21503
21504 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21505
21506 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21507 * setjmp/setjmp.h: Mark functions as non-leaf.
21508 * setjmp/bits/setjmp2.h: Likewise.
21509 * stdlib/ucontext.h: Likewise.
21510
21511 2011-11-10 Andreas Schwab <schwab@redhat.com>
21512
21513 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21514 (reused_arena): Don't check arena limit.
21515 (arena_get2): Atomically check arena limit.
21516
21517 2011-11-08 Ulrich Drepper <drepper@gmail.com>
21518
21519 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21520 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21521
21522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21523 instructions.
21524
21525 2011-11-07 Andreas Schwab <schwab@redhat.com>
21526
21527 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21528 handler when locking.
21529
21530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21531 Fix size of allocated buffer.
21532
21533 2011-11-04 Andreas Schwab <schwab@redhat.com>
21534
21535 [BZ #10103]
21536 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21537 declarations for long double functions.
21538 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21539
21540 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21541
21542 2011-11-03 Andreas Schwab <schwab@redhat.com>
21543
21544 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21545 installed.
21546
21547 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21548 is disabled.
21549
21550 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21551
21552 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21553
21554 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21555
21556 * include/alloca.h (stackinfo_alloca_round): Define.
21557 (extend_alloca): Use it.
21558 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21559 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21560 here.
21561
21562 * scripts/check-local-headers.sh: Ignore libaudit.h.
21563
21564 * nscd/Makefile (extra-objs): Make recursively expanded.
21565
21566 2011-11-01 Ulrich Drepper <drepper@gmail.com>
21567
21568 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21569 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21570
21571 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21572 * posix/tst-rfc3484-2.c: Likewise.
21573 * posix/tst-rfc3484-3.c: Likewise.
21574
21575 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21576 process_vm_writev.
21577 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21578 process_vm_writev.
21579 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21580 process_vm_writev from libc using GLIBC_2.15 version.
21581
21582 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21583
21584 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21585
21586 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21587 stack usage.
21588
21589 2011-10-31 Ulrich Drepper <drepper@gmail.com>
21590
21591 [BZ #13367]
21592 * nss/getent.c (initgroups_keys): Show error message in case no group
21593 names are given.
21594
21595 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21596 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21597 __bump_nl_timestamp.
21598 * nscd/connections (nscd_init): When host database is served open
21599 netlink socket and request notification about configuration changes.
21600 (main_loop_poll): Track netlink file descriptor and bump timestamp
21601 in case data becomes available.
21602 (main_loop_epoll): Likewise.
21603 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21604 (database_pers_head): Add extra_data fileds.
21605 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21606 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21607 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21608 Adjust caller.
21609 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21610 in6ai data, call __free_in6ai.
21611 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21612 Add -DHAVE_NETLINK.
21613 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21614 interface information. Reuse previous data if netlink timestamp
21615 is not changed.
21616 (__bump_nl_timestamp): New function.
21617 (__free_in6ai): New function.
21618
21619 2011-10-30 Ulrich Drepper <drepper@gmail.com>
21620
21621 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21622 close_not_cancel_no_status here.
21623 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21624
21625 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21626
21627 [BZ #13276]
21628 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21629 return value.
21630
21631 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21632 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21633 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21634
21635 2011-07-03 Andreas Jaeger <aj@suse.de>
21636
21637 [BZ #10709]
21638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21639 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21640 * math/libm-test.inc (sin_test): Add test case.
21641
21642 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21643
21644 [BZ #13337]
21645 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21646 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21647
21648 * elf/chroot_canon.c (chroot_canon): Cleanups.
21649
21650 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21651
21652 [BZ #13335]
21653 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21654 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21655
21656 * string/test-strchr.c: Make usable for strchrnul testing.
21657 * string/test-strchrnul.c: New file.
21658 * string/Makefile (strop-tests): Add strchrnul.
21659
21660 * po/it.po: Update from translation team.
21661 * po/es.po: Likewise.
21662
21663 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21664
21665 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21666 the three constants needed as parameters. Drop the others.
21667 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21668 __m128i_strloadu_tolower.
21669 Create and initialize variable zero and use it in all the places
21670 where _mm_setzero_si128 was used.
21671
21672 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21673 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21674 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21675 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21676 anymore.
21677 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21678 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21679 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21680 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21681 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21682 __mpranred, __mptan.
21683 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21684 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21685 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21686 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21687 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21688 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21689 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21690 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21691 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21692
21693 2011-10-28 Andreas Schwab <schwab@redhat.com>
21694
21695 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21696 redefine if SHARED.
21697 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21698
21699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21700 wide char related routines to wcsmbs subdir.
21701
21702 2011-10-27 Andreas Schwab <schwab@redhat.com>
21703
21704 [BZ #13344]
21705 * misc/sys/cdefs.h (__THROWNL): Define.
21706 * posix/unistd.h: Use __THREADNL instead of __THREAD
21707 for memory synchronization functions.
21708
21709 2011-10-26 Roland McGrath <roland@hack.frob.com>
21710
21711 [BZ #13349]
21712 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21713 doesn't exist.
21714 * manual/stdio.texi (Obstack Streams): Node removed.
21715
21716 2011-10-26 Andreas Schwab <schwab@redhat.com>
21717
21718 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21719 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21720 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21721
21722 * math/math_private.h (math_force_eval): Allow non-addressable
21723 arguments.
21724 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21725
21726 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21727
21728 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21729 file is not needed.
21730
21731 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21732 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21733 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21734 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21735 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21736 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21737 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21738 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21739 Add AVX variants.
21740 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21741 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21742 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21743 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21744 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21745 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21746 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21747 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21748 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21749 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21750 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21751 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21752 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21753 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21754 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21755 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21756 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21757 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21758 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21759
21760 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21761 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21762
21763 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21764 place. Use VEX encoding when compiling for AVX.
21765
21766 2011-10-25 Andreas Schwab <schwab@redhat.com>
21767
21768 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21769 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21770
21771 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21772
21773 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21774
21775 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21776 useless if() expression.
21777 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21778 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21779 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21780 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21781 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21782 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21783 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21784 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21785 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21786 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21787 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21788 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21789 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21790 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21791 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21792 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21793 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21794 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21795 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21796
21797 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21798
21799 2011-10-25 Andreas Schwab <schwab@redhat.com>
21800
21801 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21802 condition.
21803 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21804
21805 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21806
21807 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21808 .text section. Avoid duplicate constants.
21809 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21810 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21811 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21812 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21813 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21815 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21817 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21818 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21819 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21820 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21821 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21822 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21823 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21824 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21825 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21826 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21827 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21828 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21829 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21830 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21831 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21832 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21833 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21834 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21835 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21836 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21837 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21838 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21839 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21840 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21841 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21842 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21843 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21844 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21845 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21846 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21847 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21848 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21849 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21850 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21851 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21852 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21853 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21854
21855 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21856
21857 * sysdeps/x86_64/dla.h: Move to ...
21858 * sysdeps/x86_64/fpu/dla.h: ...here.
21859 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21860 situations. Use __builtin_fma only for gcc 4.6 and up.
21861
21862 * config.make.in: Add have-mfma4 entry.
21863 * configure.in: Substitute libc_cv_cc_fma4.
21864 * math/Makefile (dbl-only-routines): Add sincostab.
21865 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21866 Use __sincostab not sincos.
21867 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21868 name is a macro.
21869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21873 using __copysign.
21874 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21875 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21876 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21877 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21878 and __inv.
21879 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21880 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21881 __copysign.
21882 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21883 define aliases when function name is a macro.
21884 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21885 sysdeps/ieee754/dbl-64/sincos.tbl.
21886 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21887 fma4-enabled routines.
21888 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21889 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21890 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21891 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21892 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21893 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21894 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21895 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21896 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21897 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21898 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21899 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21900 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21901 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21902 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21903 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21904 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21905 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21906 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21907 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21908 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21909 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21910 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21911 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21913 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21914 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21915 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21916 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21917 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21918
21919 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21920 rename.
21921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21922 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21923 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21924 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21925 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21927 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21929
21930 2011-10-24 Andreas Schwab <schwab@redhat.com>
21931
21932 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21933
21934 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21935
21936 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21937
21938 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21939 prediction.
21940 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21941
21942 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21943 Remove unused variable magic_bits.
21944 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21945
21946 * string/strnlen.c: Define and use STRNLEN macro.
21947 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21948 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21949 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21950 * wcsmbs/wcslen.c: Define and use WCSLEN.
21951 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21952 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21953 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21954 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21955 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21956 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21957 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21958
21959 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21960
21961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21962 strnlen-sse2-no-bsf.
21963 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21964 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21965 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21966 Add strnlen support.
21967 (USE_AS_STRNLEN): New macro.
21968 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21969 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21970 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21971 * sysdeps/x86_64/wcslen.S: New file.
21972
21973 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21974
21975 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21976 XMM-moves are used for copying on small sizes.
21977
21978 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21979
21980 * wcsmbs/Makefile (strop-tests): Add wcschr.
21981 * wcsmbs/test-wcschr.c: New file.
21982 * string/test-strchr.c: Update.
21983 Add wcschr support.
21984 (WIDE): New macro.
21985
21986 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21987
21988 * wcsmbs/Makefile (strop-tests): Add wcslen.
21989 * wcsmbs/test-wcslen.c: New file.
21990 * string/test-strlen.c: Update.
21991 Add wcslen support.
21992 (WIDE): New macro.
21993
21994 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21995
21996 * po/it.po: Update from translation team.
21997
21998 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21999
22000 * sysdeps/x86_64/wcscmp.S: Update.
22001 Fix wrong comparison semantics.
22002 wcscmp shall use signed comparison not unsigned.
22003 Don't use substraction to avoid overflow bug.
22004 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22005 * wcsmbc/wcscmp.c: Likewise.
22006 * string/test-strcmp.c: Likewise.
22007 Add new tests to check cases with negative values.
22008
22009 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22010
22011 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22012 * sysdeps/x86_64/dla.h: ...here. New file.
22013 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22014 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22018 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22020 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22022
22023 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22024
22025 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22026 __ynl_finite aliases.
22027
22028 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22029
22030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22031
22032 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22033 define DLA_FMA.
22034 [DLA_FMA] (EMULV): Use DLA_FMA.
22035 [DLA_FMA] (MUL12): Use EMULV.
22036 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22037 that are not needed.
22038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22042 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22043 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22044 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22045
22046 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22047
22048 * math/s_nan.c: Undef __nan.
22049 * math/s_nanf.c: Undef __nanf.
22050 * math/s_nanl.c: Undef __nanl.
22051 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22052 "math_private.h".
22053
22054 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22055
22056 * math/s_catan.c: Add branch predictions.
22057 * math/s_catanf.c: Likewise.
22058 * math/s_catanh.c: Likewise.
22059 * math/s_catanhf.c: Likewise.
22060 * math/s_catanhl.c: Likewise.
22061 * math/s_catanl.c: Likewise.
22062 * math/s_cexp.c: Likewise.
22063 * math/s_cexpf.c: Likewise.
22064 * math/s_cexpl.c: Likewise.
22065 * math/s_clog.c: Likewise.
22066 * math/s_clog10.c: Likewise.
22067 * math/s_clog10f.c: Likewise.
22068 * math/s_clog10l.c: Likewise.
22069 * math/s_clogf.c: Likewise.
22070 * math/s_clogl.c: Likewise.
22071 * math/s_csqrt.c: Likewise.
22072 * math/s_csqrtf.c: Likewise.
22073 * math/s_csqrtl.c: Likewise.
22074 * math/s_ctanf.c: Likewise.
22075 * math/s_ctanh.c: Likewise.
22076 * math/s_ctanhf.c: Likewise.
22077 * math/s_ctanhl.c: Likewise.
22078 * math/s_ctanl.c: Likewise.
22079
22080 * math/math_private.h: Define __nan, __nanf, __nanl.
22081 * math/s_cacosh.c: Include <math_private.h>.
22082 * math/s_cacoshl.c: Likewise.
22083 * math/s_casinh.c: Likewise.
22084 * math/s_casinhf.c: Likewise.
22085 * math/s_casinhl.c: Likewise.
22086 * math/s_ccos.c: Rely entire on ccosh.
22087 * math/s_ccosf.c: Rely entire on ccoshf.
22088 * math/s_ccosl.c: Rely entirely on ccoshl.
22089 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22090 Remove tests for FE_INVALID.
22091 * math/s_ccoshf.c: Likewise.
22092 * math/s_ccoshl.c: Likewise.
22093 * math/s_csin.c: Likewise.
22094 * math/s_csinf.c: Likewise.
22095 * math/s_csinh.c Likewise.
22096 * math/s_csinhf.c: Likewise.
22097 * math/s_csinhl.c: Likewise.
22098 * math/s_csinl.c: Likewise.
22099 * math/s_ctan.c: Likewise.
22100 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22101 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22102 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22103
22104 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22105
22106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22107 compilation problems.
22108
22109 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22110 __builtin_expect.
22111
22112 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22113
22114 * sysdeps/i386/configure.in: Test for -mfma4 option.
22115 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22116 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22117 COMMON_CPUID_INDEX_80000001.
22118 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22119 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22120 use it if FMA3 is not supported.
22121 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22122
22123 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22124 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22125
22126 2011-10-20 Andreas Schwab <schwab@redhat.com>
22127
22128 [BZ #12892]
22129 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22130 it would create a cycle with a link time dependency.
22131
22132 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22133
22134 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22135 instruction.
22136 * string/Makefile (strop-tests): Add rawmemchr.
22137 * string/test-rawmemchr.c: New file.
22138
22139 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22140 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22141 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22142 when compiling str{,n}casecmp and when AVX is available. Hook up
22143 new optimized code in initializers.
22144
22145 2011-10-19 Andreas Schwab <schwab@redhat.com>
22146
22147 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22148 __feraiseexcept instead of feraiseexcept.
22149
22150 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22151
22152 * math/math_private.h: Define defaults for libc_fetestexcept and
22153 libc_feupdateenv.
22154 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22155 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22156 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22157 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22158 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22159 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22160 libc_fetestexcept and libc_feupdateenv.
22161
22162 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22163 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22164 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22165 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22166 libc_feholdexcept_setround.
22167
22168 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22169 Add s_nearbyint-c and s_nearbyintf-c.
22170 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22171 nearbyintf inlines.
22172 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22173 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22174 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22175 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22176
22177 * math/math_private.h: Define defaults for libc_fegetround,
22178 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22179 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22180 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22181 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22182 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22183 standard functions.
22184 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22185 Remove comments and hacks for old compiler versions.
22186 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22187 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22188 libc_feholdexceptl.
22189
22190 2011-10-18 Andreas Schwab <schwab@redhat.com>
22191
22192 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22193 (__feraiseexcept_renamed): Add __NTH.
22194 (feraiseexcept): Add __NTH. Rename local variables to fix
22195 namespace violations.
22196
22197 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22198
22199 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22200
22201 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22202
22203 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22204 recently added interfaces.
22205 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22206
22207 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22208 about macro parameter expansion.
22209
22210 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22211 __NO_MATH_INLINES is defined. Cleanups.
22212
22213 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22214 and __floorf is target has SSE4.1.
22215 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22216 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22217 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22218 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22219
22220 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22221 name.
22222 (floorf): Likewise.
22223
22224 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22225
22226 2011-10-17 Andreas Schwab <schwab@redhat.com>
22227
22228 * misc/sys/cdefs.h: Fix last change.
22229
22230 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22231 database lookup.
22232
22233 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22234
22235 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22236
22237 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22238 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22239 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22240 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22241 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22242 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22243 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22244 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22245 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22246 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22247 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22248 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22249 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22250 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22251 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22252 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22253 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22254 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22255 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22256 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22257 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22258 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22259
22260 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22261 ceil, ceilf, floor, floorf.
22262
22263 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22264 Perform IRELATIVE relocations last.
22265
22266 * elf/do-rel.h: Add another parameter nrelative, replacing the
22267 local variable with the same name. Change name of the function
22268 to end in Rel or Rela (uppercase).
22269 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22270 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22271 elf_dynamic_do_##reloc function.
22272
22273 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22274
22275 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22276 is sufficient, at least on modern CPUs.
22277
22278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22279
22280 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22281 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22282
22283 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22284 __expl_finite.
22285 * math/bits/math-finite.h: Add entries for exp.
22286 * math/e_expl.c: Add __*_finite alias.
22287 * sysdeps/i386/fpu/e_exp.S: Likewise.
22288 * sysdeps/i386/fpu/e_expf.S: Likewise.
22289 * sysdeps/i386/fpu/e_expl.c: Likewise.
22290 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22291 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22292 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22293 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22294 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22295 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22296 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22297
22298 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22299 is sufficient, at least on modern CPUs.
22300
22301 * ctype/ctype-info.c (__ctype_init): Define.
22302 * include/ctype.h (__ctype_init): Declare.
22303 (__ctype_b_loc): The variable is always initialized.
22304 (__ctype_toupper_loc): Likewise.
22305 (__ctype_tolower_loc): Likewise.
22306 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22307 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22308
22309 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22310
22311 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22312
22313 * configure.in: Also look in $cxxmachine/include for C++ system
22314 headers.
22315
22316 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22317
22318 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22319 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22320 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22321 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22322 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22323 (USE_AS_WMEMCMP): New macro.
22324 Fixing indents.
22325 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22326 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22327 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22328 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22329 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22330 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22331 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22332 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22333 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22334 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22335 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22336 (USE_AS_WMEMCMP): New macro.
22337 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22338 * sysdeps/string/test-memcmp.c: Update.
22339 Fix simple_wmemcmp.
22340 Add new tests.
22341 * wcsmbs/wmemcmp.c: Update.
22342 (WMEMCMP): New macro.
22343 Fix overflow bug.
22344
22345 2011-10-12 Andreas Jaeger <aj@suse.de>
22346
22347 [BZ #13268]
22348 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22349
22350 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22351
22352 * libio/iofwide.c (do_length): Avoid warning.
22353
22354 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22355
22356 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22357
22358 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22359
22360 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22361 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22362 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22363 * sysdeps/i386/i686/fpu/e_log.S: New file.
22364 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22365 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22366
22367 * ctype/ctype.h: Add support for inlined isXXX functions when
22368 compiling C++ code.
22369
22370 2011-10-14 Andreas Schwab <schwab@redhat.com>
22371
22372 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22373
22374 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22375
22376 2011-10-13 Roland McGrath <roland@hack.frob.com>
22377
22378 [BZ #13291]
22379 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22380
22381 2011-10-13 Andreas Schwab <schwab@redhat.com>
22382
22383 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22384 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22385 feraiseexcept.
22386
22387 * sysdeps/x86_64/memrchr.S: Check for zero size.
22388
22389 * string/stratcliff.c: Add memrchr tests.
22390
22391 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22392
22393 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22394 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22395 rawmemchr-sse2 rawmemchr-sse2-bsf.
22396 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22397 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22398 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22399 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22400 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22401 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22402 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22403 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22404 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22405 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22406 * string/memrchr.c (MEMRCHR): New macro.
22407
22408 2011-10-12 Ulrich Drepper <drepper@gmail.com>
22409
22410 Add integration with gcc's -ffinite-math-only and optimize wrapper
22411 functions in libm.
22412 * Versions.def: Define GLIBC_2.15 version for libm.
22413 * math/Makefile (headers): Add bits/math-finite.h.
22414 * math/bits/math-finite.h: New file.
22415 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22416 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22417 * math/e_acoshl.c: Add __*_finite alias.
22418 * math/e_acosl.c: Likewise.
22419 * math/e_asinl.c: Likewise.
22420 * math/e_atan2l.c: Likewise.
22421 * math/e_atanhl.c: Likewise.
22422 * math/e_coshl.c: Likewise.
22423 * math/e_exp10.c: Likewise.
22424 * math/e_exp10f.c: Likewise.
22425 * math/e_exp10l.c: Likewise.
22426 * math/e_exp2l.c: Likewise.
22427 * math/e_fmodl.c: Likewise.
22428 * math/e_gammal_r.c: Likewise.
22429 * math/e_hypotl.c: Likewise.
22430 * math/e_j0l.c: Likewise.
22431 * math/e_j1l.c: Likewise.
22432 * math/e_jnl.c: Likewise.
22433 * math/e_lgammal_r.c: Likewise.
22434 * math/e_log10l.c: Likewise.
22435 * math/e_log2l.c: Likewise.
22436 * math/e_logl.c: Likewise.
22437 * math/e_powl.c: Likewise.
22438 * math/e_sinhl.c: Likewise.
22439 * math/e_sqrtl.c: Likewise.
22440 * math/e_scalb.c: Completely rewritten and optimized.
22441 * math/e_scalbf.c: Likewise.
22442 * math/e_scalbl.c: Likewise.
22443 * math/w_acos.c: Likewise.
22444 * math/w_acosf.c: Likewise.
22445 * math/w_acosl.c: Likewise.
22446 * math/w_acosh.c: Likewise.
22447 * math/w_acoshf.c: Likewise.
22448 * math/w_acoshl.c: Likewise.
22449 * math/w_asin.c: Likewise.
22450 * math/w_asinf.c: Likewise.
22451 * math/w_asinl.c: Likewise.
22452 * math/w_atan2.c: Likewise.
22453 * math/w_atan2f.c: Likewise.
22454 * math/w_atan2l.c: Likewise.
22455 * math/w_atanh.c: Likewise.
22456 * math/w_atanhf.c: Likewise.
22457 * math/w_atanhl.c: Likewise.
22458 * math/w_exp10.c: Likewise.
22459 * math/w_exp10f.c: Likewise.
22460 * math/w_exp10l.c: Likewise.
22461 * math/w_fmod.c: Likewise.
22462 * math/w_fmodf.c: Likewise.
22463 * math/w_fmodl.c: Likewise.
22464 * math/w_j0.c: Likewise.
22465 * math/w_j0f.c: Likewise.
22466 * math/w_j0l.c: Likewise.
22467 * math/w_j1.c: Likewise.
22468 * math/w_j1f.c: Likewise.
22469 * math/w_j1l.c: Likewise.
22470 * math/w_jn.c: Likewise.
22471 * math/w_jnf.c: Likewise.
22472 * math/w_log.c: Likewise.
22473 * math/w_logf.c: Likewise.
22474 * math/w_logl.c: Likewise.
22475 * math/w_log10.c: Likewise.
22476 * math/w_log10f.c: Likewise.
22477 * math/w_log10l.c: Likewise.
22478 * math/w_log2.c: Likewise.
22479 * math/w_log2f.c: Likewise.
22480 * math/w_log2l.c: Likewise.
22481 * math/w_pow.c: Likewise.
22482 * math/w_powf.c: Likewise.
22483 * math/w_powl.c: Likewise.
22484 * math/w_remainder.c: Likewise.
22485 * math/w_remainderf.c: Likewise.
22486 * math/w_remainderl.c: Likewise.
22487 * math/w_scalb.c: Likewise.
22488 * math/w_scalbf.c: Likewise.
22489 * math/w_scalbl.c: Likewise.
22490 * math/w_sqrt.c: Likewise.
22491 * math/w_sqrtf.c: Likewise.
22492 * math/w_sqrtl.c: Likewise.
22493 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22494 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22495 used.
22496 * math/math_private.h: Declare __kernel_standard_f.
22497 * math/w_cosh.c: Remove cruft and optimize a bit.
22498 * math/w_coshf.c: Likewise.
22499 * math/w_coshl.c: Likewise.
22500 * math/w_exp2.c: Likewise.
22501 * math/w_exp2f.c: Likewise.
22502 * math/w_exp2l.c: Likewise.
22503 * math/w_hypot.c: Likewise.
22504 * math/w_hypotf.c: Likewise.
22505 * math/w_hypotl.c: Likewise.
22506 * math/w_lgamma.c: Likewise.
22507 * math/w_lgamma_r.c: Likewise.
22508 * math/w_lgammaf.c: Likewise.
22509 * math/w_lgammaf_r.c: Likewise.
22510 * math/w_lgammal.c: Likewise.
22511 * math/w_lgammal_r.c: Likewise.
22512 * math/w_sinh.c: Likewise.
22513 * math/w_sinhf.c: Likewise.
22514 * math/w_sinhl.c: Likewise.
22515 * math/w_tgamma.c: Likewise.
22516 * math/w_tgammaf.c: Likewise.
22517 * math/w_tgammal.c: Likewise.
22518 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22519 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22520 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22521 Minor optimizations. Pretty printing. Remove cruft.
22522 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22523 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22524 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22525 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22526 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22527 * sysdeps/i386/fpu/e_asin.S: Likewise.
22528 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22529 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22530 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22531 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22532 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22533 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22534 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22535 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22536 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22537 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22538 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22539 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22540 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22541 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22542 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22543 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22544 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22545 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22546 * sysdeps/i386/fpu/e_log.S: Likewise.
22547 * sysdeps/i386/fpu/e_log10.S: Likewise.
22548 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22549 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22550 * sysdeps/i386/fpu/e_log2.S: Likewise.
22551 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22552 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22553 * sysdeps/i386/fpu/e_logf.S: Likewise.
22554 * sysdeps/i386/fpu/e_logl.S: Likewise.
22555 * sysdeps/i386/fpu/e_pow.S: Likewise.
22556 * sysdeps/i386/fpu/e_powf.S: Likewise.
22557 * sysdeps/i386/fpu/e_powl.S: Likewise.
22558 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22559 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22560 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22561 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22562 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22563 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22564 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22565 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22566 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22567 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22568 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22570 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22571 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22572 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22573 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22574 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22575 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22576 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22577 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22578 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22580 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22581 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22582 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22583 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22584 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22585 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22586 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22587 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22588 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22589 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22590 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22591 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22592 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22593 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22594 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22595 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22596 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22597 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22598 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22599 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22600 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22601 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22602 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22603 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22604 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22605 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22606 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22607 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22608 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22616 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22617 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22623 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22629 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22630 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22631 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22632 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22633 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22634 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22635 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22636 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22637 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22638 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22639 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22640 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22642 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22643 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22644 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22645 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22646 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22647 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22650 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22652 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22653 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22655 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22658 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22659 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22660 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22661 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22662 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22663 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22664 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22665 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22666 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22667 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22668 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22669 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22670 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22671 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22672 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22673 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22674 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22675 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22676 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22677 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22678 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22679 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22680 (__isnanf): Likewise.
22681 (__isinf_ns): Likewise.
22682 (__isinf_nsf): Likewise.
22683 (__finite): Likewise.
22684 (__finitef): Likewise.
22685 (__ieee754_sqrt): Define as macro.
22686 (__ieee754_sqrtf): Define as macro.
22687 (__ieee754_sqrtl): Define as macro.
22688 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22689 inlined copy.
22690 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22691 __FINITE_MATH_ONLY__ consistent.
22692 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22693
22694 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22695
22696 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22697 of rawmemchr.
22698
22699 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22700
22701 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22702
22703 * po/ja.po: Update from translation team.
22704
22705 2011-10-08 Roland McGrath <roland@hack.frob.com>
22706
22707 * locale/programs/locarchive.c (prepare_address_space): New function.
22708 (create_archive, enlarge_archive, open_archive): Use it.
22709
22710 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22711 inside [SHARED], where it is used.
22712
22713 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22714
22715 * nss/getent.c (netgroup_keys): Remove unused variable.
22716 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22717
22718 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22719
22720 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22721 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22723 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22724 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22725 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22726 * math/Makefile (libm-calls): Add s_isinf_ns.
22727 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22728 * math/multc3.c: Likewise.
22729 * math/s_casin.c: Likewise.
22730 * math/s_casinf.c: Likewise.
22731 * math/s_casinl.c: Likewise.
22732 * math/s_ccos.c: Likewise.
22733 * math/s_ccosf.c: Likewise.
22734 * math/s_ccosl.c: Likewise.
22735 * math/s_ctan.c: Likewise.
22736 * math/s_ctanf.c: Likewise.
22737 * math/s_ctanh.c: Likewise.
22738 * math/s_ctanhf.c: Likewise.
22739 * math/s_ctanhl.c: Likewise.
22740 * math/s_ctanl.c: Likewise.
22741 * math/w_fmod.c: Likewise.
22742 * math/w_fmodf.c: Likewise.
22743 * math/w_fmodl.c: Likewise.
22744 * math/w_remainder.c: Likewise.
22745 * math/w_remainderf.c: Likewise.
22746 * math/w_remainderl.c: Likewise.
22747 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22748 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22749 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22751 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22752 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22753 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22754 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22755
22756 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22757 of the number.
22758 * stdio-common/printf_fphex.c: Likewise.
22759 * stdio-common/printf_size.c: Likewise.
22760
22761 * math/e_exp10.c: Include math_private.h using <...> not "...".
22762 * math/e_exp10f.c: Likewise.
22763 * math/e_exp10l.c: Likewise.
22764 * math/e_exp2l.c: Likewise.
22765 * math/e_j0l.c: Likewise.
22766 * math/e_j1l.c: Likewise.
22767 * math/e_jnl.c: Likewise.
22768 * math/e_lgammal_r.c: Likewise.
22769 * math/e_rem_pio2l.c: Likewise.
22770 * math/e_scalb.c: Likewise.
22771 * math/e_scalbf.c: Likewise.
22772 * math/e_scalbl.c: Likewise.
22773 * math/k_cosl.c: Likewise.
22774 * math/k_sinl.c: Likewise.
22775 * math/k_tanl.c: Likewise.
22776 * math/s_cacoshf.c: Likewise.
22777 * math/s_catan.c: Likewise.
22778 * math/s_catanf.c: Likewise.
22779 * math/s_catanh.c: Likewise.
22780 * math/s_catanhf.c: Likewise.
22781 * math/s_catanhl.c: Likewise.
22782 * math/s_catanl.c: Likewise.
22783 * math/s_ccosh.c: Likewise.
22784 * math/s_ccoshf.c: Likewise.
22785 * math/s_ccoshl.c: Likewise.
22786 * math/s_cexp.c: Likewise.
22787 * math/s_cexpf.c: Likewise.
22788 * math/s_cexpl.c: Likewise.
22789 * math/s_clog.c: Likewise.
22790 * math/s_clog10.c: Likewise.
22791 * math/s_clog10f.c: Likewise.
22792 * math/s_clog10l.c: Likewise.
22793 * math/s_clogf.c: Likewise.
22794 * math/s_clogl.c: Likewise.
22795 * math/s_csin.c: Likewise.
22796 * math/s_csinf.c: Likewise.
22797 * math/s_csinh.c: Likewise.
22798 * math/s_csinhf.c: Likewise.
22799 * math/s_csinhl.c: Likewise.
22800 * math/s_csinl.c: Likewise.
22801 * math/s_csqrt.c: Likewise.
22802 * math/s_csqrtf.c: Likewise.
22803 * math/s_csqrtl.c: Likewise.
22804 * math/s_ctan.c: Likewise.
22805 * math/s_ctanf.c: Likewise.
22806 * math/s_ctanh.c: Likewise.
22807 * math/s_ctanhf.c: Likewise.
22808 * math/s_ctanhl.c: Likewise.
22809 * math/s_ctanl.c: Likewise.
22810 * math/s_ldexp.c: Likewise.
22811 * math/s_ldexpf.c: Likewise.
22812 * math/s_ldexpl.c: Likewise.
22813 * math/s_significand.c: Likewise.
22814 * math/s_significandf.c: Likewise.
22815 * math/s_significandl.c: Likewise.
22816 * math/w_acos.c: Likewise.
22817 * math/w_acosf.c: Likewise.
22818 * math/w_acosh.c: Likewise.
22819 * math/w_acoshf.c: Likewise.
22820 * math/w_acoshl.c: Likewise.
22821 * math/w_acosl.c: Likewise.
22822 * math/w_asin.c: Likewise.
22823 * math/w_asinf.c: Likewise.
22824 * math/w_asinl.c: Likewise.
22825 * math/w_atan2.c: Likewise.
22826 * math/w_atan2f.c: Likewise.
22827 * math/w_atan2l.c: Likewise.
22828 * math/w_atanh.c: Likewise.
22829 * math/w_atanhf.c: Likewise.
22830 * math/w_atanhl.c: Likewise.
22831 * math/w_cosh.c: Likewise.
22832 * math/w_coshf.c: Likewise.
22833 * math/w_coshl.c: Likewise.
22834 * math/w_dremf.c: Likewise.
22835 * math/w_exp10.c: Likewise.
22836 * math/w_exp10f.c: Likewise.
22837 * math/w_exp10l.c: Likewise.
22838 * math/w_exp2.c: Likewise.
22839 * math/w_exp2f.c: Likewise.
22840 * math/w_fmod.c: Likewise.
22841 * math/w_fmodf.c: Likewise.
22842 * math/w_fmodl.c: Likewise.
22843 * math/w_hypot.c: Likewise.
22844 * math/w_hypotf.c: Likewise.
22845 * math/w_hypotl.c: Likewise.
22846 * math/w_j0.c: Likewise.
22847 * math/w_j0f.c: Likewise.
22848 * math/w_j0l.c: Likewise.
22849 * math/w_j1.c: Likewise.
22850 * math/w_j1f.c: Likewise.
22851 * math/w_j1l.c: Likewise.
22852 * math/w_jn.c: Likewise.
22853 * math/w_jnf.c: Likewise.
22854 * math/w_jnl.c: Likewise.
22855 * math/w_lgamma.c: Likewise.
22856 * math/w_lgamma_r.c: Likewise.
22857 * math/w_lgammaf.c: Likewise.
22858 * math/w_lgammaf_r.c: Likewise.
22859 * math/w_lgammal.c: Likewise.
22860 * math/w_lgammal_r.c: Likewise.
22861 * math/w_log.c: Likewise.
22862 * math/w_log10.c: Likewise.
22863 * math/w_log10f.c: Likewise.
22864 * math/w_log10l.c: Likewise.
22865 * math/w_log2.c: Likewise.
22866 * math/w_log2f.c: Likewise.
22867 * math/w_log2l.c: Likewise.
22868 * math/w_logf.c: Likewise.
22869 * math/w_logl.c: Likewise.
22870 * math/w_pow.c: Likewise.
22871 * math/w_powf.c: Likewise.
22872 * math/w_powl.c: Likewise.
22873 * math/w_remainder.c: Likewise.
22874 * math/w_remainderf.c: Likewise.
22875 * math/w_remainderl.c: Likewise.
22876 * math/w_scalb.c: Likewise.
22877 * math/w_scalbf.c: Likewise.
22878 * math/w_scalbl.c: Likewise.
22879 * math/w_sinh.c: Likewise.
22880 * math/w_sinhf.c: Likewise.
22881 * math/w_sinhl.c: Likewise.
22882 * math/w_sqrt.c: Likewise.
22883 * math/w_sqrtf.c: Likewise.
22884 * math/w_sqrtl.c: Likewise.
22885 * math/w_tgamma.c: Likewise.
22886 * math/w_tgammaf.c: Likewise.
22887 * math/w_tgammal.c: Likewise.
22888
22889 * po/ja.po: Update from translation team.
22890
22891 2011-09-29 Andreas Jaeger <aj@suse.de>
22892
22893 [BZ #13179]
22894 * sunrpc/netname.c (netname2host): Fix logic.
22895
22896 [BZ #6779]
22897 [BZ #6783]
22898 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22899 correctly.
22900 * math/w_remainder.c (__remainder): Likewise.
22901 * math/w_remainderf.c (__remainderf): Likewise.
22902 * math/libm-test.inc (remainder_test): Add test cases.
22903
22904 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22905
22906 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22907 sdiv_qrnnd.
22908
22909 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22910
22911 * string/test-memcmp.c: Avoid unncessary #defines.
22912 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22913
22914 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22915
22916 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22917 Use new sse2 version for core i3 - i7 as it's faster
22918 than sse42 version.
22919 (bit_Prefer_PMINUB_for_stringop): New.
22920 * sysdeps/x86_64/rawmemchr.S: Update.
22921 Replace with faster SSE2 version.
22922 * sysdeps/x86_64/memrchr.S: New file.
22923 * sysdeps/x86_64/memchr.S: Update.
22924 Replace with faster SSE2 version.
22925
22926 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22927
22928 * elf/dl-load.c (lose): Add cast to avoid warning.
22929
22930 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22931
22932 * po/ca.po: Update from translation team.
22933
22934 * inet/getnetgrent_r.c: Hook up nscd.
22935 * nscd/Makefile (routines): Add nscd_netgroup.
22936 (nscd-modules): Add netgroupcache.
22937 (CFLAGS-netgroupcache.c): Define.
22938 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22939 (cache_search): Add const to second parameter.
22940 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22941 INNETGR.
22942 (dbs): Add netgrdb entry.
22943 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22944 (verify_persistent_db): Handle netgrdb.
22945 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22946 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22947 GETFDNETGR.
22948 (netgroup_response_header): Define.
22949 (innetgroup_response_header): Define.
22950 (datahead): Add netgroup_response_header and innetgroup_response_header
22951 elements.
22952 * nscd/nscd.conf: Add entries for netgroup cache.
22953 * nscd/nscd.h (dbtype): Add netgrdb.
22954 (_PATH_NSCD_NETGROUP_DB): Define.
22955 (netgroup_iov_disabled): Declare.
22956 (xmalloc, xcalloc, xrealloc): Move declarations here.
22957 (cache_search): Adjust prototype.
22958 Add netgroup-related prototypes.
22959 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22960 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22961 (__nscd_innetgr): Declare.
22962 * nscd/selinux.c (perms): Use access_vector_t as element type and
22963 add netgroup-related initializers.
22964 * nscd/netgroupcache.c: New file.
22965 * nscd/nscd_netgroup.c: New file.
22966 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22967 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22968 For four parameters use innetgr.
22969 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22970 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22971 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22972 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22973
22974 * nscd/connections.c (register_traced_file): Don't register file
22975 for disabled databases.
22976
22977 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22978
22979 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22980
22981 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22982 from tree and freeing node.
22983
22984 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22985
22986 * nss/nsswitch.c (__nss_database_lookup): Handle
22987 nss_parse_service_list out of memory case.
22988
22989 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22990
22991 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22992 out of memory case.
22993
22994 2011-10-04 Andreas Schwab <schwab@redhat.com>
22995
22996 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22997 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22998 pass it down.
22999 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23000 elf_machine_rela, elf_machine_lazy_rel.
23001 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23002 (ELF_DYNAMIC_DO_REL): Likewise.
23003 (ELF_DYNAMIC_DO_RELA): Likewise.
23004 (ELF_DYNAMIC_RELOCATE): Likewise.
23005 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23006 to ELF_DYNAMIC_DO_REL.
23007 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23008 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23009 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23010 elf_machine_rela.
23011 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23012 skip_ifunc, don't call ifunc function if non-zero.
23013 (elf_machine_rela): Likewise.
23014 (elf_machine_lazy_rel): Likewise.
23015 (elf_machine_lazy_rela): Likewise.
23016 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23017 (elf_machine_lazy_rel): Likewise.
23018 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23019 Likewise.
23020 (elf_machine_lazy_rel): Likewise.
23021 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23022 Likewise.
23023 (elf_machine_lazy_rel): Likewise.
23024 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23025 (elf_machine_lazy_rel): Likewise.
23026 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23027 (elf_machine_lazy_rel): Likewise.
23028 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23029 (elf_machine_lazy_rel): Likewise.
23030 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23031 (elf_machine_lazy_rel): Likewise.
23032 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23033 (elf_machine_lazy_rel): Likewise.
23034 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23035 (elf_machine_lazy_rel): Likewise.
23036
23037 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23038
23039 * nss/nss_files/files-init.c (_nss_files_init): Use static
23040 initialization for all the *_traced_file variables.
23041
23042 2011-09-28 Andreas Schwab <schwab@redhat.com>
23043
23044 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23045
23046 2011-09-27 Roland McGrath <roland@hack.frob.com>
23047
23048 [BZ #13226]
23049 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23050
23051 2011-09-27 Andreas Schwab <schwab@redhat.com>
23052
23053 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23054 Reread the line before reparsing it.
23055
23056 2011-09-26 Andreas Schwab <schwab@redhat.com>
23057
23058 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23059
23060 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23061 Maxim Kuvyrkov <maxim@codesourcery.com>
23062 Joseph Myers <joseph@codesourcery.com>
23063
23064 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23065 if needed for __stack_chk_guard.
23066
23067 2011-09-19 Roland McGrath <roland@hack.frob.com>
23068
23069 * sysdeps/posix/spawni.c (script_execute): Always define it.
23070 It will be optimized away if unused.
23071 (maybe_script_execute): New function.
23072 (__spawni): Call it.
23073
23074 * Makerules: Don't include tls.make.
23075 (config-tls): Always set to thread.
23076 * tls.make.c: File removed.
23077
23078 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23079
23080 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23081 * config.make.in (CPPFLAGS-config): New substituted variable.
23082
23083 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23084
23085 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23086
23087 [BZ #13192]
23088 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23089 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23090
23091 2011-09-15 Roland McGrath <roland@hack.frob.com>
23092
23093 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23094 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23095 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23096 (CALL_FAIL): Likewise.
23097 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23098 (CALL_FAIL): Macro removed.
23099 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23100
23101 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23102
23103 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23104 for __FINITE_MATH_ONLY__ == 1.
23105
23106 2011-09-15 Andreas Schwab <schwab@redhat.com>
23107
23108 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23109 __ieee754_sqrt instead of sqrt.
23110 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23111 __ieee754_sqrtf instead of sqrtf.
23112 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23113 __floorf instead of floorf.
23114 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23115 __floorf, __truncf instead of floorf, truncf.
23116
23117 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23118
23119 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23120
23121 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23122 __extern_always_inline.
23123 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23124 32-bit.
23125
23126 2011-09-14 Andreas Schwab <schwab@redhat.com>
23127
23128 * elf/rtld.c (dl_main): Also relocate in dependency order when
23129 doing symbol dependency testing.
23130
23131 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23132
23133 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23134 Always define `refsym'.
23135
23136 2011-09-13 Andreas Schwab <schwab@redhat.com>
23137
23138 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23139 (__FD_ELT): Renamed from __FDELT.
23140 * misc/bits/select2.h (__FD_ELT): Likewise.
23141 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23142 __FD_MASK instead of __FDELT, __FDMASK.
23143 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23144 Likewise.
23145 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23146 Likewise.
23147
23148 * elf/Makefile (gen-ldd): Fix pattern.
23149
23150 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23151 (init_tls): Likewise.
23152
23153 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23154
23155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23156
23157 2011-09-12 Andreas Schwab <schwab@redhat.com>
23158
23159 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23160 `struct cmsghdr *' instead of `void *'.
23161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23162 Likewise.
23163
23164 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23165
23166 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23167 if non-absolute.
23168 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23169 ldd_rewrite_script.
23170
23171 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23172
23173 * configure.in: Remove --with-tls option.
23174 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23175 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23176 out in case it is missing.
23177 * sysdeps/ia64/elf/configure.in: Likewise.
23178 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23179 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23180 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23181 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23182 * sysdeps/sh/elf/configure.in: Likewise.
23183 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23184 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23185 * sysdeps/x86_64/elf/configure.in: Likewise.
23186 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23187 * sysdeps/mach/hurd/tls.h: Likewise.
23188
23189 [BZ #13067]
23190 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23191
23192 [BZ #13090]
23193 * configure.in: Fix use of AC_INIT.
23194
23195 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23196
23197 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23198
23199 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23200 __set_errno.
23201 * malloc/hooks.c: Likewise.
23202
23203 [BZ #11929]
23204 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23205 variables statically.
23206 (narenas): Initialize.
23207 (list_lock): Initialize.
23208 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23209 initializtion of main_arena and list_lock. Small cleanups.
23210 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23211 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23212 Add initializers to main_arena and mp_.
23213 (malloc_state): Remove pagesize member. Change all users to use
23214 GLRO(dl_pagesize).
23215
23216 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23217 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23218 is always initialized.
23219
23220 * malloc/malloc.c: Removed unused configurations and dead code.
23221 * malloc/arena.c: Likewise.
23222 * malloc/hooks.c: Likewise.
23223 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23224
23225 * include/tls.h: Removed. USE___THREAD must always be defined.
23226 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23227 * elf/dl-libc.c: Likewise.
23228 * elf/dl-tsd.c: Likewise.
23229 * include/errno.h: Likewise.
23230 * include/netdb.h: Likewise.
23231 * include/resolv.h: Likewise.
23232 * inet/herrno-loc.c: Likewise.
23233 * inet/herrno.c: Likewise.
23234 * malloc/arena.c: Likewise.
23235 * malloc/hooks.c: Likewise.
23236 * malloc/malloc.c: Likewise.
23237 * resolv/res-state.c: Likewise.
23238 * resolv/res_libc.c: Likewise.
23239 * sysdeps/i386/dl-machine.h: Likewise.
23240 * sysdeps/ia64/dl-machine.h: Likewise.
23241 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23242 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23243 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23244 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23245 * sysdeps/sh/dl-machine.h: Likewise.
23246 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23247 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23248 * sysdeps/unix/i386/sysdep.S: Likewise.
23249 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23250 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23251 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23254 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23255 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23256 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23257 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23258 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23259 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23260 * sysdeps/x86_64/dl-machine.h: Likewise.
23261 * tls.make.c: Likewise.
23262
23263 * configure.in: Remove --with-__thread option. Make tests for
23264 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23265 tls_model attribute fail if no support is available. Remove
23266 USE_IN_LIBIO.
23267 * Makeconfig: Adjust for dropped configure option. All features are
23268 now mandatory.
23269 * Makerules: Likewise.
23270 * Versions.def: Likewise.
23271 * argp/argp-fmtstream.c: Likewise.
23272 * argp/argp-fmtstream.h: Likewise.
23273 * argp/argp-help.c: Likewise.
23274 * assert/assert.c: Likewise.
23275 * config.h.in: Likewise.
23276 * config.make.in: Likewise.
23277 * configure: Likewise.
23278 * configure.in: Likewise.
23279 * csu/Versions: Likewise.
23280 * csu/init.c: Likewise.
23281 * elf/tst-audit2.c: Likewise.
23282 * elf/tst-tls10.c: Likewise.
23283 * elf/tst-tls10.h: Likewise.
23284 * elf/tst-tls11.c: Likewise.
23285 * elf/tst-tls12.c: Likewise.
23286 * elf/tst-tls14.c: Likewise.
23287 * elf/tst-tlsmod11.c: Likewise.
23288 * elf/tst-tlsmod12.c: Likewise.
23289 * elf/tst-tlsmod13.c: Likewise.
23290 * elf/tst-tlsmod13a.c: Likewise.
23291 * elf/tst-tlsmod14a.c: Likewise.
23292 * elf/tst-tlsmod15b.c: Likewise.
23293 * elf/tst-tlsmod16a.c: Likewise.
23294 * elf/tst-tlsmod16b.c: Likewise.
23295 * elf/tst-tlsmod7.c: Likewise.
23296 * elf/tst-tlsmod8.c: Likewise.
23297 * elf/tst-tlsmod9.c: Likewise.
23298 * gmon/gmon.c: Likewise.
23299 * grp/fgetgrent_r.c: Likewise.
23300 * grp/putgrent.c: Likewise.
23301 * hurd/fopenport.c: Likewise.
23302 * include/libc-symbols.h: Likewise.
23303 * include/tls.h: Likewise.
23304 * intl/gettextP.h: Likewise.
23305 * intl/loadinfo.h: Likewise.
23306 * locale/global-locale.c: Likewise.
23307 * locale/localeinfo.h: Likewise.
23308 * mach/devstream.c: Likewise.
23309 * malloc/arena.c: Likewise.
23310 * malloc/set-freeres.c: Likewise.
23311 * misc/err.c: Likewise.
23312 * misc/getttyent.c: Likewise.
23313 * misc/mntent_r.c: Likewise.
23314 * posix/getopt.c: Likewise.
23315 * posix/wordexp.c: Likewise.
23316 * pwd/fgetpwent_r.c: Likewise.
23317 * resolv/Versions: Likewise.
23318 * resolv/res_hconf.c: Likewise.
23319 * shadow/fgetspent_r.c: Likewise.
23320 * shadow/putspent.c: Likewise.
23321 * stdio-common/printf_fphex.c: Likewise.
23322 * stdio-common/tmpfile.c: Likewise.
23323 * stdlib/abort.c: Likewise.
23324 * stdlib/fmtmsg.c: Likewise.
23325 * sunrpc/auth_unix.c: Likewise.
23326 * sunrpc/clnt_perr.c: Likewise.
23327 * sunrpc/clnt_tcp.c: Likewise.
23328 * sunrpc/clnt_udp.c: Likewise.
23329 * sunrpc/clnt_unix.c: Likewise.
23330 * sunrpc/openchild.c: Likewise.
23331 * sunrpc/svc_simple.c: Likewise.
23332 * sunrpc/svc_tcp.c: Likewise.
23333 * sunrpc/svc_udp.c: Likewise.
23334 * sunrpc/svc_unix.c: Likewise.
23335 * sunrpc/xdr.c: Likewise.
23336 * sunrpc/xdr_array.c: Likewise.
23337 * sunrpc/xdr_rec.c: Likewise.
23338 * sunrpc/xdr_ref.c: Likewise.
23339 * sunrpc/xdr_stdio.c: Likewise.
23340
23341 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23342
23343 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23344
23345 2011-07-03 Andreas Jaeger <aj@suse.de>
23346
23347 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23348 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23349 regenerate with gen-libm-tests.pl.
23350
23351 2010-05-12 Petr Baudis <pasky@suse.cz>
23352
23353 [BZ #11589]
23354 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23355 around j0() zero points by switching to j1().
23356 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23357 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23358 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23359 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23360
23361 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23362
23363 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23364 instead of 0.
23365 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23366 instead of 0.
23367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23368 Patch in part by Pavel Roskin <proski@gnu.org>.
23369
23370 [BZ #13138]
23371 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23372 realloc.
23373 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23374 Free memory block if necessary.
23375
23376 [BZ #12847]
23377 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23378 be NULL. Don't lock in this case.
23379
23380 2011-09-09 Roland McGrath <roland@hack.frob.com>
23381
23382 * elf/elf.h (ELFOSABI_GNU): New macro.
23383 (ELFOSABI_LINUX): Define to that.
23384
23385 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23386
23387 * string/strncat.c (strncat): Undef the symbol in case it has been
23388 defined in bits/string.h.
23389
23390 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23391
23392 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23393
23394 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23395 link map.
23396
23397 2011-08-17 Andreas Jaeger <aj@suse.de>
23398
23399 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23400
23401 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23402 Ian Lance Taylor <iant@google.com>
23403
23404 * math/libm-test.inc (lround_test): New testcase.
23405 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23406
23407 2011-09-08 Ulrich Drepper <drepper@gmail.com>
23408
23409 * Makefile: Remove support for automatic cvs check-ins.
23410 * Makerules: Likewise.
23411 * config.make.in: Likewise.
23412 * configure.in: Likewise.
23413 * intl/Makefile: Likewise.
23414 * locale/Makefile: Likewise.
23415 * po/Makefile: Likewise.
23416 * posix/Makefile: Likewise.
23417 * sysdeps/gnu/Makefile: Likewise.
23418 * sysdeps/mach/hurd/Makefile: Likewise.
23419 * sysdeps/sparc/sparc32/Makefile: Likewise.
23420
23421 [BZ #13118]
23422 * posix/Makefile (bug-regex32-ENV): Define.
23423 Patch by John Stanley <jpsinthemix@verizon.net>.
23424
23425 * misc/Makefile (headers): Add bits/select2.h.
23426 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23427 * misc/bits/select2.h: New file.
23428 * include/bits/select2.h: New file.
23429 * debug/Makefile (routines): Add fdelt_chk.
23430 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23431 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23432 FD_ISSET.
23433 * debug/fdelt_chk.c: New file.
23434
23435 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23436 * wcsmbs/test-wmemcmp.c: Likewise.
23437 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23438 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23439
23440 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23441
23442 * string/Makefile (strop-tests): Add memcmp.
23443 * string/test-wmemcmp.c: New file.
23444 * string/test-memcmp.c: Add wmemcmp support.
23445
23446 2011-09-08 Roland McGrath <roland@hack.frob.com>
23447
23448 [BZ #13153]
23449 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23450 2011-07-19 change.
23451
23452 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23453 garbage value in a __mach_port_mod_refs call in the cases of the
23454 task-self and thread-self ports.
23455
23456 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23457
23458 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23459
23460 2011-09-08 Andreas Schwab <schwab@redhat.com>
23461
23462 * elf/dl-load.c (lose): Check for non-null L.
23463
23464 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23465
23466 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23467
23468 * elf/dl-libc.c (dlerror_run): Pass back error code from
23469 dl_catch_error.
23470
23471 [BZ #13123]
23472 * elf/dl-load.c (lose): Free l_origin if it is valid.
23473
23474 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23475 names.
23476 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23477 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23479 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23480 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23481 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23482
23483 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23484
23485 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23486 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23487 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23488 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23489 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23490 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23491 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23492 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23493 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23494 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23495
23496 2011-08-15 Alan Modra <amodra@gmail.com>
23497
23498 [BZ #13092]
23499 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23500 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23501 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23502 ppc_mcount to static-only-routines.
23503 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23504 __mcount_internal.
23505 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23506 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23507
23508 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23509
23510 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23511 for finite and infinity parameters.
23512
23513 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23514
23515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23516 and add nop instructions for throughput optimization.
23517 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23518
23519 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23520
23521 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23522 aligned copy for power7 with vector-scalar instructions.
23523 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23524
23525 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23526
23527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23528 AVX check.
23529
23530 2011-09-07 Andreas Schwab <schwab@redhat.com>
23531
23532 [BZ #13144]
23533 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23534 last change.
23535
23536 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23537
23538 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23539 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23540 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23541 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23542 clock_gettime.
23543
23544 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23545
23546 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23547 Forgot to demangle the pointer.
23548
23549 * sysdeps/i386/sysdep.h: Define atom_text_section.
23550 * sysdeps/x86_64/sysdep.h: Likewise.
23551 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23552 section with atom_text_section.
23553 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23554 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23555 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23556 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23557 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23558
23559 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23560 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23561 already be defined. Change to take two parameters and don't assign
23562 result to variable. Adjust all users.
23563 Define INTERNAL_GETTIME if not already defined.
23564 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23565 call.
23566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23567 HAVE_CLOCK_GETTIME_VSYSCALL.
23568 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23569
23570 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23571 gettimeofday vsyscall, just use time.
23572
23573 2011-09-06 Andreas Schwab <schwab@redhat.com>
23574
23575 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23576 <errno.h>.
23577
23578 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23579
23580 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23581 syscall on x86-64.
23582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23583 syscall.
23584 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23585 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23586 syscall if possible.
23587
23588 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23589
23590 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23591 e_ident. Don't pass to find_mapsXX.
23592 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23593
23594 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23595
23596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23597 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23598 * sysdeps/x86_64/multiarch/strchr.S: Update.
23599 Check bit_slow_BSF bit.
23600 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23601 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23602 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23603
23604 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23605
23606 [BZ #13134]
23607 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23608 before glibc 2.15.
23609 (tryshell): Define.
23610 (__spawni): Change last parameter to be flag. Test
23611 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23612 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23613 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23614 * posix/spawni.c: Likewise.
23615 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23616 * posix/spawnp.c: Likewise. Change normal version to use
23617 SPAWN_XFLAGS_USE_PATH.
23618 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23619 SPAWN_XFLAGS_TRY_SHELL.
23620
23621 [BZ #13150]
23622 * posix/glob.h: Remove gcc 1.x support.
23623
23624 [BZ #13068]
23625 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23626
23627 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23628
23629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23630 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23631 strrchr-sse2-bsf
23632 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23633 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23634 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23635 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23636 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23637 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23638
23639 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23640
23641 * sysdeps/x86_64/wcscmp.S: New file.
23642
23643 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23644 wcscmp-c wcscmp-sse2
23645 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23646 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23647 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23648 * wcsmbs/wcscmp.c: Allow renaming.
23649
23650 2011-09-05 David S. Miller <davem@davemloft.net>
23651
23652 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23653 stack slot, rather than the struct return pointer slot.
23654 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23655 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23657 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23658
23659 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23660
23661 * po/ja.po: Update from translation team.
23662
23663 [BZ #13144]
23664 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23665 kernel in 64-bit binaries.
23666
23667 2011-09-01 David S. Miller <davem@davemloft.net>
23668
23669 * elf/elf.h (HWCAP_SPARC_*): Move to..
23670 * sysdeps/sparc/sysdep.h: this new file and add new values.
23671 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23672 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23673 _DL_HWCAP_COUNT to 24.
23674 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23675 entries.
23676 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23677 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23678 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23680 instead of magic constants.
23681 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23682
23683 2011-08-31 David S. Miller <davem@davemloft.net>
23684
23685 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23687 Reimplement to do errno handling inline.
23688 (SYSCALL_ERROR_HANDLER): New macro.
23689 (__SYSCALL_STRING): Do not do errno handling in asm.
23690 (__CLONE_SYSCALL_STRING): Delete.
23691 (__INTERNAL_SYSCALL_STRING): Delete.
23692 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23693 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23694 (PSEUDO): Reimplement to do errno handling inline.
23695 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23696 (SYSCALL_ERROR_HANDLER): New macro.
23697 (__SYSCALL_STRING): Do not do errno handling in asm.
23698 (__CLONE_SYSCALL_STRING): Delete.
23699 (__INTERNAL_SYSCALL_STRING): Delete.
23700 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23701 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23702 i386.
23703 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23704 (inline_syscall*): Add 'err' argument.
23705 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23706 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23707 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23708 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23709
23710 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23711 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23712
23713 2011-08-30 Andreas Schwab <schwab@redhat.com>
23714
23715 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23716
23717 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23718
23719 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23720 directive.
23721
23722 2011-08-24 David S. Miller <davem@davemloft.net>
23723
23724 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23725
23726 2011-08-24 Andreas Schwab <schwab@redhat.com>
23727
23728 * elf/Makefile: Add rules to build and run unload8 test.
23729 * elf/unload8.c: New file.
23730 * elf/unload8mod1.c: New file.
23731 * elf/unload8mod1x.c: New file.
23732 * elf/unload8mod2.c: New file.
23733 * elf/unload8mod3.c: New file.
23734
23735 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23736 it wasn't used.
23737
23738 2011-08-23 David S. Miller <davem@davemloft.net>
23739
23740 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23741 subtract stack bias.
23742 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23743 %sp not %fp in calculations.
23744 (_JMPBUF_UNWINDS_ADJ): Likewise.
23745
23746 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23747 (aio_suspend): Call it to force an exception region around the
23748 AIO_MISC_WAIT() invocation.
23749
23750 2011-08-23 Andreas Schwab <schwab@redhat.com>
23751
23752 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23753 backslash.
23754
23755 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23756
23757 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23758 protection macro.
23759 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23760 and <dl-machine.h>.
23761 (Elf64_FuncDesc): Remove.
23762
23763 2011-08-22 David S. Miller <davem@davemloft.net>
23764
23765 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23766 sigaltstack check, add missing cfi directives.
23767 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23768 missing cfi directives, and sigaltstack handling.
23769
23770 2011-08-16 Andreas Schwab <schwab@redhat.com>
23771
23772 [BZ #11724]
23773 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23774 object is seen twice.
23775 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23776
23777 * elf/Makefile (distribute): Add tst-initorder2.c.
23778 (tests): Add tst-initorder2.
23779 (modules-names): Add tst-initorder2a tst-initorder2b
23780 tst-initorder2c tst-initorder2d. Add rules to build them.
23781 ($(objpfx)tst-initorder2.out): New rule.
23782 * elf/tst-initorder2.c: New file.
23783 * elf/tst-initorder2.exp: New file.
23784
23785 2011-08-22 Andreas Schwab <schwab@redhat.com>
23786
23787 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23788
23789 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23790 dependencies back to end of function.
23791
23792 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23793 $(elfobjdir)/ld.so.
23794
23795 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23796
23797 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23798 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23799 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23800 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23801 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23802 of __vdso_gettimeofday.
23803 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23804 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23805 attribute_hidden.
23806 (_libc_vdso_platform_setup): Remove initialization of
23807 __vdso_gettimeofday and __vdso_time.
23808
23809 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23810
23811 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23812 and fgetc_unlocked.
23813 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23814 getc_unlocked.
23815
23816 * elf/dl-open.c (add_to_global): Report additions to the global scope
23817 for LD_DEBUG=scopes.
23818 (dl_open_worker): Also print scope of newly loaded dependencies.
23819 (_dl_show_scope): Indicate if there is no scope.
23820
23821 [BZ #13114]
23822 * stdio-common/Makefile (tests): Add bug24.
23823 * stdio-common/bug24.c: New file.
23824
23825 2011-08-19 Andreas Jaeger <aj@suse.de>
23826
23827 [BZ #13114]
23828 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23829 non-existant file when using close-on-exec mode.
23830
23831 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23832
23833 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23834 the very first instruction.
23835
23836 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23837 the CFI state in the end.
23838 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23839 inclusion of dl-trampoline.h.
23840 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23841
23842 2011-08-19 Andreas Schwab <schwab@redhat.com>
23843
23844 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23845 expectations for long double.
23846
23847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23848 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23849
23850 2011-08-14 David S. Miller <davem@davemloft.net>
23851
23852 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23853 artificual limit depends upon the system page size.
23854
23855 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23856
23857 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23858 * resolv/Makefile: Define CFLAGS-libresolv.
23859
23860 2011-08-17 Andreas Schwab <schwab@redhat.com>
23861
23862 * nss/makedb.c (compute_tables): Make variables used in nested
23863 function static.
23864
23865 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23866
23867 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23868 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23869 if buffer was too small.
23870
23871 * elf/pldd.c (main): Attach to all threads in the process.
23872 Rewrite /proc handling to use *at functions.
23873
23874 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23875
23876 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23877 specifies first scope to show.
23878 (dl_open_worker): Update callers. Move printing scope of new
23879 object to before the relocation.
23880 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23881 * sysdeps/generic/ldsodefs.h: Update declaration.
23882
23883 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23884 string for the scope number.
23885
23886 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23887
23888 * nscd/servicescache.c (cache_addserv): Make sure written is always
23889 initialized.
23890
23891 2011-08-14 Roland McGrath <roland@hack.frob.com>
23892
23893 * sysdeps/i386/i486/bits/atomic.h
23894 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23895 statement expression, so as to suppress "set but not used" warning.
23896 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23897
23898 * string/strncat.c (STRNCAT): Use prototype definition.
23899
23900 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23901 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23902 -Iprograms here.
23903 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23904 (localedef-modules): Add localedef.
23905 (locale-modules): Add locale.
23906
23907 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23908 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23909 to avoid a warning.
23910
23911 2011-08-14 David S. Miller <davem@davemloft.net>
23912
23913 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23914 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23915
23916 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23917
23918 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23919 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23920 * elf/rtld.c (dl_main): Set l_name of vDSO.
23921 Call _dl_show_scope when DL_DEBUG_SCOPES.
23922 (process_dl_debug): Recognize scopes flag and also set it for all.
23923 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23924 Declare _dl_show_scope.
23925
23926 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23927 (do_dlopen): Pass caller_dlopen to dl_open.
23928 (__libc_dlopen_mode): Initialize caller_dlopen.
23929
23930 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23931 of libc. Make tolower call locale-independent. Optimize a bit by
23932 using isdigit instead of isalnum.
23933 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23934
23935 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23936
23937 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23938 was a dependency or dynamically loaded.
23939
23940 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23941
23942 * intl/l10nflist.c: Allow architecture-specific pop function.
23943 * sysdeps/x86_64/l10nflist.c: New file.
23944
23945 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23946 classification.
23947
23948 2011-08-10 Andreas Schwab <schwab@redhat.com>
23949
23950 * include/dirent.h: Add libc_hidden_proto for scandirat and
23951 scandirat64. Don't declare __scandirat64.
23952 * dirent/scandirat.c: Add libc_hidden_def.
23953 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23954 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23955
23956 2011-08-10 David S. Miller <davem@davemloft.net>
23957
23958 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23959 enum.
23960 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23961 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23962 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23963
23964 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23965
23966 * Versions.def [libc]: Add GLIBC_2.15.
23967 * dirent/Makefile (routines): Add scandirat and scandirat64.
23968 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23969 GLIBC_2.15.
23970 * dirent/dirent.h: Declare scandirat and scandirat64.
23971 * dirent/scandirat.c: New file.
23972 * dirent/scandirat64.c: New file.
23973 * sysdeps/wordsize-64/scandirat.c: New file.
23974 * sysdeps/wordsize-64/scandirat64.c: New file.
23975 * dirent/opendir.c: Define opendirat.
23976 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23977 using scandirat.
23978 * dirent/scandir64.c: Adjust for scandir.c change.
23979 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23980 __scandirat64, and __scandir_cancel_handler.
23981 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23982 additional parameter and use openat instead of open (outside of ld.so).
23983 Add new __opendir as wrapper around __opendirat.
23984 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23985 here without requiring old scandirat implementation.
23986
23987 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23988
23989 * dirent/scandir.c (cancel_handler): Renamed to
23990 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23991 defined. Adjust users.
23992 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23993 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23994
23995 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23996
23997 * string/test-string.h (IMPL): Use __STRING to expand name and then
23998 stringify it.
23999
24000 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24001 of cleanups.
24002
24003 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24004
24005 * string/Makefile: Update.
24006 (strop-tests): Append strncat.
24007 * string/test-wcscmp.c: New file.
24008 New comprehensive test for wcscmp.
24009 * string/test-strcmp.c: Update.
24010 (WIDE): New define.
24011
24012 2011-07-22 Andreas Schwab <schwab@redhat.com>
24013
24014 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24015 line.
24016
24017 2011-07-26 Andreas Schwab <schwab@redhat.com>
24018
24019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24020 encoding to ACE if AI_IDN.
24021
24022 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24023
24024 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24025 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24026
24027 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24028
24029 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24030 Fix overflow bug in strncat.
24031 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24032
24033 * string/test-strncat.c: Update.
24034 Add new tests for checking overflow bugs.
24035
24036 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24037
24038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24039 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24040 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24041 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24042 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24043 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24044 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24045 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24046 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24047
24048 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24049 (USE_AS_STRCAT): Define.
24050 Add strcat and strncat support.
24051 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24052
24053 2011-07-25 Andreas Schwab <schwab@redhat.com>
24054
24055 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24056 __n bigger than INT_MAX+1.
24057 (__strncmp_g): Likewise.
24058
24059 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24060
24061 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24062 * libio/stido.h: Likewise.
24063
24064 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24065 (AF_NFC): Define.
24066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24067 (AF_NFC): Define.
24068
24069 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24070 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24071 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24072 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24073 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24074
24075 [BZ #13021]
24076 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24077 installed.
24078
24079 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24080 typo.
24081 (_dl_x86_64_save_sse): Likewise.
24082
24083 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24084
24085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24086 OSXSAVE.
24087 (_dl_x86_64_save_sse): Likewise.
24088
24089 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24090
24091 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24092
24093 2011-07-21 Andreas Schwab <schwab@redhat.com>
24094
24095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24096 change.
24097 (_dl_x86_64_save_sse): Use correct AVX check.
24098
24099 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24100
24101 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24102 bug in strncpy/strncat.
24103 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24104
24105 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24106
24107 * string/tester.c (test_strcat): Add tests for different alignments
24108 of source and destination.
24109 (test_strncat): Likewise.
24110
24111 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24112
24113 [BZ #12852]
24114 * posix/glob.c (glob): Check passed in values before using them in
24115 expressions to avoid some overflows.
24116 (glob_in_dir): Likewise.
24117
24118 [BZ #13007]
24119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24120 check for AVX enablement so that we don't crash with old kernels and
24121 new hardware.
24122 * elf/tst-audit4.c: Add same checks here.
24123 * elf/tst-audit6.c: Likewise.
24124
24125 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24126
24127 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24128
24129 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24130
24131 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24132
24133 * po/cs.po: Update from translation team.
24134 * po/bg.po: Likewise.
24135
24136 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24137
24138 * misc/sys/cdefs.h: Add support for const attribute.
24139 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24140 to gnu_dev_{major,minor,makedev} functions.
24141
24142 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24143
24144 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24145
24146 2011-07-20 Andreas Schwab <schwab@redhat.com>
24147
24148 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24149 strlen results.
24150
24151 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24152
24153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24154 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24155 register in order to avoid conflicts with the soft frame pointer
24156 being held in r11 when necessary.
24157 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24158 (INTERNAL_VSYSCALL_NCS): Likewise.
24159
24160 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24161
24162 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24163 * elf/dl-fini.c (_dl_fini): Adjust caller.
24164 * elf/dl-close.c (_dl_close_worker): Likewise.
24165 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24166
24167 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24168
24169 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24170 "aux_cache->nlibs < 0".
24171
24172 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24173 in the reload-count case.
24174
24175 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24176
24177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24178 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24179 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24180 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24181 * sysdeps/x86_64/multiarch/strcat.S: New file.
24182 * sysdeps/x86_64/multiarch/strncat.S: New file.
24183 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24184 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24185 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24186 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24187 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24188 (USE_AS_STRCAT): Define.
24189 Add strcat and strncat support.
24190 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24191 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24192 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24193 * string/strncat.c: Update.
24194 (USE_AS_STRNCAT): Define.
24195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24196 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24197 and i7.
24198 * sysdeps/x86_64/multiarch/init-arch.h
24199 (bit_Prefer_PMINUB_for_stringop): New.
24200 (index_Prefer_PMINUB_for_stringop): Likewise.
24201 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24202 bit_Prefer_PMINUB_for_stringop.
24203
24204 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24205
24206 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24207 buffer64.
24208 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24209 of casting of buffer.
24210 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24211 buffer32 and buffer64.
24212 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24213 writes instead of casting of buffer.
24214 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24215 buffer32.
24216 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24217 casting of buffer.
24218
24219 2011-07-19 Andreas Schwab <schwab@redhat.com>
24220
24221 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24222
24223 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24224
24225 * nscd/nscd.c (termination_handler): Don't do anything for a database
24226 if it has not yet been initialized.
24227
24228 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24229
24230 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24231
24232 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24233
24234 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24235
24236 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24237
24238 * po/nl.po: Update from translation team.
24239 * po/sv.po: Likewise.
24240
24241 2011-07-16 Roland McGrath <roland@hack.frob.com>
24242
24243 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24244 now disallowed by GCC.
24245
24246 * configure.in (use-default-link): Default to yes if a test -shared
24247 link meets our qualifications.
24248 * configure: Regenerated.
24249
24250 * config.make.in (output-format): New variable.
24251 * configure.in: Check for ld --print-output-format support.
24252 * configure: Regenerated.
24253 * Makerules ($(common-objpfx)format.lds)
24254 [$(output-format) != unknown]: Just use $(output-format),
24255 instead of the linker-script munging.
24256
24257 2011-07-14 Roland McGrath <roland@hack.frob.com>
24258
24259 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24260 of $(common-objpfx)shlib.lds.
24261 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24262
24263 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24264 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24265
24266 * configure.in (-z relro check): Adjust test code to add a large
24267 writable data section after it.
24268 * configure: Regenerated.
24269
24270 2011-07-11 Roland McGrath <roland@hack.frob.com>
24271
24272 * configure.in (-z relro check): Fix test code to make the variable
24273 truly const.
24274 * configure: Regenerated.
24275
24276 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24277
24278 * nscd/nscd.h (struct traced_file): Define.
24279 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24280 elements. Add traced_files.
24281 (inotify_fd): Declare.
24282 (register_traced_file): Declare.
24283 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24284 (inotify_fd): Export.
24285 (resolv_conf_descr): Remove.
24286 (nscd_init): Move inotify descriptor creation to main.
24287 Don't register files for notification here.
24288 (register_traced_file): New function.
24289 (invalidate_cache): Don't use reset_res to determine whether to call
24290 res_init, go through the list of registered files.
24291 (main_loop_poll): The inotify descriptors are now stored in the
24292 structures for the traced files.
24293 (main_loop_epoll): Likewise
24294 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24295 to __nss_disable_nscd.
24296 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24297 for a database anymore. Check the records for all the registered
24298 files instead.
24299 * nss/Makefile (libnss_files-routines): Add files-init.
24300 (libnss_db-routines): Add db-init.
24301 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24302 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24303 * nss/nss_db/db-init.c: New file.
24304 * nss/nss_files/files-init.c: New file.
24305 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24306 __nss_lookup_function.
24307 (__nss_lookup_function): Call nss_load_library.
24308 (nss_load_all_libraries): New function.
24309 (__nss_disable_nscd): Take parameter with callback function for files
24310 to register. Set is_nscd. Load all the DSOs for the NSS modules
24311 used for the cached services.
24312 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24313 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24314 options for features to all the files in nscd.
24315
24316 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24317
24318 2011-07-10 Roland McGrath <roland@hack.frob.com>
24319
24320 * csu/elf-init.c (__libc_csu_init): Comment typo.
24321
24322 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24323
24324 * po/pl.po: Update from translation team.
24325 * po/ja.po: Likewise.
24326 * po/ru.po: Likewise.
24327 * po/ko.po: Likewise.
24328 * po/fr.po: Likewise.
24329
24330 2011-07-09 Roland McGrath <roland@hack.frob.com>
24331
24332 * configure.in (.ctors/.dtors header and trailer check):
24333 Use an empirical test on a built program.
24334 * configure: Regenerated.
24335
24336 * configure.in (-z relro check): Use an empirical test on a built DSO.
24337 Detect, but do not require, on ia64.
24338 * configure: Regenerated.
24339
24340 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24341 Update tests that use readelf to use $READELF instead.
24342 * configure: Regenerated.
24343
24344 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24345
24346 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24347 if the result is not used.
24348
24349 2011-07-05 Andreas Jaeger <aj@suse.de>
24350
24351 [BZ#9696]
24352 * stdlib/tst-strtod.c: Add testcase.
24353
24354 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24355
24356 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24357 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24358 The latter has a higher limit. Take additional parameter to pass to
24359 the new function.
24360 (__pathconf): Pass file to __statfs_link_max.
24361 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24362 __statfs_link_max.
24363 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24364 __statfs_link_max.
24365
24366 [BZ #12868]
24367 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24368 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24369 Handle Lustre.
24370 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24371 (__statfs_filesize_max): Likewise.
24372 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24373
24374 2011-07-05 Andreas Jaeger <aj@suse.de>
24375
24376 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24377
24378 2011-07-06 Marek Polacek <mpolacek@redhat.com>
24379
24380 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24381 `status' variable.
24382 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24383 Likewise.
24384
24385 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24386
24387 * Makefile (strop-tests): Add strncat.
24388 * string/test-strncat.c: New file.
24389
24390 2011-06-30 Marek Polacek <mpolacek@redhat.com>
24391
24392 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24393
24394 2011-06-21 Andreas Jaeger <aj@suse.de>
24395
24396 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24397 Copy rule from iconvdata/Makefile.
24398
24399 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24400
24401 [BZ #12922]
24402 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24403 but no long options are defined, just return 'W'.
24404
24405 2011-06-22 Marek Polacek <mpolacek@redhat.com>
24406
24407 [BZ #9696]
24408 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24409
24410 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24411
24412 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24413 netgroups to read.
24414 (innetgr): Likewise.
24415
24416 2011-07-05 Roland McGrath <roland@hack.frob.com>
24417
24418 * config.make.in (install_root): Default to $(DESTDIR).
24419
24420 2011-07-05 Ulrich Drepper <drepper@gmail.com>
24421
24422 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24423
24424 2011-07-02 Roland McGrath <roland@hack.frob.com>
24425
24426 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24427
24428 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24429 containing directory rather than embedding absolute directory names.
24430
24431 * scripts/check-local-headers.sh: Rewritten using awk.
24432 Match by word, not by line. Print error messages for matches.
24433 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24434
24435 * Makerules [shlib-lds-flags empty]:
24436 ($(common-objpfx)libc_pic.opts): New target.
24437 ($(common-objpfx)libc_pic.os.clean): New target.
24438 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24439
24440 * config.make.in (OBJCOPY): New variable.
24441 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24442 * configure: Regenerated.
24443
24444 * config.make.in (use-default-link): New variable.
24445 * configure.in (use_default_link): Grok --with-default-link to set it.
24446 * configure: Regenerated.
24447 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24448 (shlib-lds, shlib-lds-flags): Define to empty.
24449
24450 * Makerules (shlib-lds): New variable.
24451 (shlib-lds-flags): New variable.
24452 (build-shlib, build-moduile, build-module-asneeded): Use it.
24453 ($(common-objpfx)libc.so): Use $(shlib-lds).
24454 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24455 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24456
24457 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24458 DT_FLAGS/DT_FLAGS_1 with zero flags.
24459
24460 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24461 linker script munging.
24462
24463 2011-07-02 Ulrich Drepper <drepper@gmail.com>
24464
24465 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24466 as 128-bit value.
24467 * crypt/sha512.c (sha512_process_block): Perform total addition using
24468 128-bit if possible.
24469 (__sha512_finish_ctx): Likewise.
24470 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24471 as 64-bit value.
24472 * crypt/sha256.c (SWAP64): Define.
24473 (sha256_process_block): Perform total addition using 64-bit if
24474 possible.
24475 (__sha256_finish_ctx): Likewise.
24476
24477 2011-07-01 Ulrich Drepper <drepper@gmail.com>
24478
24479 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24481 * nscd/hstcache.c (cache_addhst): Likewise.
24482 * nscd/grpcache.c (cache_addgr): Likewise.
24483 * nscd/aicache.c (addhstaiX): Likewise
24484 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24485
24486 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
24487
24488 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24489 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24490 * nscd/hstcache.c (cache_addhst): Likewise.
24491 * nscd/grpcache.c (cache_addgr): Likewise.
24492 * nscd/aicache.c (addhstaiX): Likewise
24493
24494 2011-07-01 Andreas Schwab <schwab@redhat.com>
24495
24496 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24497 domain only when needed.
24498
24499 2011-06-30 Andreas Schwab <schwab@redhat.com>
24500
24501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24502 is always restored.
24503
24504 2011-06-29 Ulrich Drepper <drepper@gmail.com>
24505
24506 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24507 are re-adding the entry.
24508 * nscd/servicescache.c (cache_addserv): Likewise.
24509
24510 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24511
24512 * sysdeps/generic/dl-irel.h: fix protection against multiple
24513 inclusions.
24514 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24515
24516 2011-06-28 Ulrich Drepper <drepper@gmail.com>
24517
24518 [BZ #12935]
24519 * malloc/memusage.sh: Fix quoting in message.
24520 * debug/xtrace.sh: Likewise.
24521
24522 * configure.in: Remove support for --experimental-malloc option, make
24523 it the default.
24524 * config.make.in: Likewise.
24525 * malloc/Makefile: Likewise.
24526
24527 2011-06-27 Andreas Schwab <schwab@redhat.com>
24528
24529 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24530 two-byte characters.
24531
24532 2011-06-27 Roland McGrath <roland@hack.frob.com>
24533
24534 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24535 AC_CACHE_CHECK invocation.
24536 * configure: Regenerated.
24537
24538 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24539
24540 2011-06-27 Ulrich Drepper <drepper@gmail.com>
24541
24542 [BZ #12350]
24543 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24544 bit from old_res_options.
24545
24546 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24547
24548 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24549 value type for setfct.
24550
24551 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24552
24553 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24554 __gettimeofday instead of gettimeofday.
24555
24556 2011-06-26 Ulrich Drepper <drepper@gmail.com>
24557
24558 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24559
24560 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24561
24562 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24563
24564 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24565 info.
24566
24567 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24568
24569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24570 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24571 strcpy-sse2-unaligned strncpy-sse2-unaligned
24572 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24573 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24574 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24575 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24576 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24577 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24578 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24579 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24580 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24581 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24582 (STRCPY): Support SSE2 and SSSE3 versions.
24583
24584 2011-06-24 Ulrich Drepper <drepper@gmail.com>
24585
24586 [BZ #12874]
24587 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24588 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24589 kernels which artificially limit size of requests.
24590
24591 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24592
24593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24594 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24595 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24596 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24597 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24598 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24599 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24600 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24601 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24602 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24603 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24604 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24605 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24606 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24607 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24609 Enable unaligned load optimization for Intel Core i3, i5 and i7
24610 processors.
24611 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24612 Define.
24613 (index_Fast_Unaligned_Load): Define.
24614 (HAS_FAST_UNALIGNED_LOAD): Define.
24615
24616 2011-06-23 Marek Polacek <mpolacek@redhat.com>
24617
24618 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24619
24620 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24621
24622 [BZ #12907]
24623 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24624 until it is clear that the information is realy needed.
24625 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24626
24627 2011-06-22 Andreas Schwab <schwab@redhat.com>
24628
24629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24630
24631 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24632
24633 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24634 /sys/devices/system/cpu/online if it is usable.
24635
24636 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24637 reading the information from the /proc filesystem to once a second.
24638
24639 2011-06-21 Andreas Jaeger <aj@suse.de>
24640
24641 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24642 NULL after inclusion of kernel headers.
24643
24644 2011-06-21 Ulrich Drepper <drepper@gmail.com>
24645
24646 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24647 calls to internal_setent.
24648
24649 [BZ #12885]
24650 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24651 addresses using gethostbyname4_r ignore IPv4 addresses.
24652
24653 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24654 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24655
24656 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24657
24658 2011-06-20 David S. Miller <davem@davemloft.net>
24659
24660 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24661 inclusions.
24662 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24663
24664 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24665 (elf_irel): Use it.
24666 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24667 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24668 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24669 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24670 * sysdeps/x86_64/dl-irel.h: Likewise.
24671
24672 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24673 * elf/dl-sym.c: Likewise.
24674
24675 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24676
24677 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24678 need to dereference resplen2.
24679
24680 2011-06-14 Andreas Schwab <schwab@redhat.com>
24681
24682 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24683
24684 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24685
24686 * Makeconfig: Define vardbdir and inst_vardbdir.
24687 * nss/Makefile: Add rules to install db-Makefile.
24688
24689 * nss/nss_db/db-XXX.c: Cleanup.
24690
24691 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24692 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24693 GLIBC_PRIVATE.
24694 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24695 * nss/makedb.c: Implement -g option to specify that value strings
24696 are generated and should not be added to table iterated over for
24697 get*ent calls.
24698 * nss/nss_db/db-initgroups.c: New file.
24699
24700 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24701 interface.
24702
24703 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24704 (internal_getgrouplist): Adjust to name change.
24705 Update use_initgroups_entry if this is not the first call.
24706 * nss/databases.def: Add initgroups entry.
24707
24708 * nss/makedb.c (compute_tables): Check result of multiple hash table
24709 sizes to minimize maximum chain length.
24710
24711 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24712
24713 * Versions.def: Add entry for libnss_db.
24714 * shlib-versions: Likewise.
24715 * nss/Makefile: Add rules to build libnss_db.
24716 * nss/Versions: Add libnss_db information. Organize libnss_files
24717 entries better.
24718 * nss/db-Makefile: Add gshadow support. Change rules for the new
24719 makedb progra. Some minor improvements to generate smaller files.
24720 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24721 here from...
24722 * nss/makedb.c: ...here.
24723 Improve database format to be smaller and require less memory at
24724 runtime.
24725 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24726 db anymore.
24727 * nss/nss_db/db-netgrp.c: Likewise.
24728 * nss/nss_db/db-open.c: Likewise.
24729 * nss/nss_files/flies-XXX.x: Adjust comments.
24730 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24731 * nss/nss_files/files-grp.c: Likewise.
24732 * nss/nss_files/files-hosts.c: Likewise.
24733 * nss/nss_files/files-network.c: Likewise.
24734 * nss/nss_files/files-proto.c: Likewise.
24735 * nss/nss_files/files-pwd.c: Likewise.
24736 * nss/nss_files/files-rpc.c: Likewise.
24737 * nss/nss_files/files-service.c: Likewise.
24738 * nss/nss_files/files-sgrp.c: Likewise.
24739 * nss/nss_files/files-spwd.c: Likewise.
24740 * nss/nss_db/db-alias.c: Removed.
24741 * nss/nss_db/dummy-db.h: Removed.
24742
24743 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24744
24745 * nss/makedb.c: Rewritten to not use database library.
24746 * nss/Makefile: Update to build new makedb program.
24747
24748 2011-06-14 Andreas Jaeger <aj@suse.de>
24749
24750 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24751 memset declaration.
24752
24753 2011-06-10 Andreas Schwab <schwab@redhat.com>
24754
24755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24756 tmpbuf.
24757
24758 2011-06-10 Roland McGrath <roland@hack.frob.com>
24759
24760 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24761 * elf/Makefile ($(objpfx)ld.so): Likewise.
24762
24763 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24764 Don't list ld.so twice in dependencies.
24765
24766 * posix/bug-regex31.c: Include <stdlib.h>.
24767
24768 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24769
24770 * nis/nss_compat/compat-spwd.c
24771 (getspent_next_nss_netgr): Remove unused variable.
24772 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24773
24774 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24775 nonmembers" output to use the right array.
24776
24777 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24778
24779 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24780
24781 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24782 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24783 * catgets/gencat.c (read_input_file): Likewise.
24784 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24785
24786 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24787 variable definition inside #if's controlling its use.
24788
24789 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24790
24791 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24792
24793 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24794
24795 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24796 unreachable code.
24797
24798 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24799
24800 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24801 * configure: Regenerated.
24802
24803 * Makerules: Revert last change.
24804 * elf/Makefile: Likewise.
24805
24806 2011-06-09 Roland McGrath <roland@hack.frob.com>
24807
24808 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24809 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24810 (reloc-link): Likewise.
24811
24812 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24813
24814 * elf/Makefile: Add rules to build pldd.
24815 * elf/pldd.c: New file.
24816 * elf/pldd-xx.c: New file.
24817
24818 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24819
24820 * version.h: Update for 2.15 development version.
24821
24822 2011-06-07 David S. Miller <davem@davemloft.net>
24823
24824 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24825 ifuncs.
24826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24827 elf_machine_lazy_rel): Likewise.
24828 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24829 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24830 elf_machine_lazy_rel): Likewise.
24831 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24832 dl_hwcap via passed in argument.
24833 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24834 Likewise.
24835
24836 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24837
24838 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24839
24840 2011-06-06 Roland McGrath <roland@hack.frob.com>
24841
24842 [BZ #12849]
24843 * manual/fdl-1.1.texi: New file, verbatim from:
24844 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24845 * manual/lgpl-2.1.texi: New file, verbatim from:
24846 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24847 * manual/Makefile (licenses): New variable, list those new file names.
24848 (texis): Use it.
24849 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24850
24851 * manual/fdl.texi: File removed.
24852 * manual/lesser.texi: File removed.
24853 * manual/libc.texinfo (Copying, Documentation License):
24854 Use new @include file names, put @appendix directive before @include.
24855
24856 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24857
24858 [BZ #12841]
24859 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24860 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24861 (mq_open): Add __NTH.
24862
24863 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24864
24865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24866 Assume Intel Core i3/i5/i7 processor if AVX is available.
24867
24868 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24869
24870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24871 typo.
24872
24873 2011-05-31 Andreas Schwab <schwab@redhat.com>
24874
24875 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24876 memory. Use alloca_account. Fix memory leak when retrying.
24877
24878 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24879
24880 * version.h (RELEASE): Bump for 2.14 release.
24881 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24882
24883 * config.make.in (RANLIB): Remove entry.
24884
24885 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24886
24887 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24888 (libc.pot): Work around missing support for .ksh extension in xgettext.
24889
24890 [BZ #12684]
24891 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24892 if both request failed.
24893 (send_dg): In case of server errors clear resplen or *resplen2.
24894
24895 [BZ #12454]
24896 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24897 when there are multiple maps.
24898 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24899 (_dl_fini): Remove test here.
24900
24901 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24902
24903 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24904
24905 [BZ #12350]
24906 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24907 bit from old_res_options.
24908 (gaih_inet): Likewise.
24909
24910 [BZ #11099]
24911 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24912 as signed.
24913
24914 * resolv/res_init.c (res_setoptions): Make the code more compact.
24915
24916 [BZ #11558]
24917 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24918 set RES_USEVC.
24919
24920 [BZ #11634]
24921 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24922
24923 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24924
24925 [BZ #11781]
24926 * malloc/malloc.h: Declare malloc hook variables as volatile.
24927
24928 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24929 in last patch.
24930
24931 [BZ #11799]
24932 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24933 raise in the comment.
24934 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24935 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24936 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24937
24938 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24939
24940 [BZ #12811]
24941 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24942 grow the buffers more if it already has to be sufficient.
24943 (build_wcs_upper_buffer): Likewise.
24944 * posix/regexec.c (check_matching): Likewise.
24945 (clean_state_log_if_needed): Likewise.
24946 (extend_buffers): Don't enlarge buffers beyond size of the input
24947 buffer.
24948 Patches mostly by Emil Wojak <emil@wojak.eu>.
24949 * posix/bug-regex32.c: New file.
24950 * posix/Makefile (tests): Add bug-regex32.
24951
24952 * locale/findlocale.c (_nl_find_locale): Return right away if
24953 _nl_explode_name failed.
24954 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24955
24956 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24957
24958 * debug/xtrace.sh: Unify messages.
24959 * malloc/memusage.sh: Likewise.
24960
24961 [BZ #12813]
24962 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24963 time symbol from vDSO. Substitute with vsyscall if not available.
24964 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24965 __vdso_time.
24966
24967 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24968 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24969 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24970 Add sendmmsg and internal_sendmmsg.
24971 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24972 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24973 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24974
24975 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24976 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24977 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24978
24979 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24980
24981 [BZ #12813]
24982 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24983 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24984 available.
24985 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24986 __vdso_getcpu.
24987
24988 [BZ #12814]
24989 * iconvdata/Makefile (tests): Add bug-iconv9.
24990 * iconvdata/bug-iconv9.c: New file.
24991
24992 2011-05-27 Andreas Schwab <schwab@redhat.com>
24993
24994 [BZ #12814]
24995 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24996
24997 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24998
24999 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25000 (struct user_regs_struct): Change intcs field back to cs.
25001
25002 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25003
25004 * po/ja.po: Update from translation team.
25005
25006 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25007
25008 [BZ #12795]
25009 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25010 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25011
25012 2011-05-20 Andreas Schwab <schwab@redhat.com>
25013
25014 * stdlib/longlong.h: Update from GCC.
25015
25016 2011-05-23 Andreas Schwab <schwab@redhat.com>
25017
25018 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25019 parameter name.
25020 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25021 Add parameter name.
25022 (__sysconf): Pass it down.
25023
25024 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25025
25026 [BZ #12671]
25027 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25028 some situations.
25029 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25030 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25031 add in in __libc_use_alloca calls. Adjust callers.
25032 (glob): Use malloc in some situations.
25033
25034 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25035 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25036 pltexit.
25037
25038 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25039
25040 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25041 and CLOCK_BOOTTIME_ALARM.
25042
25043 [BZ #12782]
25044 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25045 is returned.
25046
25047 * string/_strerror.c (__strerror_r): Print negative errors as signed
25048 numbers.
25049
25050 [BZ #12777]
25051 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25052 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25053 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25054
25055 * configure.in: Fix typo in redirection and correct removal of test
25056 files in two cases.
25057
25058 [BZ #12788]
25059 * locale/setlocale.c (new_composite_name): Fix test to check for
25060 identical name of all categories.
25061
25062 [BZ #12792]
25063 * libio/filedoalloc.c (local_isatty): New function.
25064 (_IO_file_doallocate): Use local_isatty.
25065 * stdio-common/perror.c (perror): In case a new stream is used
25066 forward the stream error.
25067 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25068 error flag.
25069
25070 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25071
25072 [BZ #11869]
25073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25074 alloca.
25075 * include/alloca.h (extend_alloca_account): Define.
25076
25077 [BZ #11857]
25078 * posix/regex.h: Fix comments with documentation of user-accessible
25079 fields after compilation and describe correct free'ing of pattern
25080 after re_compile_pattern.
25081 Patch by Reuben Thomas <rrt@sc3d.org>.
25082
25083 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25084
25085 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25086 and -mno-altivec to prevent the compiler from using Altivec and/or
25087 VSX instructions when the corresponding registers are not available.
25088
25089 2011-05-19 Andreas Schwab <schwab@redhat.com>
25090
25091 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25092
25093 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25094
25095 * libio/freopen.c (freopen): Use __dup2, not dup2.
25096 * libio/freopen64.c (freopen64): Likewise.
25097
25098 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25099
25100 [BZ #12775]
25101 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25102 * math/Makefile (tests): Add test-powl.
25103 (CFLAGS-test-powl.c): Define.
25104 * math/test-powl.c: New file.
25105
25106 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25107
25108 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25109
25110 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25111
25112 [BZ #11837]
25113 * iconvdata/gb18030.c: Update to GB18020-2005.
25114
25115 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25116
25117 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25118 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25119 Patch by Aharon Robbins <arnold@skeeve.com>.
25120
25121 [BZ #11892]
25122 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25123 on the stack.
25124
25125 [BZ #11895]
25126 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25127 through underflows.
25128
25129 [BZ #12766]
25130 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25131 point to strings before performing equality test for error_one_per_line
25132 mode.
25133
25134 [BZ #11697]
25135 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25136
25137 [BZ #11820]
25138 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25139 (struct user_fpregs_struct): Avoid __uint*_t types.
25140
25141 [BZ #6420]
25142 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25143 symbol info. Use it instead of calling _dl_addr locally.
25144 (lock_and_info): New function.
25145 (tr_freehook): Call lock_and_info and pass symbol info as additional
25146 parameter to tr_where.
25147 (tr_mallochook): Likewise.
25148 (tr_reallochook): Likewise.
25149 (tr_memalignhook): Likewise.
25150
25151 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25152 used and couldn't be at all thread-safe.
25153
25154 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25155
25156 * libio/freopen.c (freopen): Don't close old file descriptor
25157 before the new one is opened. Instead dup the new file descriptor
25158 to the old one after the new stream is created.
25159 * libio/freopen64.c (freopen64): Likewise.
25160 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25161 * libio/fileops.c (_IO_new_file_close_it): Handle new
25162 _IO_FLAGS2_NOCLOSE flag.
25163 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25164 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25165 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25166 _IO_FLAGS2_NOCLOSE flag.
25167 * include/unistd.h: Add hidden_proto for dup3.
25168 Define __have_dup3.
25169 * io/dup3.c: Define hidden symbol.
25170 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25171
25172 [BZ #7101]
25173 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25174 when an incomplete long option is used.
25175 * posix/tst-getopt_long1.c: New file.
25176 * posix/Makefile (tests): Add tst-getopt_long1.
25177
25178 [BZ #10138]
25179 * scripts/config.guess: Update from autoconf-2.68.
25180 * scripts/config.sub: Likewise.
25181
25182 [BZ #10157]
25183 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25184 tests into ...
25185 (has_cpuclock): ...this. New function.
25186 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25187 macro here based on has_cpuclock code.
25188
25189 [BZ #10149]
25190 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25191 First byte (not low byte) is now always NUL.
25192 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25193
25194 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25195 Use non-cancelable interfaces.
25196
25197 [BZ #9809]
25198 * locale/iso-639.def: Add entry for Sorani.
25199
25200 [BZ #11901]
25201 * include/stdlib.h: Move include protection to the right place.
25202 Define abort_msg_s. Declare __abort_msg with it.
25203 * stdlib/abort.c (__abort_msg): Adjust type.
25204 * assert/assert.c (__assert_fail_base): New function. Majority
25205 of code from __assert_fail. Allocate memory for __abort_msg with
25206 mmap.
25207 (__assert_fail): Now call __assert_fail_base.
25208 * assert/assert-perr.c: Remove bulk of implementation. Use
25209 __assert_fail_base.
25210 * include/assert.hL Declare __assert_fail_base.
25211 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25212 mmap.
25213 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25214
25215 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25216
25217 [BZ #11952]
25218 [BZ #12453]
25219 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25220 until all modules are registered in the DTV.
25221 * elf/Makefile: Add rules to build and run tst-tls19.
25222 * elf/tst-tls19.c: New file.
25223 * elf/tst-tls19mod1.c: New file.
25224 * elf/tst-tls19mod2.c: New file.
25225 * elf/tst-tls19mod3.c: New file.
25226 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25227
25228 [BZ #12083]
25229 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25230 correctly.
25231
25232 [BZ #12601]
25233 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25234 two-byte sequence errors.
25235 * iconvdata/Makefile (tests): Add bug-iconv8.
25236 * iconvdata/bug-iconv8.c: New file.
25237
25238 [BZ #12626]
25239 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25240 buf2 definition.
25241
25242 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25243
25244 [BZ #12432]
25245 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25246 (dummy_getcfa): New function.
25247 (init): Get _Unwind_GetCFA address, use dummy if not found.
25248 (backtrace_helper): In recursion check, also check whether CFA changes.
25249 (__backtrace): Completely initialize arg.
25250
25251 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25252 storing incomplete byte sequence in state object. Avoid testing for
25253 guaranteed too small input if we know there is enough data available.
25254
25255 2011-05-11 Andreas Schwab <schwab@redhat.com>
25256
25257 * Makeconfig (+link-pie): Indent.
25258 * Rules (binaries-pie): Define if $(have-fpie) and
25259 $(build-shared).
25260 (binaries-shared): Also filter out $(binaries-pie).
25261 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25262 * nscd/Makefile (others-pie): Add nscd.
25263 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25264 ($(objpfx)nscd): Remove command override.
25265 * login/Makefile (others-pie): Add pt_chown.
25266 ($(objpfx)pt_chown): Remove command override.
25267 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25268 remove command overrides.
25269
25270 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25271
25272 * libio/tst_putwc.c: Fix error messages.
25273
25274 [BZ #12724]
25275 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25276 currently writing and seek to current position when not.
25277 * libio/Makefile (tests): Add bug-fclose1.
25278 * libio/bug-fclose1.c: New file.
25279
25280 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25281
25282 [BZ #12511]
25283 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25284 don't set DF_1_NODELETE here.
25285 (do_lookup_x): When entering new entry test for copy relocation
25286 and if necessary set DF_1_NODELETE flag.
25287 * elf/tst-unique4.cc: New file.
25288 * elf/tst-unique4.h: New file.
25289 * elf/tst-unique4lib.cc: New file.
25290 * elf/Makefile: Add rules to build and run tst-unique4.
25291 Patch by Piotr Bury <pbury@goahead.com>.
25292
25293 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25294
25295 [BZ #12052]
25296 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25297
25298 [BZ #12625]
25299 * misc/mntent_r.c (addmntent): Flush the stream after the output
25300
25301 [BZ #12393]
25302 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25303 (is_trusted_path_normalize): Skip initial colon. Append slash
25304 to empty buffer. Duplicate is_trusted_path code but allow
25305 constructed patch to be prefix.
25306 (is_dst): Allow $ORIGIN followed by /.
25307 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25308 Correct testing of result of is_trusted_path_normalize
25309 (decompose_rpath): Fix warning.
25310
25311 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25312
25313 [BZ #11257]
25314 * grp/initgroups.c (internal_getgrouplist): When we found the service
25315 list through the initgroups entry in nsswitch.conf do not always
25316 continue on a successful lookup. Don't always use the
25317 __nss_group_database value if it is set.
25318 * nss/nsswitch.conf (initgroups): Change action for successful db
25319 lookup to continue for compatibility.
25320
25321 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25322
25323 [BZ #11532]
25324 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25325 and CP774 modules.
25326 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25327 and CP774 modules.
25328 * iconvdata/tst-tables.sh: Likewise.
25329 * iconvdata/cp770.c: New file.
25330 * iconvdata/cp771.c: New file.
25331 * iconvdata/cp772.c: New file.
25332 * iconvdata/cp773.c: New file.
25333 * iconvdata/cp774.c: New file.
25334 * iconvdata/testdata/CP770: New file.
25335 * iconvdata/testdata/CP770..UTF8: New file.
25336 * iconvdata/testdata/CP771: New file.
25337 * iconvdata/testdata/CP771..UTF8: New file.
25338 * iconvdata/testdata/CP772: New file.
25339 * iconvdata/testdata/CP772..UTF8: New file.
25340 * iconvdata/testdata/CP773: New file.
25341 * iconvdata/testdata/CP773..UTF8: New file.
25342 * iconvdata/testdata/CP774: New file.
25343 * iconvdata/testdata/CP774..UTF8: New file.
25344
25345 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25346 END CHARMAP line.
25347 * iconvdata/gen-8bit-gap.sh: Likewise.
25348 * iconvdata/gen-8bit.sh: Likewise.
25349
25350 * locale/iso-639.def: Add ary entry.
25351
25352 [BZ #11258]
25353 * locale/C-translit.h.in: Add U20A1 transliteration.
25354
25355 [BZ #12178]
25356 * locale/iso-639.def: Add wae entry.
25357 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25358
25359 [BZ #12545]
25360 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25361 for n.
25362
25363 [BZ #12711]
25364 * locale/C-translit.h.in: Add entry for U20B9.
25365 Patch by pravin.d.s@gmail.com.
25366
25367 2011-05-08 Ulrich Drepper <drepper@gmail.com>
25368
25369 [BZ #12713]
25370 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25371 ENAMETOOLONG use generic getcwd.
25372 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25373 in rtld. Use *stat64.
25374 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25375 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25376 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25377 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25378 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25379 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25380 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25381 __fstatat64 macros.
25382 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25383 * dirent/rewinddir.c: Add libc_hidden_def.
25384 * sysdeps/mach/hurd/rewinddir.c: Likewise.
25385 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
25386
25387 * include/dirent.h (__alloc_dir): Add flags parameter.
25388 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25389 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25390 __alloc_dir.
25391 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25392 from fdopendir if O_CLOEXEC is already set.
25393
25394 2011-03-15 Alan Modra <amodra@gmail.com>
25395
25396 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25397 l_tls_firstbyte_offset non-zero. Save padding offset in
25398 l_tls_firstbyte_offset for later use.
25399 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25400 freeing static tls block.
25401
25402 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25403
25404 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25405 where #ifdef was intended. The intent is to prevent ARG_MAX from
25406 being defined by the kernel headers.
25407
25408 2011-05-07 Ulrich Drepper <drepper@gmail.com>
25409
25410 [BZ #12734]
25411 * resolv/resolv.h: Define RES_NOTLDQUERY.
25412 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25413 no-tld-query and set RES_NOTLDQUERY.
25414 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25415 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25416 modern BIND to search name as TLD unless forbidden.
25417
25418 2011-05-07 Petr Baudis <pasky@suse.cz>
25419 Ulrich Drepper <drepper@gmail.com>
25420
25421 [BZ #12393]
25422 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25423 (is_trusted_path): ...to here.
25424 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25425 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25426 using is_trusted_path_normalize() in setuid scripts.
25427
25428 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25429
25430 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25431 __BEGIN/__END_DECLS.
25432
25433 2011-05-06 Ulrich Drepper <drepper@gmail.com>
25434
25435 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25436 NSS_STATUS_NOTFOUND if no record was found.
25437
25438 2011-05-05 Andreas Schwab <schwab@redhat.com>
25439
25440 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25441 (headers-not-in-tirpc): Remove rpc/netdb.h
25442 * resolv/netdb.h: Revert last change.
25443
25444 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25445
25446 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25447 circular dependency between libgcc.a and libc.a.
25448
25449 2011-05-05 Andreas Schwab <schwab@redhat.com>
25450
25451 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25452 * nis/Makefile: Don't install rpcsvc/*.
25453 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25454 instead of <rpc/types.h>.
25455 (MAXHOSTNAMELEN): Define.
25456
25457 2011-05-03 Andreas Schwab <schwab@redhat.com>
25458
25459 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25460
25461 2011-04-28 Maciej Babinski <mbabinski@google.com>
25462
25463 [BZ #12714]
25464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25465 gethostbyname4_r when IPv6 results are possible.
25466
25467 2011-05-02 Ulrich Drepper <drepper@gmail.com>
25468
25469 [BZ #12723]
25470 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25471 _PC_PIPE_BUF handling.
25472
25473 2011-04-30 Bruno Haible <bruno@clisp.org>
25474
25475 [BZ #12717]
25476 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25477 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25478 to 'int'.
25479 * inet/getnameinfo.c (getnameinfo): Likewise.
25480
25481 2011-04-29 Ulrich Drepper <drepper@gmail.com>
25482
25483 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25484 to groups setting in database lookup.
25485 * nss/nsswitch.conf: Add initgroups entry.
25486
25487 2011-04-22 Ulrich Drepper <drepper@gmail.com>
25488
25489 [BZ #12685]
25490 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25491 mode string.
25492 Patch by Eric Blake <eblake@redhat.com>.
25493
25494 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25495
25496 * sunrpc/Makefile (need-export-routines): Add svc_run.
25497 (routines): Remove svc_run.
25498 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25499 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25500 * sunrpc/svc_run.c (svc_run): Likewise.
25501 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25502
25503 2011-04-21 Ulrich Drepper <drepper@gmail.com>
25504
25505 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25506 problem in reallocation in last patch.
25507
25508 2011-04-20 Ulrich Drepper <drepper@gmail.com>
25509
25510 * sunrpc/Makefile: Move inclusion of Rules.
25511
25512 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25513
25514 * nss/nss_files/files-initgroups.c: New file.
25515 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25516 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25517 _nss_files_initgroups_dyn.
25518
25519 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25520
25521 * elf/elf.h (R_ARM_IRELATIVE): Define.
25522
25523 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25524
25525 * po/ru.po: Update from translation team.
25526
25527 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25528
25529 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25530 dependencies.
25531
25532 2011-02-06 Mike Frysinger <vapier@gentoo.org>
25533
25534 [BZ #12653]
25535 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25536 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25537 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25538 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25539 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25540
25541 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25542
25543 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25544 differing bytes.
25545 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25546 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25547 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25548
25549 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25550
25551 [BZ #12420]
25552 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25553 storing it.
25554 * stdlib/bug-getcontext.c: New file.
25555 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25556
25557 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25558
25559 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25560 instructions into .machine "z9-109".
25561 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25562 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25563
25564 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25565
25566 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25567 between environment variables and auxiliary vector.
25568
25569 2011-04-16 Ulrich Drepper <drepper@gmail.com>
25570
25571 * Makefile: Add rules to build linkobj/libc.so.
25572 * include/libc-symbols.h: Define libc_hidden_nolink.
25573 * include/rpc/auth.h: Mark functions which are to be hidden.
25574 * include/rpc/auth_des.h: Likewise.
25575 * include/rpc/auth_unix.h: Likewise.
25576 * include/rpc/clnt.h: Likewise.
25577 * include/rpc/des_crypt.h: Likewise.
25578 * include/rpc/key_prot.h: Likewise.
25579 * include/rpc/pmap_clnt.h: Likewise.
25580 * include/rpc/pmap_prot.h: Likewise.
25581 * include/rpc/pmap_rmt.h: Likewise.
25582 * include/rpc/rpc_msg.h: Likewise.
25583 * include/rpc/svc.h: Likewise.
25584 * include/rpc/svc_auth.h: Likewise.
25585 * include/rpc/xdr.h: Likewise.
25586 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25587 * nss/Makefile: Likewise.
25588 * sunrpc/Makefile: Don't install headers. Build library with normal
25589 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25590 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25591 for the compat linking library. Remove use of INTDEF/INTUSE.
25592 * sunrpc/auth_none.c: Likewise.
25593 * sunrpc/auth_unix.c: Likewise.
25594 * sunrpc/authdes_prot.c: Likewise.
25595 * sunrpc/authuxprot.c: Likewise.
25596 * sunrpc/clnt_gen.c: Likewise.
25597 * sunrpc/clnt_perr.c: Likewise.
25598 * sunrpc/clnt_raw.c: Likewise.
25599 * sunrpc/clnt_simp.c: Likewise.
25600 * sunrpc/clnt_tcp.c: Likewise.
25601 * sunrpc/clnt_udp.c: Likewise.
25602 * sunrpc/clnt_unix.c: Likewise.
25603 * sunrpc/des_crypt.c: Likewise.
25604 * sunrpc/des_soft.c: Likewise.
25605 * sunrpc/get_myaddr.c: Likewise.
25606 * sunrpc/key_call.c: Likewise.
25607 * sunrpc/key_prot.c: Likewise.
25608 * sunrpc/netname.c: Likewise.
25609 * sunrpc/pm_getmaps.c: Likewise.
25610 * sunrpc/pm_getport.c: Likewise.
25611 * sunrpc/pmap_clnt.c: Likewise.
25612 * sunrpc/pmap_prot.c: Likewise.
25613 * sunrpc/pmap_prot2.c: Likewise.
25614 * sunrpc/pmap_rmt.c: Likewise.
25615 * sunrpc/publickey.c: Likewise.
25616 * sunrpc/rpc_cmsg.c: Likewise.
25617 * sunrpc/rpc_common.c: Likewise.
25618 * sunrpc/rpc_dtable.c: Likewise.
25619 * sunrpc/rpc_prot.c: Likewise.
25620 * sunrpc/rpc_thread.c: Likewise.
25621 * sunrpc/rtime.c: Likewise.
25622 * sunrpc/svc.c: Likewise.
25623 * sunrpc/svc_auth.c: Likewise.
25624 * sunrpc/svc_authux.c: Likewise.
25625 * sunrpc/svc_raw.c: Likewise.
25626 * sunrpc/svc_run.c: Likewise.
25627 * sunrpc/svc_simple.c: Likewise.
25628 * sunrpc/svc_tcp.c: Likewise.
25629 * sunrpc/svc_udp.c: Likewise.
25630 * sunrpc/svc_unix.c: Likewise.
25631 * sunrpc/svcauth_des.c: Likewise.
25632 * sunrpc/xcrypt.c: Likewise.
25633 * sunrpc/xdr.c: Likewise.
25634 * sunrpc/xdr_array.c: Likewise.
25635 * sunrpc/xdr_float.c: Likewise.
25636 * sunrpc/xdr_intXX_t.c: Likewise.
25637 * sunrpc/xdr_mem.c: Likewise.
25638 * sunrpc/xdr_rec.c: Likewise.
25639 * sunrpc/xdr_ref.c: Likewise.
25640 * sunrpc/xdr_sizeof.c: Likewise.
25641 * sunrpc/xdr_stdio.c: Likewise.
25642
25643 2011-04-10 Ulrich Drepper <drepper@gmail.com>
25644
25645 [BZ #12650]
25646 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25647 * sysdeps/ia64/dl-tls.h: Likewise.
25648 * sysdeps/powerpc/dl-tls.h: Likewise.
25649 * sysdeps/s390/dl-tls.h: Likewise.
25650 * sysdeps/sh/dl-tls.h: Likewise.
25651 * sysdeps/sparc/dl-tls.h: Likewise.
25652 * sysdeps/x86_64/dl-tls.h: Likewise.
25653 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25654
25655 2011-03-14 Andreas Schwab <schwab@redhat.com>
25656
25657 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25658 rpath element also skip the following colon.
25659 (expand_dynamic_string_token): Add is_path parameter and pass
25660 down to DL_DST_REQUIRED and _dl_dst_substitute.
25661 (decompose_rpath): Call expand_dynamic_string_token with
25662 non-zero is_path. Ignore empty rpaths.
25663 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25664 with zero is_path.
25665
25666 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25667
25668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25669 Make cancelable.
25670
25671 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25672
25673 [BZ #12655]
25674 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25675 Patch by Filipe David Manana <fdmanana@apache.org>.
25676
25677 2011-04-07 Andreas Schwab <schwab@redhat.com>
25678
25679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25680 Maintain aligned stack.
25681 (CHECK_RSP): Remove unused macro.
25682
25683 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25684
25685 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25686 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25687
25688 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25689
25690 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25691
25692 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25693
25694 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25695
25696 [BZ #12518]
25697 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25698 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25699 * sysdeps/x86_64/memmove.c: New file.
25700 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25701 (memcpy): Renamed to ...
25702 (__new_memcpy): This.
25703 (memcpy): Provide GLIBC_2_14 memcpy.
25704 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25705 (memcpy): Provide GLIBC_2_2_5 memcpy.
25706
25707 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25708
25709 [BZ #12631]
25710 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25711
25712 2011-03-30 Andreas Schwab <schwab@redhat.com>
25713
25714 * misc/syncfs.c: New file.
25715 * misc/Makefile (routines): Add syncfs.
25716 * posix/unistd.h: Declare syncfs.
25717 * sysdeps/unix/syscalls.list: Add syncfs.
25718
25719 2011-04-01 Andreas Schwab <schwab@redhat.com>
25720
25721 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25722 open_by_handle_at.
25723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25724 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25726 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25727 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25728 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25729 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25730
25731 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25732
25733 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25734 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25735 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25737 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25739 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25740
25741 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25742 sync_file_range.c with -fexceptions.
25743 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25744 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25745 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25746 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25747 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25748 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25749 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25750 sync_file_range as cancellation point
25751 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25752 now a wrapper around __call_sync_file_range with cancellation handling.
25753 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25754 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25755 function name to __call_sync_file_range.
25756 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25757 Add call_sync_file_range.
25758
25759 2011-04-01 Andreas Schwab <schwab@redhat.com>
25760
25761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25762 bits/timex.h.
25763
25764 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25765
25766 * iconv/iconv.h: Fix typo in comment.
25767 * io/fcntl.h: Likewise.
25768 * libio/stdio.h: Likewise.
25769 * posix/spawn.h: Likewise.
25770 * posix/unistd.h: Likewise.
25771 * stdlib/stdlib.h: Likewise.
25772 * time/time.h: Likewise.
25773 * wcsmbs/wchar.h: Likewise.
25774
25775 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25776 open_by_handle): Add.
25777 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25778 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25779 Augment a few comments.
25780 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25782 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25784 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25785 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25786 open_by_handle.
25787
25788 * io/fcntl.h (AT_EMPTY_PATH): Define.
25789
25790 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25791
25792 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25793 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25794 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25795 to...
25796 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25797 * Versions.def: Add GLIBC_2.14.
25798 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25799 Export.
25800
25801 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25802
25803 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25804 round counter.
25805 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25806
25807 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25808
25809 [BZ #12597]
25810 * string/test-strncmp.c (do_page_test): New function.
25811 (check2): Likewise.
25812 (test_main): Call check2.
25813 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25814
25815 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25816
25817 [BZ #12587]
25818 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25819 Handle cache information in CPU leaf 4.
25820 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25821
25822 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25823
25824 [BZ #12583]
25825 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25826 character representation.
25827 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25828
25829 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25830
25831 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25832 END(__isnan) to END(__isnanf) to match function entry point/label
25833 EALIGN(__isnanf,...).
25834
25835 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25836
25837 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25838
25839 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25840
25841 [BZ #12510]
25842 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25843 copy from the symbol referenced in the relocation to initialize the
25844 used variable.
25845 Patch by Piotr Bury <pbury@goahead.com>.
25846 * elf/Makefile: Add rules to build and tst-unique3.
25847 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25848 * elf/tst-unique3.cc: New file.
25849 * elf/tst-unique3.h: New file.
25850 * elf/tst-unique3lib.cc: New file.
25851 * elf/tst-unique3lib2.cc: New file.
25852
25853 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25854
25855 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25856
25857 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25858 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25859 to _start.
25860
25861 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25862
25863 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25864 to-be-loaded object along a path to loader is ld.so.
25865
25866 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25867 Ulrich Drepper <drepper@gmail.com>
25868
25869 * sysdeps/x86_64/memset.S: After aligning destination, code
25870 branches to different locations depending on the value of
25871 misalignment, when multiarch is enabled. Fix this.
25872
25873 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25874
25875 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25876 Set _x86_64_preferred_memory_instruction for AMD processsors.
25877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25878 Set bit_Prefer_SSE_for_memop for AMD processors.
25879
25880 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25881
25882 * libio/fmemopen.c (fmemopen): Optimize a bit.
25883
25884 2011-03-03 Andreas Schwab <schwab@redhat.com>
25885
25886 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25887
25888 2011-03-03 Roland McGrath <roland@redhat.com>
25889
25890 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25891
25892 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25893
25894 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25895 __bzero_ultra1 instead of __memset_ultra1.
25896
25897 2011-02-23 Andreas Schwab <schwab@redhat.com>
25898 Ulrich Drepper <drepper@gmail.com>
25899
25900 [BZ #12509]
25901 * include/link.h (struct link_map): Add l_orig_initfini.
25902 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25903 returning unsuccessfully.
25904 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25905 close of a file loaded at startup, restore the original l_initfini
25906 list.
25907 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25908 list, store the pointer.
25909 * elf/Makefile ($(objpfx)noload-mem): New rule.
25910 (noload-ENV): Define.
25911 (tests): Add $(objpfx)noload-mem.
25912 * elf/noload.c: Include <memcheck.h>.
25913 (main): Call mtrace. Close all opened handles.
25914
25915 2011-02-17 Andreas Schwab <schwab@redhat.com>
25916
25917 [BZ #12454]
25918 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25919 dependencies are missing.
25920
25921 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25922
25923 Fix __if_freereq crash: Unlike the generic version which uses free,
25924 Hurd needs munmap.
25925 * sysdeps/mach/hurd/ifreq.h: New file.
25926
25927 2011-01-27 Petr Baudis <pasky@suse.cz>
25928 Ulrich Drepper <drepper@gmail.com>
25929
25930 [BZ 12445]#
25931 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25932 to extend_alloca().
25933 * stdio-common/bug23.c: New file.
25934 * stdio-common/Makefile (tests): Add bug23.
25935
25936 2010-09-28 Andreas Schwab <schwab@redhat.com>
25937 Ulrich Drepper <drepper@gmail.com>
25938
25939 [BZ #12489]
25940 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25941 before performing relro protection. At old place add assertion
25942 to make sure nothing changed.
25943
25944 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25945 Glauber de Oliveira Costa <glommer@gmail.com>
25946
25947 * elf/elf.h: Add new ARM TLS relocs.
25948
25949 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25950
25951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25952 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25953 cast from r3.
25954 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25955 'tests' variable.
25956 * sysdeps/wordsize-64/tst-writev.c: New file.
25957
25958 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25959
25960 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25961 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25962 insns in _dl_start to prevent a TOC reference before relocs are
25963 resolved.
25964
25965 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25966
25967 [BZ #12469]
25968 * Makeconfig: Remove RANLIB definition.
25969 * Makerules: Don't use RANLIB.
25970 * aclocal.m4: Remove ranlib test.
25971 * configure.in: No need to check for ranlib.
25972 * elf/rtld-Rules: Don't use RANLIB.
25973
25974 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25975
25976 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25977 protection macro.
25978 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25979 inclusion protection macro.
25980
25981 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25982 SIGRTMIN and SIGRTMAX and print information in that case only when
25983 SIGRTMIN is defined.
25984
25985 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25986
25987 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25988 arginfo fn returning -1.
25989
25990 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25991 and thousands string is zero terminated.
25992
25993 2011-02-03 Andreas Schwab <schwab@redhat.com>
25994
25995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25996 sysdeps/unix/sysv/linux/bits/socket.h.
25997
25998 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25999
26000 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26001 (__CPU_COUNT): Remove old macros.
26002 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26003 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26004 (__CPU_ALLOC, __CPU_FREE): Add macros.
26005 (__sched_cpualloc, __sched_cpufree): Add declarations.
26006
26007 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26008
26009 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26010 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26011 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26012 (readdhstai): Return value of addhstaiX call.
26013 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26014 (addgrbyX): Return value returned by cache_addgr.
26015 (readdgrbyname): Return value returned by addgrbyX.
26016 (readdgrbygid): Likewise.
26017 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26018 (addpwbyX): Return value returned by cache_addpw.
26019 (readdpwbyname): Return value returned by addhstbyX.
26020 (readdpwbyuid): Likewise.
26021 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26022 (addservbyX): Return value returned by cache_addserv.
26023 (readdservbyname): Return value returned by addservbyX:
26024 (readdservbyport): Likewise.
26025 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26026 (addhstbyX): Return value returned by cache_addhst.
26027 (readdhstbyname): Return value returned by addhstbyX.
26028 (readdhstbyaddr): Likewise.
26029 (readdhstbynamev6): Likewise.
26030 (readdhstbyaddrv6): Likewise.
26031 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26032 (readdinitgroups): Return value returned by addinitgroupsX.
26033 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26034 (prune_cache): Keep track of timeout value of re-added entries.
26035 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26036 * nscd/nscd.h: Adjust prototypes of readd* functions.
26037
26038 2011-02-04 Roland McGrath <roland@redhat.com>
26039
26040 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26041 (nis_stats): Likewise.
26042 * nis/nis_modify.c (nis_modify): Likewise.
26043 * nis/nis_remove.c (nis_remove): Likewise.
26044 * nis/nis_add.c (nis_add): Likewise.
26045
26046 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26047
26048 * posix/fnmatch_loop.c: Add some consts.
26049
26050 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26051
26052 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26053
26054 [BZ #12460]
26055 * config.make.in (config-cflags-novzeroupper): Define.
26056 * configure.in: Substitute libc_cv_cc_novzeroupper.
26057 * elf/Makefile (AVX-CFLAGS): Define.
26058 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26059 (CFLAGS-tst-auditmod4a.c): Likewise.
26060 (CFLAGS-tst-auditmod4b.c): Likewise.
26061 (CFLAGS-tst-auditmod6b.c): Likewise.
26062 (CFLAGS-tst-auditmod6c.c): Likewise.
26063 (CFLAGS-tst-auditmod7b.c): Likewise.
26064 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26065
26066 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26067
26068 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26069 function to the callback.
26070 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26071
26072 2011-02-02 Andreas Schwab <schwab@redhat.com>
26073
26074 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26075 of errno.
26076
26077 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26078
26079 [BZ #11724]
26080 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26081 of constructors.
26082 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26083 of destructors.
26084 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26085
26086 [BZ #11724]
26087 * elf/Makefile: Add rules to build and run new test.
26088 * elf/tst-initorder.c: New file.
26089 * elf/tst-initorder.exp: New file.
26090 * elf/tst-initordera1.c: New file.
26091 * elf/tst-initordera2.c: New file.
26092 * elf/tst-initordera3.c: New file.
26093 * elf/tst-initordera4.c: New file.
26094 * elf/tst-initorderb1.c: New file.
26095 * elf/tst-initorderb2.c: New file.
26096 * elf/tst-order-a1.c: New file.
26097 * elf/tst-order-a2.c: New file.
26098 * elf/tst-order-a3.c: New file.
26099 * elf/tst-order-a4.c: New file.
26100 * elf/tst-order-b1.c: New file.
26101 * elf/tst-order-b2.c: New file.
26102 * elf/tst-order-main.c: New file.
26103 New test case by George Gensure <werkt0@gmail.com>.
26104
26105 2010-10-01 Andreas Schwab <schwab@redhat.com>
26106
26107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26108 decoding ACE if AI_CANONIDN.
26109
26110 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26111
26112 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26113
26114 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26115
26116 * version.h (RELEASE): Bump for 2.13 release.
26117 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26118
26119 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26120
26121 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26122 MADV_NOHUGEPAGE.
26123 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26124 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26125 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26126 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26127 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26128 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26129
26130 * posix/getconf.c: Update copyright year.
26131 * catgets/gencat.c: Likewise.
26132 * csu/version.c: Likewise.
26133 * debug/catchsegv.sh: Likewise.
26134 * debug/xtrace.sh: Likewise.
26135 * elf/ldconfig.c: Likewise.
26136 * elf/ldd.bash.in: Likewise.
26137 * elf/sprof.c (print_version): Likewise.
26138 * iconv/iconv_prog.c: Likewise.
26139 * iconv/iconvconfig.c: Likewise.
26140 * locale/programs/locale.c: Likewise.
26141 * locale/programs/localedef.c: Likewise.
26142 * malloc/memusage.sh: Likewise.
26143 * malloc/mtrace.pl: Likewise.
26144 * nscd/nscd.c (print_version): Likewise.
26145 * nss/getent.c: Likewise.
26146
26147 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26148 PF_CAIF, and PF_ALG.
26149 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26150
26151 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26152
26153 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26154 (modules-names): Use them.
26155 (ifunc-test-modules, ifunc-pie-tests): Define.
26156 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26157 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26158 (test-extras): Likewise.
26159 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26160 $(compile-command.c).
26161 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26162 (all-built-dso): Define.
26163 (check-textrel.out, check-execstack.out): Depend on it.
26164
26165 * configure.in: Don't override --enable-multi-arch.
26166
26167 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26168
26169 [BZ #6812]
26170 * nscd/hstcache.c (tryagain): Define.
26171 (cache_addhst): Return tryagain not notfound for temporary errors.
26172 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26173 failed.
26174
26175 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26176
26177 [BZ #10563]
26178 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26179 to make the syscall.
26180 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26181
26182 [BZ #12378]
26183 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26184 and fall back to matching as normal character if the string ends before
26185 the matching ']' is found. This is what POSIX requires.
26186 * posix/testfnm.c: Adjust test result.
26187 * posix/globtest.sh: Adjust test result. Add new test.
26188 * posix/tst-fnmatch.input: Likewise.
26189 * posix/tst-fnmatch2.c: Add new test.
26190
26191 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26192
26193 * elf/Makefile (check-execstack): Revert last change. Depend on
26194 check-execstack.h.
26195 (check-execstack.h): New target.
26196 (generated): Add check-execstack.h.
26197 * elf/check-execstack.c: Include "check-execstack.h".
26198 (main): Revert last change.
26199 (handle_file): Return zero if GNU_STACK is absent and
26200 DEFAULT_STACK_PERMS doesn't include PF_X.
26201
26202 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26203
26204 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26205 in child fails because the descriptor is already closed.
26206 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26207 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26208 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26209
26210 [BZ #12397]
26211 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26212 syscall.
26213
26214 [BZ #10484]
26215 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26216 temporary buffer used to handle multi lookups locally.
26217 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26218
26219 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26220
26221 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26222 loader is ld.so.
26223
26224 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26225
26226 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26227 alignment for SSE2.
26228
26229 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26230
26231 [BZ #12394]
26232 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26233 characters. When rounding increased number of integer digits recompute
26234 number of groups.
26235 * stdio-common/tst-grouping.c: New file.
26236 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26237
26238 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26239
26240 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26241 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26242
26243 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26244 void.
26245 * bits/select.h: Likewise.
26246
26247 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26248
26249 * po/ja.po: Update from translation team.
26250
26251 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26252
26253 [BZ #11155]
26254 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26255 implementation just like for lxstat, fxstatat, et al.
26256
26257 2010-12-27 Jim Meyering <meyering@redhat.com>
26258
26259 [BZ #12348]
26260 * posix/regexec.c (build_trtable): Return failure indication upon
26261 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26262
26263 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26264
26265 [BZ #12201]
26266 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26267 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26268 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26269 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26270
26271 [BZ #12207]
26272 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26273
26274 [BZ #12204]
26275 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26276 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26277
26278 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26279
26280 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26281 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26282 script has SORT_BY_INIT_PRIORITY.
26283 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26284 NO_CTORS_DTORS_SECTIONS is defined.
26285 * elf/soinit.c: Likewise.
26286 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26287 NO_CTORS_DTORS_SECTIONS is defined.
26288 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26289 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26290 * sysdeps/sh/init-first.c: Likewise.
26291 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26292
26293 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26294
26295 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26296 always use the slow path.
26297
26298 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26299
26300 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26301 similar rule which adds the sysdep directories to the header search in
26302 order to pick up the correct platform stackinfo.h.
26303 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26304 perform test if it is, otherwise return successfully without testing.
26305 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26306 DEFAULT_STACK_PERMS define in stackinfo.h.
26307 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26308 defined in stackinfo.h.
26309 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26310 DEFAULT_STACK_PERMS defined in stackinfo.h.
26311 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26312 * sysdeps/ia64/stackinfo.h: Likewise.
26313 * sysdeps/s390/stackinfo.h: Likewise.
26314 * sysdeps/sh/stackinfo.h: Likewise.
26315 * sysdeps/sparc/stackinfo.h: Likewise.
26316 * sysdeps/x86_64/stackinfo.h: Likewise.
26317 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26318 PF_X for powerpc64. Retain PF_X for powerpc32.
26319
26320 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26321
26322 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26323 accurately.
26324 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26325 GETDENTS_64BIT_ALIGNED.
26326
26327 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26328
26329 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26330
26331 2010-12-10 Andreas Schwab <schwab@redhat.com>
26332
26333 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26334 _GNU_SOURCE.
26335
26336 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26337 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26338 Remove __restrict.
26339 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26340 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26341
26342 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26343
26344 [BZ #11655]
26345 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26346 are initialized.
26347
26348 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26349
26350 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26351
26352 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26353
26354 * po/it.po: Update from translation team.
26355
26356 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26357
26358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26359 unused codes.
26360
26361 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26362
26363 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26364
26365 2010-11-24 Andreas Schwab <schwab@redhat.com>
26366
26367 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26368 specially.
26369 (gaih_getanswer_slice): Likewise.
26370
26371 2010-10-20 Jakub Jelinek <jakub@redhat.com>
26372
26373 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26374
26375 2010-05-31 Petr Baudis <pasky@suse.cz>
26376
26377 [BZ #11149]
26378 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26379 silently even in the chroot mode.
26380
26381 2010-11-22 Ulrich Drepper <drepper@gmail.com>
26382
26383 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26384 last patch a bit. Pretty printing
26385
26386 2010-05-31 Petr Baudis <pasky@suse.cz>
26387
26388 [BZ #10085]
26389 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26390 initialization of skip_initgroups_dyn.
26391
26392 2010-11-19 Ulrich Drepper <drepper@gmail.com>
26393
26394 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26395 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26396
26397 2010-11-16 Ulrich Drepper <drepper@gmail.com>
26398
26399 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26400
26401 2010-11-11 Andreas Schwab <schwab@redhat.com>
26402
26403 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26404 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26405 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26406 ($(objpfx)tst-fnmatch-mem): New rule.
26407 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26408 * posix/tst-fnmatch.c (main): Call mtrace.
26409
26410 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26411
26412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26413 Support Intel processor model 6 and model 0x2c.
26414
26415 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
26416
26417 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26418 signed comparison.
26419
26420 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26421
26422 [BZ #12205]
26423 * string/test-strncasecmp.c (check_result): New function.
26424 (do_one_test): Use it.
26425 (check1): New function.
26426 (test_main): Use it.
26427 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26428 Support strcasecmp and strncasecmp.
26429
26430 2010-11-08 Ulrich Drepper <drepper@gmail.com>
26431
26432 [BZ #12194]
26433 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26434 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26435
26436 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26437
26438 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26439 IFUNC support.
26440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26441 memset-x86-64.
26442 * sysdeps/x86_64/multiarch/bzero.S: New file.
26443 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26444 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26445 * sysdeps/x86_64/multiarch/memset.S: New file.
26446 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26448 Set bit_Prefer_SSE_for_memop for Intel processors.
26449 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26450 Define.
26451 (index_Prefer_SSE_for_memop): Define.
26452 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26453
26454 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
26455
26456 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26457 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26458
26459 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26460
26461 [BZ #12191]
26462 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26463 (__x86_64_raw_data_cache_size_half): Likewise.
26464 (__x86_64_raw_shared_cache_size): Likewise.
26465 (__x86_64_raw_shared_cache_size_half): Likewise.
26466
26467 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26468 (__x86_64_raw_data_cache_size_half): Likewise.
26469 (__x86_64_raw_shared_cache_size): Likewise.
26470 (__x86_64_raw_shared_cache_size_half): Likewise.
26471 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26472 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26473 and __x86_64_raw_shared_cache_size_half. Round
26474 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26475 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26476 to multiple of 256 bytes.
26477
26478 2010-11-03 Ulrich Drepper <drepper@gmail.com>
26479
26480 [BZ #12167]
26481 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26482 of inacessible symlinks. Verify result of symlink before returning it.
26483 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26484 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26485
26486 2010-10-28 Erich Ritz <erichritz@gmail.com>
26487
26488 * math/math.h (isinf): Fix typo in comment.
26489
26490 2010-11-01 Ulrich Drepper <drepper@gmail.com>
26491
26492 * po/da.po: Update from translation team.
26493
26494 2010-10-26 Ulrich Drepper <drepper@gmail.com>
26495
26496 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26497 is added to the list.
26498
26499 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26500 Ulrich Drepper <drepper@gmail.com>
26501
26502 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26503 the global list here. Move code to...
26504 (_dl_add_to_namespace_list): ...here. New function.
26505 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26506 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26507 * elf/dl-load.c (lose): Don't remove the element from the list.
26508 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26509 (_dl_map_object): Likewise.
26510
26511 2010-10-25 Ulrich Drepper <drepper@gmail.com>
26512
26513 [BZ #12159]
26514 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26515 into all bytes of SSE register.
26516 Patch by Richard Li <richardpku@gmail.com>.
26517
26518 2010-10-24 Ulrich Drepper <drepper@gmail.com>
26519
26520 [BZ #12140]
26521 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26522 perturbing.
26523
26524 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26525
26526 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26527 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26528 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26529 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26531 submachine.
26532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26533
26534 2010-10-22 Andreas Schwab <schwab@redhat.com>
26535
26536 * include/dlfcn.h (__RTLD_SECURE): Define.
26537 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26538 mode & __RTLD_SECURE instead.
26539 (open_path): Rename preloaded parameter to secure.
26540 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26541 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26542 * elf/dl-deps.c (openaux): Likewise.
26543 * elf/rtld.c (struct map_args): Remove is_preloaded.
26544 (map_doit): Don't use it.
26545 (dl_main): Likewise.
26546 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26547 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26548
26549 2010-09-09 Andreas Schwab <schwab@redhat.com>
26550
26551 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26552 (sysd-rules-targets): Remove duplicates.
26553 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26554 rtld-%.$o dependency.
26555
26556 2010-10-18 Andreas Schwab <schwab@redhat.com>
26557
26558 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26559 _dl_map_object do it.
26560
26561 2010-10-19 Ulrich Drepper <drepper@gmail.com>
26562
26563 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26564 fast fma builtins, define the macros in the C99 standard.
26565 (FP_FAST_FMAF): Likewise.
26566 (FP_FAST_FMAL): Likewise.
26567 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26568
26569 * bits/mathdef.h: Update copyright year.
26570 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26571
26572 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26573
26574 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26575 builtins, define the macros in the C99 standard.
26576 (FP_FAST_FMAF): Likewise.
26577 (FP_FAST_FMAL): Likewise.
26578 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26579 multiply/add.
26580 (FP_FAST_FMAF): Likewise.
26581
26582 2010-10-15 Jakub Jelinek <jakub@redhat.com>
26583
26584 [BZ #3268]
26585 * math/libm-test.inc (fma_test): Some new testcases.
26586 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26587 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26588 y and infinite z. Do multiplication by C already in long double.
26589 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26591 y and infinite z. Do bitwise or of inexact bit into u.d.
26592 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26593 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26594 * sysdeps/i386/fpu/s_fma.S: Removed.
26595 * sysdeps/i386/fpu/s_fmal.S: Removed.
26596
26597 2010-10-16 Jakub Jelinek <jakub@redhat.com>
26598
26599 [BZ #3268]
26600 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26602 computation is not scheduled after fetestexcept. Fix value
26603 of minimum denormal long double.
26604
26605 2010-10-14 Jakub Jelinek <jakub@redhat.com>
26606
26607 [BZ #3268]
26608 * math/libm-test.inc (fma_test): Add some more tests.
26609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26610 correctly.
26611
26612 2010-10-15 Andreas Schwab <schwab@redhat.com>
26613
26614 * scripts/data/localplt-s390-linux-gnu.data: New file.
26615 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26616
26617 2010-10-13 Jakub Jelinek <jakub@redhat.com>
26618
26619 [BZ #3268]
26620 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26621 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26622 instead of dbl-64.
26623 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26624 inlines.
26625 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26627 if one of x and y is very large and the other is subnormal.
26628 * sysdeps/s390/fpu/s_fmaf.c: New file.
26629 * sysdeps/s390/fpu/s_fma.c: New file.
26630 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26631 * sysdeps/powerpc/fpu/s_fma.S: New file.
26632 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26633 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26634 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26635
26636 2010-10-12 Jakub Jelinek <jakub@redhat.com>
26637
26638 [BZ #3268]
26639 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26640 fma tests.
26641 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26642 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26643 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26644 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26645 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26646 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26647 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26648
26649 2010-10-12 Ulrich Drepper <drepper@redhat.com>
26650
26651 [BZ #12078]
26652 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26653 * posix/bug-regex31.input: Add test case.
26654
26655 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26656
26657 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26658 * posix/bug-regex31.input: New file.
26659
26660 [BZ #12078]
26661 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26662 (parse_sub_exp): Fix last change, use postorder.
26663
26664 * posix/bug-regex31.c: New file.
26665 * posix/Makefile: Add rules to build and run bug-regex31.
26666
26667 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26668
26669 [BZ #12078]
26670 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26671
26672 [BZ #12108]
26673 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26674 to have entries in sys_siglist.
26675
26676 [BZ #12093]
26677 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26678 be NULL.
26679
26680 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26681
26682 [BZ #3268]
26683 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26684 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26685 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26686 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26687 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26688 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26689 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26690 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26691 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26692 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26693 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26694 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26695 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26696 * math/ftestexcept.c (fetestexcept): Likewise.
26697 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26698 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26699 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26700 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26701 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26702 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26703 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26704
26705 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26706
26707 [BZ #12107]
26708 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26709 newline.
26710
26711 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26712
26713 * string/bug-strstr1.c: New file.
26714 * string/Makefile: Add rules to build and run bug-strstr1.
26715
26716 2010-10-05 Eric Blake <eblake@redhat.com>
26717
26718 [BZ #12092]
26719 * string/str-two-way.h (two_way_long_needle): Always clear memory
26720 when skipping input due to the shift table.
26721
26722 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26723
26724 [BZ #12005]
26725 * malloc/mcheck.c: Handle large requests.
26726
26727 [BZ #12077]
26728 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26729 for strncmp and strncasecmp.
26730 * string/stratcliff.c: Add tests for strcmp and strncmp.
26731 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26732
26733 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26734
26735 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26736 __set_fpscr.
26737
26738 2010-09-30 Andreas Jaeger <aj@suse.de>
26739
26740 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26741 (CGROUP_SUPER_MAGIC): Define.
26742 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26743 Handle btrfs and cgroup file systems.
26744 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26745 Likewise.
26746
26747 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26748
26749 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26750 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26751
26752 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26753
26754 [BZ #12067]
26755 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26756 trying to locate the ELF header.
26757
26758 2010-09-27 Andreas Schwab <schwab@redhat.com>
26759
26760 [BZ #11611]
26761 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26762 Mask out sign-bit copies when constructing f_fsid.
26763
26764 2010-09-24 Petr Baudis <pasky@suse.cz>
26765
26766 * debug/stack_chk_fail_local.c: Add missing licence exception.
26767 * debug/warning-nop.c: Likewise.
26768
26769 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26770
26771 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26772 implementing getdents64 using getdents syscall, set d_type if
26773 __ASSUME_GETDENTS32_D_TYPE.
26774
26775 2010-09-16 Andreas Schwab <schwab@redhat.com>
26776
26777 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26778 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26779
26780 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26781
26782 [BZ #12037]
26783 * posix/unistd.h: Undo change of feature selection for ftruncate from
26784 2010-01-11.
26785
26786 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26787
26788 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26789 detection.
26790
26791 2010-09-20 Andreas Schwab <schwab@redhat.com>
26792
26793 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26794 fanotify_mark.
26795 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26796
26797 2010-09-14 Andreas Schwab <schwab@redhat.com>
26798
26799 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26800 variables after CHECK_SP call.
26801 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26802
26803 2010-09-13 Andreas Schwab <schwab@redhat.com>
26804 Ulrich Drepper <drepper@redhat.com>
26805
26806 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26807 re-relocationg ld.so.
26808 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26809 _dl_init_paths call.
26810 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26811 here anymore.
26812
26813 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26814
26815 * resolv/res_init.c (__res_vinit): Count the default server we added.
26816
26817 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26818 Ulrich Drepper <drepper@redhat.com>
26819
26820 [BZ #11968]
26821 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26822 (____longjmp_chk): Use %ebx for saving value across system call.
26823 Add unwind info.
26824
26825 2010-09-06 Andreas Schwab <schwab@redhat.com>
26826
26827 * manual/Makefile: Don't mix pattern rules with normal rules.
26828
26829 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26830
26831 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26832 operation.
26833 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26834 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26835 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26836 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26838 Likewise.
26839
26840 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26841
26842 [BZ #11979]
26843 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26844 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26845
26846 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26847
26848 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26849 * sysdeps/x86_64/addmul_1.S: Likewise.
26850 * sysdeps/x86_64/lshift.S: Likewise.
26851 * sysdeps/x86_64/mul_1.S: Likewise.
26852 * sysdeps/x86_64/rshift.S: Likewise.
26853 * sysdeps/x86_64/sub_n.S: Likewise.
26854 * sysdeps/x86_64/submul_1.S: Likewise.
26855
26856 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26857
26858 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26859 Define __sched_param instead of SCHED_* and sched_param when
26860 <bits/sched.h> is included with __need_schedparam defined.
26861 * bits/sched.h [__need_schedparam]
26862 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26863 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26864 (__defined_schedparam): Define to 1.
26865 (__sched_param): New structure, identical to sched_param.
26866 (__need_schedparam): Undefine.
26867
26868 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26869
26870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26871 (epoll_create1): Declare.
26872
26873 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26874
26875 2010-08-31 Andreas Schwab <schwab@redhat.com>
26876
26877 [BZ #7066]
26878 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26879 shifting retval into place.
26880
26881 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26882
26883 * nis/rpcsvc/nis.h: Update copyright notice.
26884 * nis/rpcsvc/nis.x: Likewise.
26885 * nis/rpcsvc/nis_callback.h: Likewise.
26886 * nis/rpcsvc/nis_callback.x: Likewise.
26887 * nis/rpcsvc/nis_object.x: Likewise.
26888 * nis/rpcsvc/nis_tags.h: Likewise.
26889 * nis/rpcsvc/yp.h: Likewise.
26890 * nis/rpcsvc/yp.x: Likewise.
26891 * nis/rpcsvc/ypupd.h: Likewise.
26892 * nis/yp_xdr.c: Likewise.
26893 * nis/ypupdate_xdr.c: Likewise.
26894
26895 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26896 mainly the body of pmap_getport. Add parameters to specify timeouts.
26897 (pmap_getport): Use __libc_rpc_getport.
26898 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26899 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26900 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26901
26902 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26903
26904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26905 fanotify_mark.
26906
26907 2010-08-27 Roland McGrath <roland@redhat.com>
26908
26909 * sysdeps/i386/i686/multiarch/Makefile
26910 (CFLAGS-varshift.c): New variable.
26911
26912 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26913
26914 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26915 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26916
26917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26918
26919 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26920
26921 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26922
26923 * sysdeps/x86_64/strlen.S: Unroll the loop.
26924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26925 strlen-sse2 strlen-sse2-bsf.
26926 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26927 __strlen_no_bsf if bit_Slow_BSF is set.
26928 (__strlen_sse42): Removed.
26929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26930 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26931
26932 2010-08-25 Roland McGrath <roland@redhat.com>
26933
26934 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26935 * sysdeps/x86_64/multiarch/varshift.c: New file.
26936 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26937 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26938 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26939 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26940
26941 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26942
26943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26944 strlen-sse2 strlen-sse2-bsf.
26945 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26946 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26947 (__strlen_sse2): Removed.
26948 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26949 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26951 bit_Slow_BSF for Atom.
26952 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26953 (index_Slow_BSF): Define.
26954 (HAS_SLOW_BSF): Define.
26955
26956 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26957
26958 [BZ #10851]
26959 * resolv/res_init.c (__res_vinit): When no server address at all
26960 is given default to loopback.
26961
26962 2010-08-24 Roland McGrath <roland@redhat.com>
26963
26964 * configure.in: Remove config-name.h generation.
26965 * configure: Regenerated.
26966 * config-name.in: File removed.
26967 * scripts/config-uname.sh: New file.
26968 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26969 ($(objdir)config-name.h): New target.
26970
26971 * sunrpc/rpc_parse.h: Avoid nested comment.
26972
26973 2010-08-24 Richard Henderson <rth@redhat.com>
26974 Ulrich Drepper <drepper@redhat.com>
26975 H.J. Lu <hongjiu.lu@intel.com>
26976
26977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26979 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26980 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26981 _mm_alignr_epi8 with _mm_loadu_si128.
26982 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26983 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26984 (__m128i_shift_right): Removed.
26985 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26986 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26987 * sysdeps/x86_64/multiarch/varshift.h: New file.
26988 * sysdeps/x86_64/multiarch/varshift.S: New file.
26989
26990 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26991
26992 * configure.in: Move assembler checks to before sysdep dir checking.
26993
26994 2010-08-20 Petr Baudis <pasky@suse.cz>
26995
26996 * LICENSES: Sync the sunrpc license.
26997
26998 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26999
27000 * sunrpc/auth_des.c: Update copyright notice once again.
27001 * sunrpc/auth_none.c: Likewise.
27002 * sunrpc/auth_unix.c: Likewise.
27003 * sunrpc/authdes_prot.c: Likewise.
27004 * sunrpc/authuxprot.c: Likewise.
27005 * sunrpc/bindrsvprt.c: Likewise.
27006 * sunrpc/clnt_gen.c: Likewise.
27007 * sunrpc/clnt_perr.c: Likewise.
27008 * sunrpc/clnt_raw.c: Likewise.
27009 * sunrpc/clnt_simp.c: Likewise.
27010 * sunrpc/clnt_tcp.c: Likewise.
27011 * sunrpc/clnt_udp.c: Likewise.
27012 * sunrpc/clnt_unix.c: Likewise.
27013 * sunrpc/des_crypt.c: Likewise.
27014 * sunrpc/des_soft.c: Likewise.
27015 * sunrpc/get_myaddr.c: Likewise.
27016 * sunrpc/getrpcport.c: Likewise.
27017 * sunrpc/key_call.c: Likewise.
27018 * sunrpc/key_prot.c: Likewise.
27019 * sunrpc/openchild.c: Likewise.
27020 * sunrpc/pm_getmaps.c: Likewise.
27021 * sunrpc/pm_getport.c: Likewise.
27022 * sunrpc/pmap_clnt.c: Likewise.
27023 * sunrpc/pmap_prot.c: Likewise.
27024 * sunrpc/pmap_prot2.c: Likewise.
27025 * sunrpc/pmap_rmt.c: Likewise.
27026 * sunrpc/rpc/auth.h: Likewise.
27027 * sunrpc/rpc/auth_unix.h: Likewise.
27028 * sunrpc/rpc/clnt.h: Likewise.
27029 * sunrpc/rpc/des_crypt.h: Likewise.
27030 * sunrpc/rpc/key_prot.h: Likewise.
27031 * sunrpc/rpc/netdb.h: Likewise.
27032 * sunrpc/rpc/pmap_clnt.h: Likewise.
27033 * sunrpc/rpc/pmap_prot.h: Likewise.
27034 * sunrpc/rpc/pmap_rmt.h: Likewise.
27035 * sunrpc/rpc/rpc.h: Likewise.
27036 * sunrpc/rpc/rpc_des.h: Likewise.
27037 * sunrpc/rpc/rpc_msg.h: Likewise.
27038 * sunrpc/rpc/svc.h: Likewise.
27039 * sunrpc/rpc/svc_auth.h: Likewise.
27040 * sunrpc/rpc/types.h: Likewise.
27041 * sunrpc/rpc/xdr.h: Likewise.
27042 * sunrpc/rpc_clntout.c: Likewise.
27043 * sunrpc/rpc_cmsg.c: Likewise.
27044 * sunrpc/rpc_common.c: Likewise.
27045 * sunrpc/rpc_cout.c: Likewise.
27046 * sunrpc/rpc_dtable.c: Likewise.
27047 * sunrpc/rpc_hout.c: Likewise.
27048 * sunrpc/rpc_main.c: Likewise.
27049 * sunrpc/rpc_parse.c: Likewise.
27050 * sunrpc/rpc_parse.h: Likewise.
27051 * sunrpc/rpc_prot.c: Likewise.
27052 * sunrpc/rpc_sample.c: Likewise.
27053 * sunrpc/rpc_scan.c: Likewise.
27054 * sunrpc/rpc_scan.h: Likewise.
27055 * sunrpc/rpc_svcout.c: Likewise.
27056 * sunrpc/rpc_tblout.c: Likewise.
27057 * sunrpc/rpc_util.c: Likewise.
27058 * sunrpc/rpc_util.h: Likewise.
27059 * sunrpc/rpcinfo.c: Likewise.
27060 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27061 * sunrpc/rpcsvc/key_prot.x: Likewise.
27062 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27063 * sunrpc/rpcsvc/mount.x: Likewise.
27064 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27065 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27066 * sunrpc/rpcsvc/rex.x: Likewise.
27067 * sunrpc/rpcsvc/rstat.x: Likewise.
27068 * sunrpc/rpcsvc/rusers.x: Likewise.
27069 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27070 * sunrpc/rpcsvc/spray.x: Likewise.
27071 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27072 * sunrpc/rtime.c: Likewise.
27073 * sunrpc/svc.c: Likewise.
27074 * sunrpc/svc_auth.c: Likewise.
27075 * sunrpc/svc_authux.c: Likewise.
27076 * sunrpc/svc_raw.c: Likewise.
27077 * sunrpc/svc_run.c: Likewise.
27078 * sunrpc/svc_simple.c: Likewise.
27079 * sunrpc/svc_tcp.c: Likewise.
27080 * sunrpc/svc_udp.c: Likewise.
27081 * sunrpc/svc_unix.c: Likewise.
27082 * sunrpc/svcauth_des.c: Likewise.
27083 * sunrpc/xcrypt.c: Likewise.
27084 * sunrpc/xdr.c: Likewise.
27085 * sunrpc/xdr_array.c: Likewise.
27086 * sunrpc/xdr_float.c: Likewise.
27087 * sunrpc/xdr_mem.c: Likewise.
27088 * sunrpc/xdr_rec.c: Likewise.
27089 * sunrpc/xdr_ref.c: Likewise.
27090 * sunrpc/xdr_sizeof.c: Likewise.
27091 * sunrpc/xdr_stdio.c: Likewise.
27092
27093 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27094 handling.
27095
27096 2010-08-19 Andreas Schwab <schwab@redhat.com>
27097
27098 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27099
27100 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27101
27102 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27103 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27104 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27105 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27106 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27107 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27108 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27109 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27110 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27111 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27112 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27113 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27114 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27115 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27116
27117 2010-07-26 Anton Blanchard <anton@samba.org>
27118
27119 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27120 * malloc/arena.c (heap_trim): Likewise.
27121
27122 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27123
27124 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27125 here. Not...
27126 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27127 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27128
27129 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27130
27131 * sysdeps/i386/elf/Makefile: New file.
27132
27133 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27134
27135 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27136 from fanotify_init.
27137 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27138 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27139
27140 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27141
27142 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27143 of strncasecmp_l.
27144 * sysdeps/multiarch/strcmp.S: Likewise.
27145
27146 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27147
27148 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27149 strncase_l-nonascii.
27150 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27151 Add strncase_l-ssse3.
27152 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27153 * sysdeps/x86_64/strcmp.S: Likewise.
27154 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27155 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27156 * sysdeps/x86_64/strncase.S: New file.
27157 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27158 * sysdeps/x86_64/strncase_l.S: New file.
27159 * string/Makefile (strop-tests): Add strncasecmp.
27160 * string/test-strncasecmp.c: New file.
27161
27162 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27163 warning.
27164
27165 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27166 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27167
27168 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27169
27170 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27171
27172 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27173
27174 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27175 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27176 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27177
27178 2010-05-01 Alan Modra <amodra@gmail.com>
27179
27180 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27181 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27182 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27183 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27184 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27185 tidying. Don't tail-call __sigjmp_save for static lib.
27186 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27187 save location.
27188 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27189 (CALL_MCOUNT): Add eh info, and nop after bl.
27190 (TAIL_CALL_SYSCALL_ERROR): New macro.
27191 (PSEUDO_RET): Use it.
27192 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27193 Correct save location of integer regs and cr.
27194 (_dl_profile_resolve): Correct cr save location. Delete nops
27195 after bl when SHARED. Reduce cfi size a little by better
27196 placement of cfi directives.
27197 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27198 make a stack frame. Instead use parm save area as a temp.
27199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27200 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27202 Don't make a stack frame for parent, use parm save area.
27203 Increase child stack frame to 112 bytes. Don't save unused reg,
27204 and adjust reg usage. Set up cfi on error recovery and
27205 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27207 (__makecontext): Add dummy nop after jump to exit.
27208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27209 Use correct parm save area and cr save, reduce stack frame.
27210 Correct cfi for possible PSEUDO_RET frame setup.
27211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27212 Branch to local label emitted by PSEUDO_RET rather than
27213 __syscall_error.
27214
27215 2010-08-12 Andreas Schwab <schwab@redhat.com>
27216
27217 [BZ #11904]
27218 * locale/programs/locale.c (print_assignment): New function.
27219 (show_locale_vars): Use it.
27220
27221 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27222
27223 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27224 field.
27225 (struct statfs64): Likewise.
27226 (_STATFS_F_FLAGS): Define.
27227 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27228 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27229 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27230 (ST_VALID): Define locally.
27231 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27232 __statvfs_getflags, use the provided value.
27233 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27234 __ASSUME_STATFS_F_FLAGS.
27235
27236 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27237
27238 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27239 Add sys/fanotify.h.
27240 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27241 fanotify_mask for GLIBC_2.13.
27242 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27243 fanotify_init and fanotify_mark.
27244 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27245 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27246
27247 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27248 Add prlimit.
27249 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27250 prlimit64 for GLIBC_2.13.
27251 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27252 prlimit64.
27253 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27254 syscall.
27255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27256 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27257 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27258 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27260 add prlimit alias.
27261 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27262
27263 [BZ #11903]
27264 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27265 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27266
27267 * nss/Makefile: Add rules to build and run tst-nss-test1.
27268 * shlib-versions: Add entry for libnss_test1.
27269 * nss/nss_test1.c: New file.
27270 * nss/tst-nss-test1.c: New file.
27271
27272 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27273 (__nss_configure_lookup): Set appropriate entry in
27274 __nss_configure_lookup to true.
27275 * nss/nsswitch.h: Define enum with indeces of databases in
27276 databases and __nss_database_custom arrays. Declare
27277 __nss_database_custom.
27278 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27279 to avoid using nscd when custom rules are installed.
27280 * nss/getXXbyYY_r.c: Likewise.
27281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27282
27283 * nss/nss_files/files-parse.c: Whitespace fixes.
27284
27285 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27286
27287 [BZ #11883]
27288 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27289 * posix/fnmatch_loop.c: Likewise.
27290
27291 2010-07-17 Andi Kleen <ak@linux.intel.com>
27292
27293 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27294 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27295 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27296 * Versions.def [GLIBC_2.13]: Add.
27297
27298 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27299
27300 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27301 Also fail if tpwd after pwuid call is NULL.
27302
27303 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27304
27305 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27306 when converting to ms.
27307
27308 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27309
27310 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27311 EOPNOTSUPP errors with ENOTTY.
27312 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27313 EOPNOTSUPP errors with ENOTTY.
27314
27315 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27316
27317 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27318 Add strcasecmp_l-ssse3.
27319 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27320 strcasecmp.
27321 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27322 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27323 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27324
27325 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27326
27327 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27328
27329 * string/Makefile (strop-tests): Add strcasecmp.
27330 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27331 strcasecmp_l-nonascii.
27332 (gen-as-const-headers): Add locale-defines.sym.
27333 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27334 * sysdeps/x86_64/strcasecmp.S: New file.
27335 * sysdeps/x86_64/strcasecmp_l.S: New file.
27336 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27337 * sysdeps/x86_64/locale-defines.sym: New file.
27338 * string/test-strcasecmp.c: New file.
27339
27340 * string/test-strcasestr.c: Test both ends of the range of characters.
27341 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27342
27343 2010-07-29 Roland McGrath <roland@redhat.com>
27344
27345 [BZ #11856]
27346 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27347
27348 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27349
27350 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27351 for ld.so.
27352
27353 2010-07-27 Andreas Schwab <schwab@redhat.com>
27354
27355 * manual/memory.texi (Malloc Tunable Parameters): Document
27356 M_PERTURB.
27357
27358 2010-07-26 Roland McGrath <roland@redhat.com>
27359
27360 [BZ #11840]
27361 * configure.in (-fgnu89-inline check): Set and substitute
27362 gnu89_inline, not libc_cv_gnu89_inline.
27363 * configure: Regenerated.
27364 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27365
27366 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27367
27368 * string/test-strnlen.c: New file.
27369 * string/Makefile (strop-tests): Add strnlen.
27370 * string/tester.c (test_strnlen): Add a few more test cases.
27371 * string/tst-strlen.c: Better error reporting.
27372
27373 * sysdeps/x86_64/strnlen.S: New file.
27374
27375 2010-07-24 Ulrich Drepper <drepper@redhat.com>
27376
27377 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27378 lower-latency instructions.
27379
27380 2010-07-23 Ulrich Drepper <drepper@redhat.com>
27381
27382 * string/test-strcasestr.c: New file.
27383 * string/test-strstr.c: New file.
27384 * string/Makefile (strop-tests): Add strstr and strcasestr.
27385 * string/str-two-way.h: Don't undefine MAX.
27386 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27387
27388 2010-07-21 Andreas Schwab <schwab@redhat.com>
27389
27390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27391 strcasestr-nonascii.
27392 (CFLAGS-strcasestr-nonascii.c): Define.
27393 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27394 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27395 Remove unused attribute.
27396
27397 2010-07-20 Roland McGrath <roland@redhat.com>
27398
27399 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27400 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27401 ld.so.cache was broken. With it, there is no way to disable dsocaps
27402 like LD_HWCAP_MASK can disable hwcaps.
27403
27404 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27405
27406 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27407
27408 2010-07-16 Ulrich Drepper <drepper@redhat.com>
27409
27410 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27411 call in strcasestr.
27412 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27413 __strcasestr_sse42_nonascii.
27414 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27415 strcasestr-nonascii.c.
27416 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27417
27418 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
27419
27420 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27421 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27422 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27423 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27424
27425 2010-07-09 Ulrich Drepper <drepper@redhat.com>
27426
27427 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27428 fcntl.
27429
27430 2010-07-06 Andreas Schwab <schwab@redhat.com>
27431
27432 [BZ #11577]
27433 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27434 dl_signal_cerror.
27435
27436 2010-07-06 Ulrich Drepper <drepper@redhat.com>
27437
27438 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27439 _PC_PIPE_BUF using F_GETPIPE_SZ.
27440
27441 2010-07-05 Roland McGrath <roland@redhat.com>
27442
27443 * manual/arith.texi (Rounding Functions): Fix rint description
27444 implicit in round description.
27445
27446 2010-07-02 Ulrich Drepper <drepper@redhat.com>
27447
27448 * elf/Makefile: Fix linking for a few tests to make recent linker
27449 happy.
27450
27451 2010-06-30 Andreas Schwab <schwab@redhat.com>
27452
27453 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27454 $(common-objpfx)libc_nonshared.a.
27455
27456 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
27457
27458 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27459 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27460 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27461 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27462 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27463 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27464 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27465 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27480 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27481 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27482 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27483 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27484 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27485 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27486 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27487 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27488 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27489 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27490 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27491 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27506
27507 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27508
27509 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27510 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27511 * string/memmove.c (memmove): Renamed to ...
27512 (MEMMOVE): ...this. Default to memmove.
27513 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27514 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27515 (END_CHK): Define.
27516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27517 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27518 mempcpy-ssse3-back memmove-ssse3-back.
27519 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27521 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27522 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27523 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27524 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27525 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27526 * sysdeps/x86_64/multiarch/memmove.c: New file.
27527 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27528 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27529 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27530 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27531 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27532 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27533 Define.
27534 (index_Fast_Copy_Backward): Define.
27535 (HAS_ARCH_FEATURE): Define.
27536 (HAS_FAST_REP_STRING): Define.
27537 (HAS_FAST_COPY_BACKWARD): Define.
27538
27539 2010-06-21 Andreas Schwab <schwab@redhat.com>
27540
27541 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27542 Restore proper fallback handling.
27543
27544 2010-06-19 Ulrich Drepper <drepper@redhat.com>
27545
27546 [BZ #11701]
27547 * posix/group_member.c (__group_member): Correct checking loop.
27548
27549 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27550 OOM in getpwuid_r correctly. Return error number when the caller
27551 should return, otherwise -1.
27552 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27553 call returning > 0 value.
27554 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27555
27556 2010-06-07 Andreas Schwab <schwab@redhat.com>
27557
27558 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27559 libc_nonshared.a from targets in modules-names.
27560
27561 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27562
27563 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27564 requires it.
27565
27566 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
27567
27568 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27569 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27571 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27572
27573 2010-06-02 Andreas Schwab <schwab@redhat.com>
27574
27575 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27576
27577 2010-06-14 Ulrich Drepper <drepper@redhat.com>
27578
27579 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27580 and F_GETPIPE_SZ.
27581 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27582 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27585 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27587
27588 2010-06-14 Roland McGrath <roland@redhat.com>
27589
27590 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27591
27592 2010-06-07 Jakub Jelinek <jakub@redhat.com>
27593
27594 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27595 __REDIRECT followed by __THROW.
27596 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27597 * posix/getopt.h (getopt): Likewise.
27598
27599 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27600
27601 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27602 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27603 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27604 in AT_FLAGS.
27605 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27606 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27607
27608 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
27609
27610 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27611
27612 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27613
27614 [BZ #11640]
27615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27616 Properly check family and model.
27617
27618 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27619
27620 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27621
27622 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
27623
27624 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27625
27626 2010-05-21 Ulrich Drepper <drepper@redhat.com>
27627
27628 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27629 symbol reference.
27630
27631 2010-05-19 Andreas Schwab <schwab@redhat.com>
27632
27633 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27634 symbol reference.
27635
27636 2010-05-21 Andreas Schwab <schwab@redhat.com>
27637
27638 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27639 and internal_recvmmsg.
27640 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27641 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27642 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27643 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27644
27645 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27646 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27647 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27648
27649 2010-05-20 Andreas Schwab <schwab@redhat.com>
27650
27651 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27652
27653 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
27654
27655 POWER7 optimizations.
27656 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27657 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27658
27659 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27660
27661 * version.h: Update for 2.13 development version.
27662
27663 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27664
27665 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27666 exceptions. Return 0.
27667
27668 2010-05-07 Roland McGrath <roland@redhat.com>
27669
27670 * elf/ldconfig.c (main): Add a const.
27671
27672 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27673
27674 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27675 (args_options): Add no-idn option.
27676 (ahosts_keys_int): Add idn_flags to ai_flags.
27677 (parse_option): Handle 'i' option to clear idn_flags.
27678
27679 * malloc/malloc.c (_int_free): Possible race in the most recently
27680 added check. Only act on the data if no current modification
27681 happened.
27682
27683 See ChangeLog.17 for earlier changes.