]> sourceware.org Git - glibc.git/blame - ChangeLog
Allow adding of arbitrary code to benchmark tests
[glibc.git] / ChangeLog
CommitLineData
3775a8bc
SP
12013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * Rules ($(objpfx)bench-%.c): Include code from a C source
4 file.
5
0a1b2ae6
JM
62013-03-21 Joseph Myers <joseph@codesourcery.com>
7
8 [BZ #15287]
9 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10 imaginary part 1.0 and real part less than 0.5 specially.
11 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13 * math/libm-test.inc (cacos_test): Add more tests.
14 (casin_test): Likewise.
15 (casinh_test): Likewise.
16 * sysdeps/i386/fpu/libm-test-ulps: Update.
17 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18
b33d4ce4
SP
192013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20
21 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23
bef0b507
JM
242013-03-20 Joseph Myers <joseph@codesourcery.com>
25
26 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27 * config.make.in (config-cflags-sse4): Remove variable.
28 (config-cflags-avx): Likewise.
29 (config-cflags-sse2avx): Likewise.
30 (config-cflags-novzeroupper): Likewise.
31 (config-asflags-i686): Likewise.
32 (have-mfma4): Likewise.
33 (have-as-vis3): Likewise.
34 (MIG): Likewise.
35 * configure.in (MIG): Do not AC_SUBST.
36 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37 (libc_cv_cc_sse4): Do not AC_SUBST.
38 (libc_cv_cc_avx): Likewise.
39 (libc_cv_cc_sse2avx): Likewise.
40 (libc_cv_cc_novzeroupper): Likewise.
41 (libc_cv_cc_fma4): Likewise.
42 (libc_cv_as_i686): Likewise.
43 (libc_cv_sparc_as_vis3): Likewise.
44 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
45 LIBC_CONFIG_VAR.
46 (config-asflags-i686): Likewise.
47 (config-cflags-avx): Likewise.
48 (config-cflags-sse2avx): Likewise.
49 (have-mfma4): Likewise.
50 (config-cflags-novzeroupper): Likewise.
51 * sysdeps/mach/configure.in (MIG): Likewise.
52 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
54 LIBC_CONFIG_VAR.
55 (config-cflags-avx): Likewise.
56 (config-cflags-sse2avx): Likewise.
57 (have-mfma4): Likewise.
58 (config-cflags-novzeroupper): Likewise.
59 * configure: Regenerated.
60 * sysdeps/i386/configure: Likewise.
61 * sysdeps/mach/configure: Likewise.
62 * sysdeps/sparc/configure: Likewise.
63 * sysdeps/x86_64/configure: Likewise.
64
912cc4b3
RM
652013-03-20 Roland McGrath <roland@hack.frob.com>
66
67 [BZ #14812]
68 * locale/programs/localedef.c (options): Put N_ translation marker
69 on argument names, not just descriptions.
70
04eed2b0
MS
712013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72
73 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
74
a065ceff
OB
752013-03-20 Ondřej Bílka <neleai@seznam.cz>
76
9bb2a810 77 [BZ #14176]
a065ceff
OB
78 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
79
a600e5ce
RM
802013-03-19 Roland McGrath <roland@hack.frob.com>
81
82 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
83 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
84 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
85 [!BEFORE_ABORT] (before_abort): New function.
86 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
87 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
88 (writev_for_fatal): New function.
89 (WRITEV_FOR_FATAL): New macro; call that.
90 (backtrace_and_maps): New function.
91 (BEFORE_ABORT): New macro; call that.
92 (struct str_list): Type removed.
93 (__libc_message, __libc_fatal): Functions removed.
94 Include <sysdeps/posix/libc_fatal.c> instead.
95
6b18bea6
JM
962013-03-19 Joseph Myers <joseph@codesourcery.com>
97
98 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
99 constants.
100 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
101 double constants.
102
aaa8cb4b
AS
1032013-03-19 Andreas Schwab <schwab@suse.de>
104
44673770
AS
105 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
106 * sysdeps/gnu/configure: Regenerate.
107
aaa8cb4b
AS
108 * configure.in: Substitute libc_cv_rtlddir.
109 * configure: Regenerate.
110 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
111 * Makeconfig (rtlddir, inst_rtlddir): New variables.
112 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
113 * elf/Makefile (install-others, CFLAGS-interp.c)
114 (ldso_install, common-ldd-rewrite): Likewise.
115 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
116 $(inst_slibdir)/$(rtld-installed-name).
117 * scripts/rellns-sh: Add -p option.
118 * Makerules (make-shlib-link): Use rellns-sh to get relative name
119 for source.
120
d3cfc668
SP
1212013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
122
123 * manual/nptl.texi: Renamed to ...
124 * manual/threads.texi: ... this.
125 * manual/Makefile (chapters): Update.
126
0e2b9cdd
RM
1272013-03-18 Roland McGrath <roland@hack.frob.com>
128
129 [BZ #14812]
130 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
131 on argument names, not just descriptions.
0e2b9cdd
RM
132 * malloc/memusagestat.c (options): Likewise.
133 * nss/getent.c (options): Likewise.
63270c24
RM
134
1352013-03-18 Benno Schulenberg <bensberg@justemail.net>
136
137 [BZ #14812]
138 * iconv/iconv_prog.c (options): Put N_ translation marker
139 on argument names, not just descriptions.
140 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 141
b2e1393c
OB
1422013-03-18 Ondrej Bilka <neleai@seznam.cz>
143
144 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
145 implementation which is faster on all x86_64 architectures.
146 Tested on AMD, Intel Nehalem, SNB, IVB.
147 * sysdeps/x86_64/strnlen.S: Likewise.
148
149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
150 Remove all multiarch strlen and strnlen versions.
151 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
152 Remove strlen and strnlen related parts.
153
154 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
155 Inline strlen part.
156 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
157
158 * sysdeps/x86_64/multiarch/strlen.S: Remove.
159 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
160 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
161 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
162 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
163 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
164
ec4ff04d
CD
1652013-03-17 Carlos O'Donell <carlos@redhat.com>
166
167 * manual/memory.texi (Malloc Tunable Parameters):
168 Sort parameters alphabetically. Add comments for missing entries.
169
cd18e90a
DM
1702013-03-17 David S. Miller <davem@davemloft.net>
171
172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
173
2a185d32
JM
1742013-03-16 Joseph Myers <joseph@codesourcery.com>
175
d2f9799e
JM
176 [BZ #15283]
177 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
178 for arguments at most half maximum finite value.
179 * math/libm-test.inc (j0_test): Add more tests.
180 (j1_test): Likewise.
181 (y0_test): Likewise.
182 (y1_test): Likewise.
183 * sysdeps/i386/fpu/libm-test-ulps: Update.
184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
185
2a185d32
JM
186 [BZ #14155]
187 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
188 1 / x and functions P and Q for arguments above 0x1p256L.
189 (__ieee754_y0l): Likewise.
190 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
191 (__ieee754_y1l): Likewise.
192 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
193 (j1_test): Likewise.
194 (y0_test): Likewise.
195 (y1_test): Likewise.
196
6cbec759
TS
1972013-03-16 Thomas Schwinge <thomas@codesourcery.com>
198
199 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
200 variable.
201
bc16e260
RM
2022013-03-15 Roland McGrath <roland@hack.frob.com>
203
aefc9b8c
RM
204 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
205 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
206 zero since it's initialized to EXEC_PAGESIZE.
207
bc16e260
RM
208 * sysdeps/unix/sysv/linux/ldsodefs.h
209 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
210 * sysdeps/generic/ldsodefs.h: ... here.
211
a57da955
TS
2122013-03-15 Thomas Schwinge <thomas@codesourcery.com>
213
af00a34d
TS
214 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
215
495ded2c
TS
216 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
217 math/test-snan.c.
218 * math/test-snan.c: Renamed from
219 sysdeps/powerpc/fpu/test-powerpc-snan.c.
220 * math/Makefile (tests): Add test-snan.
221 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
222 test-powerpc-snan.
223
777b0332
TS
224 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
225 SUFFIX. Initialize qNaN_var with __builtin_nan family of
226 functions.
227 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
228 __builtin_nan family of functions.
229 * math/libm-test.inc (initialize): Initialize qnan_value with
230 __builtin_nan family of functions.
231 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
232 Remove variables.
233 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
234 Remove functions.
235 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
236 storage class. Initialize qNaN_var and sNaN_var with
237 __builtin_nan and __builtin_nans families of functions,
238 respectively.
239
64d063b8
TS
240 * math/libm-test.inc (acosh_test): Also test with qNaN input.
241 (sqrt_test): Remove duplicate test with qNaN input.
242 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
243 (round_test, signbit_test, significand_test): Note missing +/-Inf
244 as well as qNaN tests.
245
67e971f1
TS
246 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
247 qNaN_var. Fix a few strings, too.
248 * math/libm-test.inc (nan_value): Rename to qnan_value.
249 * math/gen-libm-test.pl (%beautify): Adjust to that.
250 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
251 * math/test-misc.c (main): Likewise.
252 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
253 to __qnan_bytes, and __qnan_union, respectively.
254 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
255 Likewise.
256 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
257 and lqnanval, respectively.
258 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
259 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
260 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
261 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
262
64487e12
TS
263 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
264 * math/test-misc.c (main) [__x86_64__]: Enable test for long
265 doubles.
266
e015e27b
TS
267 * math/test-misc.c (main): Fix copy'n'pastos.
268 * misc/tst-efgcvt.c (special): Likewise.
269
a57da955
TS
270 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
271 Remove declarations.
272
1e380345
SP
2732013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
274
275 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
276 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
277 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
278 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
279
ef26eece
AZ
2802013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
281
282 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
283 macro to return vdso values correctly in IFUNC implementations.
284 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
285 Optimization by using IFUNC.
286
8cfdb7e0
SP
2872013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
288 Richard Henderson <rth@redhat.com>
289 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
290
291 * Makefile.in (bench): New target.
292 * NEWS: Mention the benchmark framework.
293 * Rules (bench): Likewise.
294 (binaries-bench): Generate binaries for functions to
295 benchmark.
296 * benchtests/Makefile: New makefile for benchmark tests.
297 * benchtests/bench-skeleton.c: New skeleton file for benchmark
298 programs.
299 * benchtests/exp-inputs: New input file for EXP function.
300 * benchtests/pow-inputs: New input file for POW function.
301 * scripts/bench.pl: New script to generate source files for
302 benchmark programs.
303
bcda9880
SP
3042013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
305
d22ca8cd
SP
306 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
307 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
308 computations on mantissa. Use macros for rounding and
309 division.
310 (denorm): Likewise.
311 (__dbl_mp): Likewise.
312 (add_magnitudes): Likewise.
313 (sub_magnitudes): Likewise.
314 (__mul): Likewise.
315 (__sqr): Likewise.
316 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
317 powers of two in terms of TWOPOW macro.
318 (mp_no): Make type of mantissa as MANTISSA_T.
319 [!RADIXI]: Define RADIXI.
320 [!TWO52]: Define TWO52.
321 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
322
bcda9880
SP
323 * manual/nptl.texi (cindex): Modify threads to pthreads.
324
06d5adfb
JM
3252013-03-15 Joseph Myers <joseph@codesourcery.com>
326
327 * sysdeps/x86_64/preconfigure: Regenerated.
328
41c7328e
JM
3292013-03-14 Joseph Myers <joseph@codesourcery.com>
330
331 [BZ #14155]
332 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
333 0x1p28 and above.
334 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
335 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
336 0x1p28 and above.
337 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
338 * math/libm-test.inc (j0_test): Do not allow one spurious
339 underflow exception.
340 (y1_test): Likewise.
341
e25cfa60
SP
3422013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
343
0409959c
SP
344 * manual/Makefile (chapters): Add nptl.
345 * manual/debug.texi (Debugging Support): Add link to Threads
346 chapter.
347 * manual/nptl.texi: New file.
348
e25cfa60
SP
349 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
350
58a1335e
PB
3512013-03-14 Petr Baudis <pasky@ucw.cz>
352
353 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
354 for non-NULL pointer before the memory validity test. Pointed
355 out by Holger Brunck <holger.brunck@keymile.com>.
356
9dc7c64f
AS
3572013-03-13 Andreas Schwab <schwab@suse.de>
358
359 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
360 instead of .os.
361
54206aa6
JM
3622013-03-13 Joseph Myers <joseph@codesourcery.com>
363
364 * timezone/zic.c: Update from tzcode 2013b.
365
e98cdb38
CD
3662013-03-12 Carlos O'Donell <carlos@redhat.com>
367
368 * manual/install.texi (Configuring and compiling):
369 Mention i686 and i586.
370 * INSTALL: Regenerate.
371
9967e003
RM
3722013-03-12 Roland McGrath <roland@hack.frob.com>
373
374 * sysdeps/init_array/elf-init.c: New file.
375 * csu/elf-init.c
376 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
377 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
378
379 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
380 __gmon_start__ as global, but as static with a .preinit_array pointer.
381 * sysdeps/init_array/gmon-start.c: New file. Use that.
382 * sysdeps/init_array/crti.S: New file, empty except for comments.
383 * sysdeps/init_array/crtn.S: Likewise.
384
e6b5a293 3852013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
386
387 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
388 definining bcopy.
80f844c9
OB
389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
390 Remove Prefer_SSE_for_memop.
391 * sysdeps/x86_64/multiarch/init-arch.h: Remove
392 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
393 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
394 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
395 memset-x86-64.
80f844c9 396 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 397 Remove bzero, memset ifunc support.
80f844c9
OB
398 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
399 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
400 * sysdeps/x86_64/multiarch/memset.S: Likewise.
401 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
402
fb6b0fcb
AS
4032013-03-11 Andreas Schwab <schwab@suse.de>
404
405 [BZ #15234]
406 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
407 by SHLIB_COMPAT.
408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
409 (GLIBC_2.16): Remove pthread_atfork.
410
3e6bd4b1
PP
4112013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
412
413 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
414 (ptestcases.h): Likewise.
415
222d7f00
RM
4162013-03-08 Roland McGrath <roland@hack.frob.com>
417
418 * Makeconfig ($(common-objpfx)config.status): Depend on
419 sysdeps/*/preconfigure{,.in} too.
420
1ba4f030
JM
4212013-03-08 Joseph Myers <joseph@codesourcery.com>
422
a222d91a
JM
423 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
424 (__free_hook): Use void * instead of __malloc_ptr_t.
425 (__malloc_hook): Likewise.
426 (__realloc_hook): Likewise.
427 (__memalign_hook): Likewise.
428 (__after_morecore_hook): Likewise.
429 * malloc/arena.c (save_malloc_hook): Likewise.
430 (save_free_hook): Likewise.
431 * malloc/hooks.c (malloc_hook_ini): Likewise.
432 (realloc_hook_ini): Likewise.
433 (memalign_hook_ini): Likewise.
434 * malloc/malloc.c (malloc_hook_ini): Likewise.
435 (realloc_hook_ini): Likewise.
436 (memalign_hook_ini): Likewise.
437 (__free_hook): Likewise.
438 (__malloc_hook): Likewise.
439 (__realloc_hook): Likewise.
440 (__memalign_hook): Likewise.
441 (__libc_malloc): Likewise.
442 (__libc_free): Likewise.
443 (__libc_realloc): Likewise.
444 (__libc_memalign): Likewise.
445 (__libc_valloc): Likewise.
446 (__libc_pvalloc): Likewise.
447 (__libc_calloc): Likewise.
448 (__posix_memalign): Likewise.
449 * malloc/morecore.c (__sbrk): Likewise.
450 (__default_morecore): Likewise.
451
5cc45e10
JM
452 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
453
dd54b864
JM
454 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
455 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
456 __malloc_ptrdiff_t.
457
1ba4f030
JM
458 * malloc/malloc.h (__malloc_size_t): Remove macro.
459 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
460 __malloc_size_t.
461 (old_memalign_hook): Likewise.
462 (old_realloc_hook): Likewise.
463 (struct hdr): Likewise.
464 (flood): Likewise.
465 (mallochook): Likewise.
466 (memalignhook): Likewise.
467 (reallochook): Likewise.
468 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
469 (tr_old_realloc_hook): Likewise.
470 (tr_old_memalign_hook): Likewise.
471 (tr_mallochook): Likewise.
472 (tr_reallochook): Likewise.
473 (tr_memalignhook): Likewise.
474
edf66e57
AZ
4752013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
476
477 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
478 default_ldbl_pack and using as default implementation.
479 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
480 implementation.
481 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
482 redundant definition.
483 (ldbl_insert_mantissa): Likewise.
484 (ldbl_canonicalize): Likewise.
485 (ldbl_nearbyint): Likewise.
486 (ldbl_pack): Rename to ldbl_pack_ppc.
487 (ldbl_unpack): Rename to ldbl_unpack_ppc.
488 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
489 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
490
6d9145d8
SP
4912013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
492
493 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
494 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
495 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
496 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
498 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
499 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
500 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
501
4dd4e157
AJ
5022013-03-07 Andreas Jaeger <aj@suse.de>
503
504 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
505 bits/mman-linux.h.
506
adbb8027
SP
5072013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
508
ce544b5b
SP
509 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
510 Include mpa.h and declare __MPEXP.
511 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
512 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
513 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
514 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
515 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
516 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
517 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
518
4cc149fd
SP
519 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
520 (__slowpow): Use long double EXPL and LOGL functions to
521 compute POW.
522 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
523 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
524 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
525 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
526 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
527 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
528
e6ebd4a7
SP
529 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
530 intermediate variable to calculate exponent.
531 (__sqr): Likewise.
532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
533 Likewise.
534 (__sqr): Likewise.
535
82a9811d
SP
536 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
537 [!NO__SQR]: Define __sqr.
538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
539 and NO__SQR. Remove all code except __mul and __sqr. Include
540 sysdeps/ieee754/dbl-64/mpa.c.
541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
542
adbb8027
SP
543 [BZ #12723]
544 * posix/Makefile (tests): Add tst-pathconf.
545 * posix/tst-pathconf.c: New test case.
546 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
547 _PC_PIPE_BUF.
548 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
549
39120df9
PF
5502013-03-06 Patsy Franklin <pfrankli@redhat.com>
551
552 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
553
67525cb8
AJ
5542013-03-06 Andreas Jaeger <aj@suse.de>
555
664a9ce4
AJ
556 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
557 definition via __MAP_ANONYMOUS.
558
8e39047d
AJ
559 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
560 it's not part of Linux headers.
561
67525cb8
AJ
562 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
563 (MAP_HUGE_MASK): Define.
564
565 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
566 Define.
567 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
569 Define.
570 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
571 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
572 Define.
573 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
574 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
575 Define.
576 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
577
578 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
579 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
580 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
581 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
582 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
583 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
584
585 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
586 Handle f2fs.
587
588 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
589 Handle f2fs and efivarfs.
590
591 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
592 f2fs.
593
594 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
595 (EFIVARFS_MAGIC): Add.
596 (F2FS_LINK_MAX): Add.
597
e1b42695
PP
5982013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
599
600 * stdio-common/vfprintf.c: Replace __builtin_expect with
601 __glibc_unlikely.
602
2d67d91a
JM
6032013-03-06 Joseph Myers <joseph@codesourcery.com>
604
605 [BZ #13550]
606 * sysdeps/generic/bp-sym.h: Remove file.
607 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
608 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
609 <bp-sym.h> and <bp-asm.h>.
610 (__longjmp): Don't use BP_SYM.
611 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
612 and <bp-asm.h>.
613 (memcpy): Don't use BP_SYM.
614 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
615 <bp-sym.h> and <bp-asm.h>.
616 (memcpy): Don't use BP_SYM.
617 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
618 <bp-asm.h>.
619 (memcpy): Don't use BP_SYM.
620 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
621 <bp-asm.h>.
622 (memset): Don't use BP_SYM.
623 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
624 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
625 (__bzero): Don't use BP_SYM.
626 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
627 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
628 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
629 <bp-sym.h> and <bp-asm.h>.
630 (memcmp): Don't use BP_SYM. Remove comment about bounded
631 pointers.
632 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
633 <bp-sym.h> and <bp-asm.h>.
634 (memcpy): Don't use BP_SYM.
635 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
636 <bp-sym.h> and <bp-asm.h>.
637 (memset): Don't use BP_SYM.
638 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
639 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
640 (__bzero): Don't use BP_SYM.
641 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
642 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
643 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
644 <bp-sym.h> and <bp-asm.h>.
645 (strncmp): Don't use BP_SYM. Remove comment about bounded
646 pointers.
647 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
648 <bp-sym.h> and <bp-asm.h>.
649 (memcpy): Don't use BP_SYM.
650 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
651 <bp-sym.h> and <bp-asm.h>.
652 (memset): Don't use BP_SYM.
653 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
654 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
655 (__bzero): Don't use BP_SYM.
656 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
657 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
658 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
659 <bp-sym.h> and <bp-asm.h>.
660 (__memchr): Don't use BP_SYM.
661 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
662 <bp-sym.h> and <bp-asm.h>.
663 (memcmp): Don't use BP_SYM. Remove comment about bounded
664 pointers.
665 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
666 <bp-sym.h> and <bp-asm.h>.
667 (memcpy): Don't use BP_SYM.
668 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
669 <bp-sym.h> and <bp-asm.h>.
670 (__mempcpy): Don't use BP_SYM.
671 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
672 <bp-sym.h> and <bp-asm.h>.
673 (__memrchr): Don't use BP_SYM.
674 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
675 <bp-sym.h> and <bp-asm.h>.
676 (memset): Don't use BP_SYM.
677 (__bzero): Likewise.
678 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
679 <bp-sym.h> and <bp-asm.h>.
680 (__rawmemchr): Don't use BP_SYM.
681 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
682 <bp-sym.h> and <bp-asm.h>.
683 (__STRCMP): Don't use BP_SYM.
684 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
685 <bp-sym.h> and <bp-asm.h>.
686 (strchr): Don't use BP_SYM.
687 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
688 <bp-sym.h> and <bp-asm.h>.
689 (__strchrnul): Don't use BP_SYM.
690 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
691 <bp-sym.h> and <bp-asm.h>.
692 (strlen): Don't use BP_SYM.
693 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
694 <bp-sym.h> and <bp-asm.h>.
695 (strncmp): Don't use BP_SYM. Remove comment about bounded
696 pointers.
697 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
698 <bp-sym.h> and <bp-asm.h>.
699 (__strnlen): Don't use BP_SYM.
700 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
701 <bp-sym.h> and <bp-asm.h>.
702 (__GI__setjmp): Don't use BP_SYM.
703 (_setjmp): Likewise.
704 (__sigsetjmp): Likewise.
705 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
706 (L(start_addresses)): Don't use BP_SYM.
707 (_start): Likewise.
708 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
709 <bp-asm.h>.
710 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
711 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
712 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
713 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
714 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
715 <bp-asm.h>.
716 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
717 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
718 about bounded pointers.
719 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
720 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
721 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
722 <bp-asm.h>.
723 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
724 about bounded pointers. Remove GKM FIXME comments.
725 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
726 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
727 <bp-asm.h>.
728 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
729 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
730 Remove GKM FIXME comments.
731 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
732 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
733 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
734 <bp-asm.h>.
735 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
736 about bounded pointers. Remove GKM FIXME comment.
737 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
738 and <bp-asm.h>.
739 (strncmp): Don't use BP_SYM. Remove comment about bounded
740 pointers.
741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
742 <bp-sym.h> and <bp-asm.h>.
743 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
745 <bp-sym.h> and <bp-asm.h>.
746 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
747 comment.
748
cdcf361f
PP
7492013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
750
751 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
752 call free(NULL).
753
3c4a2b15
DM
7542013-03-05 David S. Miller <davem@davemloft.net>
755
756 * po/es.po: Update from translation team.
757
cdcf361f 7582013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
759
760 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
761 <bits/mman-linux.h>.
762 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
763 is fine.
764 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
765 <bits/mman-linux.h> to end of file.
766 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
767 is fine.
768 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
769 <bits/mman-linux.h> to end of file.
770 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
771 is fine.
772 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
773 <bits/mman-linux.h> to end of file.
774
775 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
776 (MCL_CURRENT, MCL_FUTURE): Define here.
777
5f67c04f
AK
7782013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
779
8a4473cc 780 [BZ #15232]
5f67c04f
AK
781 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
782 attribute_hidden.
783 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
784
c3e94a95
AK
7852013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
786
787 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
788 fourth parameter needed for rt_sigprocmask syscall.
789 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
790 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
791 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
792 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
793 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
794 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
795
cfb6382a
JM
7962013-03-04 Joseph Myers <joseph@codesourcery.com>
797
798 [BZ #13550]
799 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
800 comment about bounded pointers.
801 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
802 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
803
539d8e01
AJ
8042013-03-04 Andreas Jaeger <aj@suse.de>
805
806 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
807 common definitions.
808
809 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
810 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
811 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
812 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
813 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
814 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
815
2e167a70 8162013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
817
818 [BZ #15055]
819 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
820 __ieee754_sqrl instead of __sqrl.
821
68508633
JM
8222013-03-01 Joseph Myers <joseph@codesourcery.com>
823
824 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
825 * sysdeps/powerpc/fpu_control.h: ... here.
826 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
827 * sysdeps/powerpc/bits/fenvinline.h: ... here.
828 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
829 * sysdeps/powerpc/bits/mathinline.h: ... here.
830
7775448e
RM
8312013-03-01 Roland McGrath <roland@hack.frob.com>
832
833 * elf/dl-hwcaps.c (_dl_important_hwcaps):
834 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
835 to just [NEED_DL_SYSINFO_DSO].
836 * elf/dl-support.c: Likewise.
837 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
838 * elf/rtld.c (dl_main): Likewise.
839 * elf/setup-vdso.h (setup_vdso): Likewise.
840 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
841 * sysdeps/unix/sysv/linux/dl-sysdep.c
842 (_dl_discover_osversion): Likewise.
843
4e9b5995
CD
8442013-03-01 Carlos O'Donell <carlos@redhat.com>
845
846 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
847 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
848
e23872c8
SP
8492013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
850
e5c74c63
SP
851 * NEWS: Mention libm performance improvements and non-x86 PI
852 futex support.
853
e23872c8
SP
854 * csu/libc-start.c (__pthread_initialize_minimal): Change
855 function arguments.
856 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
857
b5510883
JM
8582013-02-28 Joseph Myers <joseph@codesourcery.com>
859
860 [BZ #13550]
861 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
862 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
863 <bp-sym.h> and <bp-asm.h>.
864 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
865 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
866 and <bp-asm.h>.
867 (memcpy): Don't use BP_SYM.
868 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
869 <bp-asm.h>.
870 (__mpn_add_n): Don't use BP_SYM.
871 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
872 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
873 and <bp-asm.h>.
874 (__mpn_addmul_1): Don't use BP_SYM.
875 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
876 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
877 <bp-sym.h>.
878 (_setjmp): Don't use BP_SYM.
879 (__novmx_setjmp): Likewise.
880 (__GI__setjmp): Likewise.
881 (__vmx_setjmp): Likewise.
882 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
883 <bp-sym.h>.
884 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
885 (__bzero): Don't use BP_SYM.
886 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
887 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
888 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
889 <bp-sym.h> and <bp-asm.h>.
890 (memcpy): Don't use BP_SYM.
891 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
892 <bp-sym.h> and <bp-asm.h>.
893 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
894 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
895 <bp-sym.h> and <bp-asm.h>.
896 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
897 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
898 <bp-asm.h>.
899 (__mpn_lshift): Don't use BP_SYM.
900 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
901 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
902 <bp-asm.h>.
903 (memset): Don't use BP_SYM.
904 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
905 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
906 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
907 <bp-asm.h>.
908 (__mpn_mul_1): Don't use BP_SYM.
909 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
910 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
911 <bp-sym.h> and <bp-asm.h>.
912 (memcmp): Don't use BP_SYM.
913 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
914 <bp-sym.h> and <bp-asm.h>.
915 (memcpy): Don't use BP_SYM.
916 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
917 <bp-sym.h> and <bp-asm.h>.
918 (memset): Don't use BP_SYM.
919 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
920 <bp-sym.h> and <bp-asm.h>.
921 (strncmp): Don't use BP_SYM.
922 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
923 <bp-sym.h> and <bp-asm.h>.
924 (memcpy): Don't use BP_SYM.
925 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
926 <bp-sym.h> and <bp-asm.h>.
927 (memset): Don't use BP_SYM.
928 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
929 <bp-sym.h> and <bp-asm.h>.
930 (__memchr): Don't use BP_SYM.
931 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
932 <bp-sym.h> and <bp-asm.h>.
933 (memcmp): Don't use BP_SYM.
934 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
935 <bp-sym.h> and <bp-asm.h>.
936 (memcpy): Don't use BP_SYM.
937 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
938 <bp-sym.h> and <bp-asm.h>.
939 (__mempcpy): Don't use BP_SYM.
940 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
941 <bp-sym.h> and <bp-asm.h>.
942 (__memrchr): Don't use BP_SYM.
943 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
944 <bp-sym.h> and <bp-asm.h>.
945 (memset): Don't use BP_SYM.
946 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
947 <bp-sym.h> and <bp-asm.h>.
948 (__rawmemchr): Don't use BP_SYM.
949 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
950 <bp-sym.h> and <bp-asm.h>.
951 (__STRCMP): Don't use BP_SYM.
952 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
953 <bp-sym.h> and <bp-asm.h>.
954 (strchr): Don't use BP_SYM.
955 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
956 <bp-sym.h> and <bp-asm.h>.
957 (__strchrnul): Don't use BP_SYM.
958 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
959 <bp-sym.h> and <bp-asm.h>.
960 (strlen): Don't use BP_SYM.
961 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
962 <bp-sym.h> and <bp-asm.h>.
963 (strncmp): Don't use BP_SYM.
964 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
965 <bp-sym.h> and <bp-asm.h>.
966 (__strnlen): Don't use BP_SYM.
967 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
968 <bp-asm.h>.
969 (__mpn_rshift): Don't use BP_SYM.
970 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
971 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
972 <bp-sym.h> and <bp-asm.h>.
973 (__sigsetjmp): Don't use BP_SYM.
974 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
975 (L(start_addresses)): Don't use BP_SYM.
976 (_start): Likewise.
977 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
978 <bp-asm.h>.
979 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
980 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
981 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
982 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
983 <bp-asm.h>.
984 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
985 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
986 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
987 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
988 <bp-asm.h>.
989 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
990 comments.
991 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
992 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
993 <bp-asm.h>.
994 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
995 FIXME comments.
996 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
997 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
998 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
999 <bp-asm.h>.
1000 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1001 comment.
1002 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1003 and <bp-asm.h>.
1004 (strncmp): Don't use BP_SYM,
1005 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1006 <bp-asm.h>.
1007 (__mpn_sub_n): Don't use BP_SYM.
1008 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1009 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1010 and <bp-asm.h>.
1011 (__mpn_submul_1): Don't use BP_SYM.
1012 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1014 <bp-sym.h> and <bp-asm.h>.
1015 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1017 <bp-sym.h> and <bp-asm.h>.
1018 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1019 comment.
1020
8d19fe64
SP
10212013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1022
1023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1024 Use ZK to minimize writes to Z.
1025 (sub_magnitudes): Simplify code a bit.
1026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1027 Use ZK to minimize writes to Z.
1028 (sub_magnitudes): Simplify code a bit.
1029
85bd816a
RM
10302013-02-27 Roland McGrath <roland@hack.frob.com>
1031
1032 * csu/gmon-start.c: Add special exception to license text.
1033
b5977bf2
RH
10342013-02-27 Richard Henderson <rth@redhat.com>
1035
1036 * scripts/config.guess: Update from config.git.
1037 * scripts/config.sub: Likewise.
1038
11d6e2f2
SP
10392013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1040
09c14ed2
SP
1041 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1042
a688864e
SP
1043 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1044
6295157a
SP
1045 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1046
b8de2202
SP
1047 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1048
11d6e2f2
SP
1049 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1050
7e80ddb8
RM
10512013-02-26 Roland McGrath <roland@hack.frob.com>
1052
1053 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1054 [$(build-shared = yes].
7e80ddb8 1055
7da6d9ed
SP
10562013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1057
45f05884
SP
1058 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1059 (__mul): Reduce iterations for calculating mantissa.
1060
2236d359
SP
1061 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1062 MPTWO.
1063 (__mpranred): Likewise.
1064
7da6d9ed
SP
1065 [BZ #15160]
1066 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1067 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1068
b7688c42
PE
10692013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1070
1071 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1072 Define __attribute__.
1073
53a5c423
SP
10742013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1075
1076 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1077 unused.
1078 * posix/regex_internal.h (__attribute): Remove.
1079 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1080 (re_string_context_at): Likewise.
1081 (bitset_not): Use __attribute__ and mark function as possibly
1082 unused.
1083 (bitset_merge): Likewise.
1084 (bitset_mask): Likewise.
1085 (re_string_char_size_at): Likewise.
1086 (re_string_wchar_at): Likewise.
1087 (re_string_elem_size_at): Likewise.
1088
60f5a8b5
SP
10892013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1090
2a983a2e
SP
1091 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1092 code.
1093 (cc32): Likewise.
1094
e69804d1
SP
1095 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1096 (__acr): Likewise.
1097 (__cpy): Likewise.
1098 (norm): Likewise.
1099 (denorm): Likewise.
1100 (__dbl_mp): Likewise.
1101 (add_magnitudes): Likewise.
1102 (sub_magnitudes): Likewise.
1103 (__mul): Likewise.
1104 (__inv): Likewise.
1105
2f22a1e8
SP
1106 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1107 style.
1108
8930ddc7
SP
1109 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1110 style.
1111
dc60cb11
SP
1112 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1113 code.
1114
60f5a8b5
SP
1115 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1116 up changes with default code.
1117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1118 Likewise.
1119
b4d1fd33
AM
11202013-02-24 Allan McRae <allan@archlinux.org>
1121
faf6f8bc
AM
1122 * manual/socket.texi (The Internet Namespace): Order menu items
1123 to match that in the file.
1124
b4d1fd33
AM
1125 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1126 node listing of the info page menu.
1127
2366713d
JM
11282013-02-21 Joseph Myers <joseph@codesourcery.com>
1129
1130 [BZ #13550]
1131 * sysdeps/i386/bp-asm.h: Remove file.
1132 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1133 (PARMS): Do not use macros from bp-asm.h.
1134 (S1): Likewise.
1135 (S2): Likewise.
1136 (SIZE): Likewise.
1137 (__mpn_add_n): Do not use BP_SYM
1138 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1139 "bp-asm.h".
1140 (PARMS): Do not use macros from bp-asm.h.
1141 (S1): Likewise.
1142 (SIZE): Likewise.
1143 (__mpn_addmul_1): Do not use BP_SYM
1144 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1145 "bp-asm.h".
1146 (PARMS): Do not use macros from bp-asm.h.
1147 (SIGMSK): Likewise.
1148 (_setjmp): Likewise. Do not use BP_SYM.
1149 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1150 "bp-asm.h".
1151 (PARMS): Do not use macros from bp-asm.h.
1152 (SIGMSK): Likewise.
1153 (setjmp): Likewise. Do not use BP_SYM.
1154 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1155 "bp-asm.h".
1156 (PARMS): Do not use macros from bp-asm.h.
1157 (__frexp): Do not use BP_SYM.
1158 (frexp): Likewise.
1159 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1160 "bp-asm.h".
1161 (PARMS): Do not use macros from bp-asm.h.
1162 (__frexpf): Do not use BP_SYM.
1163 (frexpf): Likewise.
1164 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1165 "bp-asm.h".
1166 (PARMS): Do not use macros from bp-asm.h.
1167 (__frexpl): Do not use BP_SYM.
1168 (frexpl): Likewise.
1169 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1170 "bp-asm.h".
1171 (PARMS): Do not use macros from bp-asm.h.
1172 (__remquo): Do not use BP_SYM.
1173 (remquo): Likewise.
1174 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1175 "bp-asm.h".
1176 (PARMS): Do not use macros from bp-asm.h.
1177 (__remquof): Do not use BP_SYM.
1178 (remquof): Likewise.
1179 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1180 "bp-asm.h".
1181 (PARMS): Do not use macros from bp-asm.h.
1182 (__remquol): Do not use BP_SYM.
1183 (remquol): Likewise.
1184 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1185 "bp-asm.h".
1186 (PARMS): Do not use macros from bp-asm.h.
1187 (DEST): Likewise.
1188 (SRC): Likewise.
1189 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1190 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1191 "bp-asm.h".
1192 (PARMS): Do not use macros from bp-asm.h.
1193 (strlen): Do not use BP_SYM.
1194 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1195 "bp-asm.h".
1196 (PARMS): Do not use macros from bp-asm.h.
1197 (S1): Likewise.
1198 (S2): Likewise.
1199 (SIZE): Likewise.
1200 (__mpn_add_n): Do not use BP_SYM.
1201 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1202 "bp-asm.h".
1203 (PARMS): Do not use macros from bp-asm.h.
1204 (S1): Likewise.
1205 (SIZE): Likewise.
1206 (__mpn_addmul_1): Do not use BP_SYM.
1207 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1208 weak_alias.
1209 (bzero): Likewise.
1210 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1211 "bp-asm.h".
1212 (PARMS): Do not use macros from bp-asm.h.
1213 (S): Likewise.
1214 (SIZE): Likewise.
1215 (__mpn_lshift): Do not use BP_SYM.
1216 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1217 "bp-asm.h".
1218 (PARMS): Do not use macros from bp-asm.h.
1219 (DEST): Likewise.
1220 (SRC): Likewise.
1221 (LEN): Likewise.
1222 (memcpy): Likewise. Do not use BP_SYM.
1223 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1224 libc_hidden_def and weak_alias.
1225 (mempcpy): Do not use BP_SYM in weak_alias.
1226 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1227 "bp-asm.h".
1228 (PARMS): Do not use macros from bp-asm.h.
1229 (DEST): Likewise.
1230 (LEN): Likewise.
1231 [!BZERO_P] (CHR): Likewise.
1232 (memset): Likewise. Do not use BP_SYM.
1233 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1234 "bp-asm.h".
1235 (PARMS): Do not use macros from bp-asm.h.
1236 (S1): Likewise.
1237 (SIZE): Likewise.
1238 (__mpn_mul_1): Do not use BP_SYM.
1239 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1240 "bp-asm.h".
1241 (PARMS): Do not use macros from bp-asm.h.
1242 (S): Likewise.
1243 (SIZE): Likewise.
1244 (__mpn_rshift): Do not use BP_SYM.
1245 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1246 "bp-asm.h".
1247 (PARMS): Do not use macros from bp-asm.h.
1248 (STR): Likewise.
1249 (CHR): Likewise.
1250 (strchr): Likewise. Do not use BP_SYM.
1251 (index): Do not use BP_SYM in weak_alias.
1252 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1253 "bp-asm.h".
1254 (PARMS): Do not use macros from bp-asm.h.
1255 (DEST): Likewise.
1256 (SRC): Likewise.
1257 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1258 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1259 "bp-asm.h".
1260 (PARMS): Do not use macros from bp-asm.h.
1261 (strlen): Do not use BP_SYM.
1262 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1263 "bp-asm.h".
1264 (PARMS): Do not use macros from bp-asm.h.
1265 (S1): Likewise.
1266 (S2): Likewise.
1267 (SIZE): Likewise.
1268 (__mpn_sub_n): Do not use BP_SYM.
1269 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1270 "bp-asm.h".
1271 (PARMS): Do not use macros from bp-asm.h.
1272 (S1): Likewise.
1273 (SIZE): Likewise.
1274 (__mpn_submul_1): Do not use BP_SYM.
1275 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1276 "bp-asm.h".
1277 (PARMS): Do not use macros from bp-asm.h.
1278 (S1): Likewise.
1279 (S2): Likewise.
1280 (SIZE): Likewise.
1281 (__mpn_add_n): Do not use BP_SYM.
1282 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1283 weak_alias.
1284 (bzero): Likewise.
1285 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1286 "bp-asm.h".
1287 (PARMS): Do not use macros from bp-asm.h.
1288 (BLK2): Likewise.
1289 (LEN): Likewise.
1290 (memcmp): Do not use BP_SYM.
1291 (bcmp): Do not use BP_SYM in weak_alias.
1292 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1293 "bp-asm.h".
1294 (PARMS): Do not use macros from bp-asm.h.
1295 (DEST): Likewise.
1296 (SRC): Likewise.
1297 (LEN): Likewise.
1298 (memcpy): Likewise. Do not use BP_SYM.
1299 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1300 "bp-asm.h".
1301 (PARMS): Do not use macros from bp-asm.h.
1302 (DEST): Likewise.
1303 (SRC): Likewise.
1304 (LEN): Likewise.
1305 (memmove): Likewise. Do not use BP_SYM.
1306 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1307 "bp-asm.h".
1308 (PARMS): Do not use macros from bp-asm.h.
1309 (DEST): Likewise.
1310 (SRC): Likewise.
1311 (LEN): Likewise.
1312 (__mempcpy): Likewise. Do not use BP_SYM.
1313 (mempcpy): Do not use BP_SYM in weak_alias.
1314 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1315 "bp-asm.h".
1316 (PARMS): Do not use macros from bp-asm.h.
1317 (DEST): Likewise.
1318 (LEN): Likewise.
1319 [!BZERO_P] (CHR): Likewise.
1320 (memset): Likewise. Do not use BP_SYM.
1321 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1322 "bp-asm.h".
1323 (PARMS): Do not use macros from bp-asm.h.
1324 (STR2): Likewise.
1325 (strcmp): Do not use BP_SYM.
1326 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1327 "bp-asm.h".
1328 (PARMS): Do not use macros from bp-asm.h.
1329 (STR): Likewise.
1330 (DELIM): Likewise.
1331 [USE_AS_STRTOK_R] (SAVE): Likewise.
1332 (FUNCTION): Likewise. Do not use BP_SYM.
1333 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1334 aliases.
1335 (strtok_r): Likewise.
1336 (__GI___strtok_r): Likewise.
1337 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1338 (PARMS): Do not use macros from bp-asm.h.
1339 (S): Likewise.
1340 (SIZE): Likewise.
1341 (__mpn_lshift): Do not use BP_SYM.
1342 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1343 (PARMS): Do not use macros from bp-asm.h.
1344 (STR): Likewise.
1345 (CHR): Likewise.
1346 (__memchr): Do not use BP_SYM.
1347 (memchr): Do not use BP_SYM in weak_alias.
1348 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1349 (PARMS): Do not use macros from bp-asm.h.
1350 (BLK2): Likewise.
1351 (LEN): Likewise.
1352 (memcmp): Do not use BP_SYM.
1353 (bcmp): Do not use BP_SYM in weak_alias.
1354 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1355 (PARMS): Do not use macros from bp-asm.h.
1356 (S1): Likewise.
1357 (SIZE): Likewise.
1358 (__mpn_mul_1): Do not use BP_SYM.
1359 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1360 "bp-asm.h".
1361 (PARMS): Do not use macros from bp-asm.h.
1362 (STR): Likewise.
1363 (CHR): Likewise.
1364 (__rawmemchr): Do not use BP_SYM.
1365 (rawmemchr): Do not use BP_SYM in weak_alias.
1366 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1367 (PARMS): Do not use macros from bp-asm.h.
1368 (S): Likewise.
1369 (SIZE): Likewise.
1370 (__mpn_rshift): Do not use BP_SYM.
1371 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1372 (PARMS): Do not use macros from bp-asm.h.
1373 (SIGMSK): Likewise.
1374 (__sigsetjmp): Likewise. Do not use BP_SYM.
1375 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1376 (_start): Do not use BP_SYM.
1377 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1378 (PARMS): Do not use macros from bp-asm.h.
1379 (DEST): Likewise.
1380 (SRC): Likewise.
1381 (__stpcpy): Likewise. Do not use BP_SYM.
1382 (stpcpy): Do not use BP_SYM in weak_alias.
1383 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1384 "bp-asm.h".
1385 (PARMS): Do not use macros from bp-asm.h.
1386 (DEST): Likewise.
1387 (SRC): Likewise.
1388 (LEN): Likewise.
1389 (__stpncpy): Likewise. Do not use BP_SYM.
1390 (stpncpy): Do not use BP_SYM in weak_alias.
1391 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1392 (PARMS): Do not use macros from bp-asm.h.
1393 (STR): Likewise.
1394 (CHR): Likewise.
1395 (strchr): Likewise. Do not use BP_SYM.
1396 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1397 "bp-asm.h".
1398 (PARMS): Do not use macros from bp-asm.h.
1399 (STR): Likewise.
1400 (CHR): Likewise.
1401 (__strchrnul): Likewise. Do not use BP_SYM.
1402 (strchrnul): Do not use BP_SYM in weak_alias.
1403 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1404 "bp-asm.h".
1405 (PARMS): Do not use macros from bp-asm.h.
1406 (STOP): Likewise.
1407 (strcspn): Do not use BP_SYM.
1408 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1409 "bp-asm.h".
1410 (PARMS): Do not use macros from bp-asm.h.
1411 (STR): Likewise.
1412 (STOP): Likewise.
1413 (strpbrk): Likewise. Do not use BP_SYM.
1414 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1415 "bp-asm.h".
1416 (PARMS): Do not use macros from bp-asm.h.
1417 (STR): Likewise.
1418 (CHR): Likewise.
1419 (strrchr): Likewise. Do not use BP_SYM.
1420 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1421 (PARMS): Do not use macros from bp-asm.h.
1422 (SKIP): Likewise.
1423 (strspn): Do not use BP_SYM.
1424 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1425 (PARMS): Do not use macros from bp-asm.h.
1426 (STR): Likewise.
1427 (DELIM): Likewise.
1428 (SAVE): Likewise.
1429 (FUNCTION): Likewise. Do not use BP_SYM.
1430 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1431 aliases.
1432 (strtok_r): Likewise.
1433 (__GI___strtok_r): Likewise.
1434 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1435 (PARMS): Do not use macros from bp-asm.h.
1436 (S1): Likewise.
1437 (S2): Likewise.
1438 (SIZE): Likewise.
1439 (__mpn_sub_n): Do not use BP_SYM.
1440 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1441 "bp-asm.h".
1442 (PARMS): Do not use macros from bp-asm.h.
1443 (S1): Likewise.
1444 (SIZE): Likewise.
1445 (__mpn_submul_1): Do not use BP_SYM.
1446 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1447 <bp-sym.h>.
1448 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1449 and <bp-asm.h>.
1450 (PARMS): Do not use macros from bp-asm.h.
1451 (FLAGS): Likewise.
1452 (PTID): Likewise.
1453 (TLS): Likewise.
1454 (CTID): Likewise.
1455 (__clone): Do not use BP_SYM.
1456 (clone): Do not use BP_SYM in weak_alias.
1457 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1458 and <bp-asm.h>.
1459 (PARMS): Do not use macros from bp-asm.h.
1460 (LEN): Likewise.
1461 (__mmap64): Do not use BP_SYM.
1462 (mmap64): Do not use BP_SYM in weak_alias.
1463 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1464 <bp-sym.h> and <bp-asm.h>.
1465 (PARMS): Do not use macros from bp-asm.h.
1466 (__posix_fadvise64_l64): Do not use BP_SYM.
1467 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1468 (PARMS): Do not use macros from bp-asm.h.
1469 (NSOPS): Likewise.
1470 (semtimedop): Do not use BP_SYM.
1471 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1472 and <bp-asm.h>.
1473
582a3cff
AM
14742013-02-21 Allan McRae <allan@archlinux.org>
1475
1476 * manual/message.texi (Charset conversion in gettext):
1477 Move @end statement to beginning of line.
1478
bab8a695
SP
14792013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1480
80945231
SP
1481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1482 static.
1483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1484 Likewise.
1485
bab8a695
SP
1486 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1487 (denorm): Likewise.
1488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1490
e21d7aa7
AK
14912013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1492
1493 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1494 tail-call to the resolved function if pltexit isn't needed.
1495
4c7a4263
SP
14962013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1497
1498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1499 or Y being zero as being unlikely.
1500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1501 Likewise.
1502
41f49342
CD
15032013-02-20 Carlos O'Donell <carlos@redhat.com>
1504
1505 * manual/nss.texi (System Databases and Name Service Switch):
1506 Remove frobnicate @pxref.
1507
50022a93
TS
15082013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1509
1510 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1511 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1512
08cbd996
PM
15132013-02-20 Petr Machata <pmachata@redhat.com>
1514
1515 * elf/elf.h (R_ARM_TARGET1): New macro.
1516 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1517 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1518 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1519 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1520 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1521 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1522 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1523 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1524 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1525 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1526 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1527 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1528 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1529 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1530 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1531 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1532 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1533 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1534 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1535 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1536 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1537 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1538 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1539 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1540 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1541 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1542 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1543 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1544 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1545 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1546 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1547 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1548 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1549 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1550 (R_ARM_THM_GOT_BREL12): Likewise.
1551 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1552 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1553 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1554 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1555 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1556 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1557 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1558 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1559 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1560
c7b275d6
TS
15612013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1562
1563 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1564 __attribute_used__ to __attribute__ ((unused)).
1565
20cd7fb3
SP
15662013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1567
1568 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1569 powerpc mpa.c.
1570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1571 comment formatting.
1572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1573
92945b52
JM
15742013-02-19 Joseph Myers <joseph@codesourcery.com>
1575
1576 [BZ #13550]
1577 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1578 Remove macro.
1579 (ENTER): Remove both macro definitions.
1580 (LEAVE): Likewise.
1581 (CHECK_BOUNDS_LOW): Likewise.
1582 (CHECK_BOUNDS_HIGH): Likewise.
1583 (CHECK_BOUNDS_BOTH): Likewise.
1584 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1585 (RETURN_BOUNDED_POINTER): Likewise.
1586 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1587 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1588 (POP_ERRNO_LOCATION_RETURN): Likewise.
1589 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1590 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1591 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1592 macros.
1593 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1594 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1595 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1596 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1597 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1598 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1599 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1600 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1601 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1602 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1603 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1604 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1605 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1606 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1607 removed macros.
1608 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1609 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1610 macros.
1611 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1612 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1613 * sysdeps/i386/i586/memset.S (memset): Likewise.
1614 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1615 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1616 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1617 macros.
1618 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1619 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1620 Change uses of L(2) to L(out).
1621 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1622 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1623 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1624 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1625 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1626 removed macros.
1627 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1628 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1629 macros.
1630 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1631 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1632 (RETURN): Do not use macro LEAVE.
1633 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1634 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1635 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1636 * sysdeps/i386/i686/memset.S (memset): Likewise.
1637 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1638 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1639 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1640 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1641 Likewise.
1642 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1643 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1644 L(1_2) and L(1_3) into L(1).
1645 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1646 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1647 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1648 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1649 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1650 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1651 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1652 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1653 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1654 macros.
1655 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1656 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1657 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1658 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1659 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1660 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1661 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1662 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1663 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1664 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1665 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1666 * sysdeps/i386/strspn.S (strspn): Likewise.
1667 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1668 conditional code.
1669 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1670 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1671 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1672 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1673 L(1_3) into L(1_1).
1674 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1675 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1676 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1677 macros.
1678 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1679
2389741a
JJ
16802013-02-19 Jakub Jelinek <jakub@redhat.com>
1681
1682 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1683 macro.
1684
2016b3cd
SP
16852013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1686
e4f22324
SP
1687 * math/atest-exp.c (exp_mpn): Remove ROUND.
1688 * math/atest-exp2.c (exp_mpn): Likewise.
1689 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1690
2016b3cd
SP
1691 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1692 * stdlib/tst-tls-atexit-lib.c: Likewise.
1693 * stdlib/tst-tls-atexit.c: Likewise.
1694
4be9b544
MF
16952013-02-18 Mike Frysinger <vapier@gentoo.org>
1696
1697 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1698 and __attribute_alloc_size__.
1699
2f62b9ee
MF
17002013-02-18 Mike Frysinger <vapier@gentoo.org>
1701
1702 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1703 __attribute_alloc_size__.
1704 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1705 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1706
6ff444c4
MF
17072013-02-18 Mike Frysinger <vapier@gentoo.org>
1708
1709 * include/programs/xmalloc.h: New file.
1710 * catgets/gencat.c: Include it.
1711 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1712 * elf/pldd.c: Likewise.
1713 * iconv/iconv_charmap.c: Likewise.
1714 * iconv/iconvconfig.c: Likewise.
1715 * iconv/strtab.c: Likewise.
1716 * locale/programs/locale.c: Likewise.
1717 * locale/programs/localedef.h: Likewise.
1718 * locale/programs/simple-hash.c: Likewise.
1719 * nscd/nscd.h: Likewise.
1720 * nss/makedb.c: Likewise.
1721 * sysdeps/generic/ldconfig.h: Likewise.
1722
be179c8a
SP
17232013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1724
ba384f6e
SP
1725 * Versions.def: Add GLIBC_2.18.
1726 * include/link.h (struct link_map): New member l_tls_dtor_count.
1727 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1728 (__call_tls_dtors): Likewise.
1729 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1730 __cxa_thread_atexit_impl.
1731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1732 Likewise.
1733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1734 Likewise.
1735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1736 Likewise.
1737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1738 Likewise.
1739 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1741 Likewise.
1742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1743 Likewise.
1744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1746 Likewise.
1747 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1748 (tests): Add test case tst-tls-atexit.
1749 (modules-names): Add shared library for tst-tls-atexit.
1750 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1751 (GLIBC_PRIVATE): Add __call_tls_dtors.
1752 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1753 for libstdc++.
1754 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1755 * stdlib/tst-tls-atexit.c: New test case.
1756 * stdlib/tst-tls-atexit-lib.c: New test case.
1757
ffaa74cf 1758 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 1759
be179c8a
SP
1760 * elf/Versions (ld): Add _dl_find_dso_for_object.
1761 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1762 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1763 (dl_open_worker): Use _dl_find_dso_for_object.
1764 * elf/dl-sym.c (do_sym): Likewise.
1765 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1766
f78b5caa
AK
17672013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1768
1769 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1770 Syntactic changes only.
1771 (_dl_runtime_profile): Do a tail-call to the resolved function.
1772
29691210
JM
17732013-02-17 Joseph Myers <joseph@codesourcery.com>
1774
1775 [BZ #13550]
1776 * sysdeps/x86_64/bp-asm.h: Remove file.
1777 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1778 <bp-sym.h> and <bp-asm.h>.
1779 (__clone): Do not use BP_SYM.
1780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1781 <bp-sym.h> and <bp-asm.h>.
1782 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1783 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1784 "bp-asm.h".
1785 (_setjmp): Do not use BP_SYM.
1786 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1787 "bp-asm.h".
1788 (setjmp): Do not use BP_SYM.
1789 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1790 libc_hidden_def.
1791 (mempcpy): Do not use BP_SYM in weak_alias.
1792 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1793 "bp-asm.h".
1794 (strchr): Do not use BP_SYM.
1795 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1796 "bp-asm.h".
1797 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1798 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1799 (_start): Do not use BP_SYM.
1800 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1801 "bp-asm.h".
1802 (strcat): Do not use BP_SYM.
1803 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1804 "bp-asm.h".
1805 (STRCMP): Do not use BP_SYM.
1806 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1807 "bp-asm.h".
1808 (STRCPY): Do not use BP_SYM.
1809 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1810 "bp-asm.h".
1811 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1812 "bp-asm.h".
1813 (FUNCTION): Do not use BP_SYM.
1814 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1815 weak_alias.
1816 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1817
f238fd19
AJ
18182013-02-17 Andreas Jaeger <aj@suse.de>
1819
1820 * time/Versions: Sort entries.
1821 * string/Versions: Likewise.
1822 * resolv/Versions: Likewise.
1823 * posix/Versions: Likewise.
1824 * iconv/Versions: Likewise.
1825 * elf/Versions: Likewise.
1826 * wcsmbs/Versions: Likewise.
1827
bd07f23c 18282013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 1829
22af19f9
SP
1830 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1831 loop termination condition.
1832
4709fe76
SP
1833 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1834 variable to calculate EZ.
1835 (__sqr): Likewise.
2d0e0f29
SP
1836
1837 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1838 the lower precision input.
1839
daaa7713
JM
18402013-02-15 Joseph Myers <joseph@codesourcery.com>
1841
1842 [BZ #13550]
1843 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1844 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1845 (run-via-rtld-prefix): Do not handle %-bp tests.
1846 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1847 (all-object-suffixes): Remove .ob.
1848 (bppfx): Remove variable.
1849 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1850 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1851 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1852 [$(build-bounded) = yes] (libtype.ob): Likewise.
1853 * Makerules (elide-routines.ob): Remove variable.
1854 (do-tests-clean): Do not handle *-bp.out.
1855 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1856 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1857 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1858 (tests): Do not include $(tests-bp.out).
1859 (xtests): Do not include $(xtests-bp.out).
1860 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1861 [$(build-bounded) = yes] ($(addprefix
1862 $(objpfx),$(binaries-bounded))): Remove rule.
1863 ($(objpfx)%-bp.out): Remove rule.
1864 * config.make.in (build-bounded): Remove variable.
1865 * crypt/Makefile [$(build-bounded) = yes]
1866 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1867 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1868 append to variable.
1869 [$(build-bounded) = yes] (install-lib): Likewise.
1870 [$(build-bounded) = yes] (generated): Likewise.
1871 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1872 Remove rule.
1873 * intl/Makefile [$(build-bounded) = yes]
1874 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1875 * math/Makefile [$(build-bounded) = yes]
1876 ($(tests:%=$(objpfx)%-bp): Likewise.
1877 * misc/Makefile [$(build-bounded) = yes]
1878 ($(objpfx)tst-tsearch-bp): Likewise.
1879 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1880 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1881 Remove dependency.
1882 * string/Makefile (o-objects.ob): Remove variable.
1883 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1884 (CFLAGS-.ob): Remove variable.
1885 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1886 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1887 both definitions of variable.
1888 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1889 (ASFLAGS-.ob): Remove variable.
1890
e97ed6dd
JM
18912013-02-14 Joseph Myers <joseph@codesourcery.com>
1892
2bdd4ca6
JM
1893 [BZ #13550]
1894 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1895 Remove __BOUNDED_POINTERS__ from condition.
1896 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1897 * string/bits/string2.h [!__NO_STRING_INLINES &&
1898 !__BOUNDED_POINTERS__]: Likewise.
1899 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1900 Likewise.
1901 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1902 Remove conditional code.
1903 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1904 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1905 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1906 condition.
1907
e97ed6dd
JM
1908 [BZ #13550]
1909 * csu/libc-start.c: Do not include <bp-sym.h>.
1910 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1911 * elf/dl-open.c: Do not include <bp-sym.h>.
1912 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1913 * math/fegetenv.c: Do not include <bp-sym.h>.
1914 (fegetenv): Do not use BP_SYM in versioned symbols.
1915 * nptl/sysdeps/pthread/bits/libc-lockP.h
1916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1917 <bp-sym.h>.
1918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1919 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1921 (__pthread_mutex_destroy): Likewise.
1922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1923 (__pthread_mutex_lock): Likewise.
1924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1925 (__pthread_mutex_trylock): Likewise.
1926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1927 (__pthread_mutex_unlock): Likewise.
1928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1929 (__pthread_mutexattr_init): Likewise.
1930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1931 (__pthread_mutexattr_destroy): Likewise.
1932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1933 (__pthread_mutexattr_settype): Likewise.
1934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1935 (__pthread_rwlock_init): Likewise.
1936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1937 (__pthread_rwlock_destroy): Likewise.
1938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1939 (__pthread_rwlock_rdlock): Likewise.
1940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1941 (__pthread_rwlock_tryrdlock): Likewise.
1942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1943 (__pthread_rwlock_wrlock): Likewise.
1944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1945 (__pthread_rwlock_trywrlock): Likewise.
1946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1947 (__pthread_rwlock_unlock): Likewise.
1948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1949 (__pthread_key_create): Likewise.
1950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1951 (__pthread_setspecific): Likewise.
1952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1953 (__pthread_getspecific): Likewise.
1954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1955 Likewise.
1956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1957 (_pthread_cleanup_push_defer): Likewise.
1958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1959 (_pthread_cleanup_pop_restore): Likewise.
1960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1961 (pthread_setcancelstate): Likewise.
1962 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1963 <bp-sym.h>.
1964 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1965 (memchr): Do not use BP_SYM in weak_alias.
1966 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1967 (fegetenv): Do not use BP_SYM in versioned symbols.
1968 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1969 (fesetenv): Do not use BP_SYM in versioned symbols.
1970 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1971 (feupdateenv): Do not use BP_SYM in versioned symbols.
1972 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1973 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1974 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1975 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1976 (open64): Do not use BP_SYM in weak_alias.
1977 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1978 (fegetenv): Do not use BP_SYM in versioned symbols.
1979 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1980 (fesetenv): Do not use BP_SYM in versioned symbols.
1981 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1982 (feupdateenv): Do not use BP_SYM in versioned symbols.
1983 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1984 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1985 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1986 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1987 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1988 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1989 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1990 <bp-sym.h>.
1991 (__libc_start_main): Do not use BP_SYM.
1992
d6752ccd
SP
19932013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1994
cb57ce60
SP
1995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1996 redundant return line.
1997 (norm): Likewise.
1998 (denorm): Likewise.
1999 (dbl_mp): Likewise.
2000 (sub_magnitudes): Likewise.
2001 (__add): Likewise.
2002 (__sub): Likewise.
2003 (__mul): Likewise.
2004 (__inv): Likewise.
2005 (__dvd): Likewise.
2006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2007 (norm): Likewise.
2008 (denorm): Likewise.
2009 (dbl_mp): Likewise.
2010 (sub_magnitudes): Likewise.
2011 (__add): Likewise.
2012 (__sub): Likewise.
2013 (__mul): Likewise.
2014 (__inv): Likewise.
2015 (__dvd): Likewise.
2016
f414520d
SP
2017 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2018 instead of __mul.
2019 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2020 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2021 (cc32): Likewise.
2022
d6752ccd
SP
2023 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2024 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2025 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2026 of __mul for squares.
2027 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2028 function
2029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2030 Likewise.
2031 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2032 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2033
70d9946a
JM
20342013-02-13 Joseph Myers <joseph@codesourcery.com>
2035
2036 [BZ #13550]
2037 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2038 code.
2039 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2040 prototype or function definition. Rename ubp_* variables and
2041 parameters. Remove argv definitions conditional on
2042 [__BOUNDED_POINTERS__].
2043 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2044 * elf/dl-runtime.c (_dl_fixup): Likewise.
2045 * include/set-hooks.h (RUN_HOOK): Likewise.
2046 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2047 definition.
2048 * string/strcpy.c (strcpy): Do not use __unbounded.
2049 * sysdeps/generic/frame.h (struct layout): Likewise.
2050 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2051 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2052 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2053 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2054 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2055 (__backtrace): Likewise.
2056 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2057 use __ptrvalue.
2058 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2059 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2060 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2061 Likewise.
2062 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2063 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2064 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2065 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2066 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2067 Do not use __unbounded.
2068 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2069 Rename __unboundedrlimits parameter to rlimits in prototype.
2070 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2071 Do not use __unbounded.
2072 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2073 not use __ptrvalue.
2074 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2075 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2076 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2077 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2078 __ptrvalue or __unbounded.
2079 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2080 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2081 use __unbounded.
2082 (__new_msgctl): Do not use __ptrvalue.
2083 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2084 __unbounded.
2085 (__libc_msgrcv): Do not use __ptrvalue.
2086 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2087 startup_info): Do not use __unbounded.
2088 (__libc_start_main): Likewise. Rename ubp_* variables and
2089 parameters. Remove argv definitions conditional on
2090 [__BOUNDED_POINTERS__].
2091 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2092 __ptrvalue.
2093 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2094 use __unbounded.
2095 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2096 or __ptrvalue.
2097 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2098 use __unbounded.
2099 (__new_shmctl): Do not use __ptrvalue.
2100 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2101 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2102 Likewise.
2103 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2104 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2105 (__libc_sigaction): Likewise.
2106 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2107 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2108 Likewise.
2109 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2110
cc7834d6
OB
21112013-02-13 Ondřej Bílka <neleai@seznam.cz>
2112
ffb1ec7b 2113 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2114
2115 * string/mempcpy.c: Implement by calling memcpy.
2116
bdf02814
SP
21172013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2118
c2af38aa
SP
2119 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2120
4e92d59e
SP
2121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2122 evaluation.
2123
909279a5
SP
2124 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2125 values in the mantissa.
2126
bdf02814
SP
2127 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2128 minimize writes to Z.
2129 (sub_magnitudes): Simplify code a bit.
2130
cd525923
RM
21312013-02-12 Roland McGrath <roland@hack.frob.com>
2132
2133 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2134 from the message. The linker prefixes all warnings with that already.
2135
7e2f0d2d
AS
21362013-02-12 Andreas Schwab <schwab@suse.de>
2137
a445af0b
AS
2138 [BZ #15078]
2139 * posix/regexec.c (extend_buffers): Add parameter min_len.
2140 (check_matching): Pass minimum needed length.
2141 (clean_state_log_if_needed): Likewise.
2142 (get_subexp): Likewise.
2143 * posix/Makefile (tests): Add bug-regex34.
2144 (bug-regex34-ENV): Define.
2145 * posix/bug-regex34.c: New file.
2146
7e2f0d2d
AS
2147 [BZ #11561]
2148 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2149 elements compare against the byte sequence of it, not its name.
2150 * posix/Makefile (tests): Add bug-regex35.
2151 (bug-regex35-ENV): Define.
2152 * posix/bug-regex35.c: New file.
2153
a175b684
TV
21542013-02-11 Tom de Vries <tom@codesourcery.com>
2155
2156 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2157 comment.
2158 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2159 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2160 (CHECK_EOL): Add undef.
2161
310998fe 21622013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2163
2164 * bits/stdlib-bsearch.h: New file.
2165 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2166 * stdlib/stdlib.h: Likewise.
41eda41d 2167
8ded91fb
RM
21682013-02-11 Roland McGrath <roland@hack.frob.com>
2169
2170 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2171 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2172 declaration.
2173 * manual/search.texi (Array Search Function): Add missing const in
2174 lfind prototype.
2175 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2176 declaration to use rlim_t.
2177 (Basic Scheduling Functions): Remove erroneous const from
2178 sched_getparam prototype. Remove erroneous * from
2179 sched_get_priority_max and sched_get_priority_min prototypes.
2180 (Resource Usage): Fix summary @comment on vtimes to refer to
2181 sys/vtimes.h rather than vtimes.h.
2182 Add missing *s in vtimes prototype.
2183 (Limits on Resources): Fix ulimit prototype to return long int.
2184 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2185 prototypes to use long int rather than double.
2186 (BSD Random): Fix initstate and setstate to use char *, not void *.
2187 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2188 prototype to make second argument 'struct aiocb64 *const[]'.
2189 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2190 (Status of AIO Operations): Remove erroneous const in aio_return and
2191 aio_return64 prototypes.
2192 (Synchronizing I/O): Fix sync prototype to return void.
2193 * manual/startup.texi (Suboptions): Remove an erroneous const in
2194 getsubopt prototype.
2195 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2196 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2197 use size_t rather than int.
2198 (Scanning All Users): Likewise for getpwent_r.
2199 (Setting Groups): Add missing const to setgroups prototype.
2200 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2201 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2202 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2203 'const void *' rather than 'const char *'.
2204 (Host Address Functions): Likewise for inet_ntop.
2205 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2206 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2207 ssize_t for return value.
2208 (Sending Data): Likewise for send, sendto, sendmsg.
2209 (Socket Option Functions): Add a missing const in setsockopt prototype.
2210 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2211 use wchar_t for the argument.
2212 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2213 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2214 take no arguments.
2215 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2216 double/float/long double for second argument.
2217 Fix return types of significand, significandf, significandl.
2218 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2219 argument in fchmod prototype.
2220 (File Owner): Use uid_t and gid_t in fchown prototype.
2221 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2222 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2223 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2224 use 'const struct dirent **' as argument types to CMP function pointer
2225 argument.
2226 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2227 (File Times): Fix summary magic @comment for struct utimbuf and utime
2228 to refer to utime.h, not time.h.
2229 * manual/string.texi (Argz Functions): Add missing const in
2230 argz_extract and argz_next prototypes.
2231 (Finding Tokens in a String): Likewise for basename.
2232 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2233 (Copying and Concatenation): Fix typo in wmemmove prototype.
2234 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2235 (Signal Stack): Remove erroneous const in sigstack prototype.
2236 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2237 prototype.
2238 (Simple Calendar Time): Likewise for stime.
2239 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2240 prototype.
2241 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2242 say sys/sysctl.h instead.
2243 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2244 and vsyslog prototypes.
2245
fe77fe6d
TV
22462013-02-11 Tom de Vries <tom@codesourcery.com>
2247
2248 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2249 Remove.
2250
3a09b620
RM
22512013-02-11 Roland McGrath <roland@hack.frob.com>
2252
2253 * misc/sys/mman.h: Fix typo in mremap comment.
2254
550a0b89
RM
22552013-02-08 Roland McGrath <roland@hack.frob.com>
2256
2257 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2258 the '\0' terminator.
2259
a2da1673
JM
22602013-02-08 Joseph Myers <joseph@codesourcery.com>
2261
2262 [BZ #13550]
2263 * debug/segfault.c: Don't include <bp-checks.h>.
2264 * sysdeps/generic/bp-checks.h: Remove file.
2265 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2266 (__GETDENTS): Don't use CHECK_N.
2267 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2268 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2269 (__getgroups): Don't use CHECK_N.
2270 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2271 (setgroups): Don't use CHECK_N.
2272 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2273 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2274 (__libc_msgrcv): Don't use CHECK_N.
2275 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2276 (__libc_msgsnd): Don't use CHECK_N.
2277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2278 <bp-checks.h>.
2279 (__libc_pread): Don't use CHECK_N.
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2281 include <bp-checks.h>.
2282 (__libc_pread64): Don't use CHECK_N.
2283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2284 include <bp-checks.h>.
2285 (__libc_pwrite): Don't use CHECK_N.
2286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2287 include <bp-checks.h>.
2288 (__libc_pwrite64): Don't use CHECK_N.
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2290 <bp-checks.h>.
2291 (__libc_pread): Don't use CHECK_N.
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2293 include <bp-checks.h>.
2294 (__libc_pread64): Don't use CHECK_N.
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2296 include <bp-checks.h>.
2297 (__libc_pwrite): Don't use CHECK_N.
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2299 include <bp-checks.h>.
2300 (__libc_pwrite64): Don't use CHECK_N.
2301 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2302 (do_pread): Don't use CHECK_N.
2303 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2304 (do_pread64): Don't use CHECK_N.
2305 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2306 (do_pwrite): Don't use CHECK_N.
2307 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2308 (do_pwrite64): Don't use CHECK_N.
2309 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2310 (__libc_readv): Don't use CHECK_N.
2311 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2312 (semop): Don't use CHECK_N.
2313 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2314 <bp-checks.h>.
2315 (semtimedop): Don't use CHECK_N.
2316 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2317 (__libc_pread): Don't use CHECK_N.
2318 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2319 <bp-checks.h>.
2320 (__libc_pread64): Don't use CHECK_N.
2321 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2322 <bp-checks.h>.
2323 (__libc_pwrite): Don't use CHECK_N.
2324 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2325 <bp-checks.h>.
2326 (__libc_pwrite64): Don't use CHECK_N.
2327 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2328 <bp-checks.h>.
2329 (__libc_msgrcv): Don't use CHECK_N.
2330 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2331 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2332 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2333 (__libc_writev): Don't use CHECK_N.
2334
b84660a8
RM
23352013-02-08 Roland McGrath <roland@hack.frob.com>
2336
7f3e75f8
RM
2337 * string/strcpy.c: Removed unused variable.
2338
b84660a8
RM
2339 * Makeconfig (+sysdep-includes): Define with := rather than =.
2340 Use an existing include/ subdir of each sysdeps dir before it.
2341
471514d3
CD
23422013-02-08 Carlos O'Donell <carlos@redhat.com>
2343
2344 * nscd/connection.c (register_traced_file): Comment function.
2345 [HAVE_INOTIFY] (union __inev): Define.
2346 [HAVE_INOTIFY] (inotify_check_files): New function.
2347 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2348 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2349 clear_db_cache.
2350 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2351
b2d3c3be
CD
23522013-02-08 Carlos O'Donell <carlos@redhat.com>
2353
2354 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2355 loaded if not already and that a failure is permanent.
2356
b39949d2
CD
23572013-02-08 Carlos O'Donell <carlos@redhat.com>
2358
ddacd1db 2359 [BZ #15006]
b39949d2
CD
2360 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2361 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2362
b2c9eff4
JM
23632013-02-08 Joseph Myers <joseph@codesourcery.com>
2364
f3aae3f3
JM
2365 [BZ #13550]
2366 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2367 (CHECK_1_NULL_OK): Likewise.
2368 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2369 (__fxstat): Do not use CHECK_1.
2370 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2371 <bp-checks.h>.
2372 (___fxstat64): Do not use CHECK_1.
2373 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2374 <bp-checks.h>.
2375 (__fxstatat): Do not use CHECK_1.
2376 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2377 <bp-checks.h>.
2378 (__fxstatat64): Do not use CHECK_1.
2379 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2380 <bp-checks.h>.
2381 (__fxstat): Do not use CHECK_1.
2382 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2383 <bp-checks.h>.
2384 (__fxstatat): Do not use CHECK_1.
2385 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2386 <bp-checks.h>.
2387 (__getresgid): Do not use CHECK_1.
2388 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2389 <bp-checks.h>.
2390 (__getresuid): Do not use CHECK_1.
2391 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2392 <bp-checks.h>.
2393 (__lxstat): Do not use CHECK_1.
2394 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2395 <bp-checks.h>.
2396 (__old_msgctl): Do not use CHECK_1.
2397 (__new_msgctl): Likewise.
2398 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2399 <bp-checks.h>.
2400 (__new_setrlimit): Do not use CHECK_1.
2401 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2402 <bp-checks.h>.
2403 (__old_shmctl): Do not use CHECK_1.
2404 (__new_shmctl): Likewise.
2405 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2406 <bp-checks.h>.
2407 (__xstat): Do not use CHECK_1.
2408 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2409 (__lxstat): Do not use CHECK_1.
2410 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2411 <bp-checks.h>.
2412 (___lxstat64): Do not use CHECK_1.
2413 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2414 (__old_msgctl): Do not use CHECK_1.
2415 (__new_msgctl): Likewise.
2416 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2417 <bp-checks.h>.
2418 (__gettimeofday): Do not use CHECK_1.
2419 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2420 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2421 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2422 <bp-checks.h>.
2423 (__gettimeofday): Do not use CHECK_1.
2424 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2425 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2426 (__new_shmctl): Do not use CHECK_1.
2427 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2428 <bp-checks.h>.
2429 (do_sigtimedwait): Do not use CHECK_1.
2430 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2431 <bp-checks.h>.
2432 (do_sigwaitinfo): Do not use CHECK_1.
2433 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2434 <bp-checks.h>.
2435 (msgctl): Do not use CHECK_1.
2436 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2437 <bp-checks.h>.
2438 (shmctl): Do not use CHECK_1.
2439 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2440 (ustat): Do not use CHECK_1.
2441 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2442 <bp-checks.h>.
2443 (__fxstat): Do not use CHECK_1.
2444 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2445 <bp-checks.h>.
2446 (__fxstatat): Do not use CHECK_1.
2447 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2448 <bp-checks.h>.
2449 (__lxstat): Do not use CHECK_1.
2450 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2451 <bp-checks.h>.
2452 (__xstat): Do not use CHECK_1.
2453 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2454 (__xstat): Do not use CHECK_1.
2455 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2456 (___xstat64): Do not use CHECK_1.
2457
b2c9eff4
JM
2458 [BZ #13550]
2459 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2460 definitions.
2461 (CHECK_BOUNDS_HIGH): Likewise.
2462 * string/strcpy.c: Do not include <bp-checks.h>.
2463 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2464
f1d70dad
RM
24652013-02-07 Roland McGrath <roland@hack.frob.com>
2466
2467 * nscd/nscd-client.h (__nscd_drop_map_ref):
2468 Add __attribute__ ((unused)).
2469 * nis/nss-nisplus.h (niserr2nss): Likewise.
2470
2471 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2472 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2473
2474 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2475 Remove inline keyword.
2476 * include/rounding-mode.h (round_away): Likewise.
2477 * libio/wfileops.c (adjust_wide_data): Likewise.
2478 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2479 (__m128i_strloadu_tolower): Likewise.
2480 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2481 (__m128i_strloadu_tolower): Likewise.
2482 * time/mktime.c (ydhms_diff): Likewise.
2483 * locale/elem-hash.h (elem_hash): Likewise.
2484 * locale/setlocale.c (setdata): Likewise.
2485 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2486 (re_string_wchar_at): Likewise.
2487 (bitset_not, bitset_merge, bitset_mask): Likewise.
2488 [!(__GNUC__ > 3)] (inline): Remove macro.
2489 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2490 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2491 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2492 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2493 * string/memcmp.c (memcmp_bytes): Likewise.
2494 * locale/programs/locarchive.c (compute_hashval): Likewise.
2495 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2496 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2497 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2498 * nss/getent.c (print_rpc, print_protocols): Likewise.
2499 (print_passwd, print_group, print_aliases): Likewise.
2500 * nis/nss-nisplus.h (niserr2nss): Likewise.
2501 * nscd/connections.c (restart_p): Likewise.
2502 Change return type to bool.
2503
eab55bfb
RM
25042013-02-05 Roland McGrath <roland@hack.frob.com>
2505
7bd642f5
RM
2506 * Makeconfig (all-Depend-files): Add existing
2507 $(sorted-subdirs:=/Depend) files.
2508 (all-subdirs): Remove nss.
2509 * sysdeps/unix/inet/Subdirs: Add it here instead.
2510 * hesiod/Depend: New file.
2511
573c29b2
RM
2512 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2513 instead of calling alloca.
2514
b2e25af0
RM
2515 * io/lseek.c (__lseek): Rename to __libc_lseek.
2516 Define __lseek as an alias.
2517
eab55bfb
RM
2518 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2519
9a0d1941
CD
25202013-02-04 Carlos O'Donell <carlos@redhat.com>
2521
2522 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2523 else clause and remove check for non-standard endianness.
2524
b83bbec4
DM
25252013-02-04 David S. Miller <davem@davemloft.net>
2526
2527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2528
6277fdab
JM
25292013-02-04 Joseph Myers <joseph@codesourcery.com>
2530
2531 [BZ #13550]
2532 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2533 (__ubp_memchr): Remove prototype.
2534 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2535 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2536 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2537 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2538 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2539 Remove alias.
2540 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2541 (__ubp_memchr): Likewise.
2542 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2543 (__ubp_memchr): Likewise.
2544 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2545 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2546 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2547 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2548 CHECK_STRING.
2549 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2550 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2551 (__getcwd): Do not use CHECK_STRING.
2552 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2553 <bp-checks.h>.
2554 (__real_chown): Do not use CHECK_STRING.
2555 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2556 <bp-checks.h>.
2557 (fchownat): Do not use CHECK_STRING.
2558 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2559 CHECK_STRING.
2560 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2561 <bp-checks.h>.
2562 (__lchown): Do not use CHECK_STRING.
2563 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2564 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2565 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2566 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2568 include <bp-checks.h>.
2569 (truncate64): Do not use CHECK_STRING.
2570 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2571 <bp-checks.h>.
2572 (__real_chown): Do not use CHECK_STRING.
2573 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2574 <bp-checks.h>.
2575 (__lchown): Do not use CHECK_STRING.
2576 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2577 <bp-checks.h>.
2578 (__chown): Do not use CHECK_STRING.
2579 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2580 <bp-checks.h>.
2581 (truncate64): Do not use CHECK_STRING.
2582 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2583 Likewise.
2584 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2585 (__xmknod): Do not use CHECK_STRING.
2586 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2587 <bp-checks.h>.
2588 (__xmknodat): Do not use CHECK_STRING.
2589 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2590 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2591
903ae060
AS
25922013-02-04 Andreas Schwab <schwab@suse.de>
2593
2594 [BZ #14142]
2595 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2596 * include/netdb.h: Likewise for h_errno.
2597 * elf/tst-stackguard1.c: Include <tls.h>.
2598
542f9466
JK
25992013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2600
2601 * elf/link.h (struct link_map): Extend the l_addr comment.
2602 * include/link.h (struct link_map): Likewise.
2603
e782a927
JM
26042013-02-01 Joseph Myers <joseph@codesourcery.com>
2605
2606 [BZ #13550]
2607 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2608 (BOUNDED_1): Remove macro.
2609 * debug/backtrace.c: Don't include <bp-checks.h>.
2610 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2611 (__backtrace): Likewise.
2612 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2613 <bp-checks.h>.
2614 (__backtrace): Don't use BOUNDED_1.
2615 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2616 <bp-checks.h>.
2617 (__backtrace): Don't use BOUNDED_1.
2618 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2619 (__backtrace): Don't use BOUNDED_1.
2620 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2621 (shmat): Don't use BOUNDED_N.
2622
8cf28c5e
JM
26232013-01-31 Joseph Myers <joseph@codesourcery.com>
2624
3a7ac8a0
JM
2625 [BZ #13550]
2626 * sysdeps/generic/bp-start.h: Remove file.
2627 * csu/libc-start.c: Don't include <bp-start.h>.
2628 (LIBC_START_MAIN): Set up __environ directly instead of using
2629 INIT_ARGV_and_ENVIRON.
2630 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2631 <bp-start.h>.
2632
f3499f95
JM
2633 [BZ #13550]
2634 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2635 definitions.
2636 (CHECK_FCNTL): Likewise.
2637 (CHECK_N_PAGES): Likewise.
2638
32a45bea
JM
2639 [BZ #13550]
2640 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2641 definitions.
2642 (CHECK_SIGSET_NULL_OK): Likewise.
2643 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2644 <bp-checks.h>.
2645 (sigpending): Don't use CHECK_SIGSET.
2646 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2647 <bp-checks.h>.
2648 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2649 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2650 <bp-checks.h>.
2651 (do_sigsuspend): Don't use CHECK_SIGSET.
2652 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2653 use CHECK_SIGSET.
2654 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2655 (do_sigwait): Don't use CHECK_SIGSET.
2656 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2657 use CHECK_SIGSET.
2658 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2659 include <bp-checks.h>.
2660 (sigpending): Don't use CHECK_SIGSET.
2661 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2662 include <bp-checks.h>.
2663 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2664 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2665 <bp-checks.h>.
2666 (sigpending): Don't use CHECK_SIGSET.
2667 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2668 <bp-checks.h>.
2669 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2670
2e8a5c8c
JM
2671 [BZ #13550]
2672 * sysdeps/generic/bp-semctl.h: Remove file.
2673 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2674 <bp-checks.h> and <bp-semctl.h>.
2675 (__old_semctl): Don't use CHECK_SEMCTL.
2676 (__new_semctl): Likewise.
2677 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2678 and <bp-semctl.h>.
2679 (__old_semctl): Don't use CHECK_SEMCTL.
2680 (__new_semctl): Likewise.
2681 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2682 <bp-checks.h> and <bp-semctl.h>.
2683 (__old_semctl): Don't use CHECK_SEMCTL.
2684 (__new_semctl): Likewise.
2685 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2686 <bp-checks.h> and <bp-semctl.h>.
2687 (semctl): Don't use CHECK_SEMCTL.
2688
c2d54929
JM
2689 [BZ #13550]
2690 * Makerules (elide-bp-thunks): Remove variable.
2691 (elide-routines.oS): Don't use $(elide-bp-thunks).
2692 (elide-routines.os): Likewise.
2693 (elide-routines.o): Likewise.
2694 (elide-routines.op): Likewise.
2695 (elide-routines.og): Likewise.
2696 (objects): Don't use $(bp-thunks).
2697 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2698 include.
2699 (common-generated): Do not add s-proto-bp.d.
2700 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2701 (int): Likewise.
2702 (typ): Likewise.
2703 Do not generate makefile rules for bounded-pointer thunks.
2704 * sysdeps/generic/bp-thunks.h: Remove file.
2705 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2706 * sysdeps/unix/s-proto-bp.S: Likewise.
2707
8cf28c5e
JM
2708 [BZ #15062]
2709 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2710 parts of result separately when argument is not close to line from
2711 -i to i and one part of argument is small.
2712 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2713 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2714 * math/libm-test.inc (cacos_test): Add more tests.
2715 (casin_test): Likewise.
2716 (casinh_test): Likewise.
2717 * sysdeps/i386/fpu/libm-test-ulps: Update.
2718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2719
c4e33b8d
DM
27202013-01-31 David S. Miller <davem@davemloft.net>
2721
2722 * po/de.po: Update from translation team.
2723
3b60b421
MK
27242013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2725
2726 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2727
bb931195
TS
27282013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2729
b5a5da23
TS
2730 * configure.in (_AC_PROG_CC_C89): New definition.
2731 * configure: Regenerate.
2732
bb931195
TS
2733 * configure.in (AC_PROG_CPP): New definition.
2734 * configure: Regenerate.
2735
8c53a12c
JM
27362013-01-23 Joseph Myers <joseph@codesourcery.com>
2737
2738 * debug/tst-backtrace.h: New file.
2739 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2740 (ret): Remove variable.
2741 (x): Likewise.
2742 (FAIL): Remove macro.
2743 (NO_INLINE): Likewise.
2744 (fn1): Use match function instead of strstr.
2745 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2746 (ret): Remove variable.
2747 (x): Likewise.
2748 (FAIL): Remove macro.
2749 (NO_INLINE): Likewise.
2750 (fn): Use match function instead of strstr.
2751 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2752 (ret): Remove variable.
2753 (x): Likewise.
2754 (FAIL): Remove macro.
2755 (NO_INLINE): Likewise.
2756 (handle_signal): Use match function instead of strstr.
2757 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2758 (ret): Remove variable.
2759 (x): Likewise.
2760 (FAIL): Remove macro.
2761 (NO_INLINE): Likewise.
2762 (handle_signal): Use match function instead of strstr.
2763
4858fa2a
RM
27642013-01-23 Roland McGrath <roland@hack.frob.com>
2765
2766 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2767
bae8e7f5
DM
27682013-01-23 David S. Miller <davem@davemloft.net>
2769
2770 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2771 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2772 argument of CAS if possible.
2773 * sysdeps/sparc/sparc64/bits/atomic.h
2774 (__arch_compare_and_exchange_val_32_acq): Likewise.
2775 (__arch_compare_and_exchange_val_64_acq): Likewise.
2776
9cbbc4ae
PT
27772013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2778
2779 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2780 * sysdeps/posix/ulimit.c: ... this.
92a601b8 2781 Include <limits.h>.
67b3f58c 2782 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 2783
5655a0b5
AC
27842013-01-23 Adam Conrad <adconrad@0c3.net>
2785
2786 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2787 (LDFLAGS-tst-array5): Likewise.
2788
052aff95
JM
27892013-01-23 Joseph Myers <joseph@codesourcery.com>
2790
2791 [BZ #15036]
2792 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2793 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2794 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2795 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2796
7c1e01aa
DM
27972013-01-21 David S. Miller <davem@davemloft.net>
2798
2799 * sysdeps/sparc/backtrace.c: New file.
2800 * sysdeps/sparc/sparc32/backtrace.h: New file.
2801 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2802 * sysdeps/sparc/sparc64/backtrace.h: New file.
2803 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2804 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2805 -funwind-tables.
2806
ab087e0a
AS
28072013-01-21 Andreas Schwab <schwab@suse.de>
2808
2809 [BZ #15020]
2810 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2811 closed its stdout.
2812
ed689c2f
AS
28132013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2814
2815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2816 "mpa2.h".
2817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2818
31d470ac
JM
28192013-01-18 Joseph Myers <joseph@codesourcery.com>
2820 Mark Mitchell <mark@codesourcery.com>
2821 Tom de Vries <tom@codesourcery.com>
2822 Paul Pluzhnikov <ppluzhnikov@google.com>
2823
2824 * debug/tst-backtrace2.c: New file.
2825 * debug/tst-backtrace3.c: Likewise.
2826 * debug/tst-backtrace4.c: Likewise.
2827 * debug/tst-backtrace5.c: Likewise.
2828 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2829 (CFLAGS-tst-backtrace3.c): Likewise.
2830 (CFLAGS-tst-backtrace4.c): Likewise.
2831 (CFLAGS-tst-backtrace5.c): Likewise.
2832 (LDFLAGS-tst-backtrace2): Likewise.
2833 (LDFLAGS-tst-backtrace3): Likewise.
2834 (LDFLAGS-tst-backtrace4): Likewise.
2835 (LDFLAGS-tst-backtrace5): Likewise.
2836 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2837 tst-backtrace4 and tst-backtrace5.
2838
90567f30 28392013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
2840 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2841
2842 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2843 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2844 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2845 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2847 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2848 "+r" and remove output regs list as redundant. Add explicit inline
2849 asm to specify register of return val to work around compiler codegen
2850 bug. Remove (int) cast on return value. Add return type parameter to
2851 use in macro so that this macro does not truncate return value for
2852 64-bit values.
2853 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2854 pass to INTERNAL_VSYSCALL_NCS.
2855 (INLINE_VSYSCALL): Add 'long int' as return type to
2856 INTERNAL_VSYSCALL_NCS macro invocation.
2857 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2858 INTERNAL_VSYSCALL_NCS macro invocation.
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2860
d3b9ea61
SP
28612013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2862
0b57daeb
SP
2863 [BZ #14496]
2864 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2865 Fix application of SIMD FP exception mask.
2866
caa99d06
SP
2867 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2868 mp_no from a power of two.
2869 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2870 __mpexp_twomm1. Use __pow_mp.
2871
d3b9ea61
SP
2872 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2873 multiplication.
2874
1dbaee3c
DM
28752013-01-17 David S. Miller <davem@davemloft.net>
2876
2877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2878
728d7b43
JM
28792013-01-17 Joseph Myers <joseph@codesourcery.com>
2880
2881 [BZ #15023]
2882 * include/complex.h: Condition contents on [!_COMPLEX_H].
2883 (__kernel_casinhf): New prototype.
2884 (__kernel_casinh): Likewise.
2885 (__kernel_casinhl): Likewise.
2886 * math/Makefile (libm_calls): Add k_casinh.
2887 * math/k_casinh.c: New file.
2888 * math/k_casinhf.c: Likewise.
2889 * math/k_casinhl.c: Likewise.
2890 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2891 finite nonzero arguments.
2892 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2893 finite nonzero arguments.
2894 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2895 finite nonzero arguments.
2896 * math/s_casinh.c: Do not include <float.h>.
2897 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2898 * math/s_casinhf.c: Do not include <float.h>.
2899 (__casinhf): Move code for finite nonzero arguments to
2900 k_casinhf.c.
2901 * math/s_casinhl.c: Do not include <float.h>.
2902 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2903 redefine.
2904 (__casinhl): Move code for finite nonzero arguments to
2905 k_casinhl.c.
2906 * math/libm-test.inc (cacos_test): Add more tests.
2907 * sysdeps/i386/fpu/libm-test-ulps: Update.
2908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2909
2a26ef3a
PT
29102013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2911
2912 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2913 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2914 [!HAVE_MREMAP]: Remove [defined linux] case.
2915 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2916
a897655d
SP
29172013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2918
2919 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2920
881ebe89 29212013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
2922
2923 * elf/elf.h (R_386_SIZE32): New relocation.
2924 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2925 R_386_SIZE32.
2926 (elf_machine_rela): Likewise.
2927 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2928 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2929
59981e9b
JM
29302013-01-17 Joseph Myers <joseph@codesourcery.com>
2931
2932 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2933 (FP_FAST_FMA): Do not define.
2934 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2935 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2936 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2937 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2938 !_SOFT_FLOAT]: Likewise.
2939 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2940 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2941 value.
2942 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2943 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2944 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2945 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2946 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2947 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2948 file.
2949
cfa8054f
AS
29502013-01-16 Andreas Schwab <schwab@suse.de>
2951
2952 [BZ #14327]
2953 * include/stdlib.h (__mktemp): Add declaration.
2954 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2955 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2956
dd930cc5
SP
29572013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2958
881ebe89
SP
2959 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2960 definitions.
2961 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2962 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2963 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2964 definitions here.
2965 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2966 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2967 definitions.
2968 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2969 and ONE.
2970 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2971 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2972 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2973 definitions.
2974 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2975 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2976 definitions.
2977 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 2978
dd930cc5
SP
2979 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2980
c19a9f89
DM
29812013-01-15 David S. Miller <davem@davemloft.net>
2982
1aa61767
DM
2983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2984 trunc{,f} to libm-sysdep_routes.
2985 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2987 file.
2988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2990 file.
2991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2992 file.
2993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2995 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2996 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2997 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2998 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2999 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3000 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3001
c42d5e98
DM
3002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3003 nearbyint{,f} to libm-sysdep_routes.
3004 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3006 New file.
3007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3008 file.
3009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3010 New file.
3011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3012 file.
3013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3015 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3016 file.
3017 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3018 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3019 file.
3020 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3021 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3022 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3023
c19a9f89
DM
3024 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3025 libc_feholdexcept and libc_fesetenv.
3026
357679d2
MF
30272013-01-15 Mike Frysinger <vapier@gentoo.org>
3028
3029 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3030
65a82e3d
DM
30312013-01-14 David S. Miller <davem@davemloft.net>
3032
8b954ab9
DM
3033 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3034 (SPARC_ASM_VIS2_IFUNC): Likewise.
3035 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3037 use of 'siam' instruction.
3038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3039 Likewise.
3040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3041 Likewise.
3042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3043 Likewise.
3044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3049 file.
3050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3051 file.
3052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3053 file.
3054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3055 file.
3056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3061 new VIS2 routines.
3062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3065 Likewise.
3066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3071 routines to libm-sysdep_routines.
3072 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3073
65a82e3d
DM
3074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3075 fdim/fdimf to libm-sysdep_routines.
3076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3077 file.
3078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3080 file.
3081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3084 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3085 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3086 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3087 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3088
e34ab705
SP
30892013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3090
2a91b573
SP
3091 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3092 to optimize copies.
3093
1066a534
SP
3094 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3097
e34ab705
SP
3098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3099 local variable MPTWO.
3100 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3101 Likewise.
3102
aba5e596
MF
31032013-01-13 Mike Frysinger <vapier@gentoo.org>
3104
3105 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3106 GLOB_NOESCAPE.
3107
e557e9e5
MF
31082013-01-13 Mike Frysinger <vapier@gentoo.org>
3109
3110 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3111
0428cec9
MF
31122013-01-13 Mike Frysinger <vapier@gentoo.org>
3113
3114 * manual/pattern.texi (glob_t): Document gl_flags.
3115 (glob64_t): Likewise.
3116
8794a964
DM
31172013-01-11 David S. Miller <davem@davemloft.net>
3118
66438c3f
RM
3119 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3120 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3121 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3122 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3123 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3124 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3125 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3126 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3127 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3128 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3129 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3130 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3131 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3132
4ae4244d
DM
3133 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3134 sparc V9 rather than using V8 code.
3135 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3136 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3137
8794a964
DM
3138 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3139 Move to...
3140 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3141 Here.
3142
6270516e
RM
31432013-01-11 Roland McGrath <roland@hack.frob.com>
3144
3145 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3146 not in the main loop.
3147 * configure: Regenerated.
3148
6a57d931
JM
31492013-01-11 Joseph Myers <joseph@codesourcery.com>
3150
3151 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3152 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3153 to just #else.
3154 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3155 [!__GLIBC_HAVE_LONG_LONG] case.
3156 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3157 condition to just #else.
3158 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3159 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3160 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3161 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3162 unconditional.
3163 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3164 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3165 #elif condition to just #else.
3166 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3167 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3168 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3169 #elif condition to just #else.
3170
0e8529e9
SE
31712013-01-11 Steve Ellcey <sellcey@mips.com>
3172
3173 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3174 (EF_MIPS_ARCH_64): Fix value.
3175 (EF_MIPS_ARCH_32R2): New.
3176 (EF_MIPS_ARCH_64R2): New.
3177
740b3dbe
L
31782013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3179
3180 * Makeconfig (+link-pie-before-libc): New.
3181 (+link-pie-after-libc): Likewise.
3182 (+link-pie-tests): Likewise.
3183 (+link-pie): Rewritten.
3184 (link-before-libc): Remove $(config-LDFLAGS).
3185 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3186 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3187 (config-LDFLAGS): Renamed to ...
3188 (rtld-LDFLAGS): This.
3189 (rtld-tests-LDFLAGS): New macro.
3190 (link-libc-rpath-link): Likewise.
3191 (link-libc-tests-rpath-link): Likewise.
3192 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3193 (link-libc): Prepand $(link-libc-rpath-link).
3194 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3195 (test-program-prefix): New macro.
3196 (test-via-rtld-prefix): Likewise.
3197 (test-program-cmd): Likewise.
3198 (host-test-program-cmd): Likewise.
3199 * Makefile ($(common-objpfx)testrun.sh): Replace
3200 $(run-program-prefix) with $(test-program-prefix).
3201 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3202 $(rtld-LDFLAGS).
3203 ($(common-objpfx)shlib.lds): Likewise.
3204 (build-module-helper): Likewise.
3205 ($(common-objpfx)format.lds): Likewise.
3206 * Rules (binaries-pie-tests): New.
3207 (binaries-pie-notests): Likewise.
3208 (binaries-pie): Rewritten.
3209 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3210 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3211 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3212 (make-test-out): Replace $(host-built-program-cmd) with
3213 $(host-test-program-cmd).
3214 * config.make.in (build-hardcoded-path-in-tests): New variable.
3215 * configure.in (--enable-hardcoded-path-in-tests): New configure
3216 option.
3217 (hardcoded_path_in_tests): New AC_SUBST.
3218 * configure: Regenerated.
3219 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3220 $(built-program-cmd) with $(test-program-cmd).
3221 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3222 (test_program_cmd): This.
3223 * elf/Makefile ($(objpfx)order.out): Run test with
3224 $(test-program-prefix).
3225 ($(objpfx)order2.out): Likewise.
3226 ($(objpfx)tst-initorder.out): Likewise.
3227 ($(objpfx)tst-initorder2.out): Likewise.
3228 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3229 $(test-program-cmd).
3230 ($(objpfx)tst-array1-static.out): Likewise.
3231 ($(objpfx)tst-array2.out): Likewise.
3232 ($(objpfx)tst-array3.out): Likewise.
3233 ($(objpfx)tst-array4.out): Likewise.
3234 ($(objpfx)tst-array5.out): Likewise.
3235 ($(objpfx)tst-array5-static.out): Likewise.
3236 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3237 $(test-program-cmd).
3238 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3239 $(run-program-prefix) with $(test-program-prefix).
3240 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3241 (test_program_prefix): This.
3242 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3243 $(run-program-prefix) with $(test-program-prefix).
3244 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3245 (test_program_prefix): This.
3246 * iconvdata/tst-tables.sh: Likewise.
3247 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3248 $(run-program-prefix) with $(test-program-prefix).
3249 ($(objpfx)tst-translit.out): Likewise.
3250 ($(objpfx)tst-gettext2.out): Likewise.
3251 ($(objpfx)tst-gettext4.out): Likewise.
3252 ($(objpfx)tst-gettext6.out): Likewise.
3253 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3254 (test_program_prefix): This.
3255 * intl/tst-gettext2.sh: Likewise.
3256 * intl/tst-gettext4.sh Likewise.
3257 * intl/tst-gettext6.sh: Likewise.
3258 * intl/tst-translit.sh: Likewise.
3259 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3260 with $(test-program-cmd).
3261 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3262 $(run-program-prefix) with $(test-program-prefix).
3263 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3264 (test_program_prefix): This.
3265 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3266 $(run-program-prefix) with $(test-program-prefix).
3267 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3268 (test_program_prefix): This.
3269 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3270 * posix/Makefile ($(objpfx)globtest.out): Replace
3271 $(run-via-rtld-prefix) and $(test-wrapper) with
3272 $(test-program-prefix) and $(test-via-rtld-prefix).
3273 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3274 $(test-program-prefix).
3275 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3276 $(host-test-program-cmd).
3277 (tst-spawn-ARGS): Likewise.
3278 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3279 $(test-program-prefix).
3280 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3281 (test_via_rtld_prefix): This.
3282 (test_wrapper): Renamed to ...
3283 (test_program_prefix): This.
3284 (run_program_prefix): Replaced by test_program_prefix.
3285 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3286 (test_program_prefix): This.
3287 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3288 with $(host-test-program-cmd).
3289 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3290 $(run-program-prefix) with $(test-program-prefix).
3291 ($(objpfx)tst-printf.out): Likewise.
3292 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3293 $(test-program-cmd).
3294 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3295 (test_program_prefix): This.
3296 * stdio-common/tst-unbputc.sh: Likewise.
3297 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3298 $(run-program-prefix) with $(test-program-prefix).
3299 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3300 (test_program_prefix): This.
3301 * string/Makefile ($(objpfx)tst-svc.out): Replace
3302 $(built-program-cmd) with $(test-program-cmd).
3303
c6fe55cf
AJ
33042013-01-11 Andreas Jaeger <aj@suse.de>
3305
3306 [BZ #15003]
3307 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3308 value. Sync with Linux 3.7.
3309
9e6919c8
DM
33102013-01-10 David S. Miller <davem@davemloft.net>
3311
3312 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3313 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3314 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3315
1c9f1a02
RM
33162013-01-10 Roland McGrath <roland@hack.frob.com>
3317
3318 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3319 never set.
3320 * configure: Regenerated.
3321
b9de2dde
DM
33222013-01-10 David S. Miller <davem@davemloft.net>
3323
3324 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3325 sparc V9 rather than using V8 code.
3326 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3327 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3328
e7f68ef4
RM
33292013-01-10 Roland McGrath <roland@hack.frob.com>
3330
3331 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3332 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3333 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3334 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3335 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3336 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3337 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3338 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3339 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3340 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3341 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3342 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3343 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3344 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3345 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3346 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3347 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3348 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3349 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3350 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3351 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3352 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3353 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3354 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3355 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3356 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3357 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3358
5a47cc9c
DM
33592013-01-10 David S. Miller <davem@davemloft.net>
3360
3361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3362
4cf8f209
L
33632013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3364
3365 * posix/Makefile (tests-static): New variable.
3366 (tests): Add $(tests-static).
3367 (tst-exec-static-ARGS): New variable.
3368 (tst-spawn-static-ARGS): Likewise.
3369 * posix/tst-exec-static.c: New file.
3370 * posix/tst-spawn-static.c: Likewise.
3371 * posix/tst-exec.c: Support run directly.
3372 * posix/tst-spawn.c: Likewise.
3373
fed0faa1
JM
33742013-01-10 Joseph Myers <joseph@codesourcery.com>
3375
828beb13
JM
3376 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3377 long.
3378 * math/bits/mathcalls.h (llrint): Likewise.
3379 (llround): Likewise.
3380 * stdlib/stdlib.h (struct drand48_data): Likewise.
3381 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3382 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3383 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3384 Likewise.
3385 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3386 Likewise.
3387 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3388 (elf_greg_t): Likewise.
3389 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3390 (__jmp_buf): Likewise.
3391 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3392 definitions.
3393 (llrint): Likewise, for all definitions.
3394 (llrintl): Likewise.
3395
fed0faa1
JM
3396 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3397 Remove [__GNUC__] condition.
3398 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3399 condition to just [__USE_ISOC99].
3400 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3401
1a20cb20
L
34022013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3403
3404 [BZ #14200]
3405 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3406 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3407 defined.
3408 (_POSIX_V6_ILP32_OFF32): Likewise.
3409 (_XBS5_ILP32_OFF32): Likewise.
3410 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3411 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3412
751b85f7
SP
34132013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3414
7490eb81
SP
3415 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3416
751b85f7
SP
3417 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3418 doubles __mpexp_twomm1. Adjust usage.
3419 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3420 Remove.
3421
988197f0
AS
34222013-01-10 Andreas Schwab <schwab@suse.de>
3423
3424 [BZ #14964]
3425 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3426 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3427
e83d7298
DM
34282013-01-09 David S. Miller <davem@davemloft.net>
3429
034ed64b 3430 [BZ #15003]
e83d7298
DM
3431 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3432 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3433 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3434 TCP_FASTOPEN): Define.
3435 (tcp_repair_opt): New structure.
3436 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3437 enum values.
3438 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3439 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3440 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3441 (tcp_cookie_transactions): New structure.
3442
d5e0b9bd
AB
34432013-01-09 Anton Blanchard <anton@samba.org>
3444
3445 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3446 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3447 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3448 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3449
0c07e3ea
JM
34502013-01-09 Joseph Myers <joseph@codesourcery.com>
3451
3452 * include/features.h (__USE_ANSI): Remove.
3453
232f7002
RM
34542013-01-09 Roland McGrath <roland@hack.frob.com>
3455
ad98e30c
RM
3456 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3457
232f7002
RM
3458 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3459
950c99ca
SP
34602013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3461
b5792741
SP
3462 * sysdeps/s390/fpu/libm-test-ulps: Update.
3463
47cf2278
SP
3464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3465
950c99ca
SP
3466 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3467 (__acr): Likewise.
3468 (__cpy): Likewise.
3469 (norm): Likewise.
3470 (denorm): Likewise.
3471 (__mp_dbl): Likewise.
3472 (__dbl_mp): Likewise.
3473 (add_magnitudes): Likewise.
3474 (sub_magnitudes): Likewise.
3475 (__add): Likewise.
3476 (__sub): Likewise.
3477 (__mul): Likewise.
3478 (__inv): Likewise.
3479 (__dvd): Likewise.
3480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3481 (__acr): Likewise.
3482 (__cpy): Likewise.
3483 (norm): Likewise.
3484 (denorm): Likewise.
3485 (__mp_dbl): Likewise.
3486 (__dbl_mp): Likewise.
3487 (add_magnitudes): Likewise.
3488 (sub_magnitudes): Likewise.
3489 (__add): Likewise.
3490 (__sub): Likewise.
3491 (__mul): Likewise.
3492 (__inv): Likewise.
3493 (__dvd): Likewise.
3494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3495 (__acr): Likewise.
3496 (__cpy): Likewise.
3497 (norm): Likewise.
3498 (denorm): Likewise.
3499 (__mp_dbl): Likewise.
3500 (__dbl_mp): Likewise.
3501 (add_magnitudes): Likewise.
3502 (sub_magnitudes): Likewise.
3503 (__add): Likewise.
3504 (__sub): Likewise.
3505 (__mul): Likewise.
3506 (__inv): Likewise.
3507 (__dvd): Likewise.
3508
eede9df9
JM
35092013-01-08 Joseph Myers <joseph@codesourcery.com>
3510
3511 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3512 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3513 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3514 2 && __USE_EXTERN_INLINES]: Likewise.
3515
c40ea3d9
AJ
35162013-01-08 Andreas Jaeger <aj@suse.de>
3517
3518 [BZ# 14985]
3519 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3520 Remove.
3521 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3522 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3523
2ccdea26
AB
35242013-01-07 Anton Blanchard <anton@samba.org>
3525
3526 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3527 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3528 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3529 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3530 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3531 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3532 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3533 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3535 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3536 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3537 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3538 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3539 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3540 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3541 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3542 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3543 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3544 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3545 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3546 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3547 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3548 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3549 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3550 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3551 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3552 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3553 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3554 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3555 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3556 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3558 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3559 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3560 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3561 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3562 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3563 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3564 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3565 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3566 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3567 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3568 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3569
a9708fed
JM
35702013-01-07 Joseph Myers <joseph@codesourcery.com>
3571
375607b9
JM
3572 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3573 (__MALLOC_PMT): Likewise.
3574 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3575 [__GNUC__], only on [_LIBC].
3576 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3577 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3578 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3579 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3580 forward declaration.
3581 (realloc_hook_ini): Likewise.
3582 (memalign_hook_ini): Likewise.
3583 (__libc_memalign): Do not use __MALLOC_PMT in variable
3584 declaration.
3585 (__libc_valloc): Likewise.
3586 (__libc_pvalloc): Likewise.
3587 (__libc_calloc): Likewise.
3588 (__posix_memalign): Likewise.
3589
a9708fed
JM
3590 [BZ #14996]
3591 * math/s_casinh.c: Include <float.h>.
3592 (__casinh): Do not do computation with squaring and square root
3593 for large arguments.
3594 * math/s_casinhf.c: Include <float.h>.
3595 (__casinhf): Do not do computation with squaring and square root
3596 for large arguments.
3597 * math/s_casinhl.c: Include <float.h>.
3598 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3599 (__casinhl): Do not do computation with squaring and square root
3600 for large arguments.
3601 * math/libm-test.inc (casin_test): Add more tests.
3602 (casinh_test): Likewise.
3603 * sysdeps/i386/fpu/libm-test-ulps: Update.
3604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3605
afec409a
L
36062013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3607
3608 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3609 (__x86_64_raw_data_cache_size): Likewise.
3610 (__x86_64_data_cache_size_half): Likewise.
3611 (__x86_64_raw_data_cache_size_half): Likewise.
3612 (__x86_64_shared_cache_size): Likewise.
3613 (__x86_64_raw_shared_cache_size): Likewise.
3614 (__x86_64_shared_cache_size_half): Likewise.
3615 (__x86_64_raw_shared_cache_size_half): Likewise.
3616 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3617 to ...
3618 (__x86_data_cache_size): This.
3619 (__x86_64_raw_data_cache_size): Renamed to ...
3620 (__x86_raw_data_cache_size): This.
3621 (__x86_64_data_cache_size_half): Renamed to ...
3622 (__x86_data_cache_size_half): This.
3623 (__x86_64_raw_data_cache_size_half): Renamed to ...
3624 (__x86_raw_data_cache_size_half): This.
3625 (__x86_64_shared_cache_size): Renamed to ...
3626 (__x86_shared_cache_size): This.
3627 (__x86_64_raw_shared_cache_size): Renamed to ...
3628 (__x86_raw_shared_cache_size): This.
3629 (__x86_64_shared_cache_size_half): Renamed to ...
3630 (__x86_shared_cache_size_half): This.
3631 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3632 (__x86_raw_shared_cache_size_half): This.
3633 * sysdeps/x86_64/memcpy.S: Updated.
3634 * sysdeps/x86_64/memset.S: Likewise.
3635 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3636 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3637 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3638
0b3986d0
DM
36392013-01-04 David S. Miller <davem@davemloft.net>
3640
3641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3642
e47686e9
AS
36432013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3644
d643bac1
AS
3645 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3646 1 to avoid redefinition warning.
3647 (__USE_GNU): Don't define.
3648 (init_signaling_nan): Protoize.
3649
e47686e9
AS
3650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3651
b18decba
SP
36522013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3653
fffb407f
SP
3654 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3656 (__cpymn): Likewise.
3657 (norm): Remove commented code.
3658 (denorm): Likewise.
3659 (__mp_dbl): Likewise.
3660 (__inv): Likewise.
3661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3662 (__cpymn): Likewise.
3663 (norm): Remove commented code.
3664 (denorm): Likewise.
3665 (__mp_dbl): Likewise.
3666 (__inv): Likewise.
3667
b18decba
SP
3668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3669 mp_no value for 1.0 and 2.0.
3670 (norm): Use RADIXI instead of radixi.d.
3671 (denorm): Likewise.
3672 (__mul): Use 0.0 instead of zero.d.
3673 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3674 mp_no value for 1.0 and 2.0.
3675 (norm): Use RADIXI instead of radixi.d.
3676 (denorm): Likewise.
3677 (__mul): Use 0.0 instead of zero.d.
3678
cdc1c96f
JM
36792013-01-04 Joseph Myers <joseph@codesourcery.com>
3680
3681 [BZ #14994]
3682 * math/s_casinh.c (__casinh): Reduce finite argument to first
3683 quadrant then set signs of results at the end.
3684 * math/s_casinhf.c (__casinhf): Likewise.
3685 * math/s_casinhl.c (__casinhl): Likewise.
3686 * math/libm-test.inc (casin_test): Add more tests.
3687 (casinh_test): Likewise.
3688 * sysdeps/i386/fpu/libm-test-ulps: Update.
3689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3690
302913e1
SP
36912013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3692
6420d207
SP
3693 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3694
a9e48ab4
SP
3695 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3696
b7837264
SP
3697 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3698 declarations.
3699 (denorm): Likewise.
3700 (__mp_dbl): Likewise.
3701 (__inv): Likewise.
3702
f8af25d2
SP
3703 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3704 and adjust the header comment.
3705
302913e1
SP
3706 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3707 variable name from declaration.
3708
5d7dd1ca
L
37092013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3710
3711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3712 Initialize COMMON_CPUID_INDEX_7 element.
3713 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3714 (CPUID_RTM): Likewise.
3715 (HAS_RTM): Likewise.
3716 (COMMON_CPUID_INDEX_7): New enum.
3717
2f5f40f4
AS
37182013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3719
3720 [BZ #14981]
3721 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3722 size is zero, record memory as freed.
3723
4056f4a0
AJ
37242013-01-03 Andreas Jaeger <aj@suse.de>
3725
3726 * po/ia.po: Add new Interlingua translation.
3727
ab15736f 37282012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
3729
3730 * locale/programs/localedef.c: Fix description of '--posix' flag.
3731
568035b7
JM
37322013-01-02 Joseph Myers <joseph@codesourcery.com>
3733
e6898b8d
JM
3734 * NEWS: Update dates in second copyright notice.
3735 * README: Update copyright dates in example.
3736 * manual/libc.texinfo: Update copyright dates.
3737 * scripts/test-installation.pl: Update copyright date in --version
3738 output.
3739
0e2f9562
JM
3740 * hurd/ctty-input.c: Fix copyright notice formatting.
3741 * hurd/ctty-output.c: Likewise.
3742 * hurd/dtable.c: Likewise.
3743 * hurd/hurd-raise.c: Likewise.
3744 * hurd/hurdprio.c: Likewise.
3745 * hurd/msgportdemux.c: Likewise.
3746 * misc/sys/file.h: Likewise.
3747 * misc/sys/ioctl.h: Likewise.
3748 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3749 * sysdeps/mach/hurd/chdir.c: Likewise.
3750 * sysdeps/mach/hurd/fchdir.c: Likewise.
3751 * sysdeps/mach/hurd/rename.c: Likewise.
3752 * sysdeps/mach/hurd/rmdir.c: Likewise.
3753 * sysdeps/mach/hurd/seekdir.c: Likewise.
3754 * sysdeps/mach/hurd/setsid.c: Likewise.
3755 * sysdeps/posix/wait3.c: Likewise.
3756
568035b7
JM
3757 * All files with FSF copyright notices: Update copyright dates
3758 using scripts/update-copyrights.
3759 * intl/plural.c: Regenerated.
3760 * locale/programs/charmap-kw.h: Likewise.
3761 * locale/programs/locfile-kw.h: Likewise.
3762
da08f647
SP
37632013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3764
0f5477af
SP
3765 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3766 four values.
3767
44e0d4c2
SP
3768 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3769 calculation loop and add branch prediction.
3770
4d55b4e5
SP
3771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3772 check access beyond bounds of m1np.
3773
da08f647
SP
3774 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3775 MPTWO.
3776 (__inv): Remove local variable MPTWO to use the global
3777 constant.
3778 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3779 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3780 variable MPTWO.
3781 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3782 MP3HALFS static const.
3783
8e051029
DM
37842013-01-01 David S. Miller <davem@davemloft.net>
3785
3786 * po/ca.po: Update from translation team.
3787
f4cf5f2d
JM
37882013-01-01 Joseph Myers <joseph@codesourcery.com>
3789
3790 * scripts/update-copyrights: New file.
3791 * Makeconfig: Reformat copyright notice.
3792 * ctype/ctype.h: Likewise.
3793 * debug/swprintf_chk.c: Likewise.
3794 * elf/dl-cache.c: Likewise.
3795 * elf/dl-debug.c: Likewise.
3796 * elf/dl-object.c: Likewise.
3797 * grp/initgroups.c: Likewise.
3798 * hurd/Makefile: Likewise.
3799 * hurd/hurd/signal.h: Likewise.
3800 * hurd/hurdfault.c: Likewise.
3801 * hurd/hurdioctl.c: Likewise.
3802 * hurd/hurdlookup.c: Likewise.
3803 * hurd/intr-msg.c: Likewise.
3804 * iconv/gconv_open.c: Likewise.
3805 * libio/swprintf.c: Likewise.
3806 * locale/lc-ctype.c: Likewise.
3807 * locale/nl_langinfo.c: Likewise.
3808 * mach/Machrules: Likewise.
3809 * mach/Makefile: Likewise.
3810 * malloc/obstack.h: Likewise.
3811 * manual/Makefile: Likewise.
3812 * manual/tsort.awk: Likewise.
3813 * misc/bits/stab.def: Likewise.
3814 * nis/nis_print_group_entry.c: Likewise.
3815 * nis/nis_table.c: Likewise.
3816 * nis/nss_compat/compat-pwd.c: Likewise.
3817 * nis/nss_compat/compat-spwd.c: Likewise.
3818 * po/Makefile: Likewise.
3819 * posix/fnmatch.c: Likewise.
3820 * posix/regex.h: Likewise.
3821 * resolv/Makefile: Likewise.
3822 * resolv/nss_dns/dns-network.c: Likewise.
3823 * resolv/res_hconf.c: Likewise.
3824 * scripts/gen-sorted.awk: Likewise.
3825 * soft-fp/soft-fp.h: Likewise.
3826 * stdio-common/printf.h: Likewise.
3827 * stdlib/monetary.h: Likewise.
3828 * stdlib/random.c: Likewise.
3829 * stdlib/random_r.c: Likewise.
3830 * sysdeps/generic/Makefile: Likewise.
3831 * sysdeps/gnu/Makefile: Likewise.
3832 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3833 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3834 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3835 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3836 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3837 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3839 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3840 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3841 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3842 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3843 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3844 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3845 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3846 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3847 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3848 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3849 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3850 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3851 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3852 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3853 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3854 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3855 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3856 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3857 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3858 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3859 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3860 * sysdeps/mach/hurd/errnos.awk: Likewise.
3861 * sysdeps/mach/hurd/fork.c: Likewise.
3862 * sysdeps/mach/hurd/getcwd.c: Likewise.
3863 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3864 * sysdeps/mach/hurd/mmap.c: Likewise.
3865 * sysdeps/mach/hurd/utimes.c: Likewise.
3866 * sysdeps/mach/hurd/xmknod.c: Likewise.
3867 * sysdeps/posix/profil.c: Likewise.
3868 * sysdeps/posix/readdir_r.c: Likewise.
3869 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3870 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3871 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3872 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3874 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3875 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3876 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3878 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3879 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3880 * sysdeps/pthread/lio_listio.c: Likewise.
3881 * sysdeps/sparc/dl-procinfo.h: Likewise.
3882 * sysdeps/unix/i386/sysdep.S: Likewise.
3883 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3884 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3885 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3886 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3888 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3889 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3890 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3891 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3892 * sysdeps/wordsize-32/divdi3.c: Likewise.
3893 * time/sys/time.h: Likewise.
3894 * wcsmbs/Makefile: Likewise.
3895
0549fbba
DM
38962013-01-01 David S. Miller <davem@davemloft.net>
3897
a141f1a7
DM
3898 * po/fr.po: Update from translation team.
3899
0549fbba
DM
3900 * catgets/gencat.c: Update copyright year.
3901 * csu/version.c: Likewise.
3902 * debug/catchsegv.sh: Likewise.
3903 * debug/pcprofiledump.c: Likewise.
3904 * debug/xtrace.sh: Likewise.
3905 * elf/ldconfig.c: Likewise.
3906 * elf/ldd.bash.in: Likewise.
3907 * elf/pldd.c: Likewise.
3908 * elf/sotruss.ksh: Likewise.
3909 * elf/sprof.c: Likewise.
3910 * iconv/iconv_prog.c: Likewise.
3911 * iconv/iconvconfig.c: Likewise.
3912 * locale/programs/locale.c: Likewise.
3913 * locale/programs/localedef.c: Likewise.
3914 * login/programs/pt_chown.c: Likewise.
3915 * malloc/memusage.sh: Likewise.
3916 * malloc/memusagestat.c: Likewise.
3917 * malloc/mtrace.pl: Likewise.
3918 * nscd/nscd.c: Likewise.
3919 * nss/getent.c: Likewise.
3920 * nss/makedb.c: Likewise.
3921 * posix/getconf.c: Likewise.
3922
18ea052c
SP
39232012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3924
3925 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3926 numbers.
3927
9c89fca6
MF
39282012-12-30 Mike Frysinger <vapier@gentoo.org>
3929
3930 * math/bits/mathcalls.h (modf): Use __nonnull.
3931
085ec079
SP
39322012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3933
3934 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3935 (split): Use macro CN instead of the bare value.
3936 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3937 could be used.
3938 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3939 instead of the bare value.
3940 (power1): Likewise.
3941
6d9f97e1
SP
39422012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3943
d63f73be
SP
3944 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3945 __ATAN_TWOM.
3946 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3947
6d9f97e1
SP
3948 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3949 their values.
3950 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3951 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3952 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3953 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3954
4c4febf5
AJ
39552012-12-28 Andreas Jaeger <aj@suse.de>
3956
af5843ef
AJ
3957 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3958 values are from Linux 3.7.
3959
4c4febf5
AJ
3960 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3961 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3962
99136f82
SP
39632012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3964
2f216c3c 3965 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
3966 TRUE case.
3967
99136f82
SP
3968 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3969 (norm): Likewise.
3970 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3971 variables with preprocessor constants.
3972 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3973 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3974 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3975
7fffbdff
BH
39762012-12-27 Bruno Haible <bruno@clisp.org>
3977
3978 [BZ #14317]
3979 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3980 only if needed.
3981
b76eb5f0
SP
39822012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3983
31a7fe5c
SP
3984 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3985 and use variable directly.
3986 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3987
b76eb5f0
SP
3988 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3989 MPONE.
3990 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3991 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3992 variable MPONE.
3993 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3994 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3995 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3996 include directive. Remove local variable MPONE.
3997 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3998 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3999 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4000
2c8bfe7d
DM
40012012-12-25 David S. Miller <davem@davemloft.net>
4002
4003 * version.h (RELEASE): Set to "development".
4004 (VERSION): Set to "2.17.90".
4005 * NEWS: Add 2.18 section.
4006
147d03b0
DM
40072012-12-21 David S. Miller <davem@davemloft.net>
4008
4009 * po/hr.po: Update from translation team.
4010
a8ebb2b9
AK
40112012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4012
4013 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4014
95b4f1b6
SE
40152012-12-19 Steve Ellcey <sellcey@mips.com>
4016
b2d94007 4017 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4018
cedb2a90
MS
40192012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4020
4021 * manual/contrib.texi (Contributors): Spelling correction.
4022
bbf527d6
DM
40232012-12-15 David S. Miller <davem@davemloft.net>
4024
4025 * po/ru.po: Update from translation team.
4026
bc38c906
DM
40272012-12-13 David S. Miller <davem@davemloft.net>
4028
85429b1a
DM
4029 * NEWS: Mention IFUNC testsuite enhancements.
4030
d283e353
DM
4031 * po/pl.po: Update from translation team.
4032 * po/bg.po: Likewise.
4033
bc38c906
DM
4034 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4035 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4036
a181b0d7
DM
40372012-12-11 David S. Miller <davem@davemloft.net>
4038
4641d57e
DM
4039 * po/sv.po: Update from translation team.
4040
f7bc6495
DM
4041 * po/vi.po: Update from translation team.
4042
6fc9048f
DM
4043 * po/cs.po: Update from translation team.
4044
a181b0d7
DM
4045 * po/de.po: Update from translation team.
4046 * po/eo.po: Likewise.
4047 * po/nl.po: Likewise.
4048
f70bfe80
SP
40492012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4050
3c8b4190
SP
4051 [BZ #14246]
4052 * manual/argp.texi (Argp Helper Functions): Move node to follow
4053 Argp Parsing State.
4054
f70bfe80
SP
4055 [BZ #14872]
4056 * manual/conf.texi (Limits on File System Capacity): Mention if
4057 terminating null is included in the max size.
4058
188f0adf
AJ
40592012-12-10 Andreas Jaeger <aj@suse.de>
4060
4061 * po/cs.po: Update from translation team.
4062
56e7d3ad
SP
40632012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4064
4065 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4066 void pointer and cast to uintptr_t.
4067 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4068 path.
4069 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4070 * sysdeps/s390/s390-64/memset.S: Likewise.
4071
76f2d2ea 40722012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4073
4074 [BZ #14833]
4075 * menual/message.texi (Message Translation): Fix typos.
4076 (Helper programs for gettext): Likewise.
4077
67cbf9a2
AS
40782012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4079
4080 [BZ #14898]
4081 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4082 Change to -1.
4083
682d0e9a
DM
40842012-12-07 David S. Miller <davem@davemloft.net>
4085
4086 * po/libc.pot: Update.
4087
573cd484
RH
40882012-12-07 Richard Henderson <rth@redhat.com>
4089
7e9da188 4090 [BZ #10114]
573cd484
RH
4091 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4092 normal/normal case to before the switch.
4093 (_FP_DIV): Likewise.
4094
e933a943
MF
40952012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4096 Mike Frysinger <vapier@gentoo.org>
4097
4098 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4099 check for __NR_fadvise64_64.
4100
82123268
CM
41012012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4102
4103 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4104 0, not just to plain "0" as a statement.
4105 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4106 with cw.
4107
d9814526
JM
41082012-12-06 Joseph Myers <joseph@codesourcery.com>
4109
4110 * NEWS: Use sourceware.org in Bugzilla URL.
4111
7728c574
SP
41122012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4113
f16946dd
SP
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4115 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4116
5704bbcb
SP
4117 * stdio-common/tst-put-error.c (do_test): Add newline to the
4118 padded test to ensure flush.
4119
17aa0516
JL
41202012-12-05 Jeff Law <law@redhat.com>
4121
4122 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4123
363313b5
JM
41242012-12-05 Joseph Myers <joseph@codesourcery.com>
4125
effbd42a
JM
4126 * README: Don't refer to ports add-on as distributed separately.
4127 Mention AArch64 in list of systems supported in the ports add-on.
4128
87600365
JM
4129 * LICENSES: Add more non-FSF copyright and license notices.
4130
a0d7066a
JM
4131 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4132 ((unused)).
4133
66ca5a5b
JM
4134 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4135
363313b5
JM
4136 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4137 10000 as width of padded output.
4138
b37984ad
JM
41392012-12-04 Joseph Myers <joseph@codesourcery.com>
4140
9003570a
JM
4141 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4142
b37984ad
JM
4143 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4144 variable LX with __attribute__ ((unused)).
4145 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4146 Likewise.
4147 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4148 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4149 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4150 with __attribute__ ((unused)).
4151
c8df52ec
DM
41522012-12-04 David S. Miller <davem@abraco.davemloft.net>
4153
4154 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4155
b3b099af
JM
41562012-12-04 Joseph Myers <joseph@codesourcery.com>
4157
c33aa6e3
JM
4158 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4159 (CFLAGS-nldbl-acos.c): New variable.
4160 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4161 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4162 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4163 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4164 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4165 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4166 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4167 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4168 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4169 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4170 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4171 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4172 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4173 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4174 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4175 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4176 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4177 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4178 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4179 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4180 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4181 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4182 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4183 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4184 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4185 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4186 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4187 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4188 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4189 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4190 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4191 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4192 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4193 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4194 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4195 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4196 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4197 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4198 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4199 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4200 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4201 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4202 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4203 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4204 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4205 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4206 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4207 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4208 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4209 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4210 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4211 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4212 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4213 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4214 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4215 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4216 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4217 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4218 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4219 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4220 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4221 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4222 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4223 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4224 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4225 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4226 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4227 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4228 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4229 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4230 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4231 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4232 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4233 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4234 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4235 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4236 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4237 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4238 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4239 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4240 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4241 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4242 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4243 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4244 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4245 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4246 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4247 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4248 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4249 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4250 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4251 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4252 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4253 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4254 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4255 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4256 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4257
20f0018d
JM
4258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4259 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4260
b3b099af
JM
4261 [BZ #14914]
4262 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4263 whole low double instead of just low 47 bits when splitting values
4264 into two parts.
4265
029264d1
AM
42662012-12-03 Allan McRae <allan@archlinux.org>
4267
4268 * manual/stdio.texi (Predefined Printf Handlers): Remove
4269 @hsep and @vsep usage.
4270
c9d6789e
MF
42712012-12-03 Mike Frysinger <vapier@gentoo.org>
4272
4273 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4274 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4275
4b7634a5
JL
42762012-12-03 Jeff Law <law@redhat.com>
4277
4278 * time/sys/time.h (settimeofday): Do not mark TV argument
4279 as __nonnull.
4280
eb6cbd24
MF
42812012-12-01 Mike Frysinger <vapier@gentoo.org>
4282
4283 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4284 when currently writing and seek to current position when not.
4285 * libio/Makefile (tests): Remove bug-fclose1.
4286 * libio/bug-fclose1.c: Delete.
4287
f638872a
JM
42882012-12-01 Joseph Myers <joseph@codesourcery.com>
4289
4290 * manual/arith.texi (feenableexcept): Fix typo.
4291 (fedisableexcept): Likewise.
4292
48085d14
RM
42932012-11-30 Roland McGrath <roland@hack.frob.com>
4294
4295 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4296 second, differently-typed declaration, rather than a cast.
4297
1a538b9f
SP
42982012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4299
4300 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4301 * include/rpc/svc.h: ... here.
4302
d07f2ff1 43032012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4304
4305 [BZ #13013]
4306 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4307 depending n and resplen2 to catch cases where answer
4308 equals answerp2.
4309
c93ec1f0
CD
43102012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4311
4312 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4313 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4314
37db69de
MF
43152012-11-29 Mike Frysinger <vapier@gentoo.org>
4316
4317 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4318
e10c4e4f
RM
43192012-11-29 Roland McGrath <roland@hack.frob.com>
4320
4321 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4322
2af1b328
JL
43232012-11-28 Jeff Law <law@redhat.com>
4324
4325 [BZ #13761]
4326 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4327 dataset_temporary. Track alloca usage into alloca_used.
4328 If dataset is large allocate and release it via malloc/free.
4329
111db5b1
FW
43302012-06-04 Florian Weimer <fweimer@redhat.com>
4331
f06cc227 4332 [BZ #14197]
111db5b1
FW
4333 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4334
dd694abd
DM
43352012-11-28 David S. Miller <davem@davemloft.net>
4336
4337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4338
9984dd01
JM
43392012-11-28 Joseph Myers <joseph@codesourcery.com>
4340
4341 [BZ #14803]
4342 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4343 of pi/2 rounded to nearest to 64 bits.
4344 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4345 nearest to 64 bits.
4346 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4347 bits.
4348
14bc93a9
JL
43492012-11-28 Jeff Law <law@redhat.com>
4350 Martin Osvald <mosvald@redhat.com>
4351
4352 [BZ #14889]
4353 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4354 * sunrpc/svc.c: Include time.h.
4355 (__svc_accept_failed): New function.
4356 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4357 any reason other than EINTR, call __svc_accept_failed.
4358 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4359 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4360
e3c6aa3a
AS
43612012-11-28 Andreas Schwab <schwab@suse.de>
4362
4363 * scripts/abilist.awk: Also handle indirect functions in .opd
4364 section.
4365
1bead169
JM
43662012-11-28 Joseph Myers <joseph@codesourcery.com>
4367
4368 [BZ #13881]
4369 * sysdeps/x86/fpu/powl_helper.c: New file.
4370 * sysdeps/x86/fpu/Makefile: Likewise.
4371 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4372 (p3): New object.
4373 (__ieee754_powl): Use __powl_helper for finite arguments except
4374 integer exponents below 8.
4375 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4376 (p3): New object.
4377 (__ieee754_powl): Use __powl_helper for finite arguments except
4378 integer exponents below 8.
4379 * math/libm-test.inc (pow_test): Add more tests and enable some
4380 previously disabled tests.
4381 * sysdeps/i386/fpu/libm-test-ulps: Update.
4382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4383
0817d63d
SP
43842012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4385 Carlos O'Donell <carlos_odonell@mentor.com>
4386
4387 * nss/makedb.c (is_prime): Assert that input is odd and greater
4388 than 4. Note that fact in a comment too.
4389 (next_prime): Add 4 to input.
4390
de2fd463
SP
43912012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4392
4393 [BZ #11741]
4394 * libio/Makefile (tests): Add test case tst-fwrite-error.
4395 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4396 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4397 * libio/tst-fwrite-error.c: New test case.
4398
c515fb51
L
43992012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4400
4401 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4402 before casting to void *.
4403 * include/libc-internal.h (__pointer_type): New macro.
4404 (__integer_if_pointer_type_sub): Likewise.
4405 (__integer_if_pointer_type): Likewise.
4406 (cast_to_integer): Likewise.
4407 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4408 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4409 before casting to atomic64_t.
4410 (atomic_exchange_acq): Likewise.
4411 (__arch_exchange_and_add_body): Likewise.
4412 (__arch_add_body): Likewise.
4413 (atomic_add_negative): Likewise.
4414 (atomic_add_zero): Likewise.
4415
4cf77aa9
JM
44162012-11-26 Joseph Myers <joseph@codesourcery.com>
4417
4418 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4419 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4420 (add_fdes): Likewise.
4421 (linear_search_fdes): Likewise.
4422 (binary_search_unencoded_fdes): Likewise.
4423
d260b3b4
AS
44242012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4425
4426 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4427
67060746
AC
44282012-11-24 Adam Conrad <adconrad@0c3.net>
4429
4430 * configure.in: Autodetect C++ header directories.
4431 * configure: Regenerated.
4432
800938a1
MF
44332012-11-23 Mike Frysinger <vapier@gentoo.org>
4434
4435 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4436
4e6e34e6
AS
44372012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4438
4439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4440
7c7feb47
JM
44412012-11-22 Joseph Myers <joseph@codesourcery.com>
4442
7184dcdf
JM
4443 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4444 LDBL_MANT_DIG == 106]: Disable some tests.
4445 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4446 Likewise.
4447 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4448 Likewise.
4449
0a42601f
JM
4450 [BZ #14871]
4451 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4452 input for small inputs. Return +/- pi/2 for large inputs.
4453 * math/libm-test.inc (atan_test): Add more tests.
4454
79c9b9fe
JM
4455 * sysdeps/generic/unwind-dw2-fde-glibc.c
4456 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4457 __attribute__ ((unused)).
4458
c60d3bf2
JM
4459 [BZ #14645]
4460 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4461 x * y if x and y are nonzero and z is zero.
4462
ef1e0867
JM
4463 [BZ #14811]
4464 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4465 nonzero exponents with absolute value below 0x1p-117 to +/-
4466 0x1p-117.
4467
1468ded3
JM
4468 [BZ #14869]
4469 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4470 up arguments below 2**-450, not just those below 2**-500.
4471 * math/libm-test.inc (hypot_test): Add another test.
4472
8e27e3cc
JM
4473 [BZ #14868]
4474 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4475 Return a+b for ratio over 2**120, not 2**60.
4476 * math/libm-test.inc (hypot_test): Add another test.
4477
c9c0279b
JM
4478 * math/libm-test.inc (clog_test): Use
4479 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4480 (clog10_test): Likewise.
4481
7c7feb47
JM
4482 [BZ #6778]
4483 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4484
fff1530e
AS
44852012-11-22 Andreas Schwab <schwab@suse.de>
4486
4487 * sysdeps/i386/fpu/libm-test-ulps: Update.
4488
94558d30
PT
44892012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4490
4491 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4492 printf output with newline.
4493
7e1be741
L
44942012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4495
6bfea974
L
4496 [BZ #14865]
4497 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4498 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4499 -z nodlopen, -z initfirst and -z execstack support.
4500 * configure: Regenerated.
4501
7e1be741
L
4502 * elf/elf.h (DF_1_NODIRECT): New macro.
4503 (DF_1_IGNMULDEF): Likewise.
4504 (DF_1_NOKSYMS): Likewise.
4505 (DF_1_NOHDR): Likewise.
4506 (DF_1_EDITED): Likewise.
4507 (DF_1_NORELOC): Likewise.
4508 (DF_1_SYMINTPOSE): Likewise.
4509 (DF_1_GLOBAUDIT): Likewise.
4510 (DF_1_SINGLETON): Likewise.
4511 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4512 DT_1_SUPPORTED_MASK bits.
4513 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4514
105ce2ce
CD
45152012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4516
4517 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4518
123be9de
TS
45192012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4520
d072f3f7
TS
4521 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4522 macro.
4523
123be9de
TS
4524 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4525 (sendmmsg): Move declarations...
4526 * socket/sys/socket.h: ... here.
4527 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4528 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4529 include it from...
4530 * socket/recvmmsg.c: ... this new file.
4531 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4532 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4533 definition of __sendmmsg hidden.
4534 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4535 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4536 Move ENOSYS stub into and include it from...
4537 * socket/sendmmsg.c: ... this new file.
4538 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4539 (sysdep_routines): Move recvmmsg and sendmmsg...
4540 * socket/Makefile (routines): ... here.
4541 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4542 (GLIBC_PRIVATE): Add __sendmmsg.
4543 * include/sys/socket.h (__sendmmsg): Add declarations.
4544 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4545 sendmmsg.
4546
cf9a5d18
JM
45472012-11-20 Joseph Myers <joseph@codesourcery.com>
4548
4549 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4550 variable I1 with __attribute__ ((unused)).
4551 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4552
ecd4caf9
JM
45532012-11-19 Joseph Myers <joseph@codesourcery.com>
4554
be14d48f
JM
4555 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4556 DUMMY variables with __attribute__ ((unused)).
4557
ecd4caf9
JM
4558 * bits/byteswap.h: Include <bits/types.h>.
4559 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4560
986cab95
PT
45612012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4562
4563 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4564 string_t. Do not manually set errno.
4565 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4566 length with __strnlen. Make sure to both set errno and return it on
4567 failure.
4568
6d33cc9d
DM
45692012-11-19 David S. Miller <davem@davemloft.net>
4570
4571 With help from Joseph Myers.
4572 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4573 very large arguments properly.
4574 * math/libm-test.inc (atan_test): New tests.
4575 (atan2_test): New tests.
4576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4578
ee663277
JM
45792012-11-19 Joseph Myers <joseph@codesourcery.com>
4580
877f2d8e
JM
4581 [BZ #14856]
4582 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4583 Define to 3.
4584
116fc08a
JM
4585 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4586 [POSIX] (EADDRNOTAVAIL): Likewise.
4587 [POSIX] (EAFNOSUPPORT): Likewise.
4588 [POSIX] (EALREADY): Likewise.
4589 [POSIX] (ECONNABORTED): Likewise.
4590 [POSIX] (ECONNREFUSED): Likewise.
4591 [POSIX] (ECONNRESET): Likewise.
4592 [POSIX] (EDESTADDRREQ): Likewise.
4593 [POSIX] (EDQUOT): Likewise.
4594 [POSIX] (EHOSTUNREACH): Likewise.
4595 [POSIX] (EIDRM): Likewise.
4596 [POSIX] (EISCONN): Likewise.
4597 [POSIX] (ELOOP): Likewise.
4598 [POSIX] (EMULTIHOP): Likewise.
4599 [POSIX] (ENETDOWN): Likewise.
4600 [POSIX] (ENETUNREACH): Likewise.
4601 [POSIX] (ENOBUFS): Likewise.
4602 [POSIX] (ENODATA): Likewise.
4603 [POSIX] (ENOLINK): Likewise.
4604 [POSIX] (ENOMSG): Likewise.
4605 [POSIX] (ENOPROTOOPT): Likewise.
4606 [POSIX] (ENOSR): Likewise.
4607 [POSIX] (ENOSTR): Likewise.
4608 [POSIX] (ENOTCONN): Likewise.
4609 [POSIX] (ENOTSOCK): Likewise.
4610 [POSIX] (EOPNOTSUPP): Likewise.
4611 [POSIX] (EOVERFLOW): Likewise.
4612 [POSIX] (EPROTO): Likewise.
4613 [POSIX] (EPROTONOSUPPORT): Likewise.
4614 [POSIX] (EPROTOTYPE): Likewise.
4615 [POSIX] (ESTALE): Likewise.
4616 [POSIX] (ETIME): Likewise.
4617 [POSIX] (ETXTBSY): Likewise.
4618 [POSIX] (EWOULDBLOCK): Likewise.
4619 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4620 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4621 [POSIX] (SEEK_CUR): Likewise.
4622 [POSIX] (SEEK_END): Likewise.
4623 [POSIX || UNIX98] (mode_t): Do not require.
4624 [POSIX] (off_t): Likewise.
4625 [POSIX] (pid_t): Likewise.
4626 [POSIX] (sys/stat.h): Do not allow header.
4627 [POSIX] (unistd.h): Likewise.
4628 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4629 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4630 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4631 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4632 require.
4633 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4634 sigevent): Specify elements.
4635 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4636 entry.
4637 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4638 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4639
a483863f
JM
4640 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4641 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4642 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4643 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4644 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4645 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4646 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4647 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4648 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4649 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4650 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4651 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4652 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4653 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4654 Likewise.
4655 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4656 Likewise.
4657 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4658 Likewise.
4659 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4660 Likewise.
4661 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4662 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4663 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4664 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4665 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4666 Specify lower bound on value.
4667 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4668 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4669 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4670 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4671 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4672 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4673 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4674 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4675 value.
4676 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4677 as optional.
4678 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4679 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4680 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4681 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4682 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4683 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4684 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4685 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4686 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4687 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4688 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4689 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4690 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4691 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4692 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4693 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4694 entry.
4695 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4696 optional.
4697 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4698 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4699 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4700 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4701 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4702 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4703 Likewise.
4704 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4705 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4706 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4707 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4708 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4709 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4710 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4711 as optional.
4712 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4713 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4714 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4715 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4716 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4717 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4718 specify as optional.
4719 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4720 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4721 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4722 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4723 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4724 [XPG3] (NL_LANGMAX): Likewise.
4725 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4726 [POSIX || XPG3] (NL_NMAX): Likewise.
4727 [POSIX || XPG3] (NL_SETMAX): Likewise.
4728 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4729 [XPG3] (NZERO): Likewise.
4730 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4731 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4732 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4733 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4734 (REG_ERANGE): Expect.
4735 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4736 optional-constant.
4737 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4738 Use (void) in prototype.
4739 [POSIX] (*_t): Allow.
4740 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4741 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4742 (WRDE_BADVAL): Expect.
4743
5ba924e3
JM
4744 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4745 expect.
4746 [XPG3 || XPG4] (O_RSYNC): Likewise.
4747 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4748 Likewise.
4749 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4750 [XPG3 || XPG4] (sigqueue): Likewise.
4751 [XPG3 || XPG4] (sigtimedwait): Likewise.
4752 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4753 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4754 [XPG3 || XPG4] (vsnprintf): Likewise.
4755 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4756 Likewise.
4757 [XPG3 || XPG4] (blksize_t): Likewise.
4758 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4759 Likewise.
4760 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4761 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4762 [XPG3 || XPG4] (struct itimerspec): Likewise.
4763 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4764 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4765 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4766 [XPG3 || XPG4] (clockid_t): Likewise.
4767 [XPG3 || XPG4] (timer_t): Likewise.
4768 [XPG3 || XPG4] (clock_getres): Likewise.
4769 [XPG3 || XPG4] (clock_gettime): Likewise.
4770 [XPG3 || XPG4] (clock_settime): Likewise.
4771 [XPG3 || XPG4] (nanosleep): Likewise.
4772 [XPG3 || XPG4] (timer_create): Likewise.
4773 [XPG3 || XPG4] (timer_delete): Likewise.
4774 [XPG3 || XPG4] (timer_gettime): Likewise.
4775 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4776 [XPG3 || XPG4] (timer_settime): Likewise.
4777 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4778 [XPG3 || XPG4] (getlogin_r): Likewise.
4779 [XPG3 || XPG4] (pread): Likewise.
4780 [XPG3 || XPG4] (pthread_atfork): Likewise.
4781 [XPG3 || XPG4] (pwrite): Likewise.
4782
ee663277
JM
4783 [BZ #14835]
4784 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4785 <bits/siginfo.h>.
4786
942caa16
PT
47872012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4788
e19af380
PT
4789 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4790 finalizing MALLSTREAM.
4791
942caa16
PT
4792 * sysdeps/mach/hurd/syncfs.c: New file.
4793
cfde9b46
SP
47942012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4795
4796 [BZ #14719]
4797 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4798 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4799 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4800 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4801 (_nss_dns_gethostbyname4_r): Likewise.
4802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4803 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4804
f6da27e5
PH
48052012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4806
4807 [BZ #13763]
4808 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4809
6665d4a2
SM
48102012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4811
1f51ee92
SM
4812 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4813 * elf/cache.c (print_entry): Print ",AArch64" for
4814 FLAG_AARCH64_LIB64
4815
6665d4a2
SM
4816 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4817 * elf/cache.c (print_entry): Print ",hard-float" for
4818 FLAG_ARM_LIBHF.
4819
05b227bd
DM
48202012-11-18 David S. Miller <davem@davemloft.net>
4821
4822 With help from Joseph Myers.
4823 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4824 cutoff to 2**-13.
4825 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4826 cutoff to 2**-25.
4827 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4828 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4829 small.
4830 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4831 * math/libm-test.inc (y0_test): New tests.
4832 (y1_test): New tests.
4833 * sysdeps/i386/fpu/libm-test-ulps: Update.
4834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4836
786b0b67
AS
48372012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4838
4839 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4840 64-bit targets.
4841 * configure: Regenerated.
4842
8e18b86d
DM
48432012-11-17 David S. Miller <davem@davemloft.net>
4844
4845 [BZ #14811]
4846 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4847 nonzero exponents with absolute value below 0x1p-128 to +/-
4848 0x1p-128.
4849
531f1ae0
JM
48502012-11-17 Joseph Myers <joseph@codesourcery.com>
4851
12df29e2
JM
4852 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4853
150dc1a0
JM
4854 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4855
531f1ae0
JM
4856 * posix/getconf-speclist.c: New file.
4857 * posix/posix-envs.def: Likewise.
4858 * posix/confstr.c (START_ENV_GROUP): New macro.
4859 (END_ENV_GROUP): Likewise.
4860 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4861 (KNOWN_PRESENT_ENV_STRING): Likewise.
4862 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4863 (UNKNOWN_ENVIRONMENT): Likewise.
4864 (confstr): Include posix-envs.def instead of handling
4865 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4866 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4867 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4868 (END_ENV_GROUP): Likewise.
4869 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4870 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4871 (UNKNOWN_ENVIRONMENT): Likewise.
4872 (__sysconf): Include posix-envs.def instead of handling associated
4873 cases directly here.
4874 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4875 preprocessing getconf-speclist.c rather than running getconf or
4876 generating empty file.
4877
a93f9cbc
PT
48782012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4879
4880 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4881
d64d9f87
AL
48822012-11-16 Andrej Lajovic <natrij@gmail.com>
4883
4884 [BZ #14672]
4885 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4886
447885eb
DM
48872012-11-16 David S. Miller <davem@davemloft.net>
4888
4889 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4890 smaller than LDBL_EPSILON/2.0L, just return xm1.
4891
bcbf9830
L
48922012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4893
4894 * elf/tst-array1.c (init): Set constructor priority to 1000.
4895 (fini): Set destructor priority to 1000.
4896 * elf/tst-array2dep.c: Likewise.
4897
2b766585
SP
48982012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4899
4900 [BZ #11741]
4901 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4902 (_IO_new_file_xsputn): Also return EOF if none of the input
4903 data was written when overflow failed.
4904 * libio/iopadn.c (_IO_padn): Likewise.
4905 * libio/iowpadn.c (_IO_wpadn): Likewise.
4906 * stdio-common/tst-put-error.c: Add copyright notice.
4907 (do_test): Add case for printing padded string.
4908 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4909 _IO_padn returned error.
4910 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4911 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4912 return EOF.
4913
b1848fde
SP
49142012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4915
4916 * libio/libioP.h: Add comment note that the references to C++
4917 bits are now obsolete.
4918
2fd89785
MS
49192012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4920
4921 * math/libm-test.inc (check_complex): Use asprintf.
4922
e3ea5409
JM
49232012-11-14 Joseph Myers <joseph@codesourcery.com>
4924
4925 * debug/pcprofiledump.c (print_version): Update copyright year.
4926 * malloc/memusagestat.c (print_version): Likewise.
4927
2e64d265
L
49282012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4929
4930 [BZ #14831]
4931 * elf/Makefile (tests): Add tst-audit8.
4932 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4933 ($(objpfx)tst-audit8.out): New target.
4934 (tst-audit8-ENV): New variable.
4935 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4936 audit if l_reloc_result is NULL.
4937 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4938 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4939 * elf/tst-audit8.c: New file.
4940
c485e4d2
MS
49412012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4942
4943 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4944 * misc/Makefile (CFLAGS-select.c): Define.
4945 * posix/Makefile (CFLAGS-pause.c): Define.
4946
3a0d900a
DM
49472012-11-13 David S. Miller <davem@davemloft.net>
4948
4949 * crypt/Makefile: Move test targets after toplevel Rules
4950 inclusion. Grab any necessary sysdep routines when linking.
4951 * crypt/md5.c (md5_process_block): Remove define, we will always
4952 name it __md5_process_block.
4953 (md5_finish_ctx): Update md5_process_block call.
4954 (md5_stream): Likewise.
4955 (md5_process_bytes): Likewise.
4956 (md5_process_block): Rename to __md5_process_block and move to ...
4957 * crypt/md5-block.c: ... here.
4958 * crypt/sha256.c (sha256_process_block): Move to ...
4959 * crypt/sha256-block.c: ... here.
4960 * crypt/sha512.c (sha512_process_block): Move to ...
4961 * crypt/sha512-block.c: ... here.
4962 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4963 path.
4964 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4965 * sysdeps/sparc/sparc64/multiarch/Makefile
4966 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4967 crypt subdir.
4968 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4969 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4970 multiarch changes.
4971 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4972 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4973 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4974 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4975 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4976 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4977 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4978 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4979 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4980 file.
4981 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4982 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4983 file.
4984 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4985
8ca89318
JM
49862012-11-13 Joseph Myers <joseph@codesourcery.com>
4987
e27d476a
JM
4988 * timezone/tzselect.ksh: Update from tzcode git revision
4989 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4990 * timezone/zdump.c: Likewise.
4991 * timezone/zic.c: Likewise.
4992 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4993 in TZVERSION setting, not $(PKGVERSION).
4994 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4995 REPORT_BUGS_TO settings.
4996
8ca89318
JM
4997 [BZ #14838]
4998 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4999 macro.
5000
47594329
MS
50012012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5002
5003 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5004 detection to immediately after _FP_ROUND().
5005 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5006 bits are 0.
5007
640ac3f1
DM
50082012-11-11 David S. Miller <davem@davemloft.net>
5009
5010 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5011 inttypes.h
5012 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5013 __close rather than their public counterparts.
5014
3d2577bb
JM
50152012-11-10 Joseph Myers <joseph@codesourcery.com>
5016
5017 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5018 file.
5019 [UNIX98] (sem_timedwait): Do not expect.
5020 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5021 [XPG4 || UNIX98] (sockatmark): Do not expect.
5022 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5023 (clock_getcpuclockid): Do not expect.
5024 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5025 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5026 Do not expect.
5027 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5028 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5029 [UNIX98] (vwscanf): Likewise.
5030 [UNIX98] (vswscanf): Likewise.
5031
fb1ae1ee
JM
50322012-11-09 Joseph Myers <joseph@codesourcery.com>
5033
9ec6f8bd
JM
5034 * timezone/version.h: Remove file.
5035 * timezone/README: Do not refer to version.h.
5036 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5037 $(objpfx)version.h.
5038 ($(objpfx)zdump.o): Likewise.
c3f81911 5039 ($(objpfx)version.h): New target.
9ec6f8bd 5040
0aa8f8a1
JM
5041 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5042 2012i.
5043 * timezone/README: Don't mention modification to tzselect.ksh.
5044 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5045 work on unmodified tzselect.ksh. Substitute version numbers in
5046 tzselect.ksh.
5047
4e87147f
JM
5048 * Makefile (format-me): Remove.
5049 (INSTALL): Adjust indentation. Use commands directly instead of
5050 using $(format-me).
5051
8b748aed
JM
5052 * aclocal.m4 (ACX_PKGVERSION): New macro.
5053 (ACX_BUGURL): Likewise.
5054 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5055 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5056 (REPORT_BUGS_TO): Likewise.
5057 * configure: Regenerated.
5058 * config.h.in (PKGVERSION): New macro.
5059 (REPORT_BUGS_TO): Likewise.
5060 * config.make.in (PKGVERSION): New variable.
5061 (PKGVERSION_TEXI): Likewise.
5062 (REPORT_BUGS_TO): Likewise.
5063 (REPORT_BUGS_TEXI): Likewise.
5064 * Makefile (format-me): Use -I$(common-objpfx)manual.
5065 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5066 ($(common-objpfx)manual/%): New target.
5067 (manual/%): Remove target.
5068 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5069 (print_version): Use PKGVERSION.
5070 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5071 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5072 and REPORT_BUGS_TO.
5073 ($(objpfx)xtrace): Likewise.
5074 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5075 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5076 (print_version): Use PKGVERSION.
5077 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5078 (do_version): Use PKGVERSION.
5079 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5080 REPORT_BUGS_TO.
5081 (common-ldd-rewrite): Likewise.
5082 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5083 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5084 (print_version): Use PKGVERSION.
5085 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5086 * elf/pldd.c (argp_program_bug_address): Remove variable.
5087 (more_help): New function.
5088 (argp): Use more_help.
5089 (print_version): Use PKGVERSION.
5090 * elf/sln.c (main): Use PKGVERSION.
5091 (usage): Use REPORT_BUGS_TO.
5092 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5093 (top level): Use PKGVERSION.
5094 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5095 (print_version): Use PKGVERSION.
5096 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5097 (print_version): Use PKGVERSION.
5098 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5099 (print_version): Use PKGVERSION.
5100 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5101 (print_version): Use PKGVERSION.
5102 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5103 (print_version): Use PKGVERSION.
5104 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5105 (print_version): Use PKGVERSION.
5106 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5107 and BUGURL.
5108 ($(objpfx)memusage): Likewise.
5109 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5110 (do_version): Use PKGVERSION.
5111 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5112 (print_version): Use PKGVERSION.
5113 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5114 ($PKGVERSION): New variable.
5115 ($REPORT_BUGS_TO): Likewise.
5116 (usage): Use $REPORT_BUGS_TO.
5117 (top level): Use $PKGVERSION.
5118 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5119 ($(objpfx)pkgvers.texi): New rule.
5120 ($(objpfx)stamp-pkgvers): Likewise.
5121 * manual/install.texi: Include pkgvers.texi.
5122 (--with-pkgversion): Document new configure option.
5123 (--with-bugurl): Likewise.
5124 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5125 than necessarily for this particular distribution. Use
5126 REPORT_BUGS_TO for where to report bugs.
5127 * INSTALL: Regenerated.
5128 * manual/libc.texinfo: Include pkgvers.texi.
5129 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5130 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5131 (print_version): Use PKGVERSION.
5132 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5133 (print_version): Use PKGVERSION.
5134 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5135 (print_version): Use PKGVERSION.
5136 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5137 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5138 macro.
5139 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5140 (print_version): Use PKGVERSION.
5141 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5142 (print_version): Use PKGVERSION.
5143 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5144 and PKGVERSION.
5145
92e4b6a9
JM
5146 * timezone/checktab.awk: Update from tzcode 2012i.
5147 * timezone/ialloc.c: Likewise.
5148 * timezone/private.h: Likewise.
5149 * timezone/scheck.c: Likewise.
5150 * timezone/tzfile.h: Likewise.
5151 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5152 (TZVERSION): Hardcode tzcode version number.
5153 * timezone/zdump.c: Update from tzcode 2012i.
5154 * timezone/zic.c: Likewise.
5155 * timezone/version.h: New file.
5156 * timezone/README: Describe version.h. Update upstream location.
5157
9bde902c
JM
5158 [BZ #14824]
5159 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5160 (mktemp): Enable declaration.
5161 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5163 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5164 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5165 Likewise.
5166 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5167 Likewise.
5168 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5169 Likewise.
5170 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5171 Likewise.
5172 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5173 Likewise.
5174 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5175 Likewise.
5176
fb1ae1ee
JM
5177 [BZ #14821]
5178 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5179 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5180 for copies of such integer values.
5181 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5182 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5183
2c1adbcb
AJ
51842012-11-09 Andreas Jaeger <aj@suse.de>
5185
5186 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5187 definitions and declarations that are provided by
5188 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5189
d0f8457e
AK
51902012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5191
3a235abb 5192 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5193 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5194 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5195 definition.
5196
57241e26
MS
51972012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5198
5199 * elf/elf.h: Update comment before AArch64 relocations.
5200
60e8270d
DM
52012012-11-07 David S. Miller <davem@davemloft.net>
5202
5203 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5204 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5205 (__start_context): Declare.
5206 (__makecontext_ret): Delete.
5207 (__makecontext): Hook up __start_context instead of
5208 __makecontext_ret.
5209 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5210 (sysdep_routines): Add __start_context when in stdlib.
5211
0fbb0fbc
JM
52122012-11-07 Joseph Myers <joseph@codesourcery.com>
5213
5214 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5215 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5216 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5217 hardcoded "nm".
5218 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5219 (READELF): New variable. Use it instead of hardcoded "readelf".
5220
eb48db7e
L
52212012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5222
5223 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5224 * sysdeps/x86/Makefile: Here.
5225 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5226 * sysdeps/x86/tst-xmmymm.sh: This.
5227
05bcf62a
JM
52282012-11-07 Joseph Myers <joseph@codesourcery.com>
5229
c4b6cf53
JM
5230 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5231 expectations.
5232 [UNIX98] (pthread_barrier_t): Do not expect.
5233 [UNIX98] (pthread_barrierattr_t): Likewise.
5234 [UNIX98] (pthread_spinlock_t): Likewise.
5235 [UNIX98] (pthread_barrier_destroy): Likewise.
5236 [UNIX98] (pthread_barrier_init): Likewise.
5237 [UNIX98] (pthread_barrier_wait): Likewise.
5238 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5239 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5240 [UNIX98] (pthread_barrierattr_init): Likewise.
5241 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5242 [UNIX98] (pthread_getcpuclockid): Likewise.
5243 [UNIX98] (pthread_mutex_timedlock): Likewise.
5244 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5245 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5246 [UNIX98] (pthread_sigmask): Likewise.
5247 [UNIX98] (pthread_spin_destroy): Likewise.
5248 [UNIX98] (pthread_spin_init): Likewise.
5249 [UNIX98] (pthread_spin_lock): Likewise.
5250 [UNIX98] (pthread_spin_trylock): Likewise.
5251 [UNIX98] (pthread_spin_unlock): Likewise.
5252 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5253 Do not expect.
5254 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5255 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5256 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5257 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5258 [XPG3 || XPG4] (pthread_key_t): Likewise.
5259 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5260 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5261 [XPG3 || XPG4] (pthread_once_t): Likewise.
5262 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5263 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5264 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5265 [XPG3 || XPG4] (pthread_t): Likewise.
5266
cbe6e120
JM
5267 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5268 not expect.
5269 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5270
1b126443
JM
5271 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5272 Change function return type to int.
5273
b961a573
JM
5274 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5275 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5276 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5277 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5278 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5279 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5280 [!POSIX] (posix_madvise): Likewise.
5281 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5282 && !UNIX98].
5283 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5284 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5285 (mode_t): Likewise.
5286 (posix_mem_offset): Likewise.
5287 (posix_typed_mem_get_info): Likewise.
5288 (posix_typed_mem_open): Likewise.
5289
9e188909
JM
5290 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5291 Change condition to [XOPEN2K8].
5292
05bcf62a
JM
5293 * conform/conformtest.pl: Preprocess allow-header data with -x c
5294 instead of from stdin.
5295 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5296 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5297 [C99-based standards] (cerfc): Likewise.
5298 [C99-based standards] (cexp2): Likewise.
5299 [C99-based standards] (cexpm1): Likewise.
5300 [C99-based standards] (clog10): Likewise.
5301 [C99-based standards] (clog1p): Likewise.
5302 [C99-based standards] (clog2): Likewise.
5303 [C99-based standards] (clgamma): Likewise.
5304 [C99-based standards] (ctgamma): Likewise.
5305 [C99-based standards] (cerff): Likewise.
5306 [C99-based standards] (cerfcf): Likewise.
5307 [C99-based standards] (cexp2f): Likewise.
5308 [C99-based standards] (cexpm1f): Likewise.
5309 [C99-based standards] (clog10f): Likewise.
5310 [C99-based standards] (clog1pf): Likewise.
5311 [C99-based standards] (clog2f): Likewise.
5312 [C99-based standards] (clgammaf): Likewise.
5313 [C99-based standards] (ctgammaf): Likewise.
5314 [C99-based standards] (cerfl): Likewise.
5315 [C99-based standards] (cerfcl): Likewise.
5316 [C99-based standards] (cexp2l): Likewise.
5317 [C99-based standards] (cexpm1l): Likewise.
5318 [C99-based standards] (clog10l): Likewise.
5319 [C99-based standards] (clog1pl): Likewise.
5320 [C99-based standards] (clog2l): Likewise.
5321 [C99-based standards] (clgammal): Likewise.
5322 [C99-based standards] (ctgammal): Likewise.
5323 * conform/data/inttypes.h-data [C99-based standards]: Include
5324 stdint.h-data. Remove all expectations for stdint.h contents.
5325 [C99-based standards] (PRI*): Do not allow.
5326 [C99-based standards] (SCN*): Likewise.
5327 [C99-based standards] (*_t): Likewise.
5328 [C99-based-standards] (PRId8): Expect macro.
5329 [C99-based-standards] (PRIi8): Likewise.
5330 [C99-based-standards] (PRIo8): Likewise.
5331 [C99-based-standards] (PRIu8): Likewise.
5332 [C99-based-standards] (PRIx8): Likewise.
5333 [C99-based-standards] (PRIX8): Likewise.
5334 [C99-based-standards] (SCNd8): Likewise.
5335 [C99-based-standards] (SCNi8): Likewise.
5336 [C99-based-standards] (SCNo8): Likewise.
5337 [C99-based-standards] (SCNu8): Likewise.
5338 [C99-based-standards] (SCNx8): Likewise.
5339 [C99-based-standards] (PRIdLEAST8): Likewise.
5340 [C99-based-standards] (PRIiLEAST8): Likewise.
5341 [C99-based-standards] (PRIoLEAST8): Likewise.
5342 [C99-based-standards] (PRIuLEAST8): Likewise.
5343 [C99-based-standards] (PRIxLEAST8): Likewise.
5344 [C99-based-standards] (PRIXLEAST8): Likewise.
5345 [C99-based-standards] (SCNdLEAST8): Likewise.
5346 [C99-based-standards] (SCNiLEAST8): Likewise.
5347 [C99-based-standards] (SCNoLEAST8): Likewise.
5348 [C99-based-standards] (SCNuLEAST8): Likewise.
5349 [C99-based-standards] (SCNxLEAST8): Likewise.
5350 [C99-based-standards] (PRIdFAST8): Likewise.
5351 [C99-based-standards] (PRIiFAST8): Likewise.
5352 [C99-based-standards] (PRIoFAST8): Likewise.
5353 [C99-based-standards] (PRIuFAST8): Likewise.
5354 [C99-based-standards] (PRIxFAST8): Likewise.
5355 [C99-based-standards] (PRIXFAST8): Likewise.
5356 [C99-based-standards] (SCNdFAST8): Likewise.
5357 [C99-based-standards] (SCNiFAST8): Likewise.
5358 [C99-based-standards] (SCNoFAST8): Likewise.
5359 [C99-based-standards] (SCNuFAST8): Likewise.
5360 [C99-based-standards] (SCNxFAST8): Likewise.
5361 [C99-based-standards] (PRId16): Likewise.
5362 [C99-based-standards] (PRIi16): Likewise.
5363 [C99-based-standards] (PRIo16): Likewise.
5364 [C99-based-standards] (PRIu16): Likewise.
5365 [C99-based-standards] (PRIx16): Likewise.
5366 [C99-based-standards] (PRIX16): Likewise.
5367 [C99-based-standards] (SCNd16): Likewise.
5368 [C99-based-standards] (SCNi16): Likewise.
5369 [C99-based-standards] (SCNo16): Likewise.
5370 [C99-based-standards] (SCNu16): Likewise.
5371 [C99-based-standards] (SCNx16): Likewise.
5372 [C99-based-standards] (PRIdLEAST16): Likewise.
5373 [C99-based-standards] (PRIiLEAST16): Likewise.
5374 [C99-based-standards] (PRIoLEAST16): Likewise.
5375 [C99-based-standards] (PRIuLEAST16): Likewise.
5376 [C99-based-standards] (PRIxLEAST16): Likewise.
5377 [C99-based-standards] (PRIXLEAST16): Likewise.
5378 [C99-based-standards] (SCNdLEAST16): Likewise.
5379 [C99-based-standards] (SCNiLEAST16): Likewise.
5380 [C99-based-standards] (SCNoLEAST16): Likewise.
5381 [C99-based-standards] (SCNuLEAST16): Likewise.
5382 [C99-based-standards] (SCNxLEAST16): Likewise.
5383 [C99-based-standards] (PRIdFAST16): Likewise.
5384 [C99-based-standards] (PRIiFAST16): Likewise.
5385 [C99-based-standards] (PRIoFAST16): Likewise.
5386 [C99-based-standards] (PRIuFAST16): Likewise.
5387 [C99-based-standards] (PRIxFAST16): Likewise.
5388 [C99-based-standards] (PRIXFAST16): Likewise.
5389 [C99-based-standards] (SCNdFAST16): Likewise.
5390 [C99-based-standards] (SCNiFAST16): Likewise.
5391 [C99-based-standards] (SCNoFAST16): Likewise.
5392 [C99-based-standards] (SCNuFAST16): Likewise.
5393 [C99-based-standards] (SCNxFAST16): Likewise.
5394 [C99-based-standards] (PRId32): Likewise.
5395 [C99-based-standards] (PRIi32): Likewise.
5396 [C99-based-standards] (PRIo32): Likewise.
5397 [C99-based-standards] (PRIu32): Likewise.
5398 [C99-based-standards] (PRIx32): Likewise.
5399 [C99-based-standards] (PRIX32): Likewise.
5400 [C99-based-standards] (SCNd32): Likewise.
5401 [C99-based-standards] (SCNi32): Likewise.
5402 [C99-based-standards] (SCNo32): Likewise.
5403 [C99-based-standards] (SCNu32): Likewise.
5404 [C99-based-standards] (SCNx32): Likewise.
5405 [C99-based-standards] (PRIdLEAST32): Likewise.
5406 [C99-based-standards] (PRIiLEAST32): Likewise.
5407 [C99-based-standards] (PRIoLEAST32): Likewise.
5408 [C99-based-standards] (PRIuLEAST32): Likewise.
5409 [C99-based-standards] (PRIxLEAST32): Likewise.
5410 [C99-based-standards] (PRIXLEAST32): Likewise.
5411 [C99-based-standards] (SCNdLEAST32): Likewise.
5412 [C99-based-standards] (SCNiLEAST32): Likewise.
5413 [C99-based-standards] (SCNoLEAST32): Likewise.
5414 [C99-based-standards] (SCNuLEAST32): Likewise.
5415 [C99-based-standards] (SCNxLEAST32): Likewise.
5416 [C99-based-standards] (PRIdFAST32): Likewise.
5417 [C99-based-standards] (PRIiFAST32): Likewise.
5418 [C99-based-standards] (PRIoFAST32): Likewise.
5419 [C99-based-standards] (PRIuFAST32): Likewise.
5420 [C99-based-standards] (PRIxFAST32): Likewise.
5421 [C99-based-standards] (PRIXFAST32): Likewise.
5422 [C99-based-standards] (SCNdFAST32): Likewise.
5423 [C99-based-standards] (SCNiFAST32): Likewise.
5424 [C99-based-standards] (SCNoFAST32): Likewise.
5425 [C99-based-standards] (SCNuFAST32): Likewise.
5426 [C99-based-standards] (SCNxFAST32): Likewise.
5427 [C99-based-standards] (PRId64): Likewise.
5428 [C99-based-standards] (PRIi64): Likewise.
5429 [C99-based-standards] (PRIo64): Likewise.
5430 [C99-based-standards] (PRIu64): Likewise.
5431 [C99-based-standards] (PRIx64): Likewise.
5432 [C99-based-standards] (PRIX64): Likewise.
5433 [C99-based-standards] (SCNd64): Likewise.
5434 [C99-based-standards] (SCNi64): Likewise.
5435 [C99-based-standards] (SCNo64): Likewise.
5436 [C99-based-standards] (SCNu64): Likewise.
5437 [C99-based-standards] (SCNx64): Likewise.
5438 [C99-based-standards] (PRIdLEAST64): Likewise.
5439 [C99-based-standards] (PRIiLEAST64): Likewise.
5440 [C99-based-standards] (PRIoLEAST64): Likewise.
5441 [C99-based-standards] (PRIuLEAST64): Likewise.
5442 [C99-based-standards] (PRIxLEAST64): Likewise.
5443 [C99-based-standards] (PRIXLEAST64): Likewise.
5444 [C99-based-standards] (SCNdLEAST64): Likewise.
5445 [C99-based-standards] (SCNiLEAST64): Likewise.
5446 [C99-based-standards] (SCNoLEAST64): Likewise.
5447 [C99-based-standards] (SCNuLEAST64): Likewise.
5448 [C99-based-standards] (SCNxLEAST64): Likewise.
5449 [C99-based-standards] (PRIdFAST64): Likewise.
5450 [C99-based-standards] (PRIiFAST64): Likewise.
5451 [C99-based-standards] (PRIoFAST64): Likewise.
5452 [C99-based-standards] (PRIuFAST64): Likewise.
5453 [C99-based-standards] (PRIxFAST64): Likewise.
5454 [C99-based-standards] (PRIXFAST64): Likewise.
5455 [C99-based-standards] (SCNdFAST64): Likewise.
5456 [C99-based-standards] (SCNiFAST64): Likewise.
5457 [C99-based-standards] (SCNoFAST64): Likewise.
5458 [C99-based-standards] (SCNuFAST64): Likewise.
5459 [C99-based-standards] (SCNxFAST64): Likewise.
5460 [C99-based-standards] (PRIdMAX): Likewise.
5461 [C99-based-standards] (PRIiMAX): Likewise.
5462 [C99-based-standards] (PRIoMAX): Likewise.
5463 [C99-based-standards] (PRIuMAX): Likewise.
5464 [C99-based-standards] (PRIxMAX): Likewise.
5465 [C99-based-standards] (PRIXMAX): Likewise.
5466 [C99-based-standards] (SCNdMAX): Likewise.
5467 [C99-based-standards] (SCNiMAX): Likewise.
5468 [C99-based-standards] (SCNoMAX): Likewise.
5469 [C99-based-standards] (SCNuMAX): Likewise.
5470 [C99-based-standards] (SCNxMAX): Likewise.
5471 [C99-based-standards] (PRIdPTR): Likewise.
5472 [C99-based-standards] (PRIiPTR): Likewise.
5473 [C99-based-standards] (PRIoPTR): Likewise.
5474 [C99-based-standards] (PRIuPTR): Likewise.
5475 [C99-based-standards] (PRIxPTR): Likewise.
5476 [C99-based-standards] (PRIXPTR): Likewise.
5477 [C99-based-standards] (SCNdPTR): Likewise.
5478 [C99-based-standards] (SCNiPTR): Likewise.
5479 [C99-based-standards] (SCNoPTR): Likewise.
5480 [C99-based-standards] (SCNuPTR): Likewise.
5481 [C99-based-standards] (SCNxPTR): Likewise.
5482 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5483 allow.
5484 * conform/data/stdint.h-data: Update comments to clarify
5485 requirements.
5486 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5487 type.
5488 [C99-based standards] (INT8_MAX): Likewise.
5489 [C99-based standards] (INT16_MIN): Likewise.
5490 [C99-based standards] (INT16_MAX): Likewise.
5491 [C99-based standards] (INT32_MIN): Likewise.
5492 [C99-based standards] (INT32_MAX): Likewise.
5493 [C99-based standards] (INT64_MIN): Likewise.
5494 [C99-based standards] (INT64_MAX): Likewise.
5495 [C99-based standards] (UINT8_MAX): Likewise.
5496 [C99-based standards] (UINT16_MAX): Likewise.
5497 [C99-based standards] (UINT32_MAX): Likewise.
5498 [C99-based standards] (UINT64_MAX): Likewise.
5499 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5500 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5501 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5502 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5503 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5504 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5505 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5506 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5507 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5508 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5509 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5510 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5511 [C99-based standards] (INT_FAST8_MIN): Likewise.
5512 [C99-based standards] (INT_FAST8_MAX): Likewise.
5513 [C99-based standards] (INT_FAST16_MIN): Likewise.
5514 [C99-based standards] (INT_FAST16_MAX): Likewise.
5515 [C99-based standards] (INT_FAST32_MIN): Likewise.
5516 [C99-based standards] (INT_FAST32_MAX): Likewise.
5517 [C99-based standards] (INT_FAST64_MIN): Likewise.
5518 [C99-based standards] (INT_FAST64_MAX): Likewise.
5519 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5520 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5521 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5522 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5523 [C99-based standards] (INTPTR_MIN): Likewise.
5524 [C99-based standards] (INTPTR_MAX): Likewise.
5525 [C99-based standards] (UINTPTR_MAX): Likewise.
5526 [C99-based standards] (INTMAX_MIN): Likewise.
5527 [C99-based standards] (INTMAX_MAX): Likewise.
5528 [C99-based standards] (UINTMAX_MAX): Likewise.
5529 [C99-based standards] (PTRDIFF_MIN): Likewise.
5530 [C99-based standards] (PTRDIFF_MAX): Likewise.
5531 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5532 [C99-based standards] (SIZE_MAX): Likewise.
5533 [C99-based standards] (WCHAR_MAX): Likewise.
5534 [C99-based standards] (WINT_MAX): Likewise.
5535 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5536 constraint on value.
5537 [C99-based standards] (WCHAR_MIN): Likewise.
5538 [C99-based standards] (WINT_MIN): Likewise.
5539 [C99-based standards] (*_t): Allow.
5540 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5541 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5542 Include math.h-data and complex.h-data. Remove all expectations
5543 of math.h and complex.h contents.
5544 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5545 at end of line.
5546 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5547 (struct tm): Expect tag.
5548 [C99-based-standards] (wcstof): Expect function.
5549 [C99-based-standards] (wcstold): Likewise.
5550 [C99-based-standards] (wcstoll): Likewise.
5551 [C99-based-standards] (wcstoull): Likewise.
5552 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5553 macro-int-constant. Specify type.
5554 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5555 constraint on value.
5556 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5557 Specify type.
5558 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5559 Specify value.
5560 [ISO C standards]: Do not allow headers.
5561 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5562 wcs[abcdefghijklmnopqrstuvwxyz]*.
5563 [ISO C standards] (*_t): Do not allow.
5564 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5565 Expect function.
5566 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5567 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5568 Specify type.
5569 [ISO C standards]: Do not allow headers.
5570 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5571 is[abcdefghijklmnopqrstuvwxyz]*.
5572 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5573 to[abcdefghijklmnopqrstuvwxyz]*.
5574 [ISO C standards] (*_t): Do not allow.
5575 * conform/data/stdalign.h-data: New file.
5576 * conform/data/stdbool.h-data: Likewise.
5577 * conform/data/stdnoreturn.h-data: Likewise.
5578
7514feb8
RM
55792012-11-07 Roland McGrath <roland@hack.frob.com>
5580
5581 [BZ #14815]
5582 * manual/filesys.texi (Directory Entries): Typo fix.
5583 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5584
19b2ecfc
MS
55852012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5586
5587 * elf/elf.h (EM_AARCH64): New macro.
5588 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5589 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5590 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5591 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5592 (R_AARCH64_TLSDESC): Likewise.
5593 (NT_ARM_TLS): Likewise.
5594 (NT_ARM_HW_BREAK): Likewise.
5595 (NT_ARM_HW_WATCH): Likewise.
5596
60e235ee
JM
55972012-11-07 Joseph Myers <joseph@codesourcery.com>
5598
5599 [BZ #14811]
5600 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5601 (__ieee754_powl): Saturate nonzero exponents with absolute value
5602 below 0x1p-79 to +/- 0x1p-79.
5603 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5604 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5605 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5606 nonzero exponents with absolute value below 0x1p-32 to +/-
5607 0x1p-32.
5608 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5609 (__ieee754_powl): Saturate nonzero exponents with absolute value
5610 below 0x1p-79 to +/- 0x1p-79.
5611 * math/libm-test.inc (pow_test): Add more tests.
5612
0ab234b7
AK
56132012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5614
5615 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5616 _dl_s390_cap_flags with kernel. Increase string length.
5617 (_dl_s390_platforms): Add z196 and zEC12.
5618
45832f74
JM
56192012-11-07 Joseph Myers <joseph@codesourcery.com>
5620
5621 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5622 Change XOPEN21K to XOPEN2K.
5623
19218757
MK
56242012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5625
5626 * string/memmove.c: Use memcpy when possible.
5627
c5f45721
AJ
56282012-11-06 Andreas Jaeger <aj@suse.de>
5629
5630 * po/eo.po: Update from translation team.
5631
82477c28
JM
56322012-11-06 Joseph Myers <joseph@codesourcery.com>
5633
5634 [BZ #14793]
5635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5636 exponent and small x and y exponents, scale x or y up. Increase
5637 by 2 the exponent used in scaling up.
5638 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5639 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5640 * math/libm-test.inc (fma_test): Add more tests.
5641 (fma_test_towardzero): Likewise.
5642 (fma_test_downward): Likewise.
5643 (fma_test_upward): Likewise.
5644
99252c8c
JM
56452012-11-05 Joseph Myers <joseph@codesourcery.com>
5646
acfa885f
JM
5647 [BZ #14805]
5648 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5649 fenv_t *.
5650
99252c8c
JM
5651 [BZ #14801]
5652 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5653 namespace for names of struct fields.
5654 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5655 fenv_t fields.
5656 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5657 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5658
d6d98dea
ST
56592012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5660
5661 [BZ #3665]
5662 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5663
e10bb107
TS
56642012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5665
5666 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5667 PTR_DEMANGLE.
5668
5669 [BZ #5246]
5670 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5671 PTR_DEMANGLE.
5672
a0c2940d
JM
56732012-11-04 Joseph Myers <joseph@codesourcery.com>
5674
5675 [BZ #14797]
5676 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5677 definitely overflow as x * y not x * y + z.
5678 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5679 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5680 * math/libm-test.inc (fma_test): Add more tests.
5681 (fma_test_towardzero): Likewise.
5682 (fma_test_downward): Likewise.
5683 (fma_test_upward): Likewise.
5684
b830319d
TS
56852012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5686
5687 [BZ #157]
5688
5689 * include/stub-tag.h: Remove file.
5690 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5691 '#include' of it.
5692 * manual/maint.texi (Porting): Don't reference it.
5693 * Makerules ($(objpfx)stubs): Likewise.
5694 * dirent/closedir.c: Don't include <stub-tag.h>.
5695 * dirent/dirfd.c: Likewise.
5696 * dirent/fdopendir.c: Likewise.
5697 * dirent/getdents.c: Likewise.
5698 * dirent/getdents64.c: Likewise.
5699 * dirent/opendir.c: Likewise.
5700 * dirent/readdir.c: Likewise.
5701 * dirent/readdir64.c: Likewise.
5702 * dirent/readdir64_r.c: Likewise.
5703 * dirent/readdir_r.c: Likewise.
5704 * dirent/rewinddir.c: Likewise.
5705 * dirent/seekdir.c: Likewise.
5706 * dirent/telldir.c: Likewise.
5707 * gmon/profil.c: Likewise.
5708 * grp/setgroups.c: Likewise.
5709 * inet/if_index.c: Likewise.
5710 * io/access.c: Likewise.
5711 * io/chdir.c: Likewise.
5712 * io/chmod.c: Likewise.
5713 * io/chown.c: Likewise.
5714 * io/close.c: Likewise.
5715 * io/dup.c: Likewise.
5716 * io/dup2.c: Likewise.
5717 * io/dup3.c: Likewise.
5718 * io/euidaccess.c: Likewise.
5719 * io/faccessat.c: Likewise.
5720 * io/fchdir.c: Likewise.
5721 * io/fchmod.c: Likewise.
5722 * io/fchmodat.c: Likewise.
5723 * io/fchown.c: Likewise.
5724 * io/fchownat.c: Likewise.
5725 * io/fcntl.c: Likewise.
5726 * io/flock.c: Likewise.
5727 * io/fstatfs.c: Likewise.
5728 * io/fstatfs64.c: Likewise.
5729 * io/fstatvfs.c: Likewise.
5730 * io/fstatvfs64.c: Likewise.
5731 * io/futimens.c: Likewise.
5732 * io/fxstat.c: Likewise.
5733 * io/fxstat64.c: Likewise.
5734 * io/fxstatat.c: Likewise.
5735 * io/fxstatat64.c: Likewise.
5736 * io/getcwd.c: Likewise.
5737 * io/isatty.c: Likewise.
5738 * io/lchmod.c: Likewise.
5739 * io/lchown.c: Likewise.
5740 * io/link.c: Likewise.
5741 * io/linkat.c: Likewise.
5742 * io/lseek.c: Likewise.
5743 * io/lseek64.c: Likewise.
5744 * io/lxstat64.c: Likewise.
5745 * io/mkdir.c: Likewise.
5746 * io/mkdirat.c: Likewise.
5747 * io/mkfifo.c: Likewise.
5748 * io/mkfifoat.c: Likewise.
5749 * io/open.c: Likewise.
5750 * io/open64.c: Likewise.
5751 * io/openat.c: Likewise.
5752 * io/openat64.c: Likewise.
5753 * io/pipe.c: Likewise.
5754 * io/pipe2.c: Likewise.
5755 * io/poll.c: Likewise.
5756 * io/posix_fadvise.c: Likewise.
5757 * io/posix_fadvise64.c: Likewise.
5758 * io/posix_fallocate.c: Likewise.
5759 * io/posix_fallocate64.c: Likewise.
5760 * io/read.c: Likewise.
5761 * io/readlink.c: Likewise.
5762 * io/readlinkat.c: Likewise.
5763 * io/rmdir.c: Likewise.
5764 * io/sendfile.c: Likewise.
5765 * io/sendfile64.c: Likewise.
5766 * io/statfs.c: Likewise.
5767 * io/statfs64.c: Likewise.
5768 * io/statvfs.c: Likewise.
5769 * io/statvfs64.c: Likewise.
5770 * io/symlink.c: Likewise.
5771 * io/symlinkat.c: Likewise.
5772 * io/ttyname.c: Likewise.
5773 * io/ttyname_r.c: Likewise.
5774 * io/umask.c: Likewise.
5775 * io/unlink.c: Likewise.
5776 * io/unlinkat.c: Likewise.
5777 * io/utime.c: Likewise.
5778 * io/utimensat.c: Likewise.
5779 * io/write.c: Likewise.
5780 * io/xmknod.c: Likewise.
5781 * io/xmknodat.c: Likewise.
5782 * io/xstat.c: Likewise.
5783 * io/xstat64.c: Likewise.
5784 * login/getpt.c: Likewise.
5785 * login/grantpt.c: Likewise.
5786 * login/unlockpt.c: Likewise.
5787 * math/e_acoshl.c: Likewise.
5788 * math/e_acosl.c: Likewise.
5789 * math/e_asinl.c: Likewise.
5790 * math/e_atan2l.c: Likewise.
5791 * math/e_atanhl.c: Likewise.
5792 * math/e_coshl.c: Likewise.
5793 * math/e_expl.c: Likewise.
5794 * math/e_fmodl.c: Likewise.
5795 * math/e_gammal_r.c: Likewise.
5796 * math/e_hypotl.c: Likewise.
5797 * math/e_j0l.c: Likewise.
5798 * math/e_j1l.c: Likewise.
5799 * math/e_jnl.c: Likewise.
5800 * math/e_lgammal_r.c: Likewise.
5801 * math/e_log10l.c: Likewise.
5802 * math/e_log2l.c: Likewise.
5803 * math/e_logl.c: Likewise.
5804 * math/e_powl.c: Likewise.
5805 * math/e_rem_pio2l.c: Likewise.
5806 * math/e_sinhl.c: Likewise.
5807 * math/e_sqrtl.c: Likewise.
5808 * math/fclrexcpt.c: Likewise.
5809 * math/fedisblxcpt.c: Likewise.
5810 * math/feenablxcpt.c: Likewise.
5811 * math/fegetenv.c: Likewise.
5812 * math/fegetexcept.c: Likewise.
5813 * math/fegetround.c: Likewise.
5814 * math/feholdexcpt.c: Likewise.
5815 * math/fesetenv.c: Likewise.
5816 * math/fesetround.c: Likewise.
5817 * math/feupdateenv.c: Likewise.
5818 * math/fgetexcptflg.c: Likewise.
5819 * math/fraiseexcpt.c: Likewise.
5820 * math/fsetexcptflg.c: Likewise.
5821 * math/ftestexcept.c: Likewise.
5822 * math/k_cosl.c: Likewise.
5823 * math/k_rem_pio2l.c: Likewise.
5824 * math/k_sinl.c: Likewise.
5825 * math/k_tanl.c: Likewise.
5826 * math/s_asinhl.c: Likewise.
5827 * math/s_atanl.c: Likewise.
5828 * math/s_cbrtl.c: Likewise.
5829 * math/s_erfl.c: Likewise.
5830 * math/s_expm1l.c: Likewise.
5831 * math/s_log1pl.c: Likewise.
5832 * math/s_tanhl.c: Likewise.
5833 * misc/acct.c: Likewise.
5834 * misc/brk.c: Likewise.
5835 * misc/chflags.c: Likewise.
5836 * misc/chroot.c: Likewise.
5837 * misc/fchflags.c: Likewise.
5838 * misc/fgetxattr.c: Likewise.
5839 * misc/flistxattr.c: Likewise.
5840 * misc/fremovexattr.c: Likewise.
5841 * misc/fsetxattr.c: Likewise.
5842 * misc/fsync.c: Likewise.
5843 * misc/ftruncate.c: Likewise.
5844 * misc/futimes.c: Likewise.
5845 * misc/futimesat.c: Likewise.
5846 * misc/getdomain.c: Likewise.
5847 * misc/getdtsz.c: Likewise.
5848 * misc/gethostid.c: Likewise.
5849 * misc/gethostname.c: Likewise.
5850 * misc/getloadavg.c: Likewise.
5851 * misc/getpagesize.c: Likewise.
5852 * misc/getsysstats.c: Likewise.
5853 * misc/getxattr.c: Likewise.
5854 * misc/gtty.c: Likewise.
5855 * misc/ioctl.c: Likewise.
5856 * misc/lgetxattr.c: Likewise.
5857 * misc/listxattr.c: Likewise.
5858 * misc/llistxattr.c: Likewise.
5859 * misc/lremovexattr.c: Likewise.
5860 * misc/lsetxattr.c: Likewise.
5861 * misc/lutimes.c: Likewise.
5862 * misc/madvise.c: Likewise.
5863 * misc/mincore.c: Likewise.
5864 * misc/mlock.c: Likewise.
5865 * misc/mlockall.c: Likewise.
5866 * misc/mmap.c: Likewise.
5867 * misc/mprotect.c: Likewise.
5868 * misc/msync.c: Likewise.
5869 * misc/munlock.c: Likewise.
5870 * misc/munlockall.c: Likewise.
5871 * misc/munmap.c: Likewise.
5872 * misc/preadv.c: Likewise.
5873 * misc/preadv64.c: Likewise.
5874 * misc/ptrace.c: Likewise.
5875 * misc/pwritev.c: Likewise.
5876 * misc/pwritev64.c: Likewise.
5877 * misc/readv.c: Likewise.
5878 * misc/reboot.c: Likewise.
5879 * misc/remap_file_pages.c: Likewise.
5880 * misc/removexattr.c: Likewise.
5881 * misc/revoke.c: Likewise.
5882 * misc/select.c: Likewise.
5883 * misc/setdomain.c: Likewise.
5884 * misc/setegid.c: Likewise.
5885 * misc/seteuid.c: Likewise.
5886 * misc/sethostid.c: Likewise.
5887 * misc/sethostname.c: Likewise.
5888 * misc/setregid.c: Likewise.
5889 * misc/setreuid.c: Likewise.
5890 * misc/setxattr.c: Likewise.
5891 * misc/sstk.c: Likewise.
5892 * misc/stty.c: Likewise.
5893 * misc/swapoff.c: Likewise.
5894 * misc/swapon.c: Likewise.
5895 * misc/sync.c: Likewise.
5896 * misc/syncfs.c: Likewise.
5897 * misc/syscall.c: Likewise.
5898 * misc/truncate.c: Likewise.
5899 * misc/ualarm.c: Likewise.
5900 * misc/usleep.c: Likewise.
5901 * misc/ustat.c: Likewise.
5902 * misc/utimes.c: Likewise.
5903 * misc/vhangup.c: Likewise.
5904 * misc/writev.c: Likewise.
5905 * posix/_exit.c: Likewise.
5906 * posix/alarm.c: Likewise.
5907 * posix/execve.c: Likewise.
5908 * posix/fexecve.c: Likewise.
5909 * posix/fork.c: Likewise.
5910 * posix/fpathconf.c: Likewise.
5911 * posix/getaddrinfo.c: Likewise.
5912 * posix/getegid.c: Likewise.
5913 * posix/geteuid.c: Likewise.
5914 * posix/getgid.c: Likewise.
5915 * posix/getgroups.c: Likewise.
5916 * posix/getlogin.c: Likewise.
5917 * posix/getlogin_r.c: Likewise.
5918 * posix/getpgid.c: Likewise.
5919 * posix/getpid.c: Likewise.
5920 * posix/getppid.c: Likewise.
5921 * posix/getresgid.c: Likewise.
5922 * posix/getresuid.c: Likewise.
5923 * posix/getsid.c: Likewise.
5924 * posix/getuid.c: Likewise.
5925 * posix/glob64.c: Likewise.
5926 * posix/nanosleep.c: Likewise.
5927 * posix/pathconf.c: Likewise.
5928 * posix/pause.c: Likewise.
5929 * posix/posix_madvise.c: Likewise.
5930 * posix/pread.c: Likewise.
5931 * posix/pread64.c: Likewise.
5932 * posix/pwrite.c: Likewise.
5933 * posix/pwrite64.c: Likewise.
5934 * posix/sched_getaffinity.c: Likewise.
5935 * posix/sched_getp.c: Likewise.
5936 * posix/sched_gets.c: Likewise.
5937 * posix/sched_primax.c: Likewise.
5938 * posix/sched_primin.c: Likewise.
5939 * posix/sched_rr_gi.c: Likewise.
5940 * posix/sched_setaffinity.c: Likewise.
5941 * posix/sched_setp.c: Likewise.
5942 * posix/sched_sets.c: Likewise.
5943 * posix/sched_yield.c: Likewise.
5944 * posix/setgid.c: Likewise.
5945 * posix/setlogin.c: Likewise.
5946 * posix/setpgid.c: Likewise.
5947 * posix/setresgid.c: Likewise.
5948 * posix/setresuid.c: Likewise.
5949 * posix/setsid.c: Likewise.
5950 * posix/setuid.c: Likewise.
5951 * posix/sleep.c: Likewise.
5952 * posix/spawni.c: Likewise.
5953 * posix/sysconf.c: Likewise.
5954 * posix/times.c: Likewise.
5955 * posix/wait.c: Likewise.
5956 * posix/wait3.c: Likewise.
5957 * posix/wait4.c: Likewise.
5958 * posix/waitpid.c: Likewise.
5959 * resolv/gai_sigqueue.c: Likewise.
5960 * resource/getpriority.c: Likewise.
5961 * resource/getrlimit.c: Likewise.
5962 * resource/getrusage.c: Likewise.
5963 * resource/nice.c: Likewise.
5964 * resource/setpriority.c: Likewise.
5965 * resource/setrlimit.c: Likewise.
5966 * resource/ulimit.c: Likewise.
5967 * rt/aio_cancel.c: Likewise.
5968 * rt/aio_fsync.c: Likewise.
5969 * rt/aio_read.c: Likewise.
5970 * rt/aio_sigqueue.c: Likewise.
5971 * rt/aio_suspend.c: Likewise.
5972 * rt/aio_write.c: Likewise.
5973 * rt/clock_getres.c: Likewise.
5974 * rt/clock_gettime.c: Likewise.
5975 * rt/clock_nanosleep.c: Likewise.
5976 * rt/clock_settime.c: Likewise.
5977 * rt/lio_listio.c: Likewise.
5978 * rt/mq_close.c: Likewise.
5979 * rt/mq_getattr.c: Likewise.
5980 * rt/mq_notify.c: Likewise.
5981 * rt/mq_open.c: Likewise.
5982 * rt/mq_receive.c: Likewise.
5983 * rt/mq_send.c: Likewise.
5984 * rt/mq_setattr.c: Likewise.
5985 * rt/mq_timedreceive.c: Likewise.
5986 * rt/mq_timedsend.c: Likewise.
5987 * rt/mq_unlink.c: Likewise.
5988 * rt/shm_open.c: Likewise.
5989 * rt/shm_unlink.c: Likewise.
5990 * rt/timer_create.c: Likewise.
5991 * rt/timer_delete.c: Likewise.
5992 * rt/timer_getoverr.c: Likewise.
5993 * rt/timer_gettime.c: Likewise.
5994 * rt/timer_settime.c: Likewise.
5995 * setjmp/__longjmp.c: Likewise.
5996 * setjmp/setjmp.c: Likewise.
5997 * signal/kill.c: Likewise.
5998 * signal/killpg.c: Likewise.
5999 * signal/raise.c: Likewise.
6000 * signal/sigaction.c: Likewise.
6001 * signal/sigaltstack.c: Likewise.
6002 * signal/sigblock.c: Likewise.
6003 * signal/sigignore.c: Likewise.
6004 * signal/sigintr.c: Likewise.
6005 * signal/signal.c: Likewise.
6006 * signal/sigpause.c: Likewise.
6007 * signal/sigpending.c: Likewise.
6008 * signal/sigqueue.c: Likewise.
6009 * signal/sigreturn.c: Likewise.
6010 * signal/sigset.c: Likewise.
6011 * signal/sigsetmask.c: Likewise.
6012 * signal/sigstack.c: Likewise.
6013 * signal/sigsuspend.c: Likewise.
6014 * signal/sigtimedwait.c: Likewise.
6015 * signal/sigvec.c: Likewise.
6016 * signal/sigwait.c: Likewise.
6017 * signal/sigwaitinfo.c: Likewise.
6018 * signal/sysv_signal.c: Likewise.
6019 * socket/accept.c: Likewise.
6020 * socket/accept4.c: Likewise.
6021 * socket/bind.c: Likewise.
6022 * socket/connect.c: Likewise.
6023 * socket/getpeername.c: Likewise.
6024 * socket/getsockname.c: Likewise.
6025 * socket/getsockopt.c: Likewise.
6026 * socket/isfdtype.c: Likewise.
6027 * socket/listen.c: Likewise.
6028 * socket/recv.c: Likewise.
6029 * socket/recvfrom.c: Likewise.
6030 * socket/recvmsg.c: Likewise.
6031 * socket/send.c: Likewise.
6032 * socket/sendmsg.c: Likewise.
6033 * socket/sendto.c: Likewise.
6034 * socket/setsockopt.c: Likewise.
6035 * socket/shutdown.c: Likewise.
6036 * socket/sockatmark.c: Likewise.
6037 * socket/socket.c: Likewise.
6038 * socket/socketpair.c: Likewise.
6039 * stdio-common/ctermid.c: Likewise.
6040 * stdio-common/cuserid.c: Likewise.
6041 * stdio-common/remove.c: Likewise.
6042 * stdio-common/rename.c: Likewise.
6043 * stdio-common/renameat.c: Likewise.
6044 * stdio-common/tempname.c: Likewise.
6045 * stdlib/getcontext.c: Likewise.
6046 * stdlib/makecontext.c: Likewise.
6047 * stdlib/setcontext.c: Likewise.
6048 * stdlib/swapcontext.c: Likewise.
6049 * stdlib/system.c: Likewise.
6050 * streams/fattach.c: Likewise.
6051 * streams/fdetach.c: Likewise.
6052 * streams/getmsg.c: Likewise.
6053 * streams/getpmsg.c: Likewise.
6054 * streams/putmsg.c: Likewise.
6055 * streams/putpmsg.c: Likewise.
6056 * sysdeps/unix/bsd/getpt.c: Likewise.
6057 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6058 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6059 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6061 Likewise.
6062 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6063 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6064 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6065 * sysvipc/msgctl.c: Likewise.
6066 * sysvipc/msgget.c: Likewise.
6067 * sysvipc/msgrcv.c: Likewise.
6068 * sysvipc/msgsnd.c: Likewise.
6069 * sysvipc/semctl.c: Likewise.
6070 * sysvipc/semget.c: Likewise.
6071 * sysvipc/semop.c: Likewise.
6072 * sysvipc/semtimedop.c: Likewise.
6073 * sysvipc/shmat.c: Likewise.
6074 * sysvipc/shmctl.c: Likewise.
6075 * sysvipc/shmdt.c: Likewise.
6076 * sysvipc/shmget.c: Likewise.
6077 * termios/tcdrain.c: Likewise.
6078 * termios/tcflow.c: Likewise.
6079 * termios/tcflush.c: Likewise.
6080 * termios/tcgetattr.c: Likewise.
6081 * termios/tcgetpgrp.c: Likewise.
6082 * termios/tcsendbrk.c: Likewise.
6083 * termios/tcsetattr.c: Likewise.
6084 * termios/tcsetpgrp.c: Likewise.
6085 * time/adjtime.c: Likewise.
6086 * time/clock.c: Likewise.
6087 * time/getitimer.c: Likewise.
6088 * time/gettimeofday.c: Likewise.
6089 * time/setitimer.c: Likewise.
6090 * time/settimeofday.c: Likewise.
6091 * time/stime.c: Likewise.
6092 * time/time.c: Likewise.
6093
60942012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6095
a20492cf
PT
6096 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6097 /usr/old/bin.
6098
72e182e3
PT
6099 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6100 instead of spaces.
6101 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6102
fbeafede
JM
61032012-11-03 Joseph Myers <joseph@codesourcery.com>
6104
5b5b04d6
JM
6105 [BZ #14796]
6106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6107 FE_TONEAREST before applying Dekker multiplication and Knuth
6108 addition. Clear inexact exceptions and check for exact zero
6109 results afterwards.
6110 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6111 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6112 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6113 * math/libm-test.inc (fma_test): Add more tests.
6114 (fma_test_towardzero): Likewise.
6115 (fma_test_downward): Likewise.
6116 (fma_test_upward): Likewise.
6117 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6118 function.
6119 (libc_fesetround): New macro.
6120 (libc_fesetroundf): Likewise.
6121 (libc_fesetroundl): Likewise.
6122 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6123 function.
6124 (libc_fesetround_387): Likewise.
6125 (libc_fesetroundf): New macro.
6126 (libc_fesetround): Likewise.
6127 (libc_fesetroundl): Likewise.
6128 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6129 function.
6130 (libc_fesetroundf): New macro.
6131 (libc_fesetround): Likewise.
6132 (libc_fesetroundl): Likewise.
6133 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6134 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6135 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6136 libm_hidden_ver.
6137 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6138 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6139 libm_hidden_def.
6140 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6141 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6142 libm_hidden_ver.
6143 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6144 libm_hidden_def.
6145
fbeafede
JM
6146 [BZ #3439]
6147 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6148 integer constant usable in #if and use that to give value to enum
6149 constant.
6150 (FE_DIVBYZERO): Likewise.
6151 (FE_UNDERFLOW): Likewise.
6152 (FE_OVERFLOW): Likewise.
6153 (FE_INVALID): Likewise.
6154 (FE_INVALID_SNAN): Likewise.
6155 (FE_INVALID_ISI): Likewise.
6156 (FE_INVALID_IDI): Likewise.
6157 (FE_INVALID_ZDZ): Likewise.
6158 (FE_INVALID_IMZ): Likewise.
6159 (FE_INVALID_COMPARE): Likewise.
6160 (FE_INVALID_SOFTWARE): Likewise.
6161 (FE_INVALID_SQRT): Likewise.
6162 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6163 (FE_TONEAREST): Likewise.
6164 (FE_TOWARDZERO): Likewise.
6165 (FE_UPWARD): Likewise.
6166 (FE_DOWNWARD): Likewise.
6167 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6168 (FE_DIVBYZERO): Likewise.
6169 (FE_OVERFLOW): Likewise.
6170 (FE_UNDERFLOW): Likewise.
6171 (FE_INEXACT): Likewise.
6172 (FE_TONEAREST): Likewise.
6173 (FE_DOWNWARD): Likewise.
6174 (FE_UPWARD): Likewise.
6175 (FE_TOWARDZERO): Likewise.
6176 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6177 (FE_UNDERFLOW): Likewise.
6178 (FE_OVERFLOW): Likewise.
6179 (FE_DIVBYZERO): Likewise.
6180 (FE_INVALID): Likewise.
6181 (FE_TONEAREST): Likewise.
6182 (FE_TOWARDZERO): Likewise.
6183 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6184 (FE_OVERFLOW): Likewise.
6185 (FE_UNDERFLOW): Likewise.
6186 (FE_DIVBYZERO): Likewise.
6187 (FE_INEXACT): Likewise.
6188 (FE_TONEAREST): Likewise.
6189 (FE_TOWARDZERO): Likewise.
6190 (FE_UPWARD): Likewise.
6191 (FE_DOWNWARD): Likewise.
6192 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6193 (FE_DIVBYZERO): Likewise.
6194 (FE_OVERFLOW): Likewise.
6195 (FE_UNDERFLOW): Likewise.
6196 (FE_INEXACT): Likewise.
6197 (FE_TONEAREST): Likewise.
6198 (FE_DOWNWARD): Likewise.
6199 (FE_UPWARD): Likewise.
6200 (FE_TOWARDZERO): Likewise.
6201
105ca950
CM
62022012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6203
6204 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6205
a542b389
AS
62062012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6207
6208 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6209 commands. Quote $PWD.
6210 (blacklist_exports): Don't use remove_newlines. Replace "declare
6211 -x" by "export".
6212 (remove_newlines): Remove.
6213
f62c8abc
L
62142012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6215
6216 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6217 * stdlib/stdlib.h (atof): Moved to ...
6218 * include/bits/stdlib-float.h: Here. New file.
6219 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6220 * stdlib/bits/stdlib-float.h: New file.
6221 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6222 -mno-sse -mno-mmx.
6223 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6224 <xmmintrin.h>.
6225
0155d5b2
JM
62262012-11-02 Joseph Myers <joseph@codesourcery.com>
6227
a68d0680
JM
6228 * conform/conformtest.pl (@headers): Add fenv.h.
6229 * conform/data/fenv.h-data: New file.
6230 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6231 include of <math/fenv.h>.
6232
caf7f573
JM
6233 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6234 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6235 && !UNIX98]. Enables tests for XOPEN2K8.
6236 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6237 POSIX2008]: Likewise.
6238
6c073ad6
JM
6239 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6240 (struct rusage): Do not expect type or its members.
6241
0155d5b2
JM
6242 [BZ #3439]
6243 * math/math.h (FP_NAN): Define macro to integer constant usable in
6244 #if and use that to give value to enum constant.
6245 (FP_INFINITE): Likewise.
6246 (FP_ZERO): Likewise.
6247 (FP_SUBNORMAL): Likewise.
6248 (FP_NORMAL): Likewise.
6249
b5dcacb4
AS
62502012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6251
6252 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6253 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6254 arguments.
6255
f7934be8
RM
62562012-11-02 Roland McGrath <roland@hack.frob.com>
6257
6258 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6259 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6260 autoconf-time if not.
6261 * configure.in: Remove AC_PREREQ.
6262
d7d08bde
TMQMF
62632012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6264
6265 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6266 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6267 of the internal implementation.
6268
dcdae19a
JM
62692012-11-02 Joseph Myers <joseph@codesourcery.com>
6270
6271 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6272 except include of <misc/sys/syslog.h>.
6273
d6cffd3e
AS
62742012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6275
6276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6277 function returns with a NULL context exit with zero.
6278
b3563932
TMQMF
62792012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6280
6281 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6282
b288a93d
L
62832012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6284
6285 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6286 (run_program_cmd): This.
6287 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6288 (tst_langinfo): New variable. Use it.
6289
a2421a68
SAS
62902012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6291
6292 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6293 floating point opcodes.
6294
6f796e1b
TS
62952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6296
7402596b
TS
6297 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6298 variable.
6299
d0d4f868
TS
6300 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6301
6f796e1b
TS
6302 * sysdeps/mach/hurd/powerpc: Remove directory.
6303 * sysdeps/mach/powerpc: Likewise.
6304
4da224a2
AS
63052012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6306
6307 * scripts/check-local-headers.sh: Ignore c++ headers.
6308
341dd673
TS
63092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6310
6311 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6312 __libc_cleanup_region_start argument.
6313
473611b2
JM
63142012-11-01 Joseph Myers <joseph@codesourcery.com>
6315
6316 [BZ #14784]
6317 [BZ #14785]
6318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6319 x * y using scaling, not as x * y + z.
6320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6321 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6322 * math/libm-test.inc (fma_test): Add more tests.
6323 (fma_test_towardzero): Likewise.
6324 (fma_test_downward): Likewise.
6325 (fma_test_upward): Likewise.
6326
4078da3d
TS
63272012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6328
6329 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6330
903252aa
JM
63312012-10-31 Joseph Myers <joseph@codesourcery.com>
6332
6333 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6334 New variable.
6335
cbc818d0
TS
63362012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6337
6338 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6339
5a03cb1e
AS
63402012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6341
6342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6343 Fix sort order.
6344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6345 Likewise.
6346
90aff2ff
TMQMF
63472012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6348
6349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6350 Fix the order of the list for glibc 2.17.
6351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6352 Likewise.
6353
1818fcb7
AS
63542012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6355
6356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6357
ef82f4da
JM
63582012-10-31 Joseph Myers <joseph@codesourcery.com>
6359
16a0e2ec
JM
6360 [BZ #14610]
6361 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6362 for low part of x being zero before using __atanl (y).
6363 * math/libm-test.inc (atan2_test): Add another test.
6364
0eb69512
JM
6365 * manual/install.texi (Configuring and compiling): Document
6366 general use of test-wrapper and test-wrapper-env.
6367 * INSTALL: Regenerated.
6368
ef82f4da
JM
6369 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6370 (__fma): Do not extract and scale down low bits on after-rounding
6371 systems when result rounded to normal precision would have normal
6372 exponent.
6373 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6374 (__fmal): Do not extract and scale down low bits on after-rounding
6375 systems when result rounded to normal precision would have normal
6376 exponent.
6377 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6378 (__fmal): Do not extract and scale down low bits on after-rounding
6379 systems when result rounded to normal precision would have normal
6380 exponent.
6381 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6382 macro.
6383 (fma_test): Add more tests.
6384 (fma_test_towardzero): Likewise.
6385 (fma_test_downward): Likewise.
6386 (fma_test_upward): Likewise.
6387
954ef0d9
L
63882012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6389
6390 * sysdeps/i386/tininess.h: Renamed to ...
6391 * sysdeps/x86/tininess.h: This.
6392 * sysdeps/x86_64/tininess.h: Removed.
6393
df61ffb2
JM
63942012-10-30 Joseph Myers <joseph@codesourcery.com>
6395
6396 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6397 input. Use $(build-program-cmd).
6398 ($(objpfx)tst-array1-static.out): Likewise.
6399 ($(objpfx)tst-array2.out): Likewise.
6400 ($(objpfx)tst-array3.out): Likewise.
6401 ($(objpfx)tst-array4.out): Likewise.
6402 ($(objpfx)tst-array5.out): Likewise.
6403 ($(objpfx)tst-array5-static.out): Likewise.
6404
01767843
CM
64052012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6406
47cc1490
CM
6407 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6408 if defined.
6409
01767843
CM
6410 * nss/nsswitch.h (nss_interface_function): Provide new
6411 macro for use with NSS functions.
6412 * grp/initgroups.c: Use new macro.
6413 * nss/getXXbyYY.c: Likewise.
6414 * nss/getXXbyYY_r.c: Likewise.
6415 * nss/getXXent.c: Likewise.
6416 * nss/getXXent_r.c: Likewise.
6417 * sysdeps/posix/getaddrinfo.c: Likewise.
6418
8321aa97
AJ
64192012-10-30 Andreas Jaeger <aj@suse.de>
6420
6421 * po/ru.po: Update Russion translation from translation project.
6422
2a27fd6d
JM
64232012-10-30 Joseph Myers <joseph@codesourcery.com>
6424
8627a232
JM
6425 [BZ #14152]
6426 [BZ #14783]
6427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6428 result and shift together with sticky bit instead of replicating
6429 round-to-nearest rounding.
6430 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6431 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6432 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6433 missing underflow exceptions.
6434 (fma_test_towardzero): Add more tests.
6435 (fma_test_downward): Likewise.
6436 (fma_test_upward): Likewise.
6437
2a27fd6d
JM
6438 [BZ #14047]
6439 * sysdeps/generic/tininess.h: New file.
6440 * sysdeps/i386/tininess.h: Likewise.
6441 * sysdeps/sh/tininess.h: Likewise.
6442 * sysdeps/x86_64/tininess.h: Likewise.
6443 * stdlib/tst-strtod-underflow.c: Likewise.
6444 * stdlib/tst-tininess.c: Likewise.
6445 * stdlib/strtod_l.c: Include <tininess.h>.
6446 (round_and_return): Do not set errno for exact underflow cases.
6447 Force an underflow exception when setting errno for underflow.
6448 Determine underflow based on rounding to normal precision if
6449 TININESS_AFTER_ROUNDING.
6450 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6451 ERANGE for exact underflow cases.
6452 * stdlib/Makefile (tests): Add tst-tininess and
6453 tst-strtod-underflow.
6454 ($(objpfx)tst-tininess): Use $(link-libm).
6455 ($(objpfx)tst-strtod-underflow): Likewise.
6456
e7170363
AJ
64572012-10-30 Andreas Jaeger <aj@suse.de>
6458
e5088dc6
AJ
6459 [BZ#14767]
6460 * elf/Makefile (tests): Remove conditional for have-initfini-array
6461 since this is now always required and the variable does not exist
6462 anymore.
6463 (tests-static): Likewise.
6464 (modules-names): Likewise.
6465
e7170363 6466 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6467
6468 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6469 merged with constructor/destructor.
6470 (init_array): Likewise.
6471 * elf/tst-array2dep.c (fini_array): Likewise.
6472 (init_array): Likewise.
6473
60457d8a
MF
64742012-10-29 Mike Frysinger <vapier@gentoo.org>
6475
6476 * manual/message.texi: Delete @cartouche tags.
6477
8bece752
PT
64782012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6479
94ce799f
PT
6480 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6481 EOPNOTSUPP.
6482 * sysdeps/mach/hurd/fsync.c: Likewise.
6483
8bece752
PT
6484 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6485 [_POSIX_REALTIME_SIGNALS]: Change condition to
6486 [_POSIX_REALTIME_SIGNALS > 0].
6487
86ebe6b1
AJ
64882012-10-27 Andreas Jaeger <aj@suse.de>
6489
6490 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6491 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6492 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6493 [__WORDSIZE != 64]: Likewise.
6494
54399c08
L
64952012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6496
6497 * iconvdata/tst-table.sh: Remove ${SHELL}.
6498 * iconvdata/tst-tables.sh: Likewise.
6499
e2211bed
DM
65002012-10-25 David S. Miller <davem@davemloft.net>
6501
6502 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6503 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6504 of strtoull.
6505
f303f97c
DM
6506 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6507 ifunc-impl-list.c
6508 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6509 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6510 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6511 file.
6512
1e9d84cd
RM
65132012-10-25 Roland McGrath <roland@hack.frob.com>
6514
6515 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6516 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6517 __getdirentries.
6518
df381762
JM
65192012-10-25 Joseph Myers <joseph@codesourcery.com>
6520 Jim Blandy <jimb@codesourcery.com>
6521
6522 * scripts/cross-test-ssh.sh: New file.
6523 * manual/install.texi (Configuring and compiling): Document use of
6524 cross-test-ssh.sh.
6525 * INSTALL: Regenerated.
6526
bff64913
PT
65272012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6528
6529 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6530 EOPNOTSUPP.
6531
25fe8932
JM
65322012-10-25 Joseph Myers <joseph@codesourcery.com>
6533
6534 * Makeconfig (run-program-prefix): Fix comment.
6535
cc1290d0
JM
65362012-10-24 Joseph Myers <joseph@codesourcery.com>
6537 Jim Blandy <jimb@codesourcery.com>
6538
6539 * Makeconfig (test-wrapper): New variable,
6540 (test-wrapper-env): Likewise.
6541 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6542 (run-built-tests): Define to yes.
6543 (run-program-prefix): Use $(test-wrapper).
6544 (built-program-cmd): Likewise.
6545 * Rules (make-test-out): Use $(test-wrapper-env) and
6546 $(host-built-program-cmd).
6547 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6548 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6549 tst-pathopt.sh.
6550 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6551 $(test-wrapper-env) to tst-rtld-load-self.sh.
6552 ($(objpfx)order2.out): Use $(test-wrapper).
6553 ($(objpfx)tst-initorder.out): Likewise.
6554 ($(objpfx)tst-initorder2.out): Likewise.
6555 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6556 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6557 (test_wrapper_env): New variable. Use it to run ld.so.
6558 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6559 Use it to run ld.so.
6560 (test_wrapper_env): Likewise.
6561 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6562 $(test-wrapper) to run-iconv-test.sh.
6563 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6564 (ICONV): Use $test_wrapper.
6565 * posix/Makefile ($(objpfx)globtest.out): Pass
6566 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6567 globtest.sh, not $(run-program-prefix).
6568 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6569 (test_wrapper): Likewise.
6570 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6571 set together with run_via_rtld_prefix.
6572 (run_program_prefix): Define in terms of test_wrapper and
6573 run_via_rtld_prefix.
6574
6e6249d0
RM
65752012-10-24 Roland McGrath <roland@hack.frob.com>
6576
6577 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6578 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6579 Targets removed.
6580
6581 [BZ #14743]
6582 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6583 Declare __clock_getres, __clock_gettime, __clock_settime,
6584 __clock_nanosleep, and __clock_getcpuclockid.
6585 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6586 Remove librt_hidden_def (clock_gettime).
6587 * sysdeps/unix/clock_gettime.c: Likewise.
6588 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6589 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6590 * rt/clock_getres.c: Define __clock_getres as an alias.
6591 * sysdeps/posix/clock_getres.c: Likewise.
6592 * rt/clock_settime.c: Define __clock_settime as an alias.
6593 * sysdeps/unix/clock_settime.c: Likewise.
6594 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6595 * sysdeps/unix/clock_nanosleep.c: Likewise.
6596 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6597 * rt/clock-compat.c: New file.
6598 * rt/Makefile (librt-routines): Add clock-compat and move
6599 $(clock-routines) to ...
6600 (routines): ... here, new variable.
6601 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6602 Don't add get_clockfreq here.
6603 * rt/Versions (libc: GLIBC_2.17): New version set.
6604 Add clock_* symbols here.
6605 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6606 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6607 (GLIBC_2.17): Add clock_* symbols.
6608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6610 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6612 Likewise.
6613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6614 Likewise.
6615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6619 * NEWS: Mention the move.
6620
6621 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6622 Use __open, __read, __close rather than their public counterparts.
6623 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6624 (__get_clockfreq_via_cpuinfo): Likewise.
6625 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6626 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6627
6628 * config.h.in (HAVE_IFUNC): New #undef.
6629 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6630 was successful.
6631 * configure: Regenerated.
6632
0cae3f4b
MF
66332012-10-24 Mike Frysinger <vapier@gentoo.org>
6634
6635 * configure.in: Move READELF check to start of file.
6636 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6637 libc_cv_asm_gnu_indirect_function in the process.
6638 * configure: Regenerated.
6639
8175a253
MF
66402012-10-24 Mike Frysinger <vapier@gentoo.org>
6641
6642 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6643 send the output to /dev/null.
6644 (libc_cv_cc_with_libunwind): Likewise.
6645 (libc_cv_as_noexecstack): Likewise.
6646 * configure: Regenerate.
6647
0708a7d1
JM
66482012-10-24 Joseph Myers <joseph@codesourcery.com>
6649
10b40d85
JM
6650 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6651
0708a7d1
JM
6652 * posix/globtest.sh (TMPDIR): Do not set.
6653 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6654 (testout): Likewise.
6655
9fddec1a
AJ
66562012-10-24 Andreas Jaeger <aj@suse.de>
6657
3a8db22f
AJ
6658 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6659 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6660 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6661 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6662 posix_fadvise64, posix_fallocate64.
6663
9fddec1a
AJ
6664 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6665 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6666 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6667 Likewise.
6668 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6669 Likewise.
6670 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6671
6672 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6673 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6674 <bits/fcntl-linux.h>.
6675 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6676
6677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6678 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6679 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6680 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6681 [__WORDSIZE != 64]: Likewise.
6682
ebfd1bbd
JM
66832012-10-23 Joseph Myers <joseph@codesourcery.com>
6684
03ac099f
JM
6685 * Makeconfig (run-built-tests): New variable.
6686 * Rules [$(cross-compiling) = yes]: Change condition to
6687 [$(run-built-tests) = no].
6688 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6689 to [$(run-built-tests) = yes].
6690 * elf/Makefile [$(cross-compiling) = no]: Likewise
6691 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6692 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6693 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6694 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6695 * io/Makefile [$(cross-compiling) = no]: Likewise.
6696 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6697 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6698 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6699 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6700 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6701 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6702 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6703 * string/Makefile [$(cross-compiling) = no]: Likewise.
6704
ebfd1bbd
JM
6705 * posix/Makefile ($(objpfx)globtest.out): Pass
6706 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6707 $(rtld-installed-name).
6708 * posix/globtest.sh (elf_objpfx): Remove variable.
6709 (rtld_installed_name): Likewise.
6710 (library_path): Likewise.
6711 (run_program_prefix): New variable. Use for running globtest
6712 binary.
6713
166bca24
JB
67142012-10-23 Jim Blandy <jimb@codesourcery.com>
6715 Joseph Myers <joseph@codesourcery.com>
6716
6717 * Makeconfig (host-built-program-cmd): New variable.
6718 * elf/Makefile (tst-stackguard1-ARGS): Use
6719 $(host-built-program-cmd).
6720 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6721 (tst-spawn-ARGS): Likewise.
6722 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6723
88866099
JM
67242012-10-23 Joseph Myers <joseph@codesourcery.com>
6725 Jim Blandy <jimb@codesourcery.com>
6726
6727 * Makeconfig (run-via-rtld-prefix): New variable.
6728 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6729 (built-program-cmd): Likewise.
6730
b4b4c296
AJ
67312012-10-22 Andreas Jaeger <aj@suse.de>
6732
6733 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6734 __O_RSYNC if it exists, otherwise to O_SYNC.
6735
6fb54a22
JB
67362012-10-22 Jim Blandy <jimb@codesourcery.com>
6737 Joseph Myers <joseph@codesourcery.com>
6738
6739 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6740 /dev/null.
6741 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6742 from /dev/null
6743 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6744 /dev/null.
6745
481b90b9
AJ
67462012-10-22 Andreas Jaeger <aj@suse.de>
6747
2a0e2669
AJ
6748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6749 Define always.
6750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6751
76e38f9a
AJ
6752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6753 bits/fcntl-linux.h.
6754
7cd37b43
AJ
6755 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6756 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6757
481b90b9
AJ
6758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6759 to __O_LARGEFILE.
6760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6761 to __O_LARGEFILE.
6762
aba75984
JB
67632012-10-21 Jim Blandy <jimb@codesourcery.com>
6764 Joseph Myers <joseph@codesourcery.com>
6765
6766 * config.make.in (NM): New variable.
6767
88d4247f
AJ
67682012-10-21 Andreas Jaeger <aj@suse.de>
6769
6770 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6771 definitions and declarations that are provided by
6772 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6773
f2eed205
L
67742012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6775
6776 [BZ #14683]
6777 * elf/Makefile (tests-static): Add tst-leaks1-static.
6778 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6779 ($(objpfx)tst-leaks1-static): New rule.
6780 ($(objpfx)tst-leaks1-static-mem): Likewise.
6781 (tst-leaks1-static-ENV): New macro.
6782 * elf/dl-open.c (dl_open_worker): Check the main application
6783 only if SHARED is defined.
6784 * elf/tst-leaks1-static.c: New file.
6785
335e6931
AJ
67862012-10-20 Andreas Jaeger <aj@suse.de>
6787
6788 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6789 generic values for Linux.
6790 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6791 and declarations that are provided by <bits/fcntl-linux.h> and
6792 include <bits/fcntl-linux.h>.
6793 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6794 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6795
ac5c94d3
RM
67962012-10-20 Roland McGrath <roland@hack.frob.com>
6797
6798 * io/fcntl.h: Move include of <bits/types.h> to the top and
6799 include it unconditionally.
6800
de54b33a
L
68012012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6802
228cfb01
L
6803 * wcsmbs/Makefile (tests-ifunc): New variable.
6804 (tests): Add $(tests-ifunc).
6805 * wcsmbs/test-wcschr-ifunc.c: New file.
6806 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6807 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6808 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6809 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6810 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6811
69f07e5f
L
6812 * string/Makefile (tests-ifunc): New variable.
6813 (tests): Add $(tests-ifunc).
6814 * string/test-memccpy.c (TEST_NAME): New macro.
6815 * string/test-memchr.c (TEST_NAME): Likewise.
6816 * string/test-memcmp.c (TEST_NAME): Likewise.
6817 * string/test-memcpy.c (TEST_NAME): Likewise.
6818 * string/test-memmem.c (TEST_NAME): Likewise.
6819 * string/test-memmove.c (TEST_NAME): Likewise.
6820 * string/test-memset.c (TEST_NAME): Likewise.
6821 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6822 * string/test-stpcpy.c (TEST_NAME): Likewise.
6823 * string/test-stpncpy.c (TEST_NAME): Likewise.
6824 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6825 * string/test-strcasestr.c (TEST_NAME): Likewise.
6826 * string/test-strcat.c (TEST_NAME): Likewise.
6827 * string/test-strchr.c (TEST_NAME): Likewise.
6828 * string/test-strcmp.c(TEST_NAME): Likewise.
6829 * string/test-strcpy.c (TEST_NAME): Likewise.
6830 * string/test-strcspn.c (TEST_NAME): Likewise.
6831 * string/test-strlen.c (TEST_NAME): Likewise.
6832 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6833 * string/test-strncmp.c (TEST_NAME): Likewise.
6834 * string/test-strncpy.c (TEST_NAME): Likewise.
6835 * string/test-strnlen.c (TEST_NAME): Likewise.
6836 * string/test-strpbrk.c (TEST_NAME): Likewise.
6837 * string/test-strrchr.c (TEST_NAME): Likewise.
6838 * string/test-strspn.c (TEST_NAME): Likewise.
6839 * string/test-strstr.c (TEST_NAME): Likewise.
6840 * string/test-bcopy-ifunc.c: New file.
6841 * string/test-bzero-ifunc.c: Likewise.
6842 * string/test-memccpy-ifunc.c: Likewise.
6843 * string/test-memchr-ifunc.c: Likewise.
6844 * string/test-memcmp-ifunc.c: Likewise.
6845 * string/test-memcpy-ifunc.c: Likewise.
6846 * string/test-memmem-ifunc.c: Likewise.
6847 * string/test-memmove-ifunc.c: Likewise.
6848 * string/test-mempcpy-ifunc.c: Likewise.
6849 * string/test-memset-ifunc.c: Likewise.
6850 * string/test-rawmemchr-ifunc.c: Likewise.
6851 * string/test-stpcpy-ifunc.c: Likewise.
6852 * string/test-stpncpy-ifunc.c: Likewise.
6853 * string/test-strcasecmp-ifunc.c: Likewise.
6854 * string/test-strcasestr-ifunc.c: Likewise.
6855 * string/test-strcat-ifunc.c: Likewise.
6856 * string/test-strchr-ifunc.c: Likewise.
6857 * string/test-strchrnul-ifunc.c: Likewise.
6858 * string/test-strcmp-ifunc.c: Likewise.
6859 * string/test-strcpy-ifunc.c: Likewise.
6860 * string/test-strcspn-ifunc.c: Likewise.
6861 * string/test-strlen-ifunc.c: Likewise.
6862 * string/test-strncasecmp-ifunc.c: Likewise.
6863 * string/test-strncat-ifunc.c: Likewise.
6864 * string/test-strncmp-ifunc.c: Likewise.
6865 * string/test-strncpy-ifunc.c: Likewise.
6866 * string/test-strnlen-ifunc.c: Likewise.
6867 * string/test-strpbrk-ifunc.c: Likewise.
6868 * string/test-strrchr-ifunc.c: Likewise.
6869 * string/test-strspn-ifunc.c: Likewise.
6870 * string/test-strstr-ifunc.c: Likewise.
6871
de54b33a
L
6872 * debug/Makefile (tests-ifunc): New variable.
6873 (tests): Add $(tests-ifunc).
6874 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6875 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6876 * debug/test-stpcpy_chk-ifunc.c: New file.
6877 * debug/test-strcpy_chk-ifunc.c: Likewise.
6878
88481c16
SP
68792012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6880
6881 [BZ #13601]
6882 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6883 header is not read in.
6884
135948bd
JM
68852012-10-19 Joseph Myers <joseph@codesourcery.com>
6886
89f1c388
JM
6887 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6888 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6889 directly. Pass built executable to script as
6890 $(built-program-cmd).
6891 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6892 $testprogram without using LD_LIBRARY_PATH and $ldso.
6893
e40a0d21
JM
6894 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6895 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6896 $(rtld-installed-name).
6897 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6898 (rtld_installed_name): Likewise.
6899 (library_path): Likewise.
6900 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6901 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6902 $(run-program-prefix) to tst-tables.sh.
6903 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6904 it to run tst-table-from and tst-table-to.
6905 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6906 Pass it to tst-table.sh.
6907 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6908 $(run-program-prefix) to tst-gettext.sh.
6909 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6910 tst-translit.sh.
6911 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6912 tst-gettext2.sh.
6913 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6914 to run tst-gettext.
6915 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6916 to run tst-gettext2.
6917 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6918 to run tst-translit.
6919 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6920 $(run-program-prefix) to tst-mtrace.sh.
6921 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6922 to run tst-mtrace.
6923 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6924 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6925 $(rtld-installed-name).
6926 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6927 (rtld_installed_name): Likewise.
6928 (run_program_prefix): New variable. Use it to run wordexp-test.
6929
728e272a
JM
6930 * Makeconfig (ARCH): Remove all definitions.
6931 (machine): Likewise.
6932 [ARCH]: Remove conditional code.
6933 [!objdir]: Give error.
6934 [!objdir] (objpfx): Remove.
6935 [!objdir] (common-objpfx): Likewise.
6936 [!objdir] (common-objdir): Likewise.
6937 * configure.in (config_makefile): Remove. Hardcode Makefile in
6938 AC_CONFIG_FILES call.
6939 * configure: Regenerated.
6940
d528cdcf
JM
6941 [BZ #13888]
6942 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6943 or TMPDIR.
6944 (testout): Likewise.
6945
135948bd
JM
6946 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6947 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6948 $(rtld-installed-name).
6949 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6950 (rtld_installed_name): Likwise.
6951 (runit): Remove function.
6952 (run_getconf): New variable, Use it for running getconf binary.
6953
38c78296
L
69542012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6955
6956 [BZ #14716]
6957 * string/test-memmem.c (check_result): New function.
6958 (do_one_test): Use it.
6959 (check1): New function.
6960 (test_main): Use it.
6961
d077f65f
MT
69622012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6963
6964 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6965
ced52c71
JM
69662012-10-18 Joseph Myers <joseph@codesourcery.com>
6967
6968 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6969 (_G_LSEEK64): Likewise.
6970 (_G_MMAP64): Likewise.
6971 (_G_FSTAT64): Likewise.
6972 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6973 (_G_LSEEK64): Likewise.
6974 (_G_MMAP64): Likewise.
6975 (_G_FSTAT64): Likewise.
6976 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6977 unconditional. Call __mmap64 directly.
6978 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6979 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6980 __lseek64 directly.
6981 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6982 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6983 __mmap64 directly.
6984 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6985 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6986 __lseek64 directly.
6987 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6988 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6989 __lseek64 directly.
6990 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6991 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6992 __lseek64 directly.
6993 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6994 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6995 __fxstat64 directly.
6996 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6997 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6998 unconditional.
6999 (freopen64) [!_G_OPEN64]: Remove conditional code.
7000 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7001 unconditional.
7002 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7003 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7004 unconditional.
7005 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7006 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7007 unconditional.
7008 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7009 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7010 unconditional.
7011 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7012 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7013 unconditional.
7014 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7015 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7016 unconditional.
7017 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7018 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7019 unconditional.
7020 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7021
b741de23
SP
70222012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7023
7024 [BZ #12140]
7025 * manual/memory.texi (Malloc Tunable Parameters): Add note
7026 about free list pointers overwriting some perturb bytes.
7027 Wording suggested by Roland McGrath.
7028
f9b9d9c9
JM
70292012-10-17 Joseph Myers <joseph@codesourcery.com>
7030
7031 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7032 (lgamma_test): Likewise.
7033 (tgamma_test): Likewise.
7034
172a631a
FW
70352012-10-16 Florian Weimer <fweimer@redhat.com>
7036
7037 [BZ #14700]
7038 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7039 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7040
e9f37252
MK
70412012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7042
7043 * NEWS: Mention BZ #14716.
7044 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7045 when removing AVAILABLE1_USES_J macro.
7046
d394eb74
L
70472012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7048
7049 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7050 (__bswap_64): __uint64_t for unsigned 64-bit int.
7051
ca38dc17
AS
70522012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7053
7054 * include/string.h (memmem): Declare libc hidden alias.
7055 * string/memmem.c (memmem): Define libc hidden alias.
7056 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7057 __read, __close instead of open, read, close.
7058
9a387d1f
L
70592012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7060
ac49ecaf
L
7061 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7062 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7063 global and hidden.
7064 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7065 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7066 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7067 Likewise.
7068 (__rawmemchr_sse2): Likewise.
7069 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7070 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7071 (__strchr_sse2): Likewise.
7072 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7073 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7074 (__strcasecmp_sse2): Likewise.
7075 (__strncasecmp_sse2): Likewise.
7076 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7077 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7078 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7079 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7080 (__strrchr_sse2): Likewise.
7081 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7082 ifunc-impl-list.c.
7083 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7084 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7085 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7086 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7087 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7088 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7089 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7090 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7091 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7092 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7093 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7094 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7095 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7096 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7097 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7098 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7099 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7100 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7101 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7102 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7103 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7104 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7105 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7106 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7107 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7108 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7109 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7110 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7111 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7112 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7113
b090e8ea
L
7114 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7115 global and hidden.
7116 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7117 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7118 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7119 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7120 Likewise.
7121 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7122 Likewise.
7123 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7124 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7125 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7126 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7127 ifunc-impl-list.c.
7128 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7129 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7130 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7131 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7132 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7133 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7134 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7135 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7136 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7137 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7138 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7139 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7140 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7141 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7142 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7143 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7144 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7145 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7146 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7147 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7148 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7149 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7150 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7151 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7152 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7153 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7154 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7155 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7156 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7157 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7158 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7159 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7160 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7161 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7162 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7163 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7164 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7165 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7166 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7167 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7168 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7169
11dd4af6
L
7170 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7171 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7172 * include/ifunc-impl-list.h: New file.
7173 * misc/ifunc-impl-list.c: Likewise.
7174 * misc/Makefile (routines): Add ifunc-impl-list.
7175 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7176 * string/test-string.h: Include <ifunc-impl-list.h>.
7177 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7178 impl_array): New variables.
7179 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7180 are defined.
7181 (test_init): Call __libc_ifunc_impl_list to initialize
7182 func_list if TEST_IFUNC and TEST_NAME are defined.
7183
9a387d1f
L
7184 * string/Makefile (strop-tests): Add bcopy and bzero.
7185 * string/test-bcopy.c: New file.
7186 * string/test-bzero.c: Likewise.
7187 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7188 defined.
7189 * string/test-memset.c: Support bzero test if TEST_BZERO is
7190 defined.
7191 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7192 __libc_memmove.
7193 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7194 __libc_memset.
7195 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7196 of memset.
7197
472371b9
JM
71982012-10-10 Joseph Myers <joseph@codesourcery.com>
7199
1e4a9536
JM
7200 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7201 * configure: Regenerated.
7202
d173d12e
JM
7203 * Makeconfig (+link-static-before-libc): Don't include
7204 $(link-static-libc).
7205
472371b9
JM
7206 * libio/libio.h (_IO_pos_t): Remove.
7207
89a3ad0b
AO
72082012-10-10 Alexandre Oliva <aoliva@redhat.com>
7209
7210 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7211 McGrath.
7212
e7451425
AO
72132012-10-10 Alexandre Oliva <aoliva@redhat.com>
7214
7215 * crypt/crypt-entry.c: Include fips-private.h.
7216 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7217 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7218 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7219 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7220
4ba74a35
AO
72212012-10-10 Alexandre Oliva <aoliva@redhat.com>
7222
7223 * crypt/crypt-private.h: Include stdbool.h.
7224 (_ufc_setup_salt_r): Return bool.
7225 * crypt/crypt-entry.c: Include errno.h.
7226 (__crypt_r): Return NULL with EINVAL for bad salt.
7227 * crypt/crypt_util.c (bad_for_salt): New.
7228 (_ufc_setup_salt_r): Check that salt is long enough and within
7229 the specified alphabet.
7230 * crypt/badsalttest.c: New file.
7231 * crypt/Makefile (tests): Add it.
7232 ($(objpfx)badsalttest): New.
7233
f96f1242
MK
72342012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7235
7236 * NEWS: Add entry for BZ #14602.
7237
0e8e0c1c
JM
72382012-10-09 Joseph Myers <joseph@codesourcery.com>
7239
7240 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7241 type-generic.
7242 * math/libm-test.inc: Update comment listing what functions and
7243 macros are tested.
7244 (isgreater_test): New function.
7245 (isgreaterequal_test): Likewise.
7246 (isless_test): Likewise.
7247 (islessequal_test): Likewise.
7248 (islessgreater_test): Likewise.
7249 (isunordered_test): Likewise.
7250 (main): Call the new functions.
7251
273edc5e
RM
72522012-10-09 Roland McGrath <roland@hack.frob.com>
7253
b8493de0
RM
7254 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7255 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7256 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7257 * sysdeps/i386/configure: Regenerated.
7258 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7259 * sysdeps/mach/configure: Regenerated.
7260 * sysdeps/mach/hurd/configure: Regenerated.
7261 * sysdeps/powerpc/configure: Regenerated.
7262 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7263 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7264 * sysdeps/s390/s390-32/configure: Regenerated.
7265 * sysdeps/s390/s390-64/configure: Regenerated.
7266 * sysdeps/sh/configure: Regenerated.
7267 * sysdeps/sparc/configure: Regenerated.
7268 * sysdeps/unix/sysv/linux/configure: Regenerated.
7269 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7270 * sysdeps/x86_64/configure: Regenerated.
7271
273edc5e
RM
7272 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7273 defined. Don't check if MAP is NULL.
7274
c8450f70
JM
72752012-10-09 Joseph Myers <joseph@codesourcery.com>
7276
7277 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7278 (_G_stat64): Likewise.
7279 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7280 (_G_stat64): Likewise.
7281 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7282 instead of struct _G_stat64.
7283 * libio/fileops.c (mmap_remap_check): Likewise.
7284 (decide_maybe_mmap): Likewise.
7285 (_IO_new_file_seekoff): Likewise.
7286 (_IO_file_stat): Likewise.
7287 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7288 _G_off64_t.
7289 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7290 instead of struct _G_stat64.
7291 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7292
57e605ba
MK
72932012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7294
7295 [BZ #14602]
7296 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7297 Replace with ...
7298 (CHECK_EOL): New macro.
7299 (two_way_short_needle): Check beginning of haystack for EOL. Use
7300 CHECK_EOL.
7301 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7302 Replace with CHECK_EOL.
7303 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7304 Replace with CHECK_EOL.
7305
ef1bb361
JM
73062012-10-08 Joseph Myers <joseph@codesourcery.com>
7307
7308 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7309 type-generic.
7310 * math/libm-test.inc: Update comment listing what functions and
7311 macros are tested.
7312 (finite_test): New function.
7313 (isinf_test): Likewise.
7314 (isnan_test): Likewise.
7315 (fpclassify_test): Test subnormal input.
7316 (isfinite_test): Likewise.
7317 (isnormal_test): Likewise.
7318 (main): Call the new functions.
7319
55f11534
JN
73202012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7321
7322 [BZ #14660]
7323 * Makerules (%.dynsym): Force C locale when running
7324 $(OBJDUMP) --dynamic-syms.
7325
1ab29350
AS
73262012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7327
7328 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7329 <stdint.h>.
7330
f1ecb7ef
DM
73312012-10-06 David S. Miller <davem@davemloft.net>
7332
7333 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7334 upper 32-bits of the length value in %o2 since we use branch-on-register
7335 tests which consider the entire 64-bit register.
7336
5d41d91a
L
73372012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7338
7339 * string/test-strstr.c (check2): Add a test for page boundary.
7340
3baddb72
DM
73412012-10-05 David S. Miller <davem@davemloft.net>
7342
7343 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7344 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7345 file.
7346 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7347 sysdep_routines.
7348 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7349 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7350 and bzero when HWCAP_SPARC_CRYPTO is present.
7351
9cee5585
L
73522012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7353
d7e0dab9
L
7354 [BZ #14602]
7355 * string/test-strstr.c (check2): New function.
7356 (test_main): Call check2.
7357
03759f47
L
7358 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7359 and bug-strchr1.
7360 * string/bug-strcasestr1.c (do_test): Moved to ...
7361 * string/test-strcasestr.c (check1): Here. New function.
7362 (do_one_test): Break out result checking code into ...
7363 (check_result): This. New function.
7364 (do_one_test): Call check_result.
7365 (test_main): Call check1.
7366 * string/bug-strchr1.c (do_test): Moved to ...
7367 * string/test-strchr.c (check1): Here. New function.
7368 (do_one_test): Break out result checking code into ...
7369 (check_result): This. New function.
7370 (do_one_test): Call check_result.
7371 (test_main): Call check1.
7372 * string/bug-strstr1.c (main): Moved to ...
046f153e 7373 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7374 (do_one_test): Break out result checking code into ...
7375 (check_result): This. New function.
7376 (do_one_test): Call check_result.
7377 (test_main): Call check1.
7378 * string/bug-strcasestr1.c: Removed.
7379 * string/bug-strchr1.c: Likewise.
7380 * string/bug-strstr1.c: Likewise.
7381
53cea63e
L
7382 * elf/Makefile (dl-routines): Add hwcaps.
7383 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7384 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7385 (_dl_important_hwcaps): Moved to ...
7386 * elf/dl-hwcaps.c: Here. New file.
7387 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7388
9cee5585 7389 [BZ #14557]
bb859b06
L
7390 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7391 if IS_IN_rtld isn't defined.
7392
9cee5585
L
7393 * elf/dl-support.c (_dl_sysinfo_map): New.
7394 Include "get-dynamic-info.h" and "setup-vdso.h".
7395 (_dl_non_dynamic_init): Call setup_vdso.
7396 * elf/dynamic-link.h: Don't include <assert.h>.
7397 (elf_get_dynamic_info): Moved to ...
7398 * elf/get-dynamic-info.h: Here. New file.
7399 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7400 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7401 * elf/setup-vdso.h: Here. New file.
7402 * elf/rtld.c: Include "setup-vdso.h".
7403 (dl_main): Call setup_vdso.
7404
23c31b76
JM
74052012-10-05 Joseph Myers <joseph@codesourcery.com>
7406
28234b07
JM
7407 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7408 creal in comment listing functions tested. List finite, isinf,
7409 isnan, isless, islessequal, isgreater, isgreaterequal,
7410 islessgreater, isunordered, lgamma_r and pow10 as functions and
7411 macros not tested. Mention which functions not tested are aliases
7412 for other functions. Fix typo. Note that signs of NaNs are not
7413 tested.
7414
23c31b76
JM
7415 * scripts/config.guess: Update from config.git.
7416 * scripts/config.sub: Likewise.
7417
9043e228
RM
74182012-10-04 Roland McGrath <roland@hack.frob.com>
7419
7420 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7421 * misc/madvise.c (madvise): Renamed to __madvise.
7422 Make madvise a weak alias.
7423 * include/sys/mman.h: Declare __madvise.
7424 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7425 * sysdeps/unix/syscalls.list
7426 (madvise): Make __madvise the strong name, and madvise a weak alias.
7427 * sysdeps/unix/sysv/linux/syscalls.list
7428 (madvise, mmap): Remove redundant entries.
7429 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7430 * malloc/malloc.c (mtrim): Likewise.
7431 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7432
f57f8055
RM
74332012-10-03 Roland McGrath <roland@hack.frob.com>
7434
7435 * sysdeps/mach/hurd/dl-cache.c: File removed.
7436 * config.h.in (USE_LDCONFIG): New #undef.
7437 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7438 * configure: Regenerated.
7439 * elf/Makefile (dl-routines): Add dl-cache only under
7440 [$(use-ldconfig) = yes].
7441 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7442 cache on [USE_LDCONFIG].
7443 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7444 [USE_LDCONFIG].
7445 * elf/rtld.c (dl_main): Likewise.
7446
5bb0c10a
PT
74472012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7448
7449 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7450 _SC_LEVEL4_CACHE_LINESIZE.
7451
010188c6
RM
74522012-10-03 Roland McGrath <roland@hack.frob.com>
7453
7454 * sysdeps/unix/bsd/confstr.h: File removed.
7455
b6c5ec07
AO
74562012-10-02 Alexandre Oliva <aoliva@redhat.com>
7457
7458 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7459 sys/sdt-config.h.
7460
408223d4
RM
74612012-10-02 Roland McGrath <roland@hack.frob.com>
7462
7463 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7464 Make 'mapoff' field ElfW(Off) rather than off_t.
7465
bb9510dc
DL
74662012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7467
fc997c6e
DL
7468 * nscd/Makefile: Remove nscd-cflags and all its users.
7469 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7470 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7471
bb9510dc
DL
7472 [BZ #10631]
7473 * malloc.c (malloc_printerr): Clarify error message.
7474
05699367
L
74752012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7476
7477 [BZ #14648]
7478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7479 Set bit_FMA_Usable if FMA is supported.
7480 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7481 macro.
7482 (bit_FMA4_Usable): Updated.
7483 (index_FMA_Usable): New macro.
7484 (CPUID_FMA): Likewise
7485 (HAS_FMA): Defined with bit_FMA_Usable.
7486
51367701
RM
74872012-10-01 Roland McGrath <roland@hack.frob.com>
7488
7489 * bits/types.h (__swblk_t): Type removed.
7490 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7491 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7492 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7493 (__SWBLK_T_TYPE): Likewise.
7494 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7495 (__SWBLK_T_TYPE): Likewise.
7496 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7497 (__SWBLK_T_TYPE): Likewise.
7498 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7499 (__SWBLK_T_TYPE): Likewise.
7500
4d57bf63 75012012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7502 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7503
7504 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7505 (xdr_mapname): Use YPMAXMAP as maxsize.
7506 (xdr_peername): Use YPMAXPEER as maxsize.
7507 (xdr_keydat): Use YPAXRECORD as maxsize.
7508 (xdr_valdat): Use YPMAXRECORD as maxsize.
7509
93c65d43
RM
75102012-10-01 Roland McGrath <roland@hack.frob.com>
7511
497a03d6
RM
7512 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7513
93c65d43
RM
7514 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7515 * csu/init-first.c: ... here.
7516 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7517 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7518 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7519 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7520 * sysdeps/i386/init-first.c: File removed.
7521 * sysdeps/sh/init-first.c: File removed.
7522
bec749fd
JM
75232012-10-01 Joseph Myers <joseph@codesourcery.com>
7524
7525 [BZ #14645]
7526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7527 if x * y might underflow to zero and z is zero.
7528 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7529 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7530 * math/libm-test.inc (min_subnorm_value): New variable.
7531 (fma_test): Add more tests.
7532 (fma_test_towardzero): Likewise.
7533 (fma_test_downward): Likewise
7534 (fma_test_upward): Likewise.
7535 (initialize): Set min_subnorm_value.
7536
8ec5b013
JM
75372012-09-29 Joseph Myers <joseph@codesourcery.com>
7538
7539 [BZ #14638]
7540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7541 0 + 0.
7542 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7543 mode for addition resulting in exact zero.
7544 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7545 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7546 exact 0 + 0.
7547 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7548 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7549 * math/libm-test.inc (fma_test): Add more tests.
7550 (fma_test_towardzero): New function.
7551 (fma_test_downward): Likewise.
7552 (fma_test_upward): Likewise.
7553 (main): Call the new functions.
7554
b1fa802e
DM
75552012-09-28 David S. Miller <davem@davemloft.net>
7556
7557 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7558
d3b9fd9e
RM
75592012-09-28 Roland McGrath <roland@hack.frob.com>
7560
ea4d37b3
RM
7561 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7562 instead of SIGALRM.
7563
ac51c949
RM
7564 * sysdeps/gnu/_G_config.h: Moved to ...
7565 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7566 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7567 * sysdeps/generic/_G_config.h: ... here.
7568
28c195f7
RM
7569 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7570
848917f9
RM
7571 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7572
6bacf05b
RM
7573 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7574 Conditionalize target on [libnss_test1.so-version].
7575
91363dbb
RM
7576 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7577
cc87f7d8
RM
7578 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7579 (elfobjdir): Move out of conditionals.
7580
b1c608fe
RM
7581 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7582 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7583 (__nss_lookup_function): Conditionalize label remove_from_tree on
7584 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7585
1d9a6d96
DM
75862012-09-28 David S. Miller <davem@davemloft.net>
7587
7588 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7589 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7590 file.
7591 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7592 sysdep_routines.
7593 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7595 when HWCAP_SPARC_CRYPTO is present.
7596
72581615
PT
75972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7598
7599 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7600
715a900c
JL
76012012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7602
7603 [BZ #6530]
7604 * stdio-common/vfprintf.c (process_string_arg): Revert
7605 2000-07-22 change.
7606
76072011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7608
7609 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7610 for testcase.
7611 * stdio-common/tst-sprintf.c: Include <locale.h>
7612 (main): Test sprintf's handling of incomplete multibyte
7613 characters.
7614
9bac1d86
L
76152012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7616
7617 * elf/dl-runtime.c (VERSYMIDX): Removed.
7618 * elf/dl-version.c (VERSYMIDX): Likewise.
7619 * elf/do-rel.h (VERSYMIDX): Likewise.
7620 (VALIDX): Likewise.
7621 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7622 * elf/rtld.c (VALIDX): Likewise.
7623 (ADDRIDX): Likewise.
9bac1d86
L
7624 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7625 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7626 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
7627 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7628 (VALIDX): Likewise.
7629 (ADDRIDX): Likewise.
9bac1d86 7630
b31606c0
PT
76312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7632
7633 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7634
11541177
JL
76352012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7636
7637 [BZ #11438]
7638 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7639 to global scope.
7640 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7641 addresses are in the same scope as 192.0.2/24.
7642 * posix/gai.conf: Document new scope table defaults.
7643
adb26fae
SP
76442012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7645
7646 [BZ #5298]
7647 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7648 for ftell. Compute offsets from write pointers instead.
7649 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7650
4573c6b0
SP
76512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7652
7653 [BZ #14543]
7654 * libio/Makefile (tests): New test case tst-fseek.
7655 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7656 combination works in wide mode.
7657 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7658 state when the external buffer state changes.
7659
aa9bbfe6
DM
76602012-09-27 David S. Miller <davem@davemloft.net>
7661
7662 [BZ #14376]
7663 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7664 pass reloc->r_addend in as the 'high' argument to
7665 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7666
784421e7
DM
7667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7668
c39bc8b8
PT
76692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7670
7671 * rt/tst-aio2.c: Include <pthread.h>.
7672 * rt/tst-aio3.c: Likewise.
7673
1ccc2399
SE
76742012-09-27 Steve Ellcey <sellcey@mips.com>
7675
7676 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7677
31ed4153
L
76782012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7679
25f5f885
L
7680 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7681 contents on [SHARED].
31ed4153 7682
b7bfe116
MP
76832012-09-26 Marek Polacek <polacek@redhat.com>
7684
7685 [BZ #14530]
7686 [BZ #13741]
7687 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7688 for C++ and GCC <4.3 as well as for non GCC compilers.
7689
43c4edba
MT
76902012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7691
7692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7693
6a1bf82f
RM
76942012-09-25 Roland McGrath <roland@hack.frob.com>
7695
7696 * Makefile.in (all, install): Declare with .PHONY.
7697 Reported by Michael Hope <michael.hope@linaro.org>.
7698
8ad11b9a
TMQMF
76992012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7700
7701 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7702 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7703 system header.
7704 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7705 Likewise.
7706 (sydep_routines): Add the new and the internal functions.
7707 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7708 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7710 (GLIBC_2.17): Add the new function.
7711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7712 (GLIBC_2.17): Likewise.
7713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7714 (GLIBC_2.17): Likewise.
7715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7716 (GLIBC_2.17): Likewise.
7717 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7718
7e2fca8d
AM
77192012-09-25 Alan Modra <amodra@gmail.com>
7720
7721 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7722 Add release barrier before setting once_control to say
7723 initialisation is done. Add hints on lwarx. Use macro in
7724 place of isync.
7725 (clear_once_control): Add release barrier.
7726
b87c4b24
JM
77272012-09-25 Joseph Myers <joseph@codesourcery.com>
7728
d032e0d2
JM
7729 [BZ #13629]
7730 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7731 specially.
7732 * math/s_clog10.c (__clog10): Likewise.
7733 * math/s_clog10f.c (__clog10f): Likewise.
7734 * math/s_clog10l.c (__clog10l): Likewise.
7735 * math/s_clogf.c (__clogf): Likewise.
7736 * math/s_clogl.c (__clogl): Likewise.
7737 * math/Makefile (libm-calls): Add x2y2m1.
7738 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7739 (__x2y2m1): Likewise.
7740 (__x2y2m1l): Likewise.
7741 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7742 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7743 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7744 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7745 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7746 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7747 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7748 * sysdeps/i386/fpu/libm-test-ulps: Update.
7749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7750
b87c4b24
JM
7751 [BZ #14621]
7752 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7753 int as type of variable DEPTH.
7754 (glob): Use size_t instead of int as type of variables NEWCOUNT
7755 and OLD_PATHC.
7756
6d3bf199
LD
77572012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7758
22bf5c17
LD
7759 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7760 Add s_sincosf-sse2.
7761 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7762 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7763 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7764 macros for using routine as __sincosf_ia32.
7765 Use macro for function declaration and weak_alias.
7766 * sysdeps/i386/fpu/libm-test-ulps: Update.
7767
7768 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7770
7771 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
7772 subnormal argument.
7773 * math/s_cexpf.c (__cexpf): Likewise.
7774 * math/s_csinf.c (__csinf): Likewise.
7775 * math/s_csinhf.c (__csinhf): Likewise.
7776 * math/s_ctanf.c (__ctanf): Likewise.
7777 * math/s_ctanhf.c (__ctanhf): Likewise.
7778 * math/s_ccosh.c (__ccoshf): Likewise.
7779 * math/s_cexp.c (__cexpl): Likewise.
7780 * math/s_csin.c (__csin): Likewise.
7781 * math/s_csinh.c (__csinh): Likewise.
7782 * math/s_ctan.c (__ctan): Likewise.
7783 * math/s_ctanh.c (ctanh): Likewise.
7784 * math/s_ccoshl.c (__ccoshl): Likewise.
7785 * math/s_cexpl.c (__cexpl): Likewise.
7786 * math/s_csinl.c (__csinl): Likewise.
7787 * math/s_csinhl.c (__csinhl): Likewise.
7788 * math/s_ctanl.c (__ctanl): Likewise.
7789 * math/s_ctanhl.c (__ctanhl): Likewise.
7790
203e5603
JM
77912012-09-25 Joseph Myers <joseph@codesourcery.com>
7792
7793 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7794 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7795 (_IO_off_t): Define to __off_t, not _G_off_t.
7796 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7797 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7798 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7799 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7800 type of __dummy and __dummy2 fields.
7801 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7802 (_G_ssize_t): Likewise.
7803 (_G_off_t): Likewise.
7804 (_G_pid_t): Likewise.
7805 (_G_uid_t): Likewise.
7806 (_G_wchar_t): Likewise.
7807 (_G_wint_t): Likewise.
7808 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7809 (_G_ssize_t): Likewise.
7810 (_G_off_t): Likewise.
7811 (_G_pid_t): Likewise.
7812 (_G_uid_t): Likewise.
7813 (_G_wchar_t): Likewise.
7814 (_G_wint_t): Likewise.
7815 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7816 (_G_ssize_t): Likewise.
7817 (_G_off_t): Likewise.
7818 (_G_pid_t): Likewise.
7819 (_G_uid_t): Likewise.
7820 (_G_wchar_t): Likewise.
7821 (_G_wint_t): Likewise.
7822
9fab36eb
SP
78232012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7824
7825 * malloc/arena.c: Include malloc-sysdep.h.
7826 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7827 is sufficient to shrink the heap or an unmap is needed.
7828 * sysdeps/generic/malloc-sysdep.h: New file. Define
7829 new function check_may_shrink_heap.
7830 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7831 new function check_may_shrink_heap.
7832
2b4f00d1
SP
78332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7834
7835 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7836 comments.
7837
9a9028b1
DL
78382012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7839
57c69bef
DL
7840 * catgets/test-gencat.sh: Add "set -e".
7841 * elf/tst-pathopt.sh: Likewise.
7842 * grp/tst_fgetgrent.sh: Likewise.
7843 * iconvdata/run-iconv-test.sh: Likewise.
7844 * intl/tst-gettext.sh: Likewise.
7845 * intl/tst-gettext2.sh: Likewise.
7846 * intl/tst-gettext4.sh: Likewise.
7847 * intl/tst-gettext6.sh: Likewise.
7848 * intl/tst-translit.sh: Likewise.
7849 * io/ftwtest-sh: Likewise.
7850 * libio/test-freopen.sh: Likewise.
7851 * malloc/tst-mtrace.sh: Likewise.
7852 * posix/globtest.sh: Likewise.
7853 * posix/tst-getconf.sh: Likewise.
7854 * posix/wordexp-tst.sh: Likewise.
7855 * stdio-common/tst-printf.sh: Likewise.
7856 * stdio-common/tst-unbputc.sh: Likewise.
7857 * stdlib/tst-fmtmsg.sh: Likewise.
7858 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7859 * catgets/Makefile: Do not specify -e option when running
7860 testsuite shell scripts.
7861 * elf/Makefile: Likewise.
7862 * grp/Makefile: Likewise.
7863 * iconvdata/Makefile: Likewise.
7864 * intl/Makefile: Likewise.
7865 * io/Makefile: Likewise.
7866 * libio/Makefile: Likewise.
7867 * malloc/Makefile: Likewise.
7868 * posix/Makefile: Likewise.
7869 * stdio-common/Makefile: Likewise.
7870 * stdlib/Makefile: Likewise.
7871 * sysdeps/x86_64/Makefile: Likewise.
7872
9a9028b1
DL
7873 * io/ftwtest-sh: Add copyright header.
7874 * posix/globtest.sh: Likewise.
7875 * posix/tst-getconf.sh: Likewise.
7876 * posix/wordexp-tst.sh: Likewise.
7877 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7878
ced6f16e
L
78792012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7880
94b32c39
L
7881 [BZ #13679]
7882 * Makeconfig (+link): Defined as $(+link-static) if
7883 $(build-shared) isn't yes.
7884 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7885 isn't yes.
7886 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7887
189e935b
L
7888 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7889
ced6f16e
L
7890 [BZ #14562]
7891 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7892 new chunk size with MALLOC_ALIGN_MASK.
7893
a9f8e53a
JM
78942012-09-24 Joseph Myers <joseph@codesourcery.com>
7895
7896 [BZ #5044]
7897 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7898 <rounding-mode.h>.
7899 (__printf_fphex): Determine rounding using get_rounding_mode and
7900 round_away.
7901 * stdio-common/tst-printf-round.c (struct hex_test): New
7902 structure.
7903 (hex_tests): New variable.
7904 (test_hex_in_one_mode): New function.
7905 (do_test): Also run tests for hex float output.
7906
43153109
JM
79072012-09-21 Joseph Myers <joseph@codesourcery.com>
7908
7909 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7910 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7911 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7912 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7913 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7914 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7915 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7916 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7917
8a26625d
JM
79182012-09-20 Joseph Myers <joseph@codesourcery.com>
7919
7920 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7921 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7922 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7923 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7924
f3fd569c
DL
79252012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7926
7927 [BZ #14579]
7928 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7929 mode only.
7930 * elf/tst-rtld-load-self.sh: New test.
7931 * elf/Makefile: Run it.
7932
63bbedd4
JM
79332012-09-18 Joseph Myers <joseph@codesourcery.com>
7934
7935 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7936 (tst-writev-ENV): Remove.
7937 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7938
626f8b6a
CM
79392012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7940
7941 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7942
b7aaa4d6
JM
79432012-09-17 Joseph Myers <joseph@codesourcery.com>
7944
7945 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7946 unconditional.
7947 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7948 Likewise.
7949 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7950 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7951 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7952 Likewise.
7953
65513990
L
79542012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7955
7956 [BZ #14587]
7957 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7958 * config.make.in (have-cpp-asm-debuginfo): Removed.
7959 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7960 * configure: Regenerated.
7961
784761be
JM
79622012-09-14 Joseph Myers <joseph@codesourcery.com>
7963
7964 [BZ #5044]
7965 * stdio-common/printf_fp.c: Include <stdbool.h> and
7966 <rounding-mode.h>.
7967 (___printf_fp): Determine rounding using get_rounding_mode and
7968 round_away.
7969 * stdio-common/tst-printf-round.c: New file.
7970 * stdio-common/Makefile (tests): Add tst-printf-round.
7971 (link-libm): New variable.
7972 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7973
9503345f
L
79742012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7975
7976 [BZ #14576]
7977 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7978 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7979 Likewise.
7980 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7981 Likewise.
7982
ad35fc00
JM
79832012-09-13 Joseph Myers <joseph@codesourcery.com>
7984
7985 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7986 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7987 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7988 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7989
6c9b0f68
JM
79902012-09-12 Joseph Myers <joseph@codesourcery.com>
7991
7992 [BZ #14518]
7993 * include/rounding-mode.h: New file.
7994 * sysdeps/generic/get-rounding-mode.h: Likewise.
7995 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7996 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7997 (MAX_VALUE): New macro.
7998 (MIN_VALUE): Likewise.
7999 (overflow_value): New function.
8000 (underflow_value): Likewise.
8001 (round_and_return): Use overflow_value and underflow_value to
8002 determine return values in overflow and underflow cases. Use
8003 round_away to determine rounding depending on rounding mode.
8004 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8005 determine return values in overflow and underflow cases.
8006 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8007 (struct test_results): New structure.
8008 (struct test): Use struct test_results to store expected results
8009 for all rounding modes.
8010 (TEST): Include expected results for all rounding modes.
8011 (test_in_one_mode): New function.
8012 (do_test): Use test_in_one_mode to compute and check results.
8013 Check results for all rounding modes.
8014 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8015 $(link-libm).
8016
19fcedd5
AM
80172012-12-09 Allan McRae <allan@archlinux.org>
8018
1e9d84cd 8019 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8020
8bbfd2f1
JM
80212012-09-11 Joseph Myers <joseph@codesourcery.com>
8022
8023 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8024 (_G_int32_t): Likewise.
8025 (_G_uint16_t): Likewise.
8026 (_G_uint32_t): Likewise.
8027 (_G_HAVE_BOOL): Likewise.
8028 (_G_HAVE_ATEXIT): Likewise.
8029 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8030 (_G_HAVE_IO_FILE_OPEN): Likewise.
8031 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8032 (_G_int32_t): Likewise.
8033 (_G_uint16_t): Likewise.
8034 (_G_uint32_t): Likewise.
8035 (_G_HAVE_BOOL): Likewise.
8036 (_G_HAVE_ATEXIT): Likewise.
8037 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8038 (_G_HAVE_IO_FILE_OPEN): Likewise.
8039 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8040 (_G_int32_t): Likewise.
8041 (_G_uint16_t): Likewise.
8042 (_G_uint32_t): Likewise.
8043 (_G_HAVE_BOOL): Likewise.
8044 (_G_HAVE_ATEXIT): Likewise.
8045 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8046 (_G_HAVE_IO_FILE_OPEN): Likewise.
8047
b1dc5912
L
80482012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8049
8050 * csu/libc-tls.c: Update copyright years.
8051
0e886ef9
JM
80522012-09-10 Joseph Myers <joseph@codesourcery.com>
8053
28361c5e
JM
8054 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8055 [!_G_USING_THUNKS]: Remove conditional code.
8056 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8057 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8058
0e886ef9
JM
8059 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8060 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8061 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8062 (_G_VTABLE_LABEL_PREFIX): Likewise.
8063 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8064 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8065 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8066 (_G_VTABLE_LABEL_PREFIX): Likewise.
8067 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8068 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8069 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8070 (_G_VTABLE_LABEL_PREFIX): Likewise.
8071 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8072
bcba7aa2
L
80732012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8074
8075 * libio/Makefile: Include ../Makeconfig before tests.
8076 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8077 only if $(build-shared) is yes.
8078
06585ee8
L
8079 * iconv/gconv_db.c: Update copyright years.
8080
80ccd52c
LD
80812012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8082
8083 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8084 unwind info if defined PIC. Fix special cases description.
8085 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8086
8087 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8088 DP_HI_MASK entry.
8089 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8090
691bc9c1
L
80912012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8092
3d9b46b3
L
8093 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8094
de2139a9
L
8095 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8096 is NULL.
8097
5ca78dd0
L
8098 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8099 (LDLIBS-tst-chk4): This.
8100 (LDFLAGS-tst-chk5): Renamed to ...
8101 (LDLIBS-tst-chk5): This.
8102 (LDFLAGS-tst-chk6): Renamed to ...
8103 (LDLIBS-tst-chk6): This.
8104 (LDFLAGS-tst-lfschk4): Renamed to ...
8105 (LDLIBS-tst-lfschk4): This.
8106 (LDFLAGS-tst-lfschk5): Renamed to ...
8107 (LDLIBS-tst-lfschk5): This.
8108 (LDFLAGS-tst-lfschk6): Renamed to ...
8109 (LDLIBS-tst-lfschk6): This.
8110
691bc9c1
L
8111 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8112 on $(common-objpfx)soversions.mk.
8113
65cafb1c
JM
81142012-09-07 Joseph Myers <joseph@codesourcery.com>
8115
8116 [BZ #10014]
8117 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8118 example host name.
8119
c78ab094
SP
81202012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8121
8122 * malloc/arena.c (arena_get_retry): New function that gets
8123 another arena for the caller to try its request on.
8124 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8125 current arena cannot fulfill the request.
8126 (__libc_memalign): Likewise.
8127 (__libc_memalign): Likewise.
8128 (__libc_pvalloc): Likewise.
8129 (__libc_calloc): Likewise.
8130
01f49f59
JT
81312012-09-05 John Tobey <john.tobey@gmail.com>
8132
8133 [BZ #13542]
8134 * manual/arith.texi (Operations on Complex): Fix description
8135 of carg branch cut.
8136
4c23fed5
JM
81372012-09-06 Joseph Myers <joseph@codesourcery.com>
8138
1d3c8572
JM
8139 [BZ #10014]
8140 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8141 host name.
8142
4c23fed5
JM
8143 [BZ #10038]
8144 * manual/memory.texi (Memory): Make order of menu items match
8145 order of sections.
8146
04570aaa
L
81472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8148
8149 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8150 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8151 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8152
b80af2f4
L
81532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8154
8155 * csu/libc-tls.c (static_dtv): Renamed to ...
8156 (_dl_static_dtv): This. Make it global.
8157 (_dl_initial_dtv): Removed.
8158 (__libc_setup_tls): Updated.
8159 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8160 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8161 DL_INITIAL_DTV.
8162
2abe9f15
PM
81632012-09-06 Petr Machata <pmachata@redhat.com>
8164
8165 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8166 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8167 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8168 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8169
0948c3af
L
81702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8171
8172 [BZ #14545]
8173 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8174 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8175 freeing dtv[-1].
8176
a5055ad1
L
81772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8178
8179 [BZ #14544]
8180 * Makeconfig (link-static-before-libc): Replace $(+prector)
8181 with $(+prectorT).
8182 (link-static-after-libc): Replace $(+postctor) with
8183 $(+postctorT).
8184 (link-bounded): Replace $(+prector)/$(+postctor) with
8185 $(+prectorT)/$(+postctorT).
8186 (+prectorT): New macro.
8187 (+postctorT): Likewise.
8188
ed8c2ecd
JM
81892012-09-06 Joseph Myers <joseph@codesourcery.com>
8190
8191 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8192 (round_str): Handle values above the maximum for IBM long double
8193 as inexact.
8194 * stdlib/tst-strtod-round.c (tests): Regenerated.
8195
14c996c8
AK
81962012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8197
8198 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8199 assembler flag.
8200 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8201 zarch_nohighgprs around the zarch optimized routines.
8202 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8203 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8204 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8205 for zarch.
8206
430d6ce6
DM
82072012-09-05 David S. Miller <davem@davemloft.net>
8208
8209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8210
ff04dda4
DM
8211 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8212 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8213 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8214 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8215 entries.
8216
24d4e01b
AO
82172012-09-05 Alexandre Oliva <aoliva@redhat.com>
8218
8219 * malloc/arena.c: Fold copyright years.
8220 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8221
61d58174
AO
82222012-09-05 Alexandre Oliva <aoliva@redhat.com>
8223
8224 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8225
20196a5e
AO
82262012-09-05 Alexandre Oliva <aoliva@redhat.com>
8227
8228 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8229
5c447383
AO
82302012-09-05 Alexandre Oliva <aoliva@redhat.com>
8231
8232 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8233 change internal state upon failure.
8234
fad64255
AO
82352012-09-05 Alexandre Oliva <aoliva@redhat.com>
8236
8237 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8238 * malloc/memusage.c (mmap): Likewise.
8239 (mmap64, mremap): Likewise. Adjust name in comment.
8240
1ffb8c90
SP
82412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8242
8243 * libio/fileops.c: Fix typos in comments.
8244 * libio/oldfileops.c: Likewise.
8245 * libio/wfileops.c: Likewise.
8246
6ef9cc37
SP
82472012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8248
8249 [BZ #1349]
8250 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8251 (tst-malloc-usable-ENV): Set environment for test case.
8252 * malloc/hooks.c (malloc_check_get_size): New function to get
8253 requested size.
8254 * malloc/malloc.c (musable): Use malloc_check_get_size.
8255 * malloc/tst-malloc-usable.c: New test case.
8256
4d038ae3
AS
82572012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8258
8259 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8260
c4e85184
AM
82612012-09-05 Allan McRae <allan@archlinux.org>
8262
b9dafc56 8263 [BZ #13966]
c4e85184
AM
8264 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8265 determine header location.
8266 * configure: Regenerated.
8267
e1343020
AS
82682012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8269
8270 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8271 float format.
8272 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8273 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8274 format.
e1343020
AS
8275 (test): Regenerate.
8276
0a9f1987
DM
82772012-09-04 David S. Miller <davem@davemloft.net>
8278
8279 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8280 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8281 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8282
29237804
FW
82832012-09-04 Florian Weimer <fweimer@redhat.com>
8284
8285 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8286 failures.
8287
edb3cb88
FW
8288 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8289
60160d83
JM
82902012-09-04 Joseph Myers <joseph@codesourcery.com>
8291
8292 [BZ #9914]
8293 * libio/iogetdelim.c: Include <limits.h>.
8294 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8295 + len + 1 would overflow.
8296
bcd6c8dc
AJ
82972012-09-03 Andreas Jaeger <aj@suse.de>
8298
8299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8300 * sysdeps/i386/fpu/libm-test-ulps: Update.
8301
4ffffbd2
LD
83022012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8303
8304 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8305 Add s_sinf-sse2, s_conf-sse2.
8306
8307 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8308 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8309 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8310 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8311
8312 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8313 for using routine as __sinf_ia32.
8314 Use macro for function declaration and weak_alias.
8315 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8316 for using routine as __cosf_ia32.
8317 Use macro for function declaration and weak_alias.
8318
8319 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8320 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8321
8322 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8323 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8325
8326 * math/libm-test.inc (cos_test): Add more test cases.
8327 (sin_test): Likewise.
8328 (sincos_test): Likewise.
8329
511fa286
AK
83302012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8331
8332 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8333 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8334 hidden.
8335 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8336
5f30cfec
L
83372012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8338
8339 [BZ #14538]
8340 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8341 first element of the GOT.
8342 (elf_machine_load_address): Return the difference between
8343 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8344
0786794f
AM
83452012-09-01 Allan McRae <allan@archlinux.org>
8346
5f30cfec
L
8347 [BZ #13412]
8348 * configure.in (AWK): Require gawk version 3.0 or later.
8349 * configure: Regenerated.
0786794f 8350
26889eac
JM
83512012-09-01 Joseph Myers <joseph@codesourcery.com>
8352
8353 * sysdeps/unix/sysv/linux/kernel-features.h
8354 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8355 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8356 [__NR_clock_getres]: Make code unconditional.
8357 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8358 (clock_getcpuclockid): Remove code left unreachable by removal of
8359 conditionals.
8360 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8361 code unconditional.
8362 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8363 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8364 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8365 Make code unconditional.
8366 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8367 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8368 * sysdeps/unix/sysv/linux/clock_settime.c
8369 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8370 conditional code.
8371 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8372 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8373
d22e28b0
L
83742012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8375
8376 [BZ #14476]
8377 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8378 scripts/test-installation.pl.
8379
8380 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8381 and $ld_so_version if it is set.
8382
050af9c4
SP
83832012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8384
8385 [BZ #14516]
8386 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8387 failure if reading from procfs failed.
8388 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8389
ad845c0b
JM
83902012-08-27 Joseph Myers <joseph@codesourcery.com>
8391
8392 * sysdeps/unix/sysv/linux/kernel-features.h
8393 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8394 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8395 Remove conditional code.
8396 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8397 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8398 Remove conditional code.
8399 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8400 * sysdeps/unix/sysv/linux/i386/fxstat.c
8401 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8402 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8403 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8404 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8405 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8406 * sysdeps/unix/sysv/linux/i386/lxstat.c
8407 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8408 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8409 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8410 Remove conditional code.
8411 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8412 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8413 Remove conditional code.
8414 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8415 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8416 <kernel-features.h>.
8417 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8418 Remove.
8419 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8420 Remove conditional code.
8421 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8422 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8423 Remove conditional.
8424
5dbf56af
MF
84252012-08-27 Mike Frysinger <vapier@gentoo.org>
8426
8427 [BZ #5400]
8428 * NEWS: Add fixed bug number.
8429
d6e70f43
JM
84302012-08-27 Joseph Myers <joseph@codesourcery.com>
8431
7efb4737
JM
8432 [BZ #14519]
8433 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8434 underflowing exponent in case of negative sign.
8435 * stdlib/tst-strtod-round-data: Add more tests.
8436 * stdlib/tst-strtod-round.c (tests): Regenerated.
8437
af92131a
JM
8438 [BZ #3479]
8439 * stdlib/strtod_l.c (NDIG): Remove.
8440 (HEXNDIG): Likewise.
8441 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8442 smallest representable value.
8443 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8444 lie within an exact representation of 1/2 ulp of the result.
8445 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8446 unconditionally.
8447 (TENS_P9_IDX): Define unconditionally.
8448 (TENS_P9_SIZE): Likewise.
8449 (TENS_P10_IDX): Likewise.
8450 (TENS_P10_SIZE): Likewise.
8451 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8452 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8453 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8454 entries for 10^2^13 and 10^2^14.
8455 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8456 (TENS_P13_IDX): Define.
8457 (TENS_P13_SIZE): Likewise.
8458 (TENS_P14_IDX): Likewise.
8459 (TENS_P14_SIZE): Likewise.
8460 (_fpioconst_pow10): Change array size to
8461 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8462 unconditional.
8463 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8464 1024]: Add entries for 10^2^13 and 10^2^14.
8465 [LAST_POW10 > _LAST_POW10]: Remove #error.
8466 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8467 (_fpioconst_pow10): Change array size to
8468 FPIOCONST_POW10_ARRAY_SIZE.
8469 * stdlib/gen-fpioconst.c: New file.
8470 * stdlib/gen-tst-strtod-round.c: Likewise.
8471 * stdlib/tst-strtod-round-data: Likewise.
8472 * stdlib/tst-strtod-round.c: Likewise.
8473 * stdlib/Makefile (tests): Add tst-strtod-round.
8474
d6e70f43
JM
8475 [BZ #14459]
8476 * stdlib/strtod_l.c: Include <stdint.h>.
8477 (NDEBUG): Do not define.
8478 (round_and_return): Change EXPONENT parameter to type intmax_t.
8479 Rearrange calculations to avoid internal overflow possibilities.
8480 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8481 Rearrange calculations to avoid internal overflow possibilities.
8482 Assert that number fits inside MPNSIZE limbs.
8483 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8484 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8485 calculations and add assertions to avoid internal overflow
8486 possibilities. Add casts to avoid signed/unsigned operations.
8487 * stdlib/tst-strtod-overflow.c: New file.
8488 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8489
1f529f7d
MP
84902012-08-25 Marek Polacek <polacek@redhat.com>
8491
8492 * time/time.h: Fix some typos in comments.
8493
59a629f1
RM
84942012-08-23 Roland McGrath <roland@hack.frob.com>
8495
8496 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8497 * posix/tst-rfc3484-2.c: Likewise.
8498 * posix/tst-rfc3484-3.c: Likewise.
8499
d3bafbc9
SM
85002012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8501
8502 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8503 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8504
4efcc022
JM
85052012-08-23 Joseph Myers <joseph@codesourcery.com>
8506
8507 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8508 #include of fxstatat64.c.
8509
3cc3ef96
RM
85102012-08-22 Roland McGrath <roland@hack.frob.com>
8511
f04e2132
RM
8512 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8513 * shadow/getspent_r.c: Likewise.
8514 * shadow/getspnam.c: Likewise.
8515 * shadow/getspnam_r.c: Likewise.
8516 * gshadow/getsgent.c: Likewise.
8517 * gshadow/getsgent_r.c: Likewise.
8518 * gshadow/getsgnam.c: Likewise.
8519 * gshadow/getsgnam_r.c: Likewise.
8520 * inet/getnetbyad.c: Likewise.
8521 * inet/getnetbyad_r.c: Likewise.
8522 * inet/getnetbynm.c: Likewise.
8523 * inet/getnetbynm_r.c: Likewise.
8524 * inet/getnetent.c: Likewise.
8525 * inet/getnetent_r.c: Likewise.
8526 * inet/getproto.c: Likewise.
8527 * inet/getproto_r.c: Likewise.
8528 * inet/getprtent.c: Likewise.
8529 * inet/getprtent_r.c: Likewise.
8530 * inet/getprtname.c: Likewise.
8531 * inet/getprtname_r.c: Likewise.
8532 * inet/getrpcbyname.c: Likewise.
8533 * inet/getrpcbyname_r.c: Likewise.
8534 * inet/getrpcbynumber.c: Likewise.
8535 * inet/getrpcbynumber_r.c: Likewise.
8536 * inet/getrpcent.c: Likewise.
8537 * inet/getrpcent_r.c: Likewise.
8538 * inet/getaliasent.c: Likewise.
8539 * inet/getaliasent_r.c: Likewise.
8540 * inet/getaliasname.c: Likewise.
8541 * inet/getaliasname_r.c: Likewise.
8542 * nscd/getgrgid_r.c: Likewise.
8543 * nscd/getgrnam_r.c: Likewise.
8544 * nscd/gethstbyad_r.c: Likewise.
8545 * nscd/gethstbynm3_r.c: Likewise.
8546 * nscd/getpwnam_r.c: Likewise.
8547 * nscd/getpwuid_r.c: Likewise.
8548 * nscd/getsrvbynm_r.c: Likewise.
8549 * nscd/getsrvbypt_r.c: Likewise.
8550 * nscd/gai.c: Likewise.
8551
c53d909c
RM
8552 * configure.in (build_nscd): New substituted variable, set
8553 by --disable-build-nscd and defaults to $use_nscd.
8554 * configure: Regenerated.
8555 * config.make.in (build-nscd): New substituted variable.
8556 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8557 Change conditional to require [$(build-nscd) = yes] as well.
8558 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8559
3cc3ef96
RM
8560 [BZ# 13696]
8561 * configure.in (use_nscd): New substituted variable, set by
8562 --disable-nscd. If enabled, define USE_NSCD.
8563 * configure: Regenerated.
8564 * config.h.in: Add USE_NSCD.
8565 * config.make.in (use-nscd): New substituted variable.
8566 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8567 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8568 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8569 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8570 (CFLAGS-getgrnam_r.c): Likewise.
8571 (CFLAGS-initgroups.c): Likewise.
8572 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8573 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8574 Variables removed.
8575 * inet/getnetgrent_r.c
8576 (nscd_setnetgrent): New function, broken out of ...
8577 (setnetgrent): ... here. Call it.
8578 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8579 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8580 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8581 * nscd/Makefile (routines, aux): Move definitions after include of
8582 Makeconfig. Conditionalize on [$(use-nscd) != no].
8583 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8584 Conditionalize on [USE_NSCD].
8585 (is_nscd, nscd_init_cb): Likewise.
8586 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8587 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8588 * nss/nss_db/db-init.c: Likewise.
8589 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8590 [USE_NSCD].
8591 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8592 (make_request): Use it.
8593 (cache_valid_p): New function.
8594 (__check_pf): Use it.
8595 * NEWS: Add item for --disable-nscd.
8596
07e51550
DL
85972012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8598
8599 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8600 to support sed >= 4.2.1-20-ga9bf076.
8601 * configure: Regenerated.
8602
35a5b08b
RM
86032012-08-22 Roland McGrath <roland@hack.frob.com>
8604
8605 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8606 Conditionalize whole body on [IREL].
8607
8479f23a
JL
86082012-08-22 Jeff Law <law@redhat.com>
8609
8610 [BZ #14505]
8611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8612 if the family is PF_UNSPEC.
8613
48da0b21
MF
86142012-08-22 Mike Frysinger <vapier@gentoo.org>
8615
8616 * Makerules (lib-version): Rename from V.
8617 (install-lib-nosubdir): Change V to lib-version.
8618
15d0da8c
WS
86192012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8620
8621 [BZ #14252]
8622 * powerpc32/power6/wcschr.c: New file.
8623 * powerpc32/power6/wcscpy.c: New file.
8624 * powerpc32/power6/wcsrchr.c: New file.
8625 * powerpc64/power6/wcschr.c: New file.
8626 * powerpc64/power6/wcscpy.c: New file.
8627 * powerpc64/power6/wcsrchr.c: New file.
8628
bcca0895
MK
86292012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8630
8631 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8632 (two_way_short_needle): Use it.
5a4aaa33
RM
8633 * string/strstr.c (AVAILABLE1_USES_J): Define.
8634 * string/strcasestr.c: Likewise.
99677e57
MK
8635
8636 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8637 array references.
8638 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8639
400726de
MK
8640 [BZ #11607]
8641 * NEWS: Add an entry.
8642 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8643 define their defaults.
8644 (two_way_short_needle): Detect end-of-string on-the-fly.
8645 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8646 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8647 * string/bug-strcasestr1.c: New test.
8648 * string/Makefile: Run it.
8649
20a71f2c
MK
86502012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8651
8652 [BZ #11607]
8653 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8654 the first character.
8655
21ad0558
RM
86562012-08-21 Roland McGrath <roland@hack.frob.com>
8657
8658 * csu/elf-init.c (__libc_csu_irel): Function removed.
8659 * csu/libc-start.c (apply_irel): New function.
8660 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8661
0e1d9911
JM
86622012-08-21 Joseph Myers <joseph@codesourcery.com>
8663
8664 * sysdeps/unix/sysv/linux/kernel-features.h
8665 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8666 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8667 <kernel-features.h>.
8668 [__NR_fadvise64_64]: Make code unconditional.
8669 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8670 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8671 !__NR_fadvise64_64)]: Likewise.
8672 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8673 !__NR_fadvise64_64))]: Likewise.
8674 [__NR_fadvise64]: Make code unconditional.
8675 [!__NR_fadvise64]: Remove conditional code.
8676 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8677 <kernel-features.h>.
8678 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8679 unconditional.
8680 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8681 conditional code.
8682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8683 not include <kernel-features.h>.
8684 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8685 unconditional.
8686 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8687 conditional code.
8688 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8689 include <kernel-features.h>.
8690 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8691 unconditional.
8692 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8693 conditional code.
8694
14a50c9d
WS
86952012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8696
8697 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8698 slight instruction rearrangements per scrollpipe analysis.
8699 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8700
c0f4faf0
RM
87012012-08-20 Roland McGrath <roland@hack.frob.com>
8702
696da859
RM
8703 * manual/syslog.texi (syslog; vsyslog, closelog):
8704 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8705 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8706
c0f4faf0
RM
8707 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8708 DSOCAPS to match condition on defining it.
8709
348363b2
JM
87102012-08-20 Joseph Myers <joseph@codesourcery.com>
8711
a35cbf28
JM
8712 * sysdeps/unix/sysv/linux/kernel-features.h
8713 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8715 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8716 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8718 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8719 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8721 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8722 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8723
445f7ecd
JM
8724 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8725 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8726
348363b2
JM
8727 * sysdeps/unix/sysv/linux/kernel-features.h
8728 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8729 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8730 unconditional.
8731 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8732 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8733 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8734 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8735 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8736 Make code unconditional.
8737 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8738 (__mmap64) [!__NR_mmap2]: Likewise.
8739 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8740 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8741 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8742 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8743 [__NR_mmap2]: Make code unconditional.
8744 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8745 (__mmap64) [!__NR_mmap2]: Likewise.
8746
bc5bc0e5
AK
87472012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8748
8749 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8750
88d506de
AJ
87512012-08-18 Andreas Jaeger <aj@suse.de>
8752
8753 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8754
493387d2
MF
87552012-08-18 Mike Frysinger <vapier@gentoo.org>
8756
8757 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8758 * include/unistd.h (__have_sock_cloexec): Likewise.
8759 (__have_pipe2): Likewise.
8760 (__have_dup3): Likewise.
8761
a277af22
MF
87622012-08-18 Mike Frysinger <vapier@gentoo.org>
8763
8764 [BZ #9685]
8765 * include/unistd.h (__have_pipe2): Change define into an extern int.
8766 (__have_dup3): Likewise.
8767 * socket/have_sock_cloexec.c: Include fcntl.h.
8768 (__have_pipe2): New variable.
8769 (__have_dup3): Likewise.
8770
fdab8fd3
MF
87712012-08-17 Mike Frysinger <vapier@gentoo.org>
8772
8773 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8774
31035e80
MP
87752012-08-17 Marek Polacek <polacek@redhat.com>
8776
8777 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8778 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8779
3bd9e993
RM
87802012-08-17 Roland McGrath <roland@hack.frob.com>
8781
c91c505f
RM
8782 * configure.in: Add AC_SUBST for sysheaders.
8783 * configure: Regenerated.
8784 * config.make.in (sysheaders): New substituted variable.
8785
7c6f9d53
RM
8786 * sysdeps/unix/mkfifo.c: Moved ...
8787 * sysdeps/posix/mkfifo.c: ... here.
8788 * sysdeps/unix/mkfifoat.c: Moved ...
8789 * sysdeps/posix/mkfifoat.c: ... here.
8790
8791 * sysdeps/unix/utime.c: Moved ...
8792 * sysdeps/posix/utime.c: ... here.
8793
8794 * sysdeps/unix/time.c: Moved ...
8795 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
8796 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8797 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
8798
8799 * sysdeps/unix/nice.c: Moved ...
8800 * sysdeps/posix/nice.c: ... here.
8801
8802 * sysdeps/unix/alarm.c: Moved ...
8803 * sysdeps/posix/alarm.c: ... here.
8804
3bd9e993
RM
8805 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8806
d1f09384
JL
88072012-08-17 Jeff Law <law@redhat.com>
8808
8809 * intl/Makefile (codeset_mo): New variable.
8810 ($(codeset_mo)): New target.
8811 (tst-codeset.out): Depend on that. Remove explicit rule.
8812 (tst-gettext3.out, tst-gettext5.out): Likewise.
8813 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8814 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8815 * intl/tst-codeset.sh: Remove.
8816 * intl/tst-gettext3.sh: Likewise.
8817 * intl/tst-gettext5.sh: Likewise.
8818
2ae1ae5c
RM
88192012-08-17 Roland McGrath <roland@hack.frob.com>
8820
c31fdb83
RM
8821 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8822 * sysdeps/unix/syscalls.list: ... here.
8823
a0844057
RM
8824 * sysdeps/posix/getaddrinfo.c
8825 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8826 (gaiconf_init, gaiconf_reload): Use them.
8827 [!_STATBUF_ST_NSEC]
8828 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8829 Define using time_t rather than struct timespec.
8830
750c1f2a
RM
8831 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8832 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8833 Macros removed.
8834 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8835 [!NO_THREADS].
8836 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8837 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8838 Likewise.
8839
2ae1ae5c
RM
8840 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8841 __libc_cleanup_push argument.
8842
e66a42f5
RM
8843 * bits/param.h: New file.
8844 * misc/sys/param.h: New file.
8845 * include/sys/param.h: New file.
8846 * misc/Makefile (headers): Add bits/param.h.
8847 * sysdeps/generic/sys/param.h: File removed.
8848 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8849 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8850 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 8851 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 8852
b7c08a66
RM
8853 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8854 last change.
8855
b2e1c562
RM
8856 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8857 [_IO_MTSAFE_IO].
8858 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8859 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8860 New macros.
8861
c75ccd4c
RM
8862 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8863 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8864 rather than -D_IO_MTSAFE_IO conditionally.
8865 * stdio-common/Makefile (CPPFLAGS): Likewise.
8866 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8867 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8868 Use $(libio-mtsafe).
8869 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8870 of -D_IO_MTSAFE_IO.
8871 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8872 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8873 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8874 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8875 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8876 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8877 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8878 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8879 (CFLAGS-fread_u_chk.c): Likewise.
8880 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8881 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8882 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8883 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8884 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8885 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8886 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8887 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8888 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8889
8890 * libio/Makefile: Test [$(libc-reentrant) = yes]
8891 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8892
8893 * Makeconfig
8894 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8895 * sysdeps/pthread/configure: File removed.
8896 * sysdeps/pthread/Makeconfig: New file.
8897 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8898 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8899
d9195db8
GB
89002012-08-16 Gary Benson <gbenson@redhat.com>
8901
8902 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8903 unmapping the first object in a namespace.
8904
86466cd9
RM
89052012-08-16 Roland McGrath <roland@hack.frob.com>
8906
8907 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8908 (__internal_setnetgrent): ... this. Add internal_function to
8909 definition. Add libc_hidden_def.
8910 (setnetgrent): Update caller.
8911 (internal_endnetgrent): Renamed to ...
8912 (__internal_endnetgrent): ... this. Add internal_function to
8913 definition. Add libc_hidden_def.
8914 (endnetgrent): Update caller.
8915 (internal_getnetgrent_r): Renamed to ...
8916 (__internal_getnetgrent_r): ... this. Add internal_function to
8917 definition. Add libc_hidden_def.
8918 (__getnetgrent_r): Update caller.
8919 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8920
c3c8283c
JM
89212012-08-16 Joseph Myers <joseph@codesourcery.com>
8922
8923 * stdlib/longlong.h: Update from GCC.
8924
db1ee0a8
RM
89252012-08-16 Roland McGrath <roland@hack.frob.com>
8926
8927 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8928 on _QL, which is set by umul_ppmm but never used.
8929 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8930 variables, which are set by GMP macros but never used.
8931 * stdio-common/_itowa.c (_itowa): Likewise.
8932 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8933 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8934
30f69637
CD
89352012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8936
8937 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8938 struct La_sh_regs is not constant.
8939 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8940 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8941 and struct La_sparc64_regs are not constant.
8942
93a78ac4
JM
89432012-08-16 Joseph Myers <joseph@codesourcery.com>
8944
8945 * sysdeps/unix/sysv/linux/kernel-features.h
8946 (__ASSUME_POSIX_TIMERS): Remove.
8947 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8948 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8949 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8950 Make code unconditional.
8951 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8952 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8953 Make code unconditional.
8954 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8955 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8956 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8957 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8958 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8959 Make code unconditional.
8960 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8961 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8962 (__libc_missing_posix_timers): Remove.
8963
dd924cd7
RM
89642012-08-15 Roland McGrath <roland@hack.frob.com>
8965
4b4f2771
RM
8966 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8967 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8968
601c888b
RM
8969 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8970
176790a7
RM
8971 * elf/dl-sym.c: Include <stdlib.h>.
8972
329bc018
RM
8973 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8974 constants, which avoids warnings in 32-bit builds.
8975
e04e272d
RM
8976 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8977 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8978
952bf94a
RM
8979 * misc/lseek.c: File moved to ...
8980 * io/lseek.c: ... here.
8981
7c99b50a
RM
8982 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8983
dd924cd7
RM
8984 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8985 shifting LEN more than 31 bits at once.
8986
b3f479a8
LD
89872012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8988
8989 [BZ #14195]
8c4ae0d4
RM
8990 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8991 segmentation fault for a case of two empty input strings.
b3f479a8
LD
8992 * string/test-strncasecmp.c (check1): Renamed to...
8993 (bz12205): ...this.
8994 (bz14195): Add new testcase for two empty input strings and N > 0.
8995 (test_main): Call new testcase, adapt for renamed function.
8996
9c55864e
AJ
89972012-08-15 Andreas Jaeger <aj@suse.de>
8998
8999 [BZ #14090]
9000 * crypt/md5test2.c: New test, based on test supplied by Serge
9001 Belyshev <belyshev@depni.sinp.msu.ru>.
9002 * crypt/Makefile (xtests): Add md5test-giant..
9003 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9004
02dcb6c5
PE
90052012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9006
9007 [BZ #14090]
9008 * crypt/md5.c (md5_process_block): Don't assume the buffer
9009 length is less than 2**32.
9010 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9011 length is less than 2**64.
9012
a3f95dcc
RM
90132012-08-15 Roland McGrath <roland@hack.frob.com>
9014
be75d758
RM
9015 * string/str-two-way.h: Include <sys/param.h>.
9016 (MAX): Macro removed.
9017
7312ca90
RM
9018 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9019 Move #define and #undef of memmove to just before and after
9020 including <string.h>.
9021
9a0a5486
RM
9022 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9023 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9024 and after including <string.h>. Move declarations of
9025 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9026 to before #include "string/memmove.c".
9027
67cc348d
RM
9028 * include/dirent.h: Declare __getdirentries.
9029
a3f95dcc
RM
9030 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9031 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9032
ca98e171
MF
90332012-08-14 Mike Frysinger <vapier@gentoo.org>
9034
9035 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9036 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9037 * sysdeps/i386/configure: Regenerated.
9038 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9039 STABS_CURRENT_FILE, and STABS_FUN.
9040 (END): Remove call to STABS_FUN_END.
9041 (STABS_CURRENT_FILE1): Delete.
9042 (STABS_CURRENT_FILE): Likewise.
9043 (STABS_FUN): Likewise.
9044 (STABS_FUN_END): Likewise.
9045 (STABS_FUN2): Likewise.
9046 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9047 * sysdeps/x86_64/configure: Regenerated.
9048
5908bf46
RM
90492012-08-14 Roland McGrath <roland@hack.frob.com>
9050
9051 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9052 * elf/dl-lookup.c: Likewise.
5908bf46 9053
f2c05b9e
JM
90542012-08-14 Joseph Myers <joseph@codesourcery.com>
9055
9056 * sysdeps/unix/sysv/linux/kernel-features.h
9057 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9058 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9059 unconditionally.
9060 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9061 unconditionally.
9062 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9063 condition on __ASSUME_CLONE_THREAD_FLAGS.
9064
e11f5155
AJ
90652012-08-14 Andreas Jaeger <aj@suse.de>
9066
9067 * sysdeps/i386/fpu/libm-test-ulps: Update.
9068
51a9ba86
MK
90692012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9070
2fdd4f78
AJ
9071 * include/atomic.h (atomic_exchange_and_add): Split into ...
9072 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9073 New atomic macros.
51a9ba86 9074
ba6cba9e
MT
90752012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9076
9077 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9078
42443a47
JL
90792012-08-13 Jeff Law <law@redhat.com>
9080
9081 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9082 null byte in the output string.
9083
121dce05
JM
90842012-08-10 Joseph Myers <joseph@codesourcery.com>
9085
9086 * sysdeps/unix/sysv/linux/kernel-features.h
9087 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9088 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9089 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9090 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9091 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9092 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9093 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9094
bf51f568
JL
90952012-08-09 Jeff Law <law@redhat.com>
9096
9097 [BZ #13939]
9098 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9099 When avoid_arena is set, don't retry in the that arena. Pick the
9100 next one, whatever it might be.
9101 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9102 (arena_lock): Pass in new parameter to arena_get2.
9103 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9104 arena_get2.
9105 (__libc_malloc): Unify retrying after main arena failure with
9106 __libc_memalign version.
9107 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9108
f85fa270
L
91092012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9110
9111 [BZ #14166]
9112 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9113 to __redirect_strstr.
9114 (__strstr_sse42): Use typeof __redirect_strstr.
9115 (__strstr_ia32): Likewise.
9116 (__libc_strstr): New prototype.
9117 (strstr): Renamed to ...
9118 (__libc_strstr): This.
9119 (strstr): New strong alias of __libc_strstr.
9120 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9121 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9122 __redirect_time.
9123 Include <time.h>.
9124 (__libc_time): New prototype.
9125 (time_ifunc): Replace time with __libc_time.
9126 (time): New strong alias and hidden definition of __libc_time.
9127 (__GI_time): Remove strong alias.
9128 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9129 Include <stddef.h>.
9130 (memmove): Redefined to __redirect_memmove.
9131 (__memmove_sse2): Use typeof __redirect_memmove.
9132 (__memmove_ssse3): Likewise.
9133 (__memmove_ssse3_back): Likewise.
9134 (__libc_memmove): New prototype.
9135 (memmove): Renamed to ...
9136 (__libc_memmove): This.
9137 (memmove): New strong alias of __libc_memmove.
9138
33b4a91e
MS
91392012-08-08 Mark Salter <msalter@redhat.com>
9140
9141 * elf/elf.h
9142 (R_MN10300_TLS_GD): Define.
9143 (R_MN10300_TLS_LD): Likewise.
9144 (R_MN10300_TLS_LDO): Likewise.
9145 (R_MN10300_TLS_GOTIE): Likewise.
9146 (R_MN10300_TLS_IE): Likewise.
9147 (R_MN10300_TLS_LE): Likewise.
9148 (R_MN10300_TLS_DTPMOD): Likewise.
9149 (R_MN10300_TLS_DTPOFF): Likewise.
9150 (R_MN10300_TLS_TPOFF): Likewise.
9151 (R_MN10300_SYM_DIFF): Likewise.
9152 (R_MN10300_ALIGN): Likewise.
9153 (R_MN10300_NUM): Update.
9154
b36137f1
JM
91552012-08-08 Joseph Myers <joseph@codesourcery.com>
9156
9157 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9158 Remove.
9159
cdd915fd
RM
91602012-08-08 Roland McGrath <roland@hack.frob.com>
9161
a2433aac
RM
9162 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9163
cdd915fd
RM
9164 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9165 sysdeps/unix -> sysdeps/posix move.
9166 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9167
bf9b740a
AM
91682012-08-07 Allan McRae <allan@archlinux.org>
9169
9170 [BZ #14303]
9171 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9172 (SUNOS_CPP): Likewise.
9173 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9174 not found.
9175 (open_input): Call CPP using execvp.
9176
93df14ee
JM
91772012-08-07 Joseph Myers <joseph@codesourcery.com>
9178
9179 * sysdeps/unix/sysv/linux/kernel-features.h
9180 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9181 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9182 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9183 (__ASSUME_WAITID_SYSCALL): Likewise.
9184 * sysdeps/unix/sysv/linux/dl-execstack.c
9185 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9186 code unconditional.
9187 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9188 conditional code.
9189 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9190 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9191 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9192 code.
9193 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9194 unconditional.
9195 [__ASSUME_WAITID_SYSCALL]: Likewise.
9196 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9197
d34689de
RM
91982012-08-07 Roland McGrath <roland@hack.frob.com>
9199
a281decc
RM
9200 * sysdeps/unix/closedir.c: Renamed to ...
9201 * sysdeps/posix/closedir.c: ... here.
9202 * sysdeps/unix/dirfd.c: Renamed to ...
9203 * sysdeps/posix/dirfd.c: ... here.
9204 * sysdeps/unix/dirstream.h: Renamed to ...
9205 * sysdeps/posix/dirstream.h: ... here.
9206 * sysdeps/unix/fdopendir.c: Renamed to ...
9207 * sysdeps/posix/fdopendir.c: ... here.
9208 * sysdeps/unix/opendir.c: Renamed to ...
9209 * sysdeps/posix/opendir.c: ... here.
9210 * sysdeps/unix/readdir.c: Renamed to ...
9211 * sysdeps/posix/readdir.c: ... here.
9212 * sysdeps/unix/readdir_r.c: Renamed to ...
9213 * sysdeps/posix/readdir_r.c: ... here.
9214 * sysdeps/unix/rewinddir.c: Renamed to ...
9215 * sysdeps/posix/rewinddir.c: ... here.
9216 * sysdeps/unix/seekdir.c: Renamed to ...
9217 * sysdeps/posix/seekdir.c: ... here.
9218 * sysdeps/unix/telldir.c: Renamed to ...
9219 * sysdeps/posix/telldir.c: ... here.
9220 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9221 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9222 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9223 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9224
22895b47
RM
9225 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9226 * bits/fcntl.h: ... here.
9227
707a53b6
RM
9228 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9229 not 0.
9230 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9231 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9232 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9233 (struct flock): Move l_start, l_len to the beginning.
9234 Use __pid_t for l_pid.
9235 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9236 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9237 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9238 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9239 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9240 [__USE_LARGEFILE64] (struct flock64): New type.
9241 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9242
f0bd3e25
RM
9243 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9244 * bits/dirent.h: ... here.
9245
d34689de
RM
9246 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9247 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9248
6dad2c06
JM
92492012-08-07 Joseph Myers <joseph@codesourcery.com>
9250
9251 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9252 Change from 2.6.0 to 2.6.16.
9253 * sysdeps/unix/sysv/linux/configure: Regenerated.
9254 * sysdeps/unix/sysv/linux/kernel-features.h
9255 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9256 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9257 version.
9258 (__ASSUME_UTIMES): Likewise.
9259 (__ASSUME_CLONE_STOPPED): Remove.
9260 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9261 architectures, not kernel version.
9262 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9263 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9264 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9265 (__ASSUME_WAITID_SYSCALL): Likewise.
9266 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9267 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9268 * README: State 2.6.16 as minimum Linux kernel version. Do not
9269 refer to older versions.
9270
03af9520
RM
92712012-08-06 Roland McGrath <roland@hack.frob.com>
9272
8e49df1d
RM
9273 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9274 Define alphasort64 as an alias.
9275 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9276 Define versionsort64 as an alias.
9277 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9278 Define scandir64 as an alias.
9279 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9280 Define scandirat64 as an alias.
9281 * dirent/alphasort64.c (alphasort64):
9282 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9283 * dirent/versionsort64.c: Likewise.
9284 * dirent/scandir64.c: Likewise.
9285 * dirent/scandirat64.c: Likewise.
9286 * sysdeps/wordsize-64/alphasort.c: File removed.
9287 * sysdeps/wordsize-64/alphasort64.c: File removed.
9288 * sysdeps/wordsize-64/scandir.c: File removed.
9289 * sysdeps/wordsize-64/scandir64.c: File removed.
9290 * sysdeps/wordsize-64/scandirat.c: File removed.
9291 * sysdeps/wordsize-64/scandirat64.c: File removed.
9292 * sysdeps/wordsize-64/versionsort.c: File removed.
9293 * sysdeps/wordsize-64/versionsort64.c: File removed.
9294 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9295 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9296 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9297 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9298 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9299 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9300 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9301 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9302
9303 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9304 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9305 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9307 [defined __arch64__ || defined __sparcv9]
9308 (__INO_T_MATCHES_INO64_T): New macro.
9309 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9310 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9311 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9312 * sysdeps/unix/sysv/linux/bits/dirent.h
9313 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9314 (_DIRENT_MATCHES_DIRENT64): New macro.
9315
03af9520
RM
9316 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9317 Define lockf64 as an alias.
9318 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9319 Define fseeko64 as an alias.
9320 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9321 Define ftello64 as an alias.
9322 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9323 Define _IO_fgetpos64 and fgetpos64 as aliases.
9324 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9325 Define _IO_fsetpos64 and fsetpos64 as aliases.
9326 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9327 Conditionalize body on this.
9328 * libio/fseeko64.c: Likewise.
9329 * libio/ftello64.c: Likewise.
9330 * libio/iofgetpos64.c: Likewise.
9331 * libio/iofsetpos64.c: Likewise.
9332 * sysdeps/wordsize-64/lockf.c: File removed.
9333 * sysdeps/wordsize-64/lockf64.c: File removed.
9334 * sysdeps/wordsize-64/fseeko.c: File removed.
9335 * sysdeps/wordsize-64/fseeko64.c: File removed.
9336 * sysdeps/wordsize-64/ftello.c: File removed.
9337 * sysdeps/wordsize-64/ftello64.c: File removed.
9338 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9339 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9340 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9341 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9342 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9343 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9344 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9345 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9346 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9347 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9348 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9349 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9350 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9351 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9352
9353 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9354 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9355 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9356 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9357 [defined __arch64__ || defined __sparcv9]
9358 (__OFF_T_MATCHES_OFF64_T): New macro.
9359 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9360 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9361 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9362 (__OFF_T_MATCHES_OFF64_T): New macro.
9363
c5757acd
L
93642012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9365
9366 * stdlib/secure-getenv.c (__secure_getenv): Replace
9367 GLIBC_2_16 with GLIBC_2_17.
9368
3a31811e
L
93692012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9370
9371 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9372 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9373
faa2bccb
DM
93742012-08-03 David S. Miller <davem@davemloft.net>
9375
9376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9377
85fe1997
JM
93782012-08-03 Joseph Myers <joseph@codesourcery.com>
9379
9380 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9381 Remove.
9382 (__ASSUME_CORRECT_SI_PID): Likewise.
9383 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9384 (__ASSUME_TMPFS_NAME): Likewise.
9385 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9386 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9387 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9388 (HAVE_AUX_SECURE): Make definition unconditional.
9389 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9390 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9391
4f75b7a0
RM
93922012-08-03 Roland McGrath <roland@hack.frob.com>
9393
9394 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9395 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9396 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9397 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9398 __eloop_threshold instead of SYMLOOP_MAX.
9399
9400 * sysdeps/generic/eloop-threshold.h: New file.
9401 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9402 of MAXSYMLINKS.
9403 * elf/chroot_canon.c (chroot_canon): Likewise.
9404
7aab07e4
JM
94052012-08-03 Joseph Myers <joseph@codesourcery.com>
9406
9407 [BZ #13717]
9408 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9409 Change to 2.6.0 everywhere.
9410 * sysdeps/unix/sysv/linux/configure: Regenerated.
9411 * sysdeps/unix/sysv/linux/kernel-features.h
9412 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9413 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9414 kernel versions.
9415 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9416 (__ASSUME_FUTEX_REQUEUE): Remove.
9417 (__ASSUME_STATFS64): Define unconditionally.
9418 (__ASSUME_AT_SECURE): Likewise.
9419 (__ASSUME_CORRECT_SI_PID): Likewise.
9420 (__ASSUME_TGKILL): Define without depending on kernel version for
9421 i386.
9422 (__ASSUME_UTIMES): Likewise.
9423 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9424 kernel version.
9425 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9426 (__ASSUME_TMPFS_NAME): Likewise.
9427 * README: Update reference to Linux kernel versions.
9428
b67e9372
MP
94292012-08-02 Marek Polacek <polacek@redhat.com>
9430
1f529f7d 9431 [BZ# 14150]
b67e9372
MP
9432 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9433 libc_cv_asm_type_prefix with %.
9434 * configure: Regenerated.
d2441631
RM
9435 * include/libc-symbols.h: Remove comment about
9436 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9437 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9438 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9439 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9440 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9441 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9442 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9443 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9444 * elf/tst-unique2mod1.c: Likewise.
9445 * elf/tst-unique1mod2.c: Likewise.
9446 * elf/tst-unique1mod1.c: Likewise.
9447 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9448 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9449 Replace ASM_TYPE_DIRECTIVE with .type.
9450 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9451 * sysdeps/i386/sysdep.h: Likewise.
9452 * sysdeps/x86_64/sysdep.h: Likewise.
9453 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9455 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9456 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9457 * sysdeps/powerpc/powerpc32/sysdep.h:
9458 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9459 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9460 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9461 * sysdeps/i386/fpu/e_powf.S: Likewise.
9462 * sysdeps/i386/fpu/e_expl.S: Likewise.
9463 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9464 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9465 * sysdeps/i386/fpu/e_pow.S: Likewise.
9466 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9467 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9468 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9469 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9470 * sysdeps/i386/fpu/e_log2.S: Likewise.
9471 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9472 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9473 * sysdeps/i386/fpu/e_powl.S: Likewise.
9474 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9475 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9476 * sysdeps/i386/fpu/e_logl.S: Likewise.
9477 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9478 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9479 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9480 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9481 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9482 * sysdeps/i386/fpu/e_log.S: Likewise.
9483 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9484 * sysdeps/i386/fpu/e_logf.S: Likewise.
9485 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9486 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9487 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9488 * sysdeps/i386/fpu/e_log10.S: Likewise.
9489 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9490 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9491 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9492 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9493 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9494 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9495 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9496 * sysdeps/i386/i686/strtok.S: Likewise.
9497 * sysdeps/i386/i386-mcount.S: Likewise.
9498 * sysdeps/i386/strtok.S: Likewise.
9499 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9500 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9501 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9502 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9503 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9504 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9505 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9506 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9507 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9508 * sysdeps/x86_64/_mcount.S: Likewise.
9509 * sysdeps/x86_64/strtok.S: Likewise.
9510 * sysdeps/sh/_mcount.S: Likewise.
9511
2747bf9a
RM
95122012-08-01 Roland McGrath <roland@hack.frob.com>
9513
9514 * libio/iofopen.c: Include <fcntl.h>.
9515 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9516 (_IO_fopen64, fopen64): Define as aliases.
9517 * libio/iofopen64.c: Include <fcntl.h>.
9518 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9519 Conditionalize body on this.
9520 * sysdeps/wordsize-64/iofopen.c: File removed.
9521 * sysdeps/wordsize-64/iofopen64.c: File removed.
9522
3fb791b8
MP
95232012-08-01 Marek Polacek <polacek@redhat.com>
9524
9525 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9526 Use dlfcn directly instead of a variable.
9527 (binfmt-subdir): Do not define.
9528 (dlfcn): Likewise.
9529
a9f1039f
JM
95302012-08-01 Joseph Myers <joseph@codesourcery.com>
9531
23bddc06
JM
9532 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9533 Remove all definitions.
9534 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9535 <kernel-features.h>.
9536 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9537 (miss_F_GETOWN_EX): Remove all definitions.
9538 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9539 macro definition.
9540 [!__ASSUME_FCNTL64]: Remove conditional code.
9541 [__ASSUME_FCNTL64]: Make code unconditional.
9542 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9543 <kernel-features.h>.
9544 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9545 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9546 (lockf64) [__NR_fcntl64]: Make code unconditional.
9547 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9548
a9f1039f
JM
9549 * sysdeps/unix/sysv/linux/kernel-features.h
9550 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9551 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9552 Make code unconditional.
9553 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9554 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9556 [__NR_vfork]: Make code unconditional.
9557 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9558 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9560 [__NR_vfork]: Make code unconditional.
9561 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9562 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9563
09c0ee5f
RM
95642012-08-01 Roland McGrath <roland@hack.frob.com>
9565
48aec5b9
RM
9566 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9567 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9568
cd97c966
RM
9569 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9570 Define mkstemp64 as an alias.
3f55550c
RM
9571 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9572 Define mkstemps64 as an alias.
cd97c966
RM
9573 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9574 Define mkostemp64 as an alias.
b8625cfc
RM
9575 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9576 Define mkostemps64 as an alias.
cd97c966
RM
9577 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9578 Conditionalize body on this.
9579 * misc/mkostemp64.c: Likewise.
b8625cfc 9580 * misc/mkostemps64.c: Likewise.
3f55550c 9581 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9582 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9583 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9584 * sysdeps/wordsize-64/mkostemp.c: File removed.
9585 * sysdeps/wordsize-64/mkstemp.c: File removed.
9586 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9587 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9588 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9589 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9590
09c0ee5f
RM
9591 [BZ #14138]
9592 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9593 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9594 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9595 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9596
9597 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9598 compat_symbol macros from <shlib-compat.h> rather than the underlying
9599 default_symbol_version and symbol_version macros, so that DEFAULT
9600 lines in shlib-versions are respected.
9601 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9602
7e66ee51
FW
96032012-08-01 Florian Weimer <fweimer@redhat.com>
9604
9605 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9606 Declare with warn_unused_result.
9607 (setgid, setregid, setegid, setresgid): Likewise.
9608 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9609 Likewise.
9610 * WUR-REPORT: Remove set*id functions.
9611
d2a54255
PT
96122012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9613
9614 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9615
7ecdb005
RM
96162012-07-31 Roland McGrath <roland@hack.frob.com>
9617
789bd351
RM
9618 * include/sys/socket.h (__libc_accept, __libc_accept4):
9619 Add attribute_hidden.
9620 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9621
40ce302d
RM
9622 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9623 use of PTR_MANGLE.
9624 * inet/getnetgrent_r.c (setup): Likewise.
9625
7ecdb005
RM
9626 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9627
e2eabb2c
DM
96282012-07-31 David S. Miller <davem@davemloft.net>
9629
9630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9631
d0419dbf
JM
96322012-07-31 Joseph Myers <joseph@codesourcery.com>
9633
9634 [BZ #13629]
9635 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9636 value between 1.0 and 2.0 and smaller part has absolute value less
9637 than 1.0.
9638 * math/s_clog10.c (__clog10): Likewise.
9639 * math/s_clog10f.c (__clog10f): Likewise.
9640 * math/s_clog10l.c (__clog10l): Likewise.
9641 * math/s_clogf.c (__clogf): Likewise.
9642 * math/s_clogl.c (__clogl): Likewise.
9643 * math/libm-test.inc (clog_test): Add more tests.
9644 (clog10_test): Likewise.
9645 * sysdeps/i386/fpu/libm-test-ulps: Update.
9646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9647
2bc13872
FW
96482012-07-31 Florian Weimer <fweimer@redhat.com>
9649
9650 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9651 Exit with zero in case no suitable GID is found, and write a
9652 message to standard error.
9653
bea9b193
RM
96542012-07-30 Roland McGrath <roland@hack.frob.com>
9655
9656 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9657 rather than to 1.
9658 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9659 (MAXPATHLEN): Removed.
9660 (NOGROUP, NODEV): New macros.
9661 (setbit, clrbit, isset, isclr): New macros.
9662 (howmany, roundup, powerof2): New macros.
9663 (DEV_BSIZE): New macro.
9664
9665 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9666 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9667
9668 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9669 definition on [!__NO_LONG_DOUBLE_MATH].
9670
9671 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9672 PTR_MANGLE and PTR_DEMANGLE.
9673
9674 * socket/accept4.c (accept4): Rename to __libc_accept4.
9675 Define accept4 as a weak alias.
9676
9677 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9678 on [_DIRENT_HAVE_D_TYPE].
9679 * io/ftw.c (ftw_dir): Likewise.
9680
9681 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9682
9683 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9684
9685 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9686 Use the BSD numbers rather than the arbitrary ones we had.
9687 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9688 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9689 (SIGXCPU, SIGXFSZ): New macros.
9690 (_NSIG): Now 32.
9691
9692 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9693 initializer on [_LIBC_REENTRANT].
9694
9695 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9696 definitions inside [_POSIX_MAPPED_FILES].
9697
9698 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9699
9700 * dirent/opendir.c: Include <fcntl.h>.
9701
9702 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9703 (__libc_getspecific): Likewise.
9704 (__libc_key_create): Likewise.
9705
9706 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9707 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9708 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9709 (tmpfile64): Define as alias.
9710 * sysdeps/wordsize-64/tmpfile.c: File removed.
9711 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9712 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9713 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9714
9715 * stdio-common/vfscanf.c: Include <stdbool.h>.
9716 * nss/makedb.c: Likewise.
9717 * stdio-common/_i18n_number.h: Likewise.
9718 * argp/argp-help.c: Likewise.
9719 * posix/wordexp.c: Likewise.
9720 * sysdeps/posix/spawni.c: Likewise.
9721 * nss/nss_files/files-initgroups.c: Likewise.
9722 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9723 * nss/nss_files/files-initgroups.c: Likewise.
9724 * nss/nss_db/db-netgrp.c: Likewise.
9725 * nss/nss_db/db-initgroups.c: Likewise.
9726 * io/fchmodat.c: Include <sys/stat.h>.
9727
9728 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9729 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9730
9731 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9732 [HAVE_MMAP].
9733
9734 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9735 Add multiple inclusion protection.
9736
e5abc686
DM
97372012-07-27 David S. Miller <davem@davemloft.net>
9738
9739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9740
815e6fa3
GB
97412012-07-27 Gary Benson <gbenson@redhat.com>
9742
9743 [BZ #14298]
9744 * elf/rtld.c: Include <stap-probe.h>.
9745 (dl_main): Added static probes "init_start" and "init_complete".
9746 * elf/dl-load.c: Include <stap-probe.h>.
9747 (lose): Take new parameter "nsid".
9748 Added static probe "map_failed".
9749 (_dl_map_object_from_fd): Pass namespace id to lose.
9750 Added static probe "map_start".
9751 (open_verify): Pass namespace id to lose.
9752 * elf/dl-open.c: Include <stap-probe.h>.
9753 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9754 and "reloc_complete".
9755 * elf/dl-close.c: Include <stap-probe.h>.
9756 (_dl_close_worker): Added static probes "unmap_start" and
9757 "unmap_complete".
9758 * elf/rtld-debugger-interface.txt: New file documenting the above.
9759
9f98c16c
RM
97602012-07-26 Roland McGrath <roland@hack.frob.com>
9761
9762 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9763 rather than a string variable.
9764 * sunrpc/rpc_main.c (h_output): Likewise.
9765 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9766
f3c22df3
PT
97672012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9768
9769 * inet/check_native.c: New file.
9770
3129cfc6
JM
97712012-07-26 Joseph Myers <joseph@codesourcery.com>
9772
da865e95
JM
9773 [BZ #13629]
9774 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9775 if larger part has absolute value 1.0.
9776 * math/s_clog10.c (__clog10): Likewise.
9777 * math/s_clog10f.c (__clog10f): Likewise.
9778 * math/s_clog10l.c (__clog10l): Likewise.
9779 * math/s_clogf.c (__clogf): Likewise.
9780 * math/s_clogl.c (__clogl): Likewise.
9781 * math/libm-test.inc (clog_test): Add more tests.
9782 (clog10_test): Likewise.
9783 * sysdeps/i386/fpu/libm-test-ulps: Update.
9784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9785
3129cfc6
JM
9786 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9787 (pltexit): Likewise.
9788 (La_regs): Likewise.
9789 (La_retval): Likewise.
9790 (int_retval): Likewise.
9791 Update #error for removed macros to refer only to definitions in
9792 tst-audit.h.
9793 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9794 macro.
9795 (pltexit): Likewise.
9796 (La_regs): Likewise.
9797 (La_retval): Likewise.
9798 (int_retval): Likewise.
9799 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9800 macro.
9801 (pltexit): Likewise.
9802 (La_regs): Likewise.
9803 (La_retval): Likewise.
9804 (int_retval): Likewise.
9805 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9806 macro.
9807 (pltexit): Likewise.
9808 (La_regs): Likewise.
9809 (La_retval): Likewise.
9810 (int_retval): Likewise.
9811 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9812 macro.
9813 (pltexit): Likewise.
9814 (La_regs): Likewise.
9815 (La_retval): Likewise.
9816 (int_retval): Likewise.
9817 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9818 macro.
9819 (pltexit): Likewise.
9820 (La_regs): Likewise.
9821 (La_retval): Likewise.
9822 (int_retval): Likewise.
9823 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9824 macro.
9825 (pltexit): Likewise.
9826 (La_regs): Likewise.
9827 (La_retval): Likewise.
9828 (int_retval): Likewise.
9829 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9830 macro definitions in tst-audit.h.
9831 * sysdeps/i386/tst-audit.h: New file.
9832 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9833 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9834 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9835 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9836 * sysdeps/sh/tst-audit.h: Likewise.
9837 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9838 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9839 * sysdeps/x86_64/tst-audit.h: Likewise.
9840
bfc07087
AJ
98412012-07-26 Andreas Jaeger <aj@suse.de>
9842
b1b2aaf8
AJ
9843 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9844 ptrace.
9845
9846 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9847 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9848 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9849 PTRACE_O_MASK.
9850 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9851 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9852 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9853
bfc07087
AJ
9854 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9855 value.
9856
9857 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9858 _sigsys.
9859 (si_call_addr, si_syscall, si_arch): Define new macro.
9860 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9861 _sigsys.
9862 (si_call_addr, si_syscall, si_arch): Define new marcro.
9863 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9864 _sigsys.
9865 (si_call_addr, si_syscall, si_arch): Define new macro.
9866 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9867 _sigsys.
9868 (si_call_addr, si_syscall, si_arch): Define new macro.
9869
89b4b02f
JM
98702012-07-25 Joseph Myers <joseph@codesourcery.com>
9871
9872 [BZ #13717]
9873 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9874 Change to 2.4.21 where previously 2.4.1.
9875 * sysdeps/unix/sysv/linux/configure: Regenerated.
9876 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9877 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9878 Linux kernel version.
9879 (__ASSUME_STD_AUXV): Remove.
9880 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9881 kernel version.
9882 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9883 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9884 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9885 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9886 (__ASSUME_NETLINK_SUPPORT): Likewise.
9887 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9888 (__no_netlink_support): Remove conditional definition.
9889 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9890 Remove.
9891 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9892 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9893 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9894 (if_nameindex_ioctl): Remove.
9895 (if_nameindex_netlink): Do not handle __no_netlink_support.
9896 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9897 code.
9898 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9899 Remove conditional code.
9900 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9901 code.
9902 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9903 unconditional.
9904 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9905 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9906 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9907 Remove.
9908 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9909 [!__ASSUME_STD_AUXV]: Remove conditional code.
9910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9911 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9912 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9914 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9915 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9916 code.
9917 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9919 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9920 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9921 conditional code.
9922 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9924 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9925 code.
9926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9927 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9928 conditional code.
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9930 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9931 code unconditional.
9932 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9933 conditional code.
9934 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9935 unconditional.
9936 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9937 conditional code.
9938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9939 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9940 unconditional.
9941 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9942 conditional code.
9943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9944 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9945 code unconditional.
9946 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9947 conditional code.
9948 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9949 unconditional.
9950 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9951 conditional code.
9952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9953 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9954 code unconditional.
9955 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9956 conditional code.
9957 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9958 unconditional.
9959 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9960 conditional code.
9961
842a39cd
AS
99622012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9963
9964 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9965 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9966 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9967 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9968 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9969 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9970 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9971 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9972 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9973 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9974 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9975 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9976 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9977 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9978 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9979 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9980 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9981 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9982 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9983 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9984 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9985 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9986 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9987
84b3fd84
FW
99882012-07-25 Florian Weimer <fweimer@redhat.com>
9989
9990 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
9991 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9992 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9993 Introduce __libc_secure_getenv.
0c7936d5
FW
9994 * stdlib/Versions (2.17): Add secure_getenv
9995 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9996 * stdlib/secure-getenv.c: Rename __secure_getenv to
9997 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9998 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
9999 * stdlib/tst-secure-getenv.c: New.
10000 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10001 * manual/startup.texi (Environment Access): Document
10002 secure_getenv.
84b3fd84
FW
10003 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10004 __libc_secure_getenv.
10005 * inet/ruserpass.c (ruserpass): Likewise.
10006 * malloc/mtrace.c (mtrace): Likewise.
10007 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10008 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10009 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10010 * sysdeps/posix/tempname.c: Likewise. Evaluate
10011 HAVE_SECURE_GETENV.
10012 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10013 __secure_getenv to __libc_secure_getenv.
84b3fd84 10014 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10016 Likewise.
10017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10018 Likewise.
10019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10021 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10026
56e49b71
JM
100272012-07-25 Joseph Myers <joseph@codesourcery.com>
10028
10029 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10030 (struct La_i86_retval): Likewise.
10031 (struct La_x86_64_regs): Likewise.
10032 (struct La_x86_64_retval): Likewise.
10033 (struct La_x32_regs): Likewise.
10034 (struct La_x32_retval): Likewise.
10035 (struct La_ppc32_regs): Likewise.
10036 (struct La_ppc32_retval): Likewise.
10037 (struct La_ppc64_regs): Likewise.
10038 (struct La_ppc64_retval): Likewise.
10039 (struct La_sh_regs): Likewise.
10040 (struct La_sh_retval): Likewise.
10041 (struct La_s390_32_regs): Likewise.
10042 (struct La_s390_32_retval): Likewise.
10043 (struct La_s390_64_regs): Likewise.
10044 (struct La_s390_64_retval): Likewise.
10045 (struct La_sparc32_regs): Likewise.
10046 (struct La_sparc32_retval): Likewise.
10047 (struct La_sparc64_regs): Likewise.
10048 (struct La_sparc64_retval): Likewise.
10049 (struct audit_ifaces): Remove architecture-specific pltenter and
10050 pltexit members.
10051 * sysdeps/i386/ldsodefs.h: New file.
10052 * sysdeps/powerpc/ldsodefs.h: Likewise.
10053 * sysdeps/s390/ldsodefs.h: Likewise.
10054 * sysdeps/sh/ldsodefs.h: Likewise.
10055 * sysdeps/sparc/ldsodefs.h: Likewise.
10056 * sysdeps/x86_64/ldsodefs.h: Likewise.
10057
354691b7
MP
100582012-07-25 Marek Polacek <polacek@redhat.com>
10059
10060 [BZ #6808]
10061 * math/libm-test.inc (yn_test): Add another test.
10062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10063 to ERANGE when the result is +-Inf.
10064 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10065 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10066 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10067 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10068
bf9e2071
JM
100692012-07-24 Joseph Myers <joseph@codesourcery.com>
10070
10071 * conform/data/time.h-data (NULL): Use macro-constant. Require
10072 equal to 0.
10073 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10074 clock_t.
10075 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10076
57633811
TS
100772012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10078
10079 * configure.in <sysdeps resolving>: Correct printing
10080 Implies_before.
10081 * configure: Regenerate.
10082
c23c33b0
TS
100832012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10084
10085 * math/w_ilogb.c: Include <limits.h>.
10086 * math/w_ilogbl.c: Likewise.
10087
b5982523
JM
100882012-07-20 Joseph Myers <joseph@codesourcery.com>
10089
10090 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10091 va_copy. Document allowing for unavailable va_copy only as
10092 pre-C99 compatibility.
10093 * manual/string.texi (Copying and Concatenation): Use va_copy
10094 instead of __va_copy in concat example.
10095
ac4ea442
PT
100962012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10097
10098 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10099 (__sendto): Use create_address_port. Initialize APORT and deallocate
10100 it if not null.
10101
f98eafbd
PT
10102 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10103 with O_NOLINK passed to __file_name_lookup.
10104
898c7aab
PT
10105 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10106 with O_NOLINK passed to __file_name_lookup.
10107
0ced335a
PT
10108 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10109 negative N or less than NGIDS.
10110
b3404dbd
PT
10111 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10112 type to string_t. Set ERANGE as errno and return it if NAME is not big
10113 enough. Use memcpy instead of strncpy.
10114
0f48659e
JM
101152012-07-20 Joseph Myers <joseph@codesourcery.com>
10116
10117 * elf/Makefile (check-data): Remove.
10118 (localplt.data): New vpath directive.
10119 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10120 instead of $(check-data).
10121 * scripts/data/localplt-generic.data: Move to ...
10122 * sysdeps/generic/localplt.data: ... here.
10123 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10124 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10125 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10127 ... here.
10128 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10130 ... here.
10131 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10133 ... here.
10134 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10136 ... here.
10137 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10139 ... here.
10140 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10142 ... here.
10143
d37cbdaa
AZ
101442012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10145
10146 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10147 PPC32 and PPC64 files.
10148 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10149 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10150
46f85fc2
AK
101512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10152
10153 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10154 __makecontext_ret to ...
10155 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10156 ... here and call exit if uc_link is NULL. New file.
10157 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10158 __makecontext_ret.S.
10159 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10160 __makecontext_ret to ...
10161 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10162 ... here and call exit if uc_link is NULL. New file.
10163 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10164 __makecontext_ret.S.
10165
08f43f9b
AK
101662012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10167
10168 * elf/elf.h (R_390_IRELATIVE): New definition.
10169 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10170 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10171 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10172 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10173 (elf_machine_lazy_rel): Likewise.
10174 * sysdeps/s390/dl-irel.h: New file.
10175 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10176 * sysdeps/s390/s390-64/memset.S: New asm code.
10177 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10178 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10179 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10180 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10181 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10182 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10183 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10184 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10185 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10186 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10187 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10188 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10189 * sysdeps/s390/s390-32/memset.S: New asm code.
10190 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10191
3b05db33
MP
101922012-07-17 Marek Polacek <polacek@redhat.com>
10193
10194 [BZ #14349]
10195 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10196 * sysdeps/s390/s390-64/configure.in: Likewise.
10197 * sysdeps/sparc/configure.in: Likewise.
10198 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10199 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10200 * sysdeps/i386/configure.in: Likewise.
10201 * sysdeps/x86_64/configure.in: Likewise.
10202 * sysdeps/sh/configure.in: Likewise.
10203 * sysdeps/s390/s390-32/configure: Regenerated.
10204 * sysdeps/s390/s390-64/configure: Likewise.
10205 * sysdeps/x86_64/configure: Likewise.
10206 * sysdeps/sh/configure: Likewise.
10207 * sysdeps/powerpc/powerpc64/configure: Likewise.
10208 * sysdeps/powerpc/powerpc32/configure: Likewise.
10209 * sysdeps/sparc/configure: Likwise.
10210 * sysdeps/i386/configure: Likewise.
10211
a66877c6
MP
10212 * elf/dl-open.c: Comment fixes.
10213
cfc82fd8
JM
102142012-07-17 Joseph Myers <joseph@codesourcery.com>
10215
bd29910a
JM
10216 * Makefile [CXX] (check-data): Remove.
10217 [CXX] (c++-types.data): New vpath directive.
10218 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10219 vpath. Do not allow for C++ type data being missing.
10220 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10221 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10222 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10223 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10224 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10225 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10226 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10228 ... here.
10229 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10231 ... here.
10232 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10234 ... here.
10235 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10237 ... here.
10238 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10240 ... here.
10241 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10243 ... here.
10244 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10246 ... here.
10247 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10249
cfc82fd8
JM
10250 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10251 definitions to architecture-specific files.
10252 (TLS_IE): Likewise.
10253 (TLS_LD): Likewise.
10254 (TLS_GD): Likewise.
10255 * sysdeps/i386/tls-macros.h: New file.
10256 * sysdeps/powerpc/tls-macros.h: Likewise.
10257 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10258 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10259 * sysdeps/sh/tls-macros.h: Likewise.
10260 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10261 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10262 * sysdeps/x86_64/tls-macros.h: Likewise.
10263
f7db3170
TS
102642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10265
07cbfc23
TS
10266 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10267 zero value for regular exit case.
10268
f7db3170
TS
10269 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10270 (__start_context): Preserve zero value for regular exit case.
10271
dc97c227
TS
102722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10273 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10274
10275 * manual/setjmp.texi (setcontext): Clarify normal process
10276 termination when uc_link is the null pointer.
10277 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10278 exit call.
10279
d0cd7d02
AS
102802012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10281
10282 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10283 preprocessor. Test for each exception mask separately.
10284
dd318934
AJ
102852012-07-16 Andreas Jaeger <aj@suse.de>
10286
10287 * po/ru.po: Update from translation team.
10288
8048311a
JM
102892012-07-15 Joseph Myers <joseph@codesourcery.com>
10290
10291 * conform/data/string.h-data (NULL): Use macro-constant. Require
10292 equal to 0.
10293 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10294 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10295 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10296 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10297 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10298
b637d46e
AJ
102992012-07-13 Andreas Jaeger <aj@suse.de>
10300
10301 * po/fr.po: Update from translation team.
10302
541428fe
MP
103032012-07-12 Marek Polacek <polacek@redhat.com>
10304
10305 [BZ #14173]
10306 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10307 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10308 loop condition.
10309
ec332e94
JM
103102012-07-12 Joseph Myers <joseph@codesourcery.com>
10311
10312 [BZ #13717]
10313 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10314 Change to 2.4.1 where previously 2.4.0.
10315 * sysdeps/unix/sysv/linux/configure: Regenerated.
10316 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10317 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10318 version.
10319 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10320 (__ASSUME_AT_CLKTCK): Remove.
10321 (__ASSUME_AT_PAGESIZE): Likewise.
10322 (__ASSUME_AT_XID): Likewise.
10323 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10324 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10325 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10326 unconditionally.
10327 (HAVE_AUX_PAGESIZE): Likewise.
10328 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10329 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10330 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10331
7b6e99be
JB
103322012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10333
10334 [BZ #14307]
10335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10336 the temporary buffer used to invoke __gethostbyname2_r,
10337 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10338 host_data / struct gaih_addrtuple.
10339 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10340 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10341 header file nss/nsswitch.h.
10342 * nss/nsswitch.h (global scope): Add definition of implementation
10343 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10344 resolv/nss_dns/dns-host.c).
10345
608404eb
AJ
103462012-07-11 Andreas Jaeger <aj@suse.de>
10347
10348 * po/fr.po: Update from translation team.
10349
71220aca
AJ
10350 * po/sv.po: Update from translation team
10351 * po/fr.po: Another update from translation team.
10352
28cfe843
AZ
103532012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10354
10355 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10356 for subnormals or multiply small sinh result by itself.
10357 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10359
6b90f981
DM
103602012-07-11 David S. Miller <davem@davemloft.net>
10361
10362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10363
c6825772
AS
103642012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10365
10366 [BZ #14347]
10367 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10368 (INTERNAL_MARK): Shift it here.
10369
7b8e0d49
MP
103702012-07-10 Marek Polacek <polacek@redhat.com>
10371
10372 [BZ #14151]
10373 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10374 libc_cv_asm_global_directive with .globl.
10375 * configure: Regenerated.
10376 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10377 with .globl.
10378 * sysdeps/i386/configure: Regenerated.
10379 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10380 with .globl.
10381 * sysdeps/x86_64/configure: Regenerated.
10382 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10383 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10384 * elf/tst-unique2mod2.c: Likewise.
10385 * elf/tst-unique2mod1.c: Likewise.
10386 * elf/tst-unique1mod2.c: Likewise.
10387 * elf/tst-unique1mod1.c: Likewise.
10388 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10389 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10390 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10391 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10392 * sysdeps/mach/sysdep.h: Likewise.
10393 * sysdeps/i386/sysdep.h: Likewise.
10394 * sysdeps/i386/i386-mcount.S: Likewise.
10395 * sysdeps/x86_64/_mcount.S: Likewise.
10396 * sysdeps/x86_64/sysdep.h: Likewise.
10397 * sysdeps/sh/_mcount.S: Likewise.
10398 * sysdeps/sh/sysdep.h: Likewise.
10399 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10400 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10401 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10402 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10403 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10404 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10405 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10406 * locale/localeinfo.h: Likewise.
10407 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10408 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10409
6c55cda3
RM
104102012-07-09 Roland McGrath <roland@hack.frob.com>
10411
10412 [BZ #14336]
10413 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10414 system".
10415 * manual/message.texi (The Uniforum approach): Likewise.
10416 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10417 (glibc iconv Implementation): Likewise.
10418
638a572e
JM
104192012-07-09 Joseph Myers <joseph@codesourcery.com>
10420
10421 [BZ #14337]
10422 * math/s_clog.c (__clog): Avoid scaling a value down where that
10423 could result in underflow.
10424 * math/s_clog10.c (__clog10): Likewise.
10425 * math/s_clog10f.c (__clog10f): Likewise.
10426 * math/s_clog10l.c (__clog10l): Likewise.
10427 * math/s_clogf.c (__clogf): Likewise.
10428 * math/s_clogl.c (__clogl): Likewise.
10429 * math/libm-test.inc (clog_test): Add more tests.
10430 (clog10_test): Likewise.
10431 * sysdeps/i386/fpu/libm-test-ulps: Update.
10432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10433
261f4859
AS
104342012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10435
0abaf3e4
AS
10436 [BZ #14283]
10437 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10438 by 7 not 8 to examine high bit of fractional part.
10439
261f4859
AS
10440 [BZ #14042]
10441 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10442 for call to __mcount_internal.
10443 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10444 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10445 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10446
f17ac40d
JM
104472012-07-06 Joseph Myers <joseph@codesourcery.com>
10448
9ad63c23
JM
10449 [BZ #14154]
10450 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10451 approximation for values within 0x1p-13f of an odd multiple of
10452 pi/4.
10453 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10454 exception. Add more tests.
10455 * sysdeps/i386/fpu/libm-test-ulps: Update.
10456
f17ac40d
JM
10457 [BZ #6778]
10458 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10459 inputs and return -1 for them. Do not check for +Inf in case not
10460 reachable for +Inf.
10461 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10462 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10463 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10464 and return -1 for them. Do not check for +Inf in case not
10465 reachable for +Inf.
10466 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10467 define.
10468 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10469 and return -1 for them. Do not check for +Inf in case not
10470 reachable for +Inf.
10471 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10472 spurious underflow.
10473 * sysdeps/i386/fpu/libm-test-ulps: Update.
10474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10475
fb21f89b
MF
104762012-07-06 Mike Frysinger <vapier@gentoo.org>
10477
10478 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10479
cdfe2c5e
JM
104802012-07-05 Joseph Myers <joseph@codesourcery.com>
10481
10482 [BZ #14157]
10483 [BZ #14331]
10484 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10485 could result in spurious underflow. Scale down values above
10486 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10487 * math/s_csqrtf.c (__csqrtf): Likewise.
10488 * math/s_csqrtl.c (__csqrtl): Likewise.
10489 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10490 spurious underflow.
10491 * sysdeps/i386/fpu/libm-test-ulps: Update.
10492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10493
70d35b67
AS
104942012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10495
704bc459
AS
10496 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10497 xopen-msg.sed.
10498 * catgets/xopen-msg.awk: New file.
10499 * catgets/xopen-msg.sed: Removed.
10500
70d35b67
AS
10501 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10502 po2text.sed.
10503 * intl/po2test.awk: New file.
10504 * intl/po2test.sed: Removed.
10505
ca61cf32
JM
105062012-07-04 Joseph Myers <joseph@codesourcery.com>
10507
10508 [BZ #14328]
10509 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10510 or multiply small sinh result by itself.
10511 * math/s_ctanf.c (__ctanf): Likewise.
10512 * math/s_ctanh.c (__ctanh): Likewise.
10513 * math/s_ctanhf.c (__ctanhf): Likewise.
10514 * math/s_ctanhl.c (__ctanhl): Likewise.
10515 * math/s_ctanl.c (__ctanl): Likewise.
10516 * math/libm-test.inc (ctan_test_tonearest): New function.
10517 (ctan_test_towardzero): Likewise.
10518 (ctan_test_downward): Likewise.
10519 (ctan_test_upward): Likewise.
10520 (ctanh_test_tonearest): Likewise.
10521 (ctanh_test_towardzero): Likewise.
10522 (ctanh_test_downward): Likewise.
10523 (ctanh_test_upward): Likewise.
10524 (main): Call these new functions.
10525 * sysdeps/i386/fpu/libm-test-ulps: Update.
10526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10527
ca48a46a
MF
105282012-07-03 Mike Frysinger <vapier@gentoo.org>
10529
10530 * .gitignore: Delete /ports entry.
10531
9d63d37d
AJ
105322012-07-03 Andreas Jaeger <aj@suse.de>
10533
10534 * po/bg.po: Update from translation team.
10535 * po/cs.po: Likewise.
10536 * po/de.po: Likewise.
10537 * po/hr.po: Likewise.
10538 * po/nl.pl: Likewise.
10539 * po/pl.po: Likewise.
10540 * po/vi.po: Likewise.
10541
370ca3d2
JM
105422012-07-03 Joseph Myers <joseph@codesourcery.com>
10543
95f5a9a8
JM
10544 * Makeconfig [!+link] (+link-before-libc): New variable.
10545 [!+link] (+link-after-libc): Likewise.
10546 [!+link] (+link-tests): Likewise.
10547 [!+link] (+link): Define in terms of $(+link-before-libc) and
10548 $(+link-after-libc).
10549 [!+link-static] (+link-static-before-libc): New variable.
10550 [!+link-static] (+link-static-after-libc): Likewise.
10551 [!+link-static] (+link-static-tests): Likewise.
10552 [!+link-static] (+link-static): Define in terms of
10553 $(+link-static-before-libc) and $(+link-static-after-libc).
10554 [build-shared] (link-libc-before-gnulib): New variable.
10555 [build-shared] (link-libc-tests): Likewise.
10556 [build-shared] (link-libc): Define in terms of
10557 $(link-libc-before-gnulib).
10558 [!build-shared] (link-libc-tests): New variable.
10559 (link-libc-static-tests): New variable.
10560 [!gnulib] (gnulib-arch): New variable.
10561 [!gnulib] (gnulib-tests): Likewise.
10562 [!gnulib] (static-gnulib-arch): Likewise.
10563 [!gnulib] (static-gnulib-tests): Likewise.
10564 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10565 Define with "=" instead of ":=".
10566 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10567 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10568 * Rules (binaries-all-notests): New variable.
10569 (binaries-all-tests): Likewise.
10570 (binaries-static-notests): Likewise.
10571 (binaries-static-tests): Likewise.
10572 (binaries-all): Define using $(binaries-all-notests) and
10573 $(binaries-all-tests).
10574 (binaries-static): Define using $(binaries-static-notests) and
10575 $(binaries-static-tests).
10576 (binaries-shared-tests): New variable.
10577 (binaries-shared-notests): Likewise.
10578 (binaries-shared): Remove variable.
10579 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10580 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10581 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10582 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10583 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10584 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10585 * elf/Makefile (sln-modules): New variable.
10586 (extra-objs): Add $(sln-modules:=.o).
10587 (ldconfig-modules): Add static-stubs.
10588 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10589 * elf/static-stubs.c: New file.
10590
7a845b2c
JM
10591 [BZ #14283]
10592 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10593 by 7 not 8 to examine high bit of fractional part. Use volatile
10594 variables when splitting into final array of floats if
10595 __FLT_EVAL_METHOD__ != 0.
10596 * math/libm-test.inc (cos_test): Add another test.
10597 (sin_test): Likewise.
10598 * sysdeps/i386/fpu/libm-test-ulps: Update.
10599
e2283f38
JM
10600 [BZ #14273]
10601 * math/libm-test.inc (cosh_test): Add more tests.
10602
370ca3d2
JM
10603 * version.h (RELEASE): Set to "development".
10604 (VERSION): Set to "2.16.90".
10605
ee9247c3
CD
106062012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10607
10608 * NEWS: Update copyright. Remove last-updated date.
10609 Mention math library bug fixes and timezone data changes.
10610 * README: Mention GNU/Hurd, x32, and HPPA support status.
10611
4648c381
TS
106122012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10613
10614 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10615
aac78a43
AJ
106162012-06-27 Andreas Jaeger <aj@suse.de>
10617
10618 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10619
ed3dbfad
AJ
106202012-06-25 Andreas Jaeger <aj@suse.de>
10621
10622 * sysdeps/s390/fpu/libm-test-ulps: Update.
10623
4d0ee855
AS
106242012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10625 Thomas Schwinge <thomas@codesourcery.com>
10626
10627 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10628 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10630 fanotify_mark.
10631
af1bce34
TS
106322012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10633
a9fa33ba
TS
10634 * sysdeps/mach/start.c: Remove file.
10635 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10636 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10637 * sysdeps/sh/init-first.c: Likewise.
10638
58f902b8
TS
10639 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10640 registers for frame unwinding purposes, add CFI directives.
10641 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10642 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10643 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10644 Likewise.
10645
1518f58b
TS
10646 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10647 __fortify_fail returning.
10648 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10649
db9b5059
TS
10650 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10651 sysdeps/sh/____longjmp_chk.S.
10652 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10653 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10654 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10655 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10656
967705fe
TS
10657 * sysdeps/sh/abort-instr.h: New file.
10658 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10659 process in case exit returns.
10660
a9def8c4
TS
10661 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10662 initialize the GOT register before use.
10663
2a649725
TS
10664 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10665 calculation of ARGC > 4.
10666
af1bce34
TS
10667 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10668 meaningful names to some local labels.
10669
d230f50a
KK
106702012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10671 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10672
10673 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10674 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10675 (__arch_compare_and_exchange_val_16_acq): Likewise.
10676 (__arch_compare_and_exchange_val_32_acq): Likewise.
10677 (atomic_exchange_and_add): Fix gUSA sequence.
10678 (atomic_add): Likewise.
10679 (atomic_add_negative): Likewise.
10680 (atomic_add_zero): Likewise.
10681 (atomic_bit_test_set): Likewise.
10682
0479b305
AS
106832012-06-22 Andreas Schwab <schwab@redhat.com>
10684
10685 [BZ #13579]
10686 * include/link.h (struct link_map): Add l_free_initfini.
10687 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10688 l_initfini.
10689 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10690 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10691 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10692 set.
10693
0e3933b9
CD
106942012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10695
10696 * configure.in: Use AC_LANG_SOURCE.
10697 * configure: Regenerate.
10698
4248b1b1
RM
106992012-06-22 Roland McGrath <roland@hack.frob.com>
10700
10701 * configure.in (libc_cv_localstatedir): New substituted variable.
10702 * configure: Regenerated.
10703 * config.make.in (localstatedir): New variable, substituted from
10704 libc_cv_localstatedir.
10705 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10706 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10707 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10708 * sysdeps/gnu/configure: Regenerated.
10709
006dd861
JL
107102012-06-21 Jeff Law <law@redhat.com>
10711
10712 [BZ #14277]
10713 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10714 free. Simplify list management for _LIBC case.
10715
79662d42
JM
107162012-06-21 Joseph Myers <joseph@codesourcery.com>
10717
b7abb4bf
JM
10718 [BZ #14273]
10719 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10720 Clear sign bit of 64-bit integer value before comparing against
10721 overflow value.
10722
79662d42
JM
10723 * sysdeps/mach/configure: Regenerated.
10724
1f150908
L
107252012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10726
10727 [BZ #14278]
10728 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10729
28363bbf
JL
107302012-06-21 Jeff Law <law@redhat.com>
10731
10732 [BZ #13882]
10733 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10734 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 10735 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
10736 * elf/dl-open.c (dl_open_worker): Likewise.
10737
09615db4
CD
107382012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10739
10740 * scripts/list-sources.sh: Scan PORTS for translations.
10741 * po/libc.pot: Regenerated.
10742
2174c6dd
AJ
107432012-06-21 Andreas Jaeger <aj@suse.de>
10744
10745 [BZ #12194]
10746 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10747 warning.
10748 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10749 * bits/byteswap-16.h (__bswap_16): Likewise.
10750 * bits/byteswap.h (__bswap_constant_16): Likewise.
10751
3ee947b1
L
107522012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10753
10754 [BZ #14117]
a2f34833
L
10755 * sysdeps/i386/fpu_control.h: Removed.
10756 * sysdeps/x86_64/fpu_control.h: Moved to ...
10757 * sysdeps/x86/fpu_control.h: Here.
10758
3ee947b1
L
10759 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10760 (_FPU_SETCW): Likewise.
10761
ed1825f8
L
107622012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10763
25f1282a
L
10764 [BZ #14117]
10765 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10766 * sysdeps/x86/fpu/bits/mathinline.h: This.
10767 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10768
ed1825f8
L
10769 [BZ #14050]
10770 [BZ #14117]
10771 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10772 functions if __x86_64__ is defined.
10773
36d54b74
CLT
107742012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10775
10776 * string/endian.h: Add !__ASSEMBLER__ condition for including
10777 conversion interfaces.
10778
10285c21
JM
107792012-06-15 Joseph Myers <joseph@codesourcery.com>
10780
10781 [BZ #14241]
10782 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10783 of ABS(x) in calculating zero to negative powers other than odd
10784 integers.
10785 * math/libm-test.inc (pow_test): Add more tests.
10786
06c5abbd
AJ
107872012-06-15 Andreas Jaeger <aj@suse.de>
10788
10789 * manual/contrib.texi (Contributors): Update entry of Liubov
10790 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10791 Machado Filho.
10792
a3aeac40
CH
107932012-06-15 Cyril Hrubis <metan@ucw.cz>
10794
10795 * string/string.h: Add __wur to GNU version of strerror_r.
10796
49bdf4c1
L
107972012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10798
10799 [BZ #14229]
10800 * string/Makefile (tests): Add tst-strtok_r.
10801 * string/tst-strtok_r.c: New file.
10802 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10803 RAX_LP/RDX_LP on SAVE_PTR.
10804
834f9b8d
RM
108052012-06-14 Roland McGrath <roland@hack.frob.com>
10806
10807 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10808
75fa1921
JM
108092012-06-14 Joseph Myers <joseph@codesourcery.com>
10810
10811 * libm_test.inc (csqrt_test): Allow more spurious underflow
10812 exceptions.
10813 (j0_test): Likewise.
10814 (j1_test): Likewise.
10815 (y0_test): Likewise.
10816 (y1_test): Likewise.
10817
771766df
CD
108182012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10819
10820 * po/Makefile (libc.pot): Use UTF-8 charset.
10821
ceb9e56b
PP
108222012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10823
10824 [BZ #14210]
10825 Suppress sign-conversion warning from FD_SET.
10826 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10827 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10828 not unsigned long int.
10829 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10830
ddb28975
L
108312012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10832
10833 [BZ #14050]
10834 [BZ #14117]
10835 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10836 __extern_always_inline instead of __extern_inline.
10837 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10838 (__signbit): Likewise.
10839 (__signbitl): Support C++ namespace.
10840 (lrintf): New inline function.
10841 (lrint): Likewise.
10842 (llrintf): Likewise.
10843 (llrint): Likewise.
10844 (fmaxf): Likewise.
10845 (fmax): Likewise.
10846 (fminf): Likewise.
10847 (fmin): Likewise.
10848 (rint): Likewise.
10849 (rintf): Likewise.
10850 (ceil): Likewise.
10851 (ceilf): Likewise.
10852 (floor): Likewise.
10853 (floorf): Likewise.
10854 (nearbyint): Likewise.
10855 (nearbyintf): Likewise.
10856
d7b4fb26
TS
108572012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10858
10859 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10860 non-default versions.
10861
eb55f5c2
RM
108622012-06-11 Roland McGrath <roland@hack.frob.com>
10863
10864 [BZ #14218]
10865 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10866
366af02c
TS
108672012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10868
99ff6e5c
TS
10869 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10870 (FE_UPWARD, FE_DOWNWARD): Don't define.
10871 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10872 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10873
366af02c
TS
10874 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10875 reading it.
10876 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10877 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10878
793ea851
KK
108792012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10880
10881 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10882 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10883 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10884 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10885
a728a38f
L
108862012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10887
10888 [BZ #14117]
c08010c7
L
10889 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10890 * sysdeps/i386/fpu/Implies: New file.
10891 * sysdeps/x86_64/fpu/Implies: Likewise.
10892 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10893 * sysdeps/x86/fpu/bits/fenv.h: This.
10894
a728a38f
L
10895 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10896 __SSE_MATH__.
10897
6e230d11
SP
108982012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10899
10900 [BZ #14134]
10901 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10902 character 0xffff that matches the last element of the
10903 conversion table.
10904
1b671feb
AZ
109052012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10906
10907 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10908 fmodl commit.
10909
6043738b
AZ
109102012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10911
10912 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10913 values higher than 25.6283.
10914
34ae0b32
AZ
109152012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10916
10917 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10918 subnormal exponent extraction and add some __builtin_expect.
10919 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10920 Fix for subnormal mantissa calculation.
10921
1214ec8f
MF
109222012-06-04 Mike Frysinger <vapier@gentoo.org>
10923
10924 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10925 cpu2 is -1 and errno is not ENOSYS.
10926
f3d1f93c
L
109272012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10928
10929 [BZ #14117]
0e4a3cd7
L
10930 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10931 * sysdeps/x86/bits/string.h: This.
10932 * sysdeps/x86_64/bits/string.h: Removed.
10933
6704c645
L
10934 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10935 if not compiling for x86-64, but compiling for >= i486.
10936
48495318
L
10937 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10938 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10939
14adcbfc
L
10940 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10941 New macro from Linux kernel 3.4.0.
10942 (FP_XSTATE_MAGIC2): Likewise.
10943 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10944 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10945 (struct _fpx_sw_bytes): New struct.
10946 (struct _xsave_hdr): Likewise.
10947 (struct _ymmh_state): Likewise.
10948 (struct _xstate): Likewise.
10949
68e408ab
L
10950 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10951 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10952 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10953 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10954 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10955 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10956
f3d1f93c
L
10957 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10958 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10959 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10960 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10961 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10962 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10963
d9dc34cd
TMQMF
109642012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10965
10966 [BZ #13743]
10967 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10968 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10969 (sysdep_headers): Include sys/platform/ppc.h.
10970 * sysdeps/powerpc/test-gettimebase.c: Test for
10971 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10972 * manual/Makefile (appendices): Include platform.texi.
10973 * manual/contrib.texi (Contributors): Update @node pointers.
10974 * manual/maint.texi (Maintenance): Likewise.
10975 (Platform): New node.
10976 * manual/platform.texi: New file. Document the new features.
10977
4af3879c
SP
109782012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10979 Jakub Jelinek <jakub@redhat.com>
10980
10981 [BZ #14188]
10982 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10983 where __builtin_expect is unavailable.
10984
2fd6ff13
DM
109852012-06-03 David S. Miller <davem@davemloft.net>
10986
10987 * stdlib/longlong.h: Updated from GCC.
10988
173f7220
AS
109892012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10990
10991 [BZ #14042]
10992 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10993 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10994 __mcount_internal.
10995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10996 (GLIBC_2.16): Likewise.
10997
f34a1c6f
L
109982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10999
11000 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11001
88a4576f
JM
110022012-06-01 Joseph Myers <joseph@codesourcery.com>
11003
ea32bcdd
JM
11004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11005 (default-abi): New variable.
11006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11007 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11008 variable.
11009 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11010 Likewise.
11011 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11012 Likewise.
11013 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11014 Likewise.
11015
88a4576f
JM
11016 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11017 definition. Document in comment.
11018
402fe938
DM
110192012-06-01 David S. Miller <davem@davemloft.net>
11020
11021 * stdlib/longlong.h: Updated from GCC.
11022
3553723f
L
110232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11024
11025 [BZ #14117]
3bd872c4
L
11026 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11027 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11028 sys/debugreg.h sys/io.h here.
11029 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11030 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11031 sys/io.h.
11032 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11033 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11034 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11035 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11036 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11037 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11038
3553723f
L
11039 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11040 Define only if __x86_64__ is defined.
11041
4842e4fe
JM
110422012-06-01 Joseph Myers <joseph@codesourcery.com>
11043
c5bfe3d5
JM
11044 [BZ #14048]
11045 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11046 Use int64_t for variable i.
11047 * math/libm-test.inc (fmod_test): Add more tests.
11048
4842e4fe
JM
11049 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11050 z computation is not scheduled after fetestexcept.
11051 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11052 Use math_force_eval instead of asm to ensure calculation scheduled
11053 before exception test.
11054 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11055 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11056
efb73488
AJ
110572012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11058
11059 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11060 computation is not scheduled after fetestexcept.
11061
29bcce7c
L
110622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11063
11064 [BZ #14117]
11065 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11066 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11067
73a68f94
AZ
110682012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11069
11070 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11071 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11072
67b6df78
L
110732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11074
edf2933a 11075 [BZ #14117]
ebc64a18
L
11076 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11077 <bits/wordsize.h>.
11078 (__WCHAR_MIN): Support __WORDSIZE == 64.
11079 (__WCHAR_MAX): Likewise.
11080
edf2933a
L
11081 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11082 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11083
57c6cf40
L
11084 [BZ #14183]
11085 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11086 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11087
67b6df78 11088 [BZ #14117]
8eb6281e
L
11089 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11090 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11091
aac639f4
L
11092 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11093 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11094
67b6df78
L
11095 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11096 Defined to 1 if __x86_64__ isn't defined.
11097 (_STAT_VER_LINUX_OLD): New.
11098 (st_atime): Remove duplicate.
11099 (st_mtime): Likewise.
11100 (st_ctime): Likewise.
11101
1c2cfe81
DM
111022012-05-31 David S. Miller <davem@davemloft.net>
11103
11104 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11105 entries.
11106
5be8418c
AS
111072012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11108
e7725326
AS
11109 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11110 gen-libm-test.pl.
11111
5be8418c
AS
11112 [BZ #14132]
11113 * elf/dl-reloc.c: Include <_itoa.h>.
11114 (_dl_reloc_bad_type): Remove use of INTUSE.
11115 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11116 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11117 * stdio-common/psiginfo.c (psiginfo): Likewise.
11118 * stdio-common/psignal.c (psignal): Likewise.
11119 * string/strsignal.c (strsignal): Likewise.
11120 * include/signal.h (_sys_siglist): Declare hidden proto.
11121 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11122 INTVARDEF with libc_hidden_data_def.
11123 * stdio-common/itoa-udigits.c: Likewise.
11124 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11125 (_itoa_lower_digits_internal): Remove declaration.
11126 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11127 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11128 (_sys_sigabbrev_internal): Remove aliases.
11129 (_sys_siglist): Define hidden alias.
11130
507352f1
MT
111312012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11132
11133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11134 bits/sysctl.h.
11135
42bbb1c3
L
111362012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11137
11138 [BZ #14117]
6bd784b6
L
11139 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11140 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11141
8bca20f0
L
11142 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11143 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11144 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11145 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11146 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11147 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11148
f9e890a9
L
11149 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11150 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11151 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11152
471101a1
L
11153 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11154 with __addr.
11155 (insw): Likewise.
11156 (insl): Likewise.
11157 (outsb): Likewise.
11158 (outsw): Likewise.
11159 (outsl): Likewise.
11160
6451c862
L
11161 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11162 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11163 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11164
a254b8c9
L
11165 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11166 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11167 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11168 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11169 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11170 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11171
b8dfdd92
L
11172 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11173 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11174
578cd270
L
11175 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11176 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11177
de662f5f
L
11178 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11179 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11180 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11181
25653439
L
11182 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11183 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11184 to ...
11185 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11186
6bad24a0
L
11187 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11188 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11189 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11190
42bbb1c3
L
11191 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11192 for x86-64.
11193 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11194
2d10d547
JM
111952012-05-31 Joseph Myers <joseph@codesourcery.com>
11196
11197 * math/math.h (M_El): Use two more decimal places.
11198 (M_LOG2El): Likewise.
11199 (M_LOG10El): Likewise.
11200 (M_LN2l): Likewise.
11201 (M_LN10l): Likewise.
11202 (M_PIl): Likewise.
11203 (M_PI_2l): Likewise.
11204 (M_PI_4l): Likewise.
11205 (M_1_PIl): Likewise.
11206 (M_2_PIl): Likewise.
11207 (M_2_SQRTPIl): Likewise.
11208 (M_SQRT2l): Likewise.
11209 (M_SQRT1_2l): Likewise.
11210
f230c29b
DM
112112012-05-31 David S. Miller <davem@davemloft.net>
11212
11213 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11214 values between float registers.
11215 * sysdeps/sparc/sparc64/memset.S: Likewise.
11216 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11217
fed806c3
MF
112182012-05-31 Mike Frysinger <vapier@gentoo.org>
11219
11220 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11221 -D_FORTIFY_SOURCE=1.
11222 (CPPFLAGS-tst-longjmp_chk.c): Define.
11223 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11224 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11225 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11226 CFLAGS-tst-wchar-h.c.
11227
30917259
MP
112282012-05-31 Marek Polacek <polacek@redhat.com>
11229
11230 [BZ #14132]
11231 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11232 __endmntent_internal): Remove declaration.
11233 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11234 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11235 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11236
1c58d5dc
DM
112372012-05-30 David S. Miller <davem@davemloft.net>
11238
11239 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11240 (___Q_simulate_exceptions): Use real FP ops rather than writing
11241 into the %fsr.
11242 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11243 Likewise.
11244
7dc00e0d
L
112452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11246
11247 [BZ #14117]
0bd53985
L
11248 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11249 * sysdeps/x86/bits/xtitypes.h: This.
11250
3a257e66
L
11251 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11252 * sysdeps/x86/bits/wordsize.h: This.
11253
62f62904
L
11254 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11255 * sysdeps/x86/bits/huge_vall.h: This.
11256
404fe9d9
L
11257 * sysdeps/i386/bits/select.h: Removed.
11258 * sysdeps/x86_64/bits/select.h: Renamed to ...
11259 * sysdeps/x86/bits/select.h: This.
11260
d48d0446
L
11261 * sysdeps/i386/bits/setjmp.h: Removed.
11262 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11263 * sysdeps/x86/bits/setjmp.h: This.
11264
7dc00e0d
L
11265 * sysdeps/i386/bits/mathdef.h: Removed.
11266 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11267 * sysdeps/x86/bits/mathdef.h: This.
11268
03277f8f
AS
112692012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11270
11271 [BZ #14132]
11272 * include/sys/socket.h (__connect_internal)
11273 (__libc_sa_len_internal): Remove declaration.
11274 (__connect, __libc_sa_len): Declare hidden_proto.
11275 (SA_LEN): Remove use of INTUSE.
11276 * socket/connect.c: Add libc_hidden_def.
11277 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11278 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11279 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11280 alias.
11281 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11282 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11283 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11284 of adding _internal alias.
11285
13764867
L
112862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11287
11288 [BZ #14117]
6bd97696
L
11289 * sysdeps/i386/bits/link.h: Removed.
11290 * sysdeps/i386/bits/linkmap.h: Likewise.
11291 * sysdeps/x86_64/bits/link.h: Renamed to ...
11292 * sysdeps/x86/bits/link.h: This.
11293 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11294 * sysdeps/x86/bits/linkmap.h: This.
11295
f726f0bb
L
11296 * sysdeps/i386/bits/endian.h: Removed.
11297 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11298 * sysdeps/x86/bits/endian.h: This.
11299
13764867
L
11300 * sysdeps/i386/bits/byteswap.h: Removed.
11301 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11302 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11303 * sysdeps/x86/bits/byteswap.h: This.
11304 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11305 * sysdeps/x86/bits/byteswap-16.h: This.
11306 * sysdeps/i386/Implies: Add x86.
11307 * sysdeps/x86_64/Implies: Likewise.
11308
ae251b0b
DM
113092012-05-30 David S. Miller <davem@davemloft.net>
11310
11311 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11312 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11313 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11314 (FP_TRAPPING_EXCEPTIONS): Define.
11315 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11316 (FP_TRAPPING_EXCEPTIONS): Define.
11317 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11318 subnormals only when inexact has been signalled or underflow
11319 exceptions are enabled.
11320 (_FP_PACK_CANONICAL): Likewise.
11321
d5c90867
L
113222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11323
11324 [BZ #14183]
11325 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11326 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11327
63f1549e
RH
113282012-05-30 Richard Henderson <rth@twiddle.net>
11329
8d8f2279
RH
11330 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11331 with #ifndef NOT_IN_libc.
11332
63f1549e
RH
11333 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11334 marked to avoid plt entry.
11335
0ab0291b
L
113362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11337
11338 [BZ #14112]
11339 * Makeconfig (default-abi): New macro.
11340 (abi-includes): Likewise.
11341 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11342 $(abi-$(default-abi)-lib-soname) for soname if defined.
11343 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11344 abi-variants.
11345 * Makefile (installed-stubs): Likewise.
11346 * include/stubs-biarch.h: Removed.
11347 * scripts/lib-names.awk: Only handle one library at a time.
11348 * scripts/soversions.awk: Remove WORDSIZE support.
11349 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11350 entries.
11351 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11352 Removed.
11353 (syscall-list-default-condition): Likewise.
11354 (syscall-list-default-condition): Likewise.
11355 (syscall-list-includes): Likewise.
11356 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11357 syscall-list-* with abi-*. Handle undefined abi-variants.
11358 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11359 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11360 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11361 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11362 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11363 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11364 Removed.
11365 (syscall-list-32-options): Likewise.
11366 (syscall-list-32-condition): Likewise.
11367 (syscall-list-64-options): Likewise.
11368 (syscall-list-64-condition): Likewise.
11369 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11370 macro.
11371 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11372 Renamed to ...
11373 (abi-*): This.
11374 (abi-64-ld-soname): New macro.
11375 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11376 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11377 Renamed to ...
11378 (abi-*): This.
11379 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11380 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11381
4da0431d
JM
113822012-05-30 Joseph Myers <joseph@codesourcery.com>
11383
3a85279c
JM
11384 * sysdeps/unix/sysv/linux/kernel-features.h
11385 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11386 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11387 include <kernel-features.h>.
11388 [!__NR_ftruncate64]: Remove conditional code.
11389 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11390 [__NR_ftruncate64]: Make code unconditional.
11391 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11392 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11393 include <kernel-features.h>.
11394 [!__NR_ftruncate64]: Remove conditional code.
11395 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11396 [__NR_ftruncate64]: Make code unconditional.
11397 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11399 include <kernel-features.h>.
11400 [!__NR_ftruncate64]: Remove conditional code.
11401 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11402 [__NR_ftruncate64]: Make code unconditional.
11403 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11405 include <kernel-features.h>.
11406 [!__NR_ftruncate64]: Remove conditional code.
11407 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11408 [__NR_ftruncate64]: Make code unconditional.
11409 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11410
4da0431d
JM
11411 * configure.in (libc_cv_fpie): Weaken to a compile test using
11412 LIBC_TRY_CC_OPTION.
11413 * configure: Regenerated.
11414
11ef492c
AK
114152012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11416
11417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11421 Refreshed.
11422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11428 Refreshed.
11429
d66ef399
DM
114302012-05-27 David S. Miller <davem@davemloft.net>
11431
11432 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11433 (___Q_zero): New.
11434 (__Q_simulate_exceptions): Return void. Change to simulate
11435 exceptions by writing into the %fsr.
11436 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11437 (__Qp_handle_exceptions): Likewise.
11438 (numbers): Delete.
11439 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11440 __Qp_handle_exceptions.
11441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11442 __Qp_handle_exceptions.
11443 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11444 as unused and give dummy FP_RND_NEAREST initializer.
11445 (FP_INHIBIT_RESULTS): Define.
11446 (___Q_simulate_exceptions): Update declaration.
11447 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11448 formatting.
11449 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11450 as unused and give dummy FP_RND_NEAREST initializer.
11451 (__Qp_handle_exceptions): Update declaration.
11452 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11453 formatting.
11454
04fb54b5
TS
114552012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11456
11457 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11458 the temporary FPU control word.
11459 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11460 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11461 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11462 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11463 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11464 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11465 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11466 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11467 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11468 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11469 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11470
3f99608f
KK
114712012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11472
11473 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11474 fields.
11475
65a4de4e
CLT
114762012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11477
11478 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11479 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11480 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11481 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11482 Likewise.
11483 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11484 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11485 Likewise.
11486
15749d40
UD
114872012-05-27 Ulrich Drepper <drepper@gmail.com>
11488
11489 * po/h.po: Update from translation team.
11490
25dbcb27
AS
114912012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11492
3d3f8e55
AS
11493 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11494
25dbcb27
AS
11495 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11496 handling of denormals.
11497 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11498 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11499 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11500 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11501 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11504 Likewise.
11505
7ad47a80 115062012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11507
11508 [BZ #14152]
11509 * math/libm-test.inc (fma_test): Don't always expect underflow
11510 exception.
11511
9c6ea9fa
SP
115122012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11513
11514 [BZ #12416]
11515 * elf/tst-execstack.c: Include stackinfo.h.
11516 (do_test): Adjust test case to ensure that pthread_getattr_np
11517 behaviour remains the same after marking stack executable.
11518
a8239222
JM
115192012-05-25 Joseph Myers <joseph@codesourcery.com>
11520
11521 * sysdeps/unix/sysv/linux/kernel-features.h
11522 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11523 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11524 kernel-features.h.
11525 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11526 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11527 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11528 kernel-features.h.
11529 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11530 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11531
918b5606
L
115322012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11533
11534 * configure.in: Define the default includes to being none.
11535 * configure: Regenerated.
11536
3a097cc7
RM
115372012-05-25 Roland McGrath <roland@hack.frob.com>
11538
8422c9a5
RM
11539 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11540 * sysdeps/x86_64/setjmp.S: Likewise.
11541 * sysdeps/i386/bsd-setjmp.S: Likewise.
11542 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11543 * sysdeps/i386/setjmp.S: Likewise.
11544 * sysdeps/i386/__longjmp.S: Likewise.
11545 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11546 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11547
3a097cc7
RM
11548 * include/stap-probe.h: New file.
11549 * configure.in: Handle --enable-systemtap.
11550 * configure: Regenerated.
11551 * config.h.in (USE_STAP_PROBE): New #undef.
11552 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11553 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11554 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11555
21708942
JM
115562012-05-25 Joseph Myers <joseph@codesourcery.com>
11557
11558 [BZ #13717]
11559 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11560 to 2.4.0 where earlier.
11561 * sysdeps/unix/sysv/linux/configure: Regenerated.
11562 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11563 <kernel-features.h>.
11564 [__ASSUME_32BITUIDS]: Make code unconditional.
11565 [!__ASSUME_32BITUIDS]: Remove conditional code.
11566 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11567 <kernel-features.h>.
11568 [__ASSUME_32BITUIDS]: Make code unconditional.
11569 [!__ASSUME_32BITUIDS]: Remove conditional code.
11570 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11571 [__ASSUME_32BITUIDS]: Make code unconditional.
11572 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11573 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11574 <kernel-features.h>.
11575 [__ASSUME_32BITUIDS]: Make code unconditional.
11576 [!__ASSUME_32BITUIDS]: Remove conditional code.
11577 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11578 <kernel-features.h>.
11579 [__ASSUME_32BITUIDS]: Make code unconditional.
11580 [!__ASSUME_32BITUIDS]: Remove conditional code.
11581 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11582 <kernel-features.h>.
11583 [__ASSUME_32BITUIDS]: Make code unconditional.
11584 [!__ASSUME_32BITUIDS]: Remove conditional code.
11585 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11586 <kernel-features.h>.
11587 [__ASSUME_32BITUIDS]: Make code unconditional.
11588 [!__ASSUME_32BITUIDS]: Remove conditional code.
11589 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11590 <kernel-features.h>.
11591 [__ASSUME_32BITUIDS]: Make code unconditional.
11592 [!__ASSUME_32BITUIDS]: Remove conditional code.
11593 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11594 <kernel-features.h>.
11595 [__ASSUME_32BITUIDS]: Make code unconditional.
11596 [!__ASSUME_32BITUIDS]: Remove conditional code.
11597 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11598 <kernel-features.h>.
11599 [__ASSUME_32BITUIDS]: Make code unconditional.
11600 [!__ASSUME_32BITUIDS]: Remove conditional code.
11601 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11602 <kernel-features.h>.
11603 [__ASSUME_32BITUIDS]: Make code unconditional.
11604 [!__ASSUME_32BITUIDS]: Remove conditional code.
11605 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11606 <kernel-features.h>.
11607 [__ASSUME_32BITUIDS]: Make code unconditional.
11608 [!__ASSUME_32BITUIDS]: Remove conditional code.
11609 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11610 <kernel-features.h>.
11611 [__ASSUME_32BITUIDS]: Make code unconditional.
11612 [!__ASSUME_32BITUIDS]: Remove conditional code.
11613 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11614 <kernel-features.h>.
11615 [__NR_setresgid] (__setresgid): Do not declare.
11616 [__ASSUME_32BITUIDS]: Make code unconditional.
11617 [!__ASSUME_32BITUIDS]: Remove conditional code.
11618 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11619 <kernel-features.h>.
11620 [__NR_setresuid] (__setresuid): Do not declare.
11621 [__ASSUME_32BITUIDS]: Make code unconditional.
11622 [!__ASSUME_32BITUIDS]: Remove conditional code.
11623 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11624 <kernel-features.h>.
11625 [__ASSUME_32BITUIDS]: Make code unconditional.
11626 [!__ASSUME_32BITUIDS]: Remove conditional code.
11627 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11628 <kernel-features.h>.
11629 [__ASSUME_32BITUIDS]: Make code unconditional.
11630 [!__ASSUME_32BITUIDS]: Remove conditional code.
11631 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11632 <kernel-features.h>.
11633 [__ASSUME_32BITUIDS]: Make code unconditional.
11634 [!__ASSUME_32BITUIDS]: Remove conditional code.
11635 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11636 <kernel-features.h>.
11637 [__ASSUME_32BITUIDS]: Make code unconditional.
11638 [!__ASSUME_32BITUIDS]: Remove conditional code.
11639 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11640 <kernel-features.h>.
11641 [__ASSUME_32BITUIDS]: Make code unconditional.
11642 [!__ASSUME_32BITUIDS]: Remove conditional code.
11643 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11644 <kernel-features.h>.
11645 [__ASSUME_32BITUIDS]: Make code unconditional.
11646 [!__ASSUME_32BITUIDS]: Remove conditional code.
11647 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11648 <kernel-features.h>.
11649 [__ASSUME_32BITUIDS]: Make code unconditional.
11650 [!__ASSUME_32BITUIDS]: Remove conditional code.
11651 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11652 <kernel-features.h>.
11653 [__ASSUME_32BITUIDS]: Make code unconditional.
11654 [!__ASSUME_32BITUIDS]: Remove conditional code.
11655 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11656 <kernel-features.h>.
11657 [__ASSUME_32BITUIDS]: Make code unconditional.
11658 [!__ASSUME_32BITUIDS]: Remove conditional code.
11659 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11660 <kernel-features.h>.
11661 [__ASSUME_32BITUIDS]: Make code unconditional.
11662 [!__ASSUME_32BITUIDS]: Remove conditional code.
11663 * sysdeps/unix/sysv/linux/kernel-features.h
11664 (__ASSUME_SETRESUID_SYSCALL): Remove.
11665 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11666 (__ASSUME_32BITUIDS): Likewise.
11667 (__ASSUME_LDT_WORKS): Likewise.
11668 (__ASSUME_O_DIRECTORY): Likewise.
11669 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11670 architecture but not kernel version.
11671 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11672 (__ASSUME_MMAP2_SYSCALL): Likewise.
11673 (__ASSUME_STAT64_SYSCALL): Likewise.
11674 (__ASSUME_IPC64): Likewise.
11675 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11676 <kernel-features.h>.
11677 [__ASSUME_32BITUIDS]: Make code unconditional.
11678 [!__ASSUME_32BITUIDS]: Remove conditional code.
11679 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11680 <kernel-features.h>.
11681 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11682 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11683 132096]: Remove conditional code.
11684 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11685 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11686 <kernel-features.h>.
11687 [__ASSUME_32BITUIDS]: Make code unconditional.
11688 [!__ASSUME_32BITUIDS]: Remove conditional code.
11689 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11690 <kernel-features.h>.
11691 [__ASSUME_32BITUIDS]: Make code unconditional.
11692 [!__ASSUME_32BITUIDS]: Remove conditional code.
11693 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11694 <kernel-features.h>.
11695 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11696 unconditional.
11697 (__setresgid): Do not declare.
11698 [__ASSUME_32BITUIDS]: Make code unconditional.
11699 [!__ASSUME_32BITUIDS]: Remove conditional code.
11700 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11701 <kernel-features.h>.
11702 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11703 unconditional.
11704 (__setresuid): Do not declare.
11705 [__ASSUME_32BITUIDS]: Make code unconditional.
11706 [!__ASSUME_32BITUIDS]: Remove conditional code.
11707 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11708 <kernel-features.h>.
11709 [__ASSUME_32BITUIDS]: Make code unconditional.
11710 [!__ASSUME_32BITUIDS]: Remove conditional code.
11711 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11712 <kernel-features.h>.
11713 [__ASSUME_32BITUIDS]: Make code unconditional.
11714 [!__ASSUME_32BITUIDS]: Remove conditional code.
11715
a386f1cc
RH
117162012-05-25 Richard Henderson <rth@twiddle.net>
11717
11718 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11719 dl_hwcap to ifunc resolver.
11720 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11721 elf_ifunc_invoke.
11722 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11723 dl_hwcap to ifunc resolver.
11724 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11725
b6550497
JM
117262012-05-24 Joseph Myers <joseph@codesourcery.com>
11727
11728 [BZ #14153]
11729 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11730 for |x| <= 2**-26, not 2**-57.
11731 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11732 exception.
11733
b0bc23a1
JL
117342012-05-24 Jeff Law <law@redhat.com>
11735
11736 * stdio-common/Makefile (tests): Add bug25.
11737 * stdio-common/bug25.c: New test.
11738
347c92e9
L
117392012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11740
11741 [BZ #13576]
11742 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11743 multiple of MALLOC_ALIGNMENT in size.
11744 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11745
6bcc8b3f
JM
117462012-05-24 Joseph Myers <joseph@codesourcery.com>
11747
11748 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11749 Require >= 256.
11750 (FILENAME_MAX): Use macro-int-constant.
11751 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11752 (_IOFBF): Use macro-int-constant.
11753 (_IOLBF): Likewise.
11754 (_IONBF): Likewise.
11755 (SEEK_CUR): Likewise.
11756 (SEEK_END): Likewise.
11757 (SEEK_SET): Likewise.
11758 (TMP_MAX): Likewise.
11759 (EOF): Use macro-int-constant. Require < 0.
11760 (NULL): Use macro-constant. Require == 0.
11761 (stdin): Require type to be FILE *.
11762 (stdout): Likewise.
11763 (stderr): Likewise.
11764 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11765 macro-int-constant.
11766 (EXIT_SUCCESS): Likewise.
11767 (NULL): Use macro-constant. Require == 0.
11768 (RAND_MAX): Use macro-int-constant.
11769 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11770 [C99-based standards] (strtof): Require function.
11771 [C99-based standards] (strtold): Likewise.
11772 [C99-based standards] (strtoll): Likewise.
11773 [C99-based standards] (strtoull): Likewise.
11774 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11775 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11776 [ISO || ISO99 || ISO11] (math.h): Likewise.
11777 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11778 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11780
d18ea0c5
AS
117812012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11782
11783 [BZ #14132]
56d25bb8
AS
11784 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11785 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11786 * intl/dgettext.c (DCGETTEXT): Likewise.
11787 * intl/gettext.c (DCGETTEXT): Likewise.
11788 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11789 * posix/regex_internal.h (gettext): Likewise.
11790 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11791 Remove declaration.
11792 * include/argz.h (__argz_count_internal)
11793 (__argz_stringify_internal): Remove declaration.
11794 (__argz_count, __argz_stringify): Declare hidden proto.
11795 * intl/dcgettext.c: Remove use of INTDEF.
11796 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11797 * string/argz-stringify.c: Likewise.
11798 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11799 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11800 Declare hidden proto.
d18ea0c5
AS
11801 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11802 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11803 Declare hidden proto.
11804 * include/stdio.h (__asprintf_internal): Don't declare.
11805 (__asprintf): Don't define as macro. Declare hidden proto.
11806 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11807 (__fsetlocking): Declare hidden proto.
11808 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11809 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11810 hidden proto.
11811 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11812 (_IO_setlinebuf): Remove use of INTUSE.
11813 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11814 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11815 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11816 Remove declaration.
11817 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11818 (_IO_do_flush): Remove use of INTUSE.
11819 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11820 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11821 (_IO_adjust_column, _IO_least_wmarker)
11822 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11823 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11824 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11825 (_IO_default_doallocate, _IO_wdefault_doallocate)
11826 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11827 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11828 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11829 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11830 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11831 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11832 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11833 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11834 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11835 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11836 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11837 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11838 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11839 proto.
11840 (_IO_flush_all_internal, _IO_adjust_column_internal)
11841 (_IO_default_uflow_internal, _IO_default_finish_internal)
11842 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11843 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11844 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11845 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11846 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11847 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11848 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11849 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11850 (_IO_file_close_internal, _IO_file_close_it_internal)
11851 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11852 (_IO_file_init_internal, _IO_file_attach_internal)
11853 (_IO_file_fopen_internal, _IO_file_read_internal)
11854 (_IO_file_sync_internal, _IO_file_seek_internal)
11855 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11856 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11857 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11858 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11859 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11860 (_IO_list_all_internal, _IO_link_in_internal)
11861 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11862 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11863 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11864 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11865 (_IO_do_write_internal, _IO_padn_internal)
11866 (_IO_getline_info_internal, _IO_getline_internal)
11867 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11868 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11869 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11870 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11871 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11872 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11873 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11874 with libc_hidden_ver, remove use of INTUSE.
11875 * libio/genops.c: Likewise.
11876 * libio/freopen.c: Likewise.
11877 * libio/freopen64.c: Likewise.
11878 * libio/iofclose.c: Likewise.
11879 * libio/iofdopen.c: Likewise.
11880 * libio/iofflush.c: Likewise.
11881 * libio/iofflush_u.c: Likewise.
11882 * libio/iofgets.c: Likewise.
11883 * libio/iofgets_u.c: Likewise.
11884 * libio/iofopen.c: Likewise.
11885 * libio/iofopncook.c: Likewise.
11886 * libio/iofread.c: Likewise.
11887 * libio/iofread_u.c: Likewise.
11888 * libio/ioftell.c: Likewise.
11889 * libio/iofwrite.c: Likewise.
11890 * libio/iogetline.c: Likewise.
11891 * libio/iogets.c: Likewise.
11892 * libio/iogetwline.c: Likewise.
11893 * libio/iopadn.c: Likewise.
11894 * libio/iopopen.c: Likewise.
11895 * libio/ioseekoff.c: Likewise.
11896 * libio/ioseekpos.c: Likewise.
11897 * libio/iosetbuffer.c: Likewise.
11898 * libio/iosetvbuf.c: Likewise.
11899 * libio/ioungetc.c: Likewise.
11900 * libio/ioungetwc.c: Likewise.
11901 * libio/iovdprintf.c: Likewise.
11902 * libio/iovsprintf.c: Likewise.
11903 * libio/iovsscanf.c: Likewise.
11904 * libio/memstream.c: Likewise.
11905 * libio/obprintf.c: Likewise.
11906 * libio/oldfileops.c: Likewise.
11907 * libio/oldiofclose.c: Likewise.
11908 * libio/oldiofdopen.c: Likewise.
11909 * libio/oldiofopen.c: Likewise.
11910 * libio/oldiopopen.c: Likewise.
11911 * libio/oldstdfiles.c: Likewise.
11912 * libio/putc.c: Likewise.
11913 * libio/setbuf.c: Likewise.
11914 * libio/setlinebuf.c: Likewise.
11915 * libio/stdfiles.c: Likewise.
11916 * libio/strops.c: Likewise.
11917 * libio/vasprintf.c: Likewise.
11918 * libio/vscanf.c: Likewise.
11919 * libio/vsnprintf.c: Likewise.
11920 * libio/vswprintf.c: Likewise.
11921 * libio/wfiledoalloc.c: Likewise.
11922 * libio/wfileops.c: Likewise.
11923 * libio/wgenops.c: Likewise.
11924 * libio/wmemstream.c: Likewise.
11925 * libio/wstrops.c: Likewise.
11926 * libio/__fpurge.c: Likewise.
11927 * libio/__fsetlocking.c: Likewise.
11928 * assert/assert.c: Likewise.
11929 * debug/fgets_chk.c: Likewise.
11930 * debug/fgets_u_chk.c: Likewise.
11931 * debug/fread_chk.c: Likewise.
11932 * debug/fread_u_chk.c: Likewise.
11933 * debug/gets_chk.c: Likewise.
11934 * debug/obprintf_chk.c: Likewise.
11935 * debug/vasprintf_chk.c: Likewise.
11936 * debug/vdprintf_chk.c: Likewise.
11937 * debug/vsnprintf_chk.c: Likewise.
11938 * debug/vsprintf_chk.c: Likewise.
11939 * malloc/mtrace.c: Likewise.
11940 * misc/error.c: Likewise.
11941 * misc/syslog.c: Likewise.
11942 * stdio-common/asprintf.c: Likewise.
11943 * stdio-common/fxprintf.c: Likewise.
11944 * stdio-common/getw.c: Likewise.
11945 * stdio-common/isoc99_fscanf.c: Likewise.
11946 * stdio-common/isoc99_scanf.c: Likewise.
11947 * stdio-common/isoc99_vfscanf.c: Likewise.
11948 * stdio-common/isoc99_vscanf.c: Likewise.
11949 * stdio-common/isoc99_vsscanf.c: Likewise.
11950 * stdio-common/printf-prs.c: Likewise.
11951 * stdio-common/printf_fp.c: Likewise.
11952 * stdio-common/printf_fphex.c: Likewise.
11953 * stdio-common/printf_size.c: Likewise.
11954 * stdio-common/putw.c: Likewise.
11955 * stdio-common/scanf.c: Likewise.
11956 * stdio-common/sprintf.c: Likewise.
11957 * stdio-common/tmpfile.c: Likewise.
11958 * stdio-common/vfprintf.c: Likewise.
11959 * stdio-common/vfscanf.c: Likewise.
11960 * stdlib/strfmon_l.c: Likewise.
11961 * sunrpc/openchild.c: Likewise.
11962 * sunrpc/xdr_stdio.c: Likewise.
11963 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11964 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11965
d6c33fda
RM
119662012-05-24 Roland McGrath <roland@hack.frob.com>
11967
c1487492
RM
11968 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11969
11970 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11971 in the third column, to generate for the shared library an IFUNC
11972 that uses _dl_vdso_vsym.
11973 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11974 * Makeconfig (object-suffixes-noshared): New variable.
11975
11976 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11977 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11978 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11979 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11980
d6c33fda
RM
11981 [BZ #14132]
11982 * include/sys/time.h (__gettimeofday): Remove macro.
11983 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11984 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11985 Remove INTDEF.
11986 (__gettimeofday): Add libc_hidden_def.
11987 (gettimeofday): Add libc_hidden_weak.
11988 * sysdeps/mach/gettimeofday.c: Likewise.
11989 * sysdeps/posix/gettimeofday.c: Likewise.
11990 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11991 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11992 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11993 (__gettimeofday_internal): Remove strong_alias.
11994 (__gettimeofday): Add libc_hidden_def.
11995 (gettimeofday): Add libc_hidden_weak.
11996 * sysdeps/unix/syscalls.list (gettimeofday):
11997 Remove __gettimeofday_internal alias.
11998
b5a2bbe6
L
119992012-05-24 Daniel Jacobowitz <drow@false.org>
12000 H.J. Lu <hongjiu.lu@intel.com>
12001
12002 [BZ #12495]
12003 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12004 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12005 (largebin_index_32_big): New.
12006 (largebin_index): Use it for 16-byte alignment.
12007 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12008 correction with front_misalign.
12009
cfba4fda
L
120102012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12011
7f907421
L
12012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12014 Likewise.
12015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12016 Likewise.
12017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12018 Likewise.
12019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12020 Likewise.
12021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12022 Likewise.
12023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12024 Likewise.
12025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12026 Likewise.
12027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12028 Likewise.
12029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12030 Likewise.
12031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12032 Likewise.
12033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12034 Likewise.
12035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12036 Likewise.
12037
cfba4fda
L
12038 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12039 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12040
80bad0cc
JM
120412012-05-24 Joseph Myers <joseph@codesourcery.com>
12042
7a25eb06
JM
12043 [BZ #10846]
12044 [BZ #14036]
12045 * math/libm-test.inc (exp_test): Add test from bug 14036.
12046 (pow_test): Add test from bug 10846.
12047
795405f9
JM
12048 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12049 and other flags.
12050 (special_function): Do not include flags in test name.
12051 (parse_args): Likewise.
12052 * sysdeps/i386/fpu/libm-test-ulps: Update.
12053 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12054 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12055 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12057
80bad0cc
JM
12058 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12059 exceptions.
12060 * math/libm-test.inc ("Philosophy"): Update comment about
12061 exception testing.
12062 (UNDERFLOW_EXCEPTION): New macro.
12063 (UNDERFLOW_EXCEPTION_OK): Likewise.
12064 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12065 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12066 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12067 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12068 (INVALID_EXCEPTION_OK): Update value.
12069 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12070 (OVERFLOW_EXCEPTION_OK): Likewise.
12071 (IGNORE_ZERO_INF_SIGN): Likewise.
12072 (test_exceptions): Handle underflow exceptions.
12073 (acos_test): Update for underflow exception expectations.
12074 (cexp_test): Likewise.
12075 (clog_test): Likewise.
12076 (clog10_test): Likewise.
12077 (csqrt_test): Likewise.
12078 (ctan_test): Likewise.
12079 (ctanh_test): Likewise.
12080 (exp_test): Likewise.
12081 (exp10_test): Likewise.
12082 (exp2_test): Likewise.
12083 (expm1_test): Likewise.
12084 (fma_test): Likewise.
12085 (j0_test): Likewise.
12086 (jn_test): Likewise.
12087 (nexttoward_test): Likewise.
12088 (pow_test): Likewise.
12089 (scalbn_test): Likewise.
12090 (scalbln_test): Likewise.
12091 (tan_test): Likewise.
12092 (y1_test): Likewise.
12093 * sysdeps/i386/fpu/libm-test-ulps: Update.
12094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12095
9e0e3d0b
DM
120962012-05-23 David S. Miller <davem@davemloft.net>
12097
12098 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12099 (__libc_sigaction): Remove unused local variables.
12100
ccd0a08f
L
121012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12102
12103 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12104
62bdf9a6
PE
121052012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12106
f8591f80
PE
12107 mktime: avoid signed integer overflow
12108 * time/mktime.c (__mktime_internal): Do not mishandle the case
12109 where diff == INT_MIN.
12110
94c7d826
PE
12111 mktime: simplify computation of average
12112 * time/mktime.c (ranged_convert): Use new time_t_avg function
12113 instead of rolling our own (probably-slower) code.
12114
ce73d683
PE
12115 mktime: do not assume signed right shift propagates sign bit
12116 * time/mktime.c (isdst_differ): New static function.
12117 (__mktime_internal): No need to normalize tm_isdst now.
12118 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12119 tm_isdst values.
12120
72a22e59
PE
12121 mktime: merge another wrapv change from gnulib
12122 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12123 from some compilers.
12124
68605433
PE
12125 mktime: remove incorrect attempt at unusual arithmetics
12126 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12127 The code didn't really work on such machines anyway.
12128 (TYPE_MINIMUM): Assume two's complement.
12129 (twos_complement_arithmetic): Verify that long_int and time_t
12130 are two's complement (or unsigned, in the latter case).
12131
03cf7fe3
PE
12132 mktime: check signed shifts on long_int and time_t, too
12133 * time/mktime.c (SHR): Check that shifts work as desired
12134 on the types long_int and time_t too, as SHR is used on
12135 such types.
12136
f04dfbc2
PE
12137 mktime: do not assume 'long' is wide enough
12138 * time/mktime.c (verify): Move decl up.
12139 (long_int): New type.
12140 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12141 to remove assumption in the code that 'long' is wide enough to
12142 store year values. This assumption is not true on x32 and on
12143 some non-glibc platforms.
12144
62bdf9a6
PE
12145 mktime: merge wrapv change from gnulib
12146 * time/mktime.c (WRAPV): New macro.
12147 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12148 (guess_time_tm, __mktime_internal): Do not assume that signed
12149 integer overflow wraps around; modern compilers generate code
12150 where this assumption is no longer valid.
12151
5e292e4f
L
121522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12153
12154 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12155 Replace "jmp L(pseudo_end)" with "ret".
12156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12157 Likewise.
12158
8caf8c87
AJ
121592012-05-23 Andreas Jaeger <aj@suse.de>
12160
12161 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12162 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12163
1a09dc56
AJ
121642012-05-23 Andreas Jaeger <aj@suse.de>
12165 Maximilian Attems <max@stro.at>
12166
12167 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12168 New macros.
12169
1c87aba0
L
121702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12171
12172 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12173 code so that pseudo_end is just ret and the stack pointer is
12174 correct also for static library in error case.
12175
40e45bd5
JM
121762012-05-23 Joseph Myers <joseph@codesourcery.com>
12177
c2670533
JM
12178 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12179 move to syscalls.list.
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12184
40e45bd5
JM
12185 * manual/install.texi (Running make install): Do not mention Linux
12186 kernel version for which pt_chown is not needed.
12187 (Linux): Do not mention problems with nscd with 2.0 kernels.
12188 * INSTALL: Regenerated.
12189
be08eda5
AJ
121902012-05-23 Andreas Jaeger <aj@suse.de>
12191
12192 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12193 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12194 macro.
12195 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12196 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12197 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12198 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12199 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12200 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12201 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12202 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12203 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12204 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12205 * sysdeps/unix/sysv/linux/bits/in.h
12206 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12207
a6a056bb
RM
122082012-05-22 Roland McGrath <roland@hack.frob.com>
12209
12210 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12211 (PREPARE_VERSION): Just use assert instead, it will be elided
12212 under [NDEBUG] anyway.
12213
c9009328
L
122142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12215
12216 * sysdeps/unix/sysv/linux/Makefile: Include
12217 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12218 (sysdep_routines): Remove sysctl.
c9009328
L
12219 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12220 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12221 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12222 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12223 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12224
73338355
AJ
122252012-05-22 Andreas Jaeger <aj@suse.de>
12226
12227 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12228 that pseudo_end is just ret and the stack pointer is correct also
12229 for static library in error case.
12230
d44638b0
PP
122312012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12232
12233 [BZ #14122]
12234 * nss/nsswitch.c (defconfig_entries): New variable.
12235 (__nss_database_lookup): Don't leak defconfig entries.
12236 (nss_parse_service_list): Don't leak on error paths.
12237 (free_database_entries): New function.
12238 (free_defconfig): New function.
12239 (free_mem): Move common code to free_database_entries.
12240
31a39bd8
L
122412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12242
da0331a8
L
12243 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12244 Add arch_prctl.
12245 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12246
31a39bd8
L
12247 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12248 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12250 New macro.
12251 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12252 (INTERNAL_SYSCALL_TYPES): Likewise.
12253 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12254 (LOAD_REGS_TYPES_[1-6]): Likewise.
12255 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12256 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12257
45470df3
AZ
122582012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12259
12260 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12261 copysignl for GLIBC_2_0.
12262 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12263 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12264 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12265 logbl for GLIBC_2_0.
12266 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12267 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12268
98a61bcb
L
122692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12270
a4f6e481
L
12271 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12272 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12273
f63d5db6
L
12274 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12275 Use "neg %eax".
12276
98a61bcb
L
12277 * time/mktime.c: Update copyright years.
12278
95770f14
PE
122792012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12280
6226efbd
PE
12281 mktime: merge comment-quoting-style change from gnulib
12282 * time/mktime.c: Quote 'like this' in comments.
12283 The GNU coding standards suggest that we no longer quote `like this',
12284 as "`" and "'" are typically rendered asymmetrically nowadays.
12285 The typical gnulib style is to quote 'like this' when quoting
12286 code, and "like this" when quoting English.
12287
b99e4f78
PE
12288 * time/mktime.c (compile-command): Add "-I.".
12289
643e01e6
PE
12290 mktime: merge mktime-internal.h change from gnulib
12291 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12292
2554247d
PE
12293 mktime: merge time_r change from gnulib
12294 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12295
826dd0ab
PE
12296 mktime: merge DEBUG change from gnulib
12297 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12298 case system <time.h> has a #define.
12299
bd83aabe
PE
12300 mktime: merge <sys/types.h> change from gnulib
12301 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12302 since <time.t> is now guaranteed to define time_t.
12303
95770f14
PE
12304 mktime: merge HAVE_CONFIG_H change from gnulib
12305 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12306
5e1a27a9
L
123072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12308
0e44a77e
L
12309 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12310 Use "neg %eax".
12311
5e1a27a9
L
12312 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12313 __rlim_t cast.
12314 (struct rusage): Use anonymous union to pad each field to
12315 __syscall_slong_t.
12316
46259bec
DM
123172012-05-21 David S. Miller <davem@davemloft.net>
12318
12319 * Makefules (o-iterator): Remove .s cases.
12320 (compile-command.s): Delete.
12321 (COMPILE.s): Delete.
12322 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12323
59f0c22e
JM
123242012-05-21 Joseph Myers <joseph@codesourcery.com>
12325
12326 * configure.in (libc_cv_predef_stack_protector): Only consider
12327 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12328 * configure: Regenerated.
12329
20c07380
L
123302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12331
bbb3154b
L
12332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12333 New macro. Use R*LP on int and pointer.
12334 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12335 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12336 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12337 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12338
20c07380
L
12339 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12340 [__WORDSIZE_TIME64_COMPAT32] instead of
12341 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12342 (struct utmp): Likewise.
12343 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12344 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12345 Renamed to ...
12346 (__WORDSIZE_TIME64_COMPAT32): This.
12347 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12348 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12349 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12350 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12351 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12352 (__WORDSIZE_TIME64_COMPAT32): New macro.
12353
d8d1017e
AJ
123542012-05-21 Andreas Jaeger <aj@suse.de>
12355
12356 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12357 only if [SHARED]. Add prototype for __wcschr_ia32.
12358
6c7fb145
RM
123592012-05-21 Roland McGrath <roland@hack.frob.com>
12360
12361 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12362 of %rbp unmolested in the jmp_buf while mangling the low bits.
12363 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12364 unmolested high bits of %rbp while demangling the low bits.
12365 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12366
66274218
AJ
123672012-05-21 Andreas Jaeger <aj@suse.de>
12368
07c58f8f
AJ
12369 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12370 * sunrpc/svc_simple.c: Use it for registerrpc.
12371 * sunrpc/xcrypt.c: Use it for passwd2des.
12372
66274218
AJ
12373 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12374
61f65140
L
123752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12376
12377 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12378 Don't define if [__SYSCALL_WORDSIZE != 32].
12379 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12380 New macro.
12381
5fefb436
AJ
123822012-05-21 Bruno Haible <bruno@clisp.org>
12383 Andreas Jaeger <aj@suse.de>
12384
12385 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12386 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12387 inptr and inend for must_buffer_ch.
12388 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12389 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12390 * stdio-common/Makefile (tests): Remove bug15.
12391 (bug15-ENV): Remove macro.
12392 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12393 anymore.
12394
d8e272ab
AJ
123952012-05-19 Andreas Jaeger <aj@suse.de>
12396 Roland McGrath <roland@hack.frob.com>
12397
12398 * manual/contrib.texi: Completely rewritten. It contains now an
12399 alphabetical list of contributors and their contributions.
12400
4a56a162
RH
124012012-05-21 Richard Henderson <rth@twiddle.net>
12402
12403 * misc/getauxval.c (__getauxval): Use unsigned long int.
12404 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12405 (getauxval): Use unsigned long int.
12406
d024d23c
L
124072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12408
12409 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12410
cbc00a03
RM
124112012-05-21 Roland McGrath <roland@hack.frob.com>
12412
12413 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12414 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12415 __alignof__ (long double).
12416
478143fa
AZ
124172012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12418
12419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12420
c7683a6d
RH
124212012-05-20 Richard Henderson <rth@twiddle.net>
12422
12423 * misc/getauxval.c: New file.
12424 * misc/sys/auxv.h: New file.
12425 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12426 (routines): Add getauxval.
12427 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12428 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12429 * elf/dl-sysdep.c (_dl_auxv): Remove.
12430 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12431 * elf/dl-support.c (_dl_auxv): New variable.
12432 (_dl_aux_init): Initialize it.
12433 * manual/startup.texi (Auxiliary Vector): New node.
12434 * sysdeps/generic/bits/hwcap.h: New file.
12435 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12436 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12437 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12438 * sysdeps/sparc/sysdep.h: ... here. Include it.
12439 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12442 Update.
c7683a6d
RH
12443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12446 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12451
a6f1845d
AZ
124522012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12453
12454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12455
cbcbe830
DM
124562012-05-19 David S. Miller <davem@davemloft.net>
12457
12458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12459
e0b16cc2
JM
124602012-05-19 Joseph Myers <joseph@codesourcery.com>
12461
12462 [BZ #14123]
12463 * math/s_ccosh.c: Include <float.h>
12464 (__ccosh): Avoid internal overflow calculating sinh and cosh
12465 values before multiplying by sin and cos values.
12466 * math/s_ccoshf.c: Likewise.
12467 * math/s_ccoshl.c: Likewise.
12468 * math/s_csin.c: Likewise.
12469 * math/s_csinf.c: Likewise.
12470 * math/s_csinl.c: Likewise.
12471 * math/s_csinh.c: Likewise.
12472 * math/s_csinhf.c: Likewise.
12473 * math/s_csinhl.c: Likewise.
12474 * math/libm-test.inc (ccos_test): Add more tests.
12475 (ccosh_test): Likewise.
12476 (csin_test): Likewise.
12477 (csinh_test): Likewise.
12478 * sysdeps/i386/fpu/libm-test-ulps: Update.
12479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12480
6ad13e08
L
124812012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12482
f66f0ce8
L
12483 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12484 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12485
6ad13e08
L
12486 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12487
b1d072a7
JM
124882012-05-19 Joseph Myers <joseph@codesourcery.com>
12489
12490 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12491 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12492 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12493 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12494 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12495 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12496 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12497 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12498 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12499 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12500 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12501 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12502 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12503 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12504 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12505 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12506 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12507 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12508 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12509 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12510 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12511 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12512 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12513 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12514 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12515 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12516 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12517 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12518 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12519 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12520 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12521
9eae47cb
AJ
125222012-05-18 Andreas Jaeger <aj@suse.de>
12523
12524 * csu/.gitignore: Delete.
12525
bb07f69f
L
125262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12527
12528 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12529 (timex): Use __syscall_slong_t.
12530
e6bdb741
AJ
125312012-05-18 Andreas Jaeger <aj@suse.de>
12532 Carlos O'Donell <carlos_odonell@mentor.com>
12533
12534 * manual/install.texi (Configuring and compiling): Update
12535 description about files modified in the source directory.
d6c33fda 12536 * INSTALL: Regenerated.
e6bdb741 12537
1b74487e
L
125382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12539
12540 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12541 value. Use "or" to set return value to -1.
12542 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12543 negate return value.
12544
a88b64b9
TMQMF
125452012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12546
12547 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12548 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12549 failure if the compiler has Graphite support disabled.
12550 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12551 Likewise.
12552 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12553 CFLAGS-memmove.c): Likewise.
12554 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12555 Likewise.
12556
3707636e
L
125572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12558
610b8622
L
12559 * sysdeps/x86_64/x32/_itoa.h: New file.
12560
7cd195df
L
12561 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12562 getdents system call only if kernel and user dirents have the
12563 same d_ino and d_off.
12564
94b07d20
L
12565 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12566 LLONG_MAX != LONG_MAX.
12567 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12568 (_fitoa_word): Likewise.
12569
18298070
L
12570 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12571 years.
12572 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12573 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12574 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12575
553c7ea4
L
12576 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12577 include <bits/wordsize.h>. Check __x86_64__ instead of
12578 __WORDSIZE.
12579 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12580 if __x86_64__ is defined. Use anonymous union on fpstate.
12581
3707636e
L
12582 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12583 anonymous union.
12584
b53ef01a
AS
125852012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12586
37fb1dc0
AS
12587 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12588 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12589 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12590 Refer to _rtld_local_ro instead of _rtld_global_ro.
12591 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12592 Likewise.
12593 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12594 Likewise.
12595 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12596 Likewise.
12597 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12598 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12599 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12600
b53ef01a
AS
12601 * sysdeps/powerpc/powerpc32/dl-machine.c
12602 (__elf_machine_runtime_setup) [PROF]: Don't reference
12603 _dl_prof_resolve.
12604
7a185db2
AJ
126052012-05-18 Andreas Jaeger <aj@suse.de>
12606
12607 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12608 function only available for GCCs before 3.4 since GCC 3.4
12609 introduced a builtin.
12610 (lrint): Likewise.
12611 (llrintf): Likewise.
12612 (llrint): Likewise.
12613 (fmaxf): Likewise.
12614 (fmax): Likewise.
12615 (fminf): Likewise.
12616 (fmin): Likewise.
12617 (rint): Likewise.
12618 (rintf): Likewise.
12619 (nearbyint): Likewise.
12620 (nearbyintf): Likewise.
12621 (ceil): Likewise.
12622 (ceilf): Likewise.
12623 (floor): Likewise.
12624 (floorf): Likewise.
12625
3e5aef87
L
126262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12627
428bd707
L
12628 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12629 on both fields and cast pointer to __syscall_ulong_t.
12630
3e5aef87
L
12631 * bits/types.h (__fsword_t): New type.
12632 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12633 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12634 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12635 (__FSWORD_T_TYPE): Likewise.
12636 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12637 (__FSWORD_T_TYPE): Likewise.
12638 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12639 (__FSWORD_T_TYPE): Likewise.
12640 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12641 (__FSWORD_T_TYPE): Likewise.
12642 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12643 __SWORD_TYPE with __fsword_t.
12644 (statfs64): Likewise.
12645
1ba7c3dc
DM
126462012-05-17 David S. Miller <davem@davemloft.net>
12647
12648 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12649
59910343
AJ
126502012-05-17 Andreas Jaeger <aj@suse.de>
12651
12652 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12653 warning.
12654
2e4c1e9e
L
126552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12656
12657 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12658
de7f5ce7
AJ
126592012-05-17 Andreas Jaeger <aj@suse.de>
12660
12661 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12662 when it is used.
12663
286abc3d
CM
126642012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12665
12666 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12667
477cc68e
L
126682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12669
12670 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12671 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12672
1a0994f5
CD
126732012-05-17 Andreas Jaeger <aj@suse.de>
12674 Carlos O'Donell <carlos_odonell@mentor.com>
12675
12676 [BZ #14059]
12677 * sysdeps/x86_64/multiarch/init-arch.h
12678 (bit_YMM_Usable): Rename to...
12679 (bit_AVX_Usable): ... this.
12680 (bit_FMA4_Usable): New macro.
12681 (bit_XMM_state): New macro.
12682 (bit_YMM_state): New macro.
12683 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12684 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12685 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12686 (CPUID_OSXSAVE): New macro.
12687 (CPUID_AVX): New macro.
12688 (CPUID_FMA4): New macro.
12689 (index_YMM_Usable): Rename to...
12690 (index_AVX_Usable): ... this.
12691 (HAS_AVX): Use HAS_ARCH_FEATURE.
12692 (HAS_FMA4): Likewise.
12693 (HAS_YMM_USABLE): Remove.
12694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12695 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12696 are present.
12697 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12698 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12699 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12700 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12701 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12702
0af797de
CM
127032012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12704
12705 * math/libm-test.c: Support platforms without multiple rounding modes.
12706 * math/bug-nextafter.c: Support platforms without FP exceptions.
12707 * math/bug-nexttoward.c: Likewise.
12708 * math/test-fenv.c: Likewise.
12709 * math/test-misc.c: Likewise.
12710 * stdlib/bug-getcontext.c: Likewise.
12711
e39745ff
AJ
127122012-05-17 Andreas Jaeger <aj@suse.de>
12713
12714 * manual/examples/search.c (critter_cmp): Change signature to
12715 avoid warnings.
12716 * manual/string.texi (Collation Functions): Likewise.
12717
48970aba
L
127182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12719
12720 * bits/types.h: Fold copyright years.
12721 * bits/typesizes.h: Likewise.
12722 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12723 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12725 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12726 * time/time.h: Likewise.
12727
bedee953
PP
127282012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12729
12730 [BZ #208]
12731 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12732 in instead of returning them. Return void.
12733 (__libc_mallinfo): Accumulate over all arenas.
12734 (__malloc_stats): Adjust for change in int_mallinfo interface.
12735
61653dfb
RM
127362012-05-16 Roland McGrath <roland@hack.frob.com>
12737
30b99d79
RM
12738 [BZ #10375]
12739 * configure.in (NM): Add AC_CHECK_TOOL for it.
12740 (libc_extra_cflags): New substituted variable.
12741 Check for -fstack-protector being used implicitly.
12742 * configure: Regenerated.
12743 * config.make.in (config-extra-cflags): New variable,
12744 gets @libc_extra_cflags@.
12745 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12746
61653dfb
RM
12747 [BZ #10375]
12748 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12749 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12750 * configure: Regenerated.
12751 * config.make.in (CPPUNDEFS): New substituted variable.
12752 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12753 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12754 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12755
661768bb
L
127562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12757
12758 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12759 (mq_attr): Use __syscall_slong_t.
12760
d4261567
L
127612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12762
12763 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12764 Check __x86_64__ instead of __WORDSIZE.
12765 (_STAT_VER_LINUX): Likewise.
12766 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12767 __syscall_ulong_t and __syscall_slong_t.
12768 (stat64): Likewise.
12769
cf3ff365
L
127702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12771
12772 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12773
76cf3e4d
L
127742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12775
12776 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12777
a637753a
L
127782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12779
12780 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12781 __syscall_ulong_t.
12782
d5e05119
L
12783 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12784 include <bits/wordsize.h>. Check __x86_64__ instead of
12785 __WORDSIZE.
12786 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12787 defined.
12788 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12789
f62ee380
L
12790 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12791 include <bits/wordsize.h>. Check __x86_64__ instead of
12792 __WORDSIZE.
12793 (user_regs_struct): Use "__extension__ unsigned long long"
12794 instead of "unsigned long" if __x86_64__ is defined.
12795 (user): Likewise. Pad after pointer field if __ILP32__ is
12796 defined.
12797
4e124ced
JM
127982012-05-16 Joseph Myers <joseph@codesourcery.com>
12799
6a3951a0
JM
12800 * configure.in (makeinfo): Require version 4.5 or later. Allow
12801 versions 5 to 9.
12802 * configure: Regenerated.
12803 * manual/install.texi (texinfo): Increase version requirement to
12804 4.5 or later.
12805 * INSTALL: Regenerated.
12806
4e124ced
JM
12807 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12808
953ca31a
L
128092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12810
12811 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12812
617aca05
L
12813 * sysdeps/x86_64/x32/ffs.c: New file.
12814
5762f7ae
L
12815 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12816 __syscall_ulong_t.
12817 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12818 defined. Use __syscall_ulong_t.
12819 (shminfo): Use __syscall_ulong_t.
12820 (shm_info): Likewise.
12821
a26b6856
L
12822 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12823 __syscall_ulong_t.
12824
cb2b9ef7
L
12825 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12826 <bits/wordsize.h>.
12827 (msgqnum_t): Use __syscall_ulong_t.
12828 (msglen_t): Likewise.
12829 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12830 __syscall_ulong_t.
12831
34683bb0
L
12832 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12833 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12834
84a68786
L
12835 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12836
48baa5f1
L
12837 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12838 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12839
180be88b
L
12840 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12841 __syscall_slong_t.
12842
5e90c8ad
L
12843 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12844 include <bits/wordsize.h>. Check __x86_64__ instead of
12845 __WORDSIZE.
12846
23dfb58b
L
12847 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12848 "unsigned long long int" if __x86_64__ is defined.
12849 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12850
ce5d54b0
L
12851 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12852 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12853 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12854
13dc9eac
L
12855 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12856 <stdint.h>.
12857 (GET_PC): Cast to uintptr_t first.
12858 (GET_FRAME): Likewise.
12859 (GET_STACK): Likewise.
12860
a7895d15
L
12861 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12862 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12863 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12864 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12865 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12866 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12867 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12868 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12869 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12870 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12871 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12872 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12873 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12874 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12875 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12876 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12877 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12878 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12879 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12880 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12881 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12882 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12883 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12884 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12885 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12886 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12887 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12888 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12889 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12890
656416c9
AS
128912012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12892
5bd66283
AS
12893 * Makerules (+depfiles): Also collect depfiles from .oS in
12894 $(extra-objs).
12895 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12896 .oS, $(libnldbl-routines)).
12897
656416c9
AS
12898 * Makerules (native-compile-mkdep-flags): Define.
12899 * sunrpc/Makefile (extra-objs): Add $(addprefix
12900 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12901 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12902 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12903 calling $(make-target-directory).
12904
a46f2169
L
129052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12906
12907 * bits/types.h (__snseconds_t): Removed.
12908 * time/time.h (struct timespec): Replace __snseconds_t with
12909 __syscall_slong_t.
12910 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12911 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12912 Likewise.
12913 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12914 (__SNSECONDS_T_TYPE): Likewise.
12915 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12916 (__SNSECONDS_T_TYPE): Likewise.
12917 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12918 (__SNSECONDS_T_TYPE): Likewise.
12919
6af6528b
L
129202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12921
12922 * sysdeps/mach/hurd/bits/typesizes.h
12923 (__SYSCALL_SLONG_TYPE): New macro.
12924 (__SYSCALL_ULONG_TYPE): Likewise.
12925
de986b56
L
129262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12927
12928 * bits/types.h (__syscall_slong_t): New type.
12929 (__syscall_ulong_t): Likewise.
12930
12931 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12932 (__SYSCALL_ULONG_TYPE): Likewise.
12933 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12934 (__SYSCALL_SLONG_TYPE): Likewise.
12935 (__SYSCALL_ULONG_TYPE): Likewise.
12936 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12937 (__SYSCALL_SLONG_TYPE): Likewise.
12938 (__SYSCALL_ULONG_TYPE): Likewise.
12939 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12940 (__SYSCALL_SLONG_TYPE): Likewise.
12941 (__SYSCALL_ULONG_TYPE): Likewise.
12942
85736dc7
L
129432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12944
12945 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12946 Add sigaltstack-offsets.sym.
12947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12948 <sigaltstack-offsets.h>.
12949 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12950 longjmp_msg pointer.
12951 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12952 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12953 signal stack.
12954 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12955
cc03b296
JM
129562012-05-15 Joseph Myers <joseph@codesourcery.com>
12957
a9538892
JM
12958 * elf/stackguard-macros.h: Remove file.
12959 * sysdeps/generic/stackguard-macros.h: New file.
12960 * sysdeps/i386/stackguard-macros.h: Likewise.
12961 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12962 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12963 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12964 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12965 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12966 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12967 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12968 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12969 <elf/stackguard-macros.h>.
12970
cc03b296
JM
12971 [BZ #14109]
12972 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12973 __aligned__ in attribute.
12974 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12975 (gregset_t): Likewise.
12976
93171016
L
129772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12978
12979 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12980 * sysdeps/x86_64/64/Implies-after: Here. New file.
12981 * sysdeps/x86_64/x32/Implies-after: New file.
12982
d86813a0
L
129832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12984
12985 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12986 and access return value for _dl_profile_fixup. Use R10_LP to
12987 load frame size.
12988
2953ec75
L
129892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12990
12991 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12992
3b550e9e
L
129932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12994
12995 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12996 * sysdeps/x86_64/x32/sysdep.h: New file.
12997
eda41706
L
129982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12999
13000 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13001 * sysdeps/x86_64/setjmp.S: Likewise.
13002
9ea01d93
AZ
130032012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13004
13005 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13006 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13007 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13008 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13009 remove unused global constant.
13010
02a91938
CM
130112012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13012
13013 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13014 include of <not-cancel.h>.
13015
6540185f
RM
130162012-05-15 Roland McGrath <roland@hack.frob.com>
13017
13018 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13019
509072a0
AJ
130202012-05-15 Jeff Law <law@redhat.com>
13021 Andreas Jaeger <aj@suse.de>
13022
13023 [BZ #13594]
13024 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13025 out from...
13026 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13027 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13028 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13029 code changing __hst_map_handle.map.
13030
ba75122d
RM
130312012-05-15 Roland McGrath <roland@hack.frob.com>
13032
13033 * configure.in (sysnames): Look for Implies-before and Implies-after
13034 files.
13035 * configure: Regenerated.
13036
890d8bd8
L
130372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13038
13039 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13040 8-byte data alignment with LP_SIZE alignment.
13041
f6ee6623
L
130422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13043
13044 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13045 into R10_LP.
13046
ea2626f6
L
130472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13048
13049 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13050
085f715e
L
130512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13052
13053 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13054 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13055 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13056 Likewise.
13057 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13058
be8498fc
L
130592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13060
13061 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13062 (stackinfo_sub_sp): Likewise.
13063
70bc83b9
L
130642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13065
13066 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13067 RAX_LP.
13068
9bc0b730
L
130692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13070
13071 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13072 into R*_LP.
13073
6d2850e7
L
130742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13075
13076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13077 sizes into R*_LP.
13078
3cb84561
L
130792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13080
13081 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13082
54e2ed81
L
130832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13084
13085 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13086 into R11_LP and load __x86_64_shared_cache_size_half into
13087 R8_LP.
13088
8a17f349
L
130892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13090
13091 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13092 R8_LP.
13093
777b1eea
AZ
130942012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13095
13096 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13097 logb for POWER7.
13098 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13099 logbf for POWER7.
13100 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13101 logbl for POWER7.
13102 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13103 powerpc32/power7/fpu/s_logb.c via #include.
13104 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13105 powerpc32/power7/fpu/s_logbf.c via #include.
13106 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13107 powerpc32/power7/fpu/s_logbl.c via #include.
13108
d20d4ac2
JM
131092012-05-15 Joseph Myers <joseph@codesourcery.com>
13110
13111 * README.libm: Remove file.
13112
6cdef1ab
L
131132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13114
13115 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13116 count for x32. Use R*_LP and omit operand-size suffix.
13117
0b254d8f
L
131182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13119
13120 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13121 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13122 * sysdeps/x86_64/x32/shlib-versions: New file.
13123
ceb809dc
RM
131242012-05-14 Roland McGrath <roland@hack.frob.com>
13125
13126 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13127 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13128 Use _dl_fatal_printf instead.
13129
37f1abd4
JM
131302012-05-14 Joseph Myers <joseph@codesourcery.com>
13131
13132 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13133 set if not set by the user. Do not allow for being unset.
13134 * sysdeps/unix/sysv/linux/configure: Regenerated.
13135
11de3a33
L
131362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13137
13138 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13139 the `q' suffix from lea and replace .quad with ASM_ADDR.
13140
e02f153a
L
131412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13142
13143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13144 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13145 instead of $17.
13146 (PTR_DEMANGLE): Likewise.
13147
520ae0fd
L
131482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13149
13150 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13151 (LP_OP): Likewise.
13152 (ASM_ADDR): Likewise.
13153 (RAX_LP): Likewise.
13154 (RBP_LP): Likewise.
13155 (RBX_LP): Likewise.
13156 (RCX_LP): Likewise.
13157 (RDI_LP): Likewise.
13158 (RSI_LP): Likewise.
13159 (RSP_LP): Likewise.
13160 (R8_LP): Likewise.
13161 (R9_LP): Likewise.
13162 (R10_LP): Likewise.
13163 (R10_LP): Likewise.
13164 (R11_LP): Likewise.
13165 (R12_LP): Likewise.
13166 (R13_LP): Likewise.
13167 (R14_LP): Likewise.
13168 (R15_LP): Likewise.
13169
b985be81
L
131702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13171
13172 * sysdeps/x86_64/x32/dl-machine.h: New file.
13173
6a4888ff
AJ
131742012-05-14 Andreas Jaeger <aj@suse.de>
13175
13176 * manual/Makefile (subdir): Remove export of subdir.
13177 (all): Remove target.
13178 (.PHONY): Remove all from list.
13179 (mkinstalldirs): Remove.
13180 (.PHONY): Remove installdirs from list.
13181 ($(inst_infodir)/libc.info): Use make-target-directory.
13182 (installdirs): Remove.
13183 (subdir_%): Remove.
13184 (glibc-targets): Remove.
13185 (lib): Remove.
13186 (stubs): Remove.
13187 ($(objpfx)stubs ../po/manual.pot): Remove.
13188 ($(objpfx)stamp%): Remove.
13189 (make-target-directory): Remove.
13190 (subdir_install): Remove.
13191 (routines): Remove.
13192 (aux): Remove.
13193 (sources): Remove.
13194 (objects): Remove.
13195 (headers): Remove.
13196
13197 [BZ #13750]
13198 * manual/.gitignore: Remove, it's not needed anymore.
13199 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13200 all files in it.
13201 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13202 directory.
13203 (texis): Renamed to $(objpfx)texis.
13204 (texis-path): New, contains path to generated files.
13205 (chapters.%): Use texis-path for complete path, add extra argument
13206 libc-texinfo.sh.
13207 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13208 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13209 (summary,texi, stamp-summary): Use complete path of
13210 files. Generate files in build dir.
13211 (dir-add.texi): Build in build dir.
13212 (libm-err.texi,stamp-libm-err): Likewise.
13213 (version.texi, stamp-version): Likewise.
13214 (.%c.texi): Likewise.
13215 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13216 (mostlyclean): Remove target.
13217 (realclean): Remove target.
13218 (generated): Add new variable with contents from mostlyclean and
13219 realclean, remove entries duplicated in common-mostlyclean, add
13220 stamp-libm-err and stamp-version.
13221 (generated-dirs): Add libc directory.
13222 ($(inst_infodir)/libc.info): Install files from build dir.
13223
13224 * manual/install.texi (Configuring and compiling): Adjust since
13225 the info files are not part of the tar ball anymore.
13226
7ac77294
AJ
132272012-05-14 Andreas Jaeger <aj@suse.de>
13228
13229 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13230 variable.
13231
ffb7875d
JM
132322012-05-14 Joseph Myers <joseph@codesourcery.com>
13233
13234 [BZ #13717]
13235 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13236 to 2.2.0 where earlier.
13237 * sysdeps/unix/sysv/linux/configure: Regenerated.
13238 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13239 Remove conditional code.
13240 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13241 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13242 Remove conditional code.
13243 [!__NR_lchown]: Likewise.
13244 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13245 [__NR_lchown]: Likewise.
13246 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13247 comment referencing __ASSUME_LCHOWN_SYSCALL.
13248 * sysdeps/unix/sysv/linux/i386/sigaction.c
13249 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13250 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13251 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13252 Remove conditional code.
13253 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13254 (__protocol_available): Remove #if 0 code.
13255 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13256 conditional code.
13257 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13258 * sysdeps/unix/sysv/linux/kernel-features.h
13259 (__ASSUME_GETCWD_SYSCALL): Don't define.
13260 (__ASSUME_REALTIME_SIGNALS): Likewise.
13261 (__ASSUME_PREAD_SYSCALL): Likewise.
13262 (__ASSUME_PWRITE_SYSCALL): Likewise.
13263 (__ASSUME_POLL_SYSCALL): Likewise.
13264 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13265 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13266 non-SPARC.
13267 (__ASSUME_SIOCGIFNAME): Don't define.
13268 (__ASSUME_MSG_NOSIGNAL): Likewise.
13269 (__ASSUME_SENDFILE): Define unconditionally.
13270 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13271 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13272 conditional code.
13273 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13274 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13275 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13276 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13277 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13278 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13279 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13281 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13282 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13284 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13285 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13287 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13290 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13291 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13293 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13296 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13299 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13302 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13304 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13305 Remove conditional code.
13306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13307 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13308 Remove conditional code.
13309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13310 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13311 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13312 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13313 Remove conditional code.
13314 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13315 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13316 Remove conditional code.
13317 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13318 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13319 Remove conditional code.
13320 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13321 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13322 Remove conditional code.
13323 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13324 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13325 Remove conditional code.
13326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13327 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13328 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13330 * sysdeps/unix/sysv/linux/sigaction.c
13331 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13332 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13333 * sysdeps/unix/sysv/linux/sigpending.c
13334 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13335 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13336 * sysdeps/unix/sysv/linux/sigprocmask.c
13337 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13338 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13339 * sysdeps/unix/sysv/linux/sigsuspend.c
13340 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13341 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13342 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13343 (__libc_missing_rt_sigs): Remove.
13344 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13345 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13346 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13347 Remove conditional code.
13348 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13349 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13350 return 1.
13351 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13352 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13353 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13354 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13355
1bfb7291
AJ
133562012-05-14 Andreas Jaeger <aj@suse.de>
13357
caae5a81
AJ
13358 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13359 it's not used in glibc.
13360 (__coshm1): Likewise.
13361 (__acosh1p): Likewise.
13362 (__sgn): Likewise.
13363
1bfb7291
AJ
13364 * manual/string.texi (Copying and Concatenation): Add missing
13365 variable in concat example.
13366 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13367
c044d724
L
133682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13369
144c5467 13370 [BZ #14103]
c044d724
L
13371 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13372 __builtin_clzl with __builtin_clzll.
13373
2523c62b
L
133742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13375
13376 [BZ #14104]
13377 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13378 libc_freeres_ptr.
13379
d7bb4c42
LD
133802012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13381
13382 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13383 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13384 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13385 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13386
9dc4e1fb
MF
133872012-05-14 Mike Frysinger <vapier@gentoo.org>
13388
13389 * NEWS: Update ia64 info.
13390
c7df0112
AS
133912012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13392
13393 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13394 used as bcopy.
13395
dc70356c
TS
133962012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13397
13398 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13399 * sysdeps/unix/syscalls.list (dup3): Likewise.
13400 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13401 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13402
9fb1a21f
L
134032012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13404
13405 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13406 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13407
4822a2a5
L
134082012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13409
13410 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13411 thread pointer.
13412 (TLS_IE): Use mov/add instead of movq/addq to load thread
13413 pointer.
13414 (TLS_GD_PREFIX): New.
13415 (TLS_GD): Use it.
13416
842b81d6
DM
134172012-05-11 David S. Miller <davem@davemloft.net>
13418
13419 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13420 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13421 (_FPU_SETCW): Likewise.
13422
1cf463cd
L
134232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13424
13425 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13426 is 32-byte aligned.
13427
60cc4a18
AS
134282012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13429
13430 [BZ #11837]
13431 * iconvdata/gb18030.c: Update tables.
13432 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13433 characters specially.
13434 (BODY for TO_LOOP): Add encoding of missing ranges.
13435
febb44a4
TS
134362012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13437
13438 [BZ #13673]
13439 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13440 * sysdeps/mach/hurd/dup3.c: Likewise.
13441 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13442 * sysdeps/powerpc/memmove.c:: Likewise.
13443
0a10fb9e
L
134442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13445
13446 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13447 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13448
df8a552f
L
134492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13450
13451 * elf/elf.h (R_X86_64_RELATIVE64): New.
13452 (R_X86_64_NUM): Updated.
13453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13454 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13455 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13456 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13457 tst-quad1pie tst-quad2pie
13458 (modules-names): Add tst-quadmod1 tst-quadmod2.
13459 ($(objpfx)tst-quad1): New dependency.
13460 ($(objpfx)tst-quad2): Likewise.
13461 ($(objpfx)tst-quad1pie): Likewise.
13462 ($(objpfx)tst-quad2pie): Likewise.
13463 * sysdeps/x86_64/tst-quad1.c: New file.
13464 * sysdeps/x86_64/tst-quad1pie.c: New file.
13465 * sysdeps/x86_64/tst-quad2.c: Likewise.
13466 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13467 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13468 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13469 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13470 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13471
f34d6f84
ST
134722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13473
f42d41d1
ST
13474 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13475 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13476 * streams/stropts.h (t_scalar_t): Define type.
13477
3c3571fc
ST
13478 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13479 (_PATH_PRESERVE): Set to "/var/lib".
13480 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13481
61f06bd3
ST
13482 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13483 instead of int.
13484
918d4d71
ST
13485 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13486 if __dir_mkfile succeeded.
13487
f34d6f84
ST
13488 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13489 checking for _hurd_dtablesize. Unlock it right after having
13490 finished _hurd_dtable allocation.
13491
10589b4a
TS
134922012-05-10 Thomas Schwinge <thomas@schwinge.name>
13493
674cdbc7
TS
13494 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13495 * sysdeps/mach/hurd/configure: Regenerated.
13496 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13497 special-casing to...
13498 * sysdeps/gnu/configure.in: ... this new file.
13499 * sysdeps/unix/sysv/linux/configure: Regenerated.
13500 * sysdeps/gnu/configure: New generated file.
13501
8e41b99f
TS
13502 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13503 for Linux: use nsec instead of usec, as well as:
13504 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13505 members of type struct timespec.
13506 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13507 New macros.
13508 (struct stat64): Likewise.
13509 (_STATBUF_ST_NSEC): New macro.
13510 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13511
10589b4a
TS
13512 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13513 __strtoul_internal rather than strtoul.
13514
63643c85
PT
135152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13516
13517 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13518 and reject them.
13519
3faebe6a
ST
135202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13521
13522 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13523 which preserves existing values.
13524 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13525
c6474b07
PT
135262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13527
13528 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13529 TIMEOUT values. Return EINVAL for NFDS values either negative or
13530 greater than FD_SETSIZE.
13531
1043890b
ST
135322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13533
13534 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13535 allocated, call __vm_protect to finish enabling the existing space, and
13536 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13537 allocate the remainder.
13538
37ed8b9b
PT
135392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13540
13541 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13542 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13543
db653660
ST
135442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13545
37ed8b9b
PT
13546 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13547 sysdeps/mach/hurd/readlink.c.
b29d4053 13548
db653660
ST
13549 * posix/tst-sysconf.c (posix_options): Only use
13550 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13551 _POSIX_SYNCHRONIZED_IO when they are defined
13552 * sysdeps/mach/hurd/bits/posix_opt.h:
13553 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13554 (_XOPEN_REALTIME): Undefine macro.
13555 (_XOPEN_REALTIME_THREADS): Undefine macro.
13556 (_XOPEN_SHM): Undefine macro.
13557 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13558 macro to -1.
13559 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13560 macro to -1.
13561 (_POSIX_ASYNC_IO): Undefine macro.
13562 (_POSIX_PRIORITIZED_IO): Undefine macro.
13563 (_POSIX_SPIN_LOCKS): Define macro to -1.
13564
ee16e894
ST
13565 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13566 SA_NODEFER, SA_RESETHAND.
13567 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13568 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13569 F_DUPFD_CLOEXEC.
13570
6103ae3b
TS
135712012-05-10 Thomas Schwinge <thomas@schwinge.name>
13572
13573 * elf/Makefile (pldd-modules): Define unconditionally.
13574
80b4e5f3
TS
135752012-05-10 Thomas Schwinge <thomas@schwinge.name>
13576
13577 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13578
edadcbd6
ST
135792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13580
13581 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13582 Return ENOENT when name is empty.
13583 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13584
80694780
TS
135852012-05-10 Thomas Schwinge <thomas@schwinge.name>
13586
1792c087
TS
13587 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13588
80694780
TS
13589 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13590
6b645f0d
ST
135912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13592
80694780
TS
13593 Fix mlock in all cases except non-readable pages.
13594 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13595 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13596
6b645f0d
ST
13597 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13598 (__mkdir): When path is `/', just fail with EEXIST.
13599 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13600
e468f8a3
TS
136012012-05-10 Thomas Schwinge <thomas@schwinge.name>
13602
13603 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13604 <sys/uio.h> (for writev).
13605 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13606 and <sys/param.h> (for MIN).
13607
a4186cff
PT
136082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13609
13610 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13611 REQUESTED_TIME. Properly set the remaining time and return EINTR
13612 if interrupted.
13613
510bbf14
TS
136142012-05-10 Thomas Schwinge <thomas@schwinge.name>
13615
13616 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13617 Depend on against $(link-rpcuserlibs).
13618
5d5722e8
ST
136192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13620
a4186cff
PT
13621 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13622 (__libc_stack_end): Do not use attribute_relro.
13623 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13624 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 13625 to libthread-provided value.
a4186cff
PT
13626 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13627 attribute_relro.
5d5722e8 13628
37233df9
TS
136292012-05-10 Thomas Schwinge <thomas@schwinge.name>
13630
be971a2b
TS
13631 [BZ #3748]
13632 * bits/libc-lock.h (__libc_once_get): New macro.
13633 * sysdeps/mach/bits/libc-lock.h: Likewise.
13634 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13635 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13636 instead of using implementation details.
13637
37233df9
TS
13638 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13639 * libio/freopen.c: Likewise.
13640 * libio/freopen64.c: Likewise.
13641 * misc/syslog.c: Likewise.
13642 * nscd/connections.c: Likewise.
13643 * nscd/netgroupcache.c: Likewise.
13644 * sysdeps/posix/getcwd.c: Likewise.
13645
38de94a5
RM
136462012-05-10 Roland McGrath <roland@hack.frob.com>
13647
13648 * math/w_ilogbf.c: Add #include <limits.h>.
13649
67530489
ST
136502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13651
a4186cff 13652 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
13653 path instead of returning without unlocking.
13654
67530489
ST
13655 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13656 immediate-write ioctls.
13657 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13658
5aa3a74a
TS
136592012-05-10 Thomas Schwinge <thomas@schwinge.name>
13660
18bad2ae
TS
13661 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13662 __builtin_frame_address instead of making assumptions about the
13663 location of the return address relative to DATA. Force early load of
13664 the return address.
13665 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13666 __builtin_frame_address.
13667
5aa3a74a
TS
13668 dup3 for GNU Hurd.
13669 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13670 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13671 implement dup3 and do some further code clean-ups.
13672 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13673 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13674
ecd0de9a
ST
136752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13676
cd9fa985
ST
13677 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13678
a4186cff
PT
13679 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13680 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13681 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13682 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13683 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13684 d->port.lock.
802ca5a5 13685
a4186cff
PT
13686 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13687 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13688 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 13689
bcf55240
TS
136902012-05-10 Thomas Schwinge <thomas@schwinge.name>
13691
6960eb42
TS
13692 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13693 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13694 definitions.
13695
eb43375f
TS
13696 accept4 for GNU Hurd.
13697 * include/sys/socket.h (__libc_accept4): New prototype.
13698 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13699 to implement __libc_accept4.
13700 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13701 __libc_accept4.
13702 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13703
bcf55240
TS
13704 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13705 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13706 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13707 signal-defines.sym.
13708
6178c55b
ST
137092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13710
a4186cff 13711 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 13712
6f080c2f
TS
137132012-05-10 Thomas Schwinge <thomas@schwinge.name>
13714
13715 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13716 assertion on O_CLOEXEC flag.
13717 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13718 * hurd/intern-fd.c: Likewise.
13719 * hurd/port2fd.c: Likewise.
13720
bcfe3a54
ST
137212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13722
13723 [BZ #3906]
13724 * bits/in.h (IPV6_PKTINFO): Define new macro.
13725 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13726
89c9aa49
AZ
137272012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13728
13729 [BZ #13954]
13730 [BZ #13955]
13731 [BZ #13956]
13732 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13733 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13734 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13735 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13736 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13737 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13738 * math/libm-test.inc (logb_test) : Additional logb tests.
13739
021db4be
AJ
137402012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13741 Andreas Jaeger <aj@suse.de>
13742
13743 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13744 * configure: Regenerated.
13745 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13746 * config.make.in (link-obsolete-rpc): New substituted variable.
13747 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13748 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13749 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13750 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13751 so that libc.a contains the symbols.
13752 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13753 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13754 * sunrpc/auth_none.c: Likewise.
13755 * sunrpc/auth_unix.c: Likewise.
13756 * sunrpc/authdes_prot.c: Likewise.
13757 * sunrpc/authuxprot.c: Likewise.
13758 * sunrpc/clnt_gen.c: Likewise.
13759 * sunrpc/clnt_perr.c: Likewise.
13760 * sunrpc/clnt_raw.c: Likewise.
13761 * sunrpc/clnt_simp.c: Likewise.
13762 * sunrpc/clnt_tcp.c: Likewise.
13763 * sunrpc/clnt_udp.c: Likewise.
13764 * sunrpc/clnt_unix.c: Likewise.
13765 * sunrpc/des_crypt.c: Likewise.
13766 * sunrpc/des_soft.c: Likewise.
13767 * sunrpc/get_myaddr.c: Likewise.
13768 * sunrpc/key_call.c: Likewise.
13769 * sunrpc/key_prot.c: Likewise.
13770 * sunrpc/netname.c: Likewise.
13771 * sunrpc/pm_getmaps.c: Likewise.
13772 * sunrpc/pm_getport.c: Likewise.
13773 * sunrpc/pmap_clnt.c: Likewise.
13774 * sunrpc/pmap_prot.c: Likewise.
13775 * sunrpc/pmap_prot2.c: Likewise.
13776 * sunrpc/pmap_rmt.c: Likewise.
13777 * sunrpc/publickey.c: Likewise.
13778 * sunrpc/rpc_cmsg.c: Likewise.
13779 * sunrpc/rpc_common.c: Likewise.
13780 * sunrpc/rpc_dtable.c: Likewise.
13781 * sunrpc/rpc_prot.c: Likewise.
13782 * sunrpc/rpc_thread.c: Likewise.
13783 * sunrpc/rtime.c: Likewise.
13784 * sunrpc/svc.c: Likewise.
13785 * sunrpc/svc_auth.c: Likewise.
13786 * sunrpc/svc_raw.c: Likewise.
13787 * sunrpc/svc_run.c: Likewise.
13788 * sunrpc/svc_tcp.c: Likewise.
13789 * sunrpc/svc_udp.c: Likewise.
13790 * sunrpc/svc_unix.c: Likewise.
13791 * sunrpc/svcauth_des.c: Likewise.
13792 * sunrpc/xcrypt.c: Likewise.
13793 * sunrpc/xdr.c: Likewise.
13794 * sunrpc/xdr_array.c: Likewise.
13795 * sunrpc/xdr_float.c: Likewise.
13796 * sunrpc/xdr_intXX_t.c: Likewise.
13797 * sunrpc/xdr_mem.c: Likewise.
13798 * sunrpc/xdr_rec.c: Likewise.
13799 * sunrpc/xdr_ref.c: Likewise.
13800 * sunrpc/xdr_sizeof.c: Likewise.
13801 * sunrpc/xdr_stdio.c: Likewise.
13802
b5c086a2
RM
138032012-05-10 Roland McGrath <roland@hack.frob.com>
13804
13805 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13806 change. Update copyright years.
13807
6d74dd09
JM
138082012-05-10 Joseph Myers <joseph@codesourcery.com>
13809
13810 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13811
28e72501
MK
138122012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13813 Joseph Myers <joseph@codesourcery.com>
13814 Paul Pluzhnikov <ppluzhnikov@google.com>
13815
13816 [BZ #14012]
13817 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13818 requiring rpcgen.
13819 [cross-compiling] (extra-libs): Likewise.
13820 [cross-compiling] (extra-libs-others): Likewise.
13821 [cross-compiling] (librpcsvc-routines): Likewise.
13822 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13823 [cross-compiling] (omit-deps): Likewise.
13824 (sunrpc-CPPFLAGS): New variable.
13825 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13826 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13827 (cross-rpcgen-objs): New variable.
13828 (extra-objs): Append $(cross-rpcgen-objs).
13829 ($(cross-rpcgen-objs)): New rule.
13830 ($(objpfx)cross-rpcgen): Likewise.
13831 (rpcgen-cmd): Define to use $(built-program-file). Expand
13832 comment.
13833 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13834 ($(objpfx)x%.stmp): Likewise.
13835 * sunrpc/proto.h [IS_IN_build] (_): Define.
13836 [IS_IN_build] (_libc_intl_domainname): Likewise.
13837
c8c59454
L
138382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13839
13840 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13841 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13842 and R_X86_64_TPOFF64.
13843
6f27cd16
JM
138442012-05-10 Joseph Myers <joseph@codesourcery.com>
13845
13846 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13847 sysdeps/unix/sysv/syscalls.list.
13848 (stime): Likewise.
13849 (utime): Likewise.
13850 * sysdeps/unix/sysv/syscalls.list: Remove file.
13851
02467e1c
PE
138522012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13853
13854 [BZ #3440]
13855 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13856 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13857 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13858 (__LC_IDENTIFICATION): Make these macros useful in #if
13859 expressions, as required by C99.
13860
da392631
AS
138612012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13862
13863 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13864 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13865 after this.
13866
8115f29b
L
138672012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13868
13869 * stdlib/longlong.h: Updated from GCC.
13870
bdd74070
AJ
138712012-05-09 Andreas Jaeger <aj@suse.de>
13872
edfe0dbe
AJ
13873 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13874 default is first entry.
13875 (run_mode): Set type.
13876 (main): Remove informal message about syslog.
13877 (options): Fix typo.
13878
bcfe3a54
ST
13879 [BZ #14053]
13880 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 13881 to asm.
bcfe3a54
ST
13882 (lrint): Likewise.
13883 (llrintf): Likewise.
13884 (llrint): Likewise.
13885 (rint): Likewise.
13886 (rintf): Likewise.
13887 (nearbyint): Likewise.
13888 (nearbyintf): Likewise.
bdd74070 13889
91d8d69e
AJ
138902012-05-09 Andreas Jaeger <aj@suse.de>
13891 Pedro Alves <palves@redhat.com>
13892
13893 * nscd/nscd.c (run_mode): Use enum.
13894 (main): Cleanup coding style issue.
13895
bb90b80b
AJ
138962012-05-09 Alexandre Oliva <aoliva@redhat.com>
13897 Andreas Jaeger <aj@suse.de>
13898
bcfe3a54
ST
13899 * nscd/nscd.c (go_background): Replaced with...
13900 (run_mode): ... this.
bb90b80b 13901 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
13902 (options): Add -F --foreground.
13903 (main): Implement it.
13904 (parse_opt): Parse it.
bb90b80b 13905
1a4b75a1
AJ
139062012-05-09 Andreas Jaeger <aj@suse.de>
13907
13908 [BZ #14083]
13909 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13910 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13911 -Wconversion warning.
13912 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13913 Likewise.
13914
b1cc2472
JM
139152012-05-09 Joseph Myers <joseph@codesourcery.com>
13916
13917 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13918 == 0.
13919 (LC_ALL): Use macro-int-constant.
13920 (LC_COLLATE): Likewise.
13921 (LC_CTYPE): Likewise.
13922 (LC_MESSAGES): Likewise.
13923 (LC_MONETARY): Likewise.
13924 (LC_NUMERIC): Likewise.
13925 (LC_TIME): Likewise.
13926 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13927 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13928 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13929 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13930 Specify type.
13931 [C99-based standards] (float_t): Expect type.
13932 [C99-based standards] (double_t): Expect type.
13933 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13934 type.
13935 [C99-based standards] (HUGE_VALL): Likewise.
13936 [C99-based standards] (INFINITY): Likewise.
13937 [C99-based standards] (NAN): Likewise.
13938 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13939 [C99-based standards] (FP_NAN): Likewise.
13940 [C99-based standards] (FP_NORMAL): Likewise.
13941 [C99-based standards] (FP_SUBNORMAL): Likewise.
13942 [C99-based standards] (FP_ZERO): Likewise.
13943 [C99-based standards] (FP_FAST_FMA): Use
13944 optional-macro-int-constant. Specify type. Require == 1.
13945 [C99-based standards] (FP_FAST_FMAF): Likewise.
13946 [C99-based standards] (FP_FAST_FMAL): Likewise.
13947 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13948 [C99-based standards] (FP_ILOGBNAN): Likewise.
13949 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13950 Specify type.
13951 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13952 [C99-based standards] (math_errhandling): Specify type.
13953 [ISO99 || ISO11] (signgam): Do not allow.
13954 [non-C99-based standards] (copysignf): Do not allow.
13955 [non-C99-based standards] (exp2f): Likewise.
13956 [non-C99-based standards] (log2f): Likewise.
13957 [non-C99-based standards] (modff): Allow.
13958 [non-C99-based standards] (erff): Do not allow.
13959 [non-C99-based standards] (erfcf): Likewise.
13960 [non-C99-based standards] (gammaf): Likewise.
13961 [non-C99-based standards] (hypotf): Likewise.
13962 [non-C99-based standards] (j0f): Likewise.
13963 [non-C99-based standards] (j1f): Likewise.
13964 [non-C99-based standards] (jnf): Likewise.
13965 [non-C99-based standards] (lgammaf): Likewise.
13966 [non-C99-based standards] (tgammaf): Likewise.
13967 [non-C99-based standards] (y0f): Likewise.
13968 [non-C99-based standards] (y1f): Likewise.
13969 [non-C99-based standards] (ynf): Likewise.
13970 [non-C99-based standards] (isnanf): Likewise.
13971 [non-C99-based standards] (acoshf): Likewise.
13972 [non-C99-based standards] (asinhf): Likewise.
13973 [non-C99-based standards] (atanhf): Likewise.
13974 [non-C99-based standards] (cbrtf): Likewise.
13975 [non-C99-based standards] (expm1f): Likewise.
13976 [non-C99-based standards] (ilogbf): Likewise.
13977 [non-C99-based standards] (log1pf): Likewise.
13978 [non-C99-based standards] (logbf): Likewise.
13979 [non-C99-based standards] (nextafterf): Likewise.
13980 [non-C99-based standards] (remainderf): Likewise.
13981 [non-C99-based standards] (rintf): Likewise.
13982 [non-C99-based standards] (scalbf): Likewise.
13983 [non-C99-based standards] (copysignl): Likewise.
13984 [non-C99-based standards] (exp2l): Likewise.
13985 [non-C99-based standards] (log2l): Likewise.
13986 [non-C99-based standards] (modfl): Allow.
13987 [non-C99-based standards] (erfl): Do not allow.
13988 [non-C99-based standards] (erfcl): Likewise.
13989 [non-C99-based standards] (gammal): Likewise.
13990 [non-C99-based standards] (hypotl): Likewise.
13991 [non-C99-based standards] (j0l): Likewise.
13992 [non-C99-based standards] (j1l): Likewise.
13993 [non-C99-based standards] (jnl): Likewise.
13994 [non-C99-based standards] (lgammal): Likewise.
13995 [non-C99-based standards] (tgammal): Likewise.
13996 [non-C99-based standards] (y0l): Likewise.
13997 [non-C99-based standards] (y1l): Likewise.
13998 [non-C99-based standards] (ynl): Likewise.
13999 [non-C99-based standards] (isnanl): Likewise.
14000 [non-C99-based standards] (acoshl): Likewise.
14001 [non-C99-based standards] (asinhl): Likewise.
14002 [non-C99-based standards] (atanhl): Likewise.
14003 [non-C99-based standards] (cbrtl): Likewise.
14004 [non-C99-based standards] (expm1l): Likewise.
14005 [non-C99-based standards] (ilogbl): Likewise.
14006 [non-C99-based standards] (log1pl): Likewise.
14007 [non-C99-based standards] (logbl): Likewise.
14008 [non-C99-based standards] (nextafterl): Likewise.
14009 [non-C99-based standards] (remainderl): Likewise.
14010 [non-C99-based standards] (rintl): Likewise.
14011 [non-C99-based standards] (scalbl): Likewise.
14012 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14013 [non-C99-based standards] (FP_*): Do not allow.
14014 [C99-based standards] (FP_*): Change to
14015 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14016 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14017 allow.
14018 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14019 (SIG_ERR): Likewise.
14020 [X/Open-based standards] (SIG_HOLD): Likewise.
14021 (SIG_IGN): Likewise.
14022 (SIGABRT): Use macro-int-constant. Specify type. Require
14023 positive value.
14024 (SIGFPE): Likewise.
14025 (SIGILL): Likewise.
14026 (SIGINT): Likewise.
14027 (SIGSEGV): Likewise.
14028 (SIGTER): Likewise.
14029 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14030 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14031 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14032 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14033 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14034 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14035 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14036 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14037 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14038 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14039 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14040 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14041 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14042 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14043 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14044 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14045 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14046 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14047 [X/Open-based standards] (SIGTRAP): Likewise.
14048 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14049 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14050 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14051 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14052 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14053 allow.
14054
b9f1922d
IW
140552012-05-08 Ian Wienand <ianw@vmware.com>
14056
14057 [BZ #14080]
14058 * time/tzset.c (__tzset_parse_tz): Update default rules for
14059 daylight time changes in the Energy Policy Act of 2005.
14060
1db86e88
AJ
140612012-05-09 Andreas Jaeger <aj@suse.de>
14062
14063 [BZ #13983]
14064 * elf/ldconfig.c (parse_conf): Change string to make clear that
14065 ldconfig only issued a warning if ld.so.conf does not exist.
14066
dee4a4e3
DM
140672012-05-08 David S. Miller <davem@davemloft.net>
14068
ee0db190
DM
14069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14070 movxtod instead of popping the value on the stack.
14071
dee4a4e3
DM
14072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14073
6a43ec98
CD
140742012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14075
14076 * config.h.in: Add HAVE_ARM_PCS_VFP.
14077
05c2c961
RMG
140782012-05-08 Roland Mc Grath <roland@hack.frob.com>
14079
bcfe3a54
ST
14080 [BZ #13979]
14081 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14082 checking but the checks are disabled for any reason.
05c2c961 14083
4b30f61a
L
140842012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14085
14086 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14087 and ELF64_R_TYPE with ELFW(R_TYPE).
14088
eee2bc67
JM
140892012-05-08 Joseph Myers <joseph@codesourcery.com>
14090
7ea5391a
JM
14091 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14092 (ulimit): Likewise.
14093
eee2bc67
JM
14094 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14095 (settimeofday): Likewise.
14096
abb66a67
MF
140972012-05-08 Mike Frysinger <vapier@gentoo.org>
14098
14099 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14100 a struct th_u2 inside the union, and move tu_block/tu_code into
14101 a new th_u3 union of tu_block/tu_code inside of that. Move
14102 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14103 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14104 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14105 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14106 (th_stuff): Change to th_u1.tu_stuff.
14107 (th_data): Define.
14108 (th_msg): Change to th_u1.th_u2.tu_data.
14109
7f18b530
DM
141102012-05-07 David S. Miller <davem@davemloft.net>
14111
05760585
DM
14112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14113
7f18b530
DM
14114 [BZ #14074]
14115 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14116 (SETUP_PIC_REG): Use it.
14117 (SETUP_PIC_REG_LEAF): Use it.
14118
495fd99f
JM
141192012-05-07 Joseph Myers <joseph@codesourcery.com>
14120
14121 [BZ #13885]
14122 [BZ #13923]
14123 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14124 USE_AS_EXPM1L.
14125 (EXPL_FINITE): Likewise.
14126 (FLDLOG): Likewise.
14127 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14128 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14129 e_expl.S.
14130 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14131 USE_AS_EXPM1L.
14132 (EXPL_FINITE): Likewise.
14133 (FLDLOG): Likewise.
14134 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14135 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14136 e_expl.S.
14137 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14138 test of -max_value argument for long double.
14139 * sysdeps/i386/fpu/libm-test-ulps: Update.
14140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14141
6693d694
DM
141422012-05-06 David S. Miller <davem@davemloft.net>
14143
14144 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14145 quad soft-float symbols whose references which are compiler
14146 generated.
14147 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14148
6c23e11c
JM
141492012-05-06 Joseph Myers <joseph@codesourcery.com>
14150
d8b82cad
JM
14151 [BZ #13884]
14152 [BZ #13914]
14153 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14154 USE_AS_EXP10L.
14155 (EXPL_FINITE): Likewise.
14156 (FLDLOG): Likewise.
14157 (c0): Likewise.
14158 (c1): Likewise.
14159 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14160 Adjust comments for base varying.
14161 (__expl_finite): Change alias to EXPL_FINITE.
14162 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14163 e_expl.S.
14164 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14165 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14166 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14167 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14168 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14169 USE_AS_EXP10L.
14170 (EXPL_FINITE): Likewise.
14171 (FLDLOG): Likewise.
14172 (c0): Likewise.
14173 (c1): Likewise.
14174 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14175 Adjust comments for base varying.
14176 (__expl_finite): Change alias to EXPL_FINITE.
14177 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14178 tests for bugs.
14179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14180
6c23e11c
JM
14181 [BZ #14064]
14182 * math/libm-test.inc (check_float_internal): Correct ulp
14183 calculation for subnormal expected results.
14184
29ba805c
AJ
141852012-05-06 Andreas Jaeger <aj@suse.de>
14186
14187 * Makeconfig (+math-flags): New, set to -frounding-math.
14188 (+cflags): Add +math-flags so that all of glibc gets compiled with
14189 it.
14190
14191 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14192
7b17aeda
JM
141932012-05-05 Joseph Myers <joseph@codesourcery.com>
14194
5779f134
JM
14195 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14196 Disable one test.
14197
41498f4d
JM
14198 [BZ #13787]
14199 [BZ #13922]
14200 [BZ #14036]
14201 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14202 (__ieee754_expl): Allow for and saturate large arguments.
14203 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14204 (u_threshold): Likewise.
14205 (__exp): Call __ieee754_exp before checking for overflow and
14206 underflow.
14207 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14208 (u_threshold): Likewise.
14209 (__expf): Call __ieee754_expf before checking for overflow and
14210 underflow.
14211 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14212 (u_threshold): Likewise.
14213 (__expl): Call __ieee754_expl before checking for overflow and
14214 underflow.
14215 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14216 (__ieee754_expl): Allow for and saturate large arguments.
14217 * math/libm-test.inc (exp_test): Add another test. Do not allow
14218 missing overflow exception on overflow.
14219 (expm1_test): Do not allow missing overflow exception on overflow.
14220
6698b8bf
JM
14221 * sysdeps/i386/fpu/e_expl.c: Move to ...
14222 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14223 rather than using inline asm.
14224 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14225 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14226 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14227
7b17aeda
JM
14228 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14229 (nice): Likewise.
14230 (poll): Likewise.
14231 (signal): Likewise.
14232 (time): Likewise.
14233 (times): Likewise.
14234
f7c85819
JM
142352012-05-04 Joseph Myers <joseph@codesourcery.com>
14236
14237 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14238 sysdeps/unix/common/syscalls.list.
14239 (fchmod): Likewise.
14240 (fchown): Likewise.
14241 (ftruncate): Likewise.
14242 (getrusage): Likewise.
14243 (gettimeofday): Likewise.
14244 (setpgid): Likewise.
14245 (setregid): Likewise.
14246 (setreuid): Likewise.
14247 (sigaction): Likewise.
14248 (truncate): Likewise.
14249 (vhangup): Likewise.
14250 * sysdeps/unix/common/syscalls.list: Remove file.
14251 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14252 * sysdeps/unix/sysv/linux/Implies: Likewise.
14253
336270d0
L
142542012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14255
14256 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14258 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14259 Moved to ...
14260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14261 Here.
14262 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14263 to ...
14264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14265 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14266 to ...
14267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14268 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14269 to ...
14270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14271 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14272 to ...
14273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14274 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14275 to ...
14276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14277 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14278 to ...
14279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14280 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14281 to ...
14282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14283 Here.
14284 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14285 to ...
14286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14287 Here.
14288 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14289 to ...
14290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14291 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14292 Moved to ...
14293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14294 Here.
14295 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14296 to ...
14297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14298
d128e450
JM
142992012-05-04 Joseph Myers <joseph@codesourcery.com>
14300
fa8ee516
JM
14301 * sysdeps/unix/common/bits/dirent.h: Remove file.
14302 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14303
d128e450
JM
14304 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14305 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14306 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14307 * sysdeps/unix/bsd/isatty.c: Likewise.
14308 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14309 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14310 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14311
ff8faaf0 143122012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14313
62881be4 14314 [BZ #13563]
31dc8730
AZ
14315 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14316 long double comparison inaccuracies.
14317 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14319
6fef930c
AS
143202012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14321
14322 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14323 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14324
8f203e6c
JM
143252012-05-04 Joseph Myers <joseph@codesourcery.com>
14326
14327 [BZ #14049]
14328 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14329 nonzero digits before rounding a hex value.
14330 * stdlib/tst-strtod.c (tests): Add another test.
14331
5197d9c2
AK
143322012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14333
14334 * sysdeps/s390/fpu/libm-test-ulps: Update.
14335
f0c1dedf
AJ
143362012-05-03 Andreas Jaeger <aj@suse.de>
14337
14338 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14339 does not get optimized out.
14340 (malloc_opt_barrier): New.
14341
a65ef2ae 143422012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14343 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14344
2b942cb7 14345 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14346 intermediate file deletion.
2b942cb7 14347 (generated): Add .symlist files.
a65ef2ae 14348
54b71e02
JM
143492012-05-03 Joseph Myers <joseph@codesourcery.com>
14350
14351 [BZ #13775]
14352 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14353 Redirect under this condition.
14354 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14355 [__USE_GNU] (__dprintf_chk): Not under this condition.
14356 [__USE_GNU] (__vdprintf_chk): Likewise.
14357 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14358 under this condition.
14359 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14360 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14361 [__USE_XOPEN2K8] (vdprintf): Likewise.
14362 [__USE_GNU] (__dprintf_chk): Not under this condition.
14363 [__USE_GNU] (__vdprintf_chk): Likewise.
14364 [__USE_GNU] (dprintf): Likewise.
14365 [__USE_GNU] (vdprintf): Likewise.
14366
d3dfcc41
RM
143672012-05-03 Roland McGrath <roland@hack.frob.com>
14368
14369 * elf/Makefile (common-generated): Set this instead of generated for
14370 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14371 $(all-built-dso)-derived lists.
14372
7ac30cc5
AJ
143732012-05-03 Andreas Jaeger <aj@suse.de>
14374
0c51e550
AJ
14375 * sysdeps/i386/fpu/libm-test-ulps: Update.
14376
7ac30cc5
AJ
14377 * FAQ: Removed.
14378 * FAQ.in: Likewise.
14379 * scripts/gen-FAQ.pl: Likewise.
14380 * manual/install.texi (Installation): Point to online location of
14381 FAQ.
14382 * Makefile (files-for-dist): Remove FAQ.
14383 (FAQ): Remove.
14384
d4c2917f
AM
143852012-05-02 Allan McRae <allan@archlinux.org>
14386
14387 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14388 (LDFLAGS-reldepmod5.so): Likewise.
14389 (LDFLAGS-reldep6mod1.so): Likewise.
14390 (LDFLAGS-reldep6mod4.so): Likewise.
14391 (LDFLAGS-reldep8mod3.so): Likewise.
14392 (LDFLAGS-unload4mod1.so): Likewise.
14393 (LDFLAGS-unload4mod2.so): Likewise.
14394 (LDFLAGS-tst-initorder): Likewise.
14395 (LDFLAGS-tst-initordera2.so): Likewise.
14396 (LDFLAGS-tst-initordera3.so): Likewise.
14397 (LDFLAGS-tst-initordera4.so): Likewise.
14398 (LDFLAGS-tst-initorderb2.so): Likewise.
14399 (LDFLAGS-noload): Likewise.
14400 (LDFLAGS-next): Likewise.
14401 (LDFLAGS-order2mod1.so): Likewise.
14402 (LDFLAGS-order2mod2.so): Likewise.
14403 (LDFLAGS-tst-initorder2): Likewise.
14404 (LDFLAGS-tst-initorder2a.so): Likewise.
14405 (LDFLAGS-tst-initorder2b.so): Likewise.
14406 (LDFLAGS-tst-initorder2c.so): Likewise.
14407 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14408
d77f993f
DM
144092012-05-02 David S. Miller <davem@davemloft.net>
14410
14411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14412
171a70b4
PP
144132012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14414
14415 [BZ #14055]
14416 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14417
0be196ad
AJ
144182012-05-02 Andreas Jaeger <aj@suse.de>
14419
14420 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14421 since we manipulate rounding mode.
14422 (CPPFLAGS-test-idouble.c): Likewise.
14423 (CPPFLAGS-test-ifloat.c): Likewise.
14424 (CFLAGS-test-ldouble.c): Likewise.
14425 (CFLAGS-test-double.c): Likewise.
14426 (CFLAGS-test-float.c): Likewise.
14427 (CFLAGS-test-misc.c): Likewise.
14428 (CFLAGS-test-test-fenv.c): Likewise.
14429
4f9d04aa
AZ
144302012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14431
2b942cb7
RM
14432 [BZ #2550]
14433 [BZ #2570]
14434 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14435 comparisons to determine direction to adjust input.
4f9d04aa 14436
82a79e7d
RM
144372012-05-01 Roland McGrath <roland@hack.frob.com>
14438
f5a01ca9
RM
14439 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14440 output to the target.
14441
90fe4186
RM
14442 * scripts/localplt.awk: New file.
14443 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14444 (check-localplt-CFLAGS): Variable removed.
14445 ($(all-built-dso:=.jmprel)): New static pattern rule.
14446 (generated): Add those targets.
14447 (localplt-built-dso): New variable.
14448 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14449
14450 * elf/check-localplt.c: File removed.
14451
82397ed6
RM
14452 * scripts/check-execstack.awk: New file.
14453 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14454 (check-execstack-CFLAGS): Variable removed.
14455 ($(objpfx)check-execstack.h): Target removed.
14456 ($(objpfx)execstack-default): New target.
14457 (generated): Add that instead of check-execstack.h.
14458 ($(all-built-dso:=.phdr)): New static pattern rule.
14459 (generated): Add those targets.
14460 * elf/check-execstack.c: File removed.
14461
82a79e7d
RM
14462 * scripts/check-textrel.awk: New file.
14463 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14464 (check-textrel-CFLAGS): Variable removed.
14465 (all-built-dso): Use := to define.o
14466 ($(all-built-dso:=.dyn)): New static pattern rule.
14467 (generated): Add those targets.
14468 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14469 * config.make.in (READELF): New substituted variable.
14470 * elf/check-textrel.c: File removed.
14471
62fde54f 144722012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14473
615605c9
JM
14474 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14475 allow.
14476 * conform/data/ctype.h-data [C99-based standards] (isblank):
14477 Expect function.
14478 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14479 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14481 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14482 Specify type. Require positive value.
14483 (EILSEQ): Likewise.
14484 (ERANGE): Likewise.
14485 [ISO || POSIX] (EILSEQ): Do not expect.
14486 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14487 Specify type. Require positive value.
14488 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14489 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14490 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14491 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14492 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14493 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14494 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14495 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14496 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14497 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14498 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14499 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14500 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14501 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14502 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14503 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14504 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14505 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14506 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14507 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14508 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14509 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14510 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14511 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14512 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14513 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14514 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14515 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14516 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14517 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14518 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14519 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14520 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14521 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14522 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14523 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14524 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14525 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14526 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14527 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14528 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14529 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14530 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14531 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14532 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14533 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14534 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14535 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14536 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14537 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14538 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14539 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14540 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14541 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14542 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14543 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14544 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14545 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14546 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14547 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14548 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14549 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14550 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14551 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14552 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14553 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14554 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14555 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14556 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14557 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14558 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14559 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14560 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14561 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14562 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14563 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14564 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14565 Require >= 2.
14566 (FLT_ROUNDS): Expect as macro, not constant.
14567 (FLT_MANT_DIG): Use macro-int-constant.
14568 (DBL_MANT_DIG): Likewise.
14569 (LDBL_MANT_DIG): Likewise.
14570 (FLT_DIG): Likewise.
14571 (DBL_DIG): Likewise.
14572 (LDBL_DIG): Likewise.
14573 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14574 (DBL_MIN_EXP): Likewise.
14575 (LDBL_MIN_EXP): Likewise.
14576 (FLT_MAX_EXP): Use macro-int-constant.
14577 (DBL_MAX_EXP): Likewise.
14578 (LDBL_MAX_EXP): Likewise.
14579 (FLT_MAX_10_EXP): Likewise.
14580 (DBL_MAX_10_EXP): Likewise.
14581 (LDBL_MAX_10_EXP): Likewise.
14582 (FLT_MAX): Use macro-constant.
14583 (DBL_MAX): Likewise.
14584 (LDBL_MAX): Likewise.
14585 (FLT_EPSILON): Use macro-constant. Give upper bound.
14586 (DBL_EPSILON): Likewise.
14587 (LDBL_EPSILON): Likewise.
14588 (FLT_MIN): Likewise.
14589 (DBL_MIN): Likewise.
14590 (LDBL_MIN): Likewise.
14591 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14592 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14593 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14594 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14595 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14596 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14597 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14598 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14599 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14600 [ISO11] (FLT_TRUE_MIN): Likewise.
14601 [ISO11] (LDBL_TRUE_MIN): Likewise.
14602 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14603 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14604 (SCHAR_MIN): Use macro-int-constant. Specify type.
14605 (SCHAR_MAX): Likewise.
14606 (UCHAR_MAX): Likewise.
14607 (CHAR_MIN): Likewise.
14608 (CHAR_MAX): Likewise.
14609 (MB_LEN_MAX): Use macro-int-constant.
14610 (SHRT_MIN): Use macro-int-constant. Specify type.
14611 (SHRT_MAX): Likewise.
14612 (USHRT_MAX): Likewise.
14613 (INT_MAX): Likewise.
14614 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14615 bound negative.
14616 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14617 bound with "U".
14618 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14619 bound with "L".
14620 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14621 bound negative. Suffix upper bound with "L".
14622 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14623 bound with "UL".
14624 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14625 Specify type.
14626 [C99-based standards] (LLONG_MAX): Likewise.
14627 [C99-based standards] (ULLONG_MAX): Likewise.
14628 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14629 == 0.
14630 [ISO11] (max_align_t): Require type.
14631 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14632
c9140a62
JM
14633 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14634 from $CFLAGS, without defining away __attribute__ calls.
14635 (checknamespace): Use $CFLAGS_namespace.
14636
9af0bf29
JM
14637 * conform/conformtest.pl (@keywords): Only include C99 keywords
14638 for standards based on C99 or C11.
14639
343222a2
JM
14640 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14641 Disable tests.
14642 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14643 UNIX98]: Likewise.
14644
661f8cf0
JM
14645 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14646 usability of symbols in #if.
14647
ee74b9cb
JM
14648 * conform/conformtest.pl: If macro or constant types start
14649 "promoted:", expect the symbol to be of the following type
14650 promoted by the integer promotions.
62fde54f 14651
aafc49b3
JM
14652 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14653 in one place. Also handle "macro-constant".
14654
fefdf574
JM
14655 * conform/conformtest.pl: Only accept expected macro values with
14656 "==". Parse all "macro" lines in one place.
14657 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14658
f2d922fe
JM
14659 * conform/conformtest.pl: Handle braced types on "constant" lines
14660 instead of handling "typed-constant".
14661 * conform/data/signal.h-data: Use "constant" instead of
14662 "typed-constant".
14663
d22956c9
JM
14664 * conform/conformtest.pl: Handle "optional-" at start of lines in
14665 one place rather than duplicating several cases. Handle each
14666 format of "macro" line with initial "optional-".
14667
028e2e38
JM
14668 * conform/conformtest.pl: Only accept expected constant or
14669 optional-constant values with "==". Parse all "constant" lines in
14670 one place. Parse all "optional-constant" lines in one place.
14671 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14672 * conform/data/fmtmsg.h-data: Likewise.
14673 * conform/data/netinet/in.h-data: Likewise.
14674 * conform/data/tar.h-data: Likewise.
14675 * conform/data/limits.h-data: Use "==" form on "constant" and
14676 "optional-constant" lines.
14677
1b8f2850
JM
14678 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14679 Use -std=c99 for XOPEN2K.
14680 (@knownproblems): Remove.
14681 (newtoken): Don't check %isknown.
14682
a05a144b
JM
14683 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14684 Do not expect macro.
14685 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14686 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14687 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14688 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14689 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14690 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14691 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14692 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14693 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14694 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14695 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14696 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14697 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14698 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14699 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14700 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14701 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14702 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14703 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14704 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14705 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14706 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14707 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14708 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14709 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14710 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14711 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14712 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14713 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14714 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14715 [XPG3] (acosh): Likewise.
14716 [XPG3] (asinh): Likewise.
14717 [XPG3] (atanh): Likewise.
14718 [XPG3] (cbrt): Likewise.
14719 [XPG3] (expm1): Likewise.
14720 [XPG3] (ilogb): Likewise.
14721 [XPG3] (log1p): Likewise.
14722 [XPG3] (logb): Likewise.
14723 [XPG3] (nextafter): Likewise.
14724 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14725 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14726 [XPG3] (remainder): Likewise.
14727 [XPG3] (rint): Likewise.
14728 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14729 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14730 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14731 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14732 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14733 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14734 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14735 [UNIX98 || XOPEN2K] (scalb): Expect.
14736 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14737 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14738 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14739 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14740 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14741 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14742 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14743 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14744 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14745 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14746 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14747 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14748 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14749 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14750 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14751 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14752 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14753 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14754 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14755 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14756 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14757 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14758 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14759 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14760 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14761 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14762 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14763 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14764 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14765 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14766 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14767 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14768 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14769 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14770 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14771 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14772 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14773 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14774 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14775 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14776 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14777 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14778 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14779 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14780 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14781 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14782 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14783 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14784 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14785 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14786 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14787 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14788 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14789 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14790 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14791 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14792 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14793 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14794 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14795 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14796 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14797 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14798 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14799 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14800 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14801 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14802 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14803 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14804 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14805 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14806 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14807 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14808 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14809 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14810 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14811 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14812 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14813 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14814 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14815 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14816 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14817 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14818 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14819 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14820 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14821 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14822 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14823 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14824 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14825 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14826 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14827 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14828 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14829 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14830 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14831 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14832 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14833 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14834 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14835 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14836 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14837 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14838 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14839 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14840 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14841 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14842 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14843 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14844 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14845 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14846 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14847 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14848 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14849 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14850 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14851 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14852 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14853 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14854 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14855 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14856 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14857 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14858 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14859 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14860 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14861 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14862 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14863 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14864 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14865 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14866 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14867 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14868 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14869 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14870 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14871 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14872 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14873
73c5ebe3
JM
14874 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14875 _XOPEN_SOURCE_EXTENDED for XPG4.
14876
39c33b6c
JM
14877 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14878
62fde54f
JM
14879 * Makeconfig (localtime): Remove variable.
14880 (inst_localtime-file): Likewise.
14881
0741d64c
AS
148822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14883
14884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14885 Update.
14886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14887 Update.
14888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14889 Update.
14890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14891 Update.
14892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14893 Update.
14894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14895 Update.
14896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14897 Update.
14898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14899 Update.
14900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14901 Update.
14902
7cb029ee
JM
149032012-05-01 Joseph Myers <joseph@codesourcery.com>
14904
14905 [BZ #2550]
14906 [BZ #2570]
14907 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14908 comparisons to determine direction to adjust input.
14909 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14910 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14911 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14912 Likewise.
14913 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14914 Likewise.
14915 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14916 Likewise.
14917 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14918 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14919 Likewise.
14920 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14921 Likewise.
14922 * math/libm-test.inc (nexttoward_test): Add more tests.
14923
412bd966
AS
149242012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14925
14926 [BZ #14040]
14927 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14928 in version GLIBC_2.1, not GLIBC_2.0.
14929 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14930 Likewise.
14931
9568c0c2
JM
149322012-04-30 Joseph Myers <joseph@codesourcery.com>
14933
adfbc8ac
JM
14934 [BZ #13942]
14935 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14936 (1 - x) * (1 + x).
14937 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14938 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14939 * math/libm-test.inc (acos_test): Add more tests.
14940 (asin_test): Likewise.
14941 * sysdeps/i386/fpu/libm-test-ulps: Update.
14942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14943
5ba3cc69
JM
14944 [BZ #14034]
14945 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14946 of square root.
14947 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14948 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14949 * math/libm-test.inc (acos_test_tonearest): New function.
14950 (acos_test_towardzero): Likewise.
14951 (acos_test_downward): Likewise.
14952 (acos_test_upward): Likewise.
14953 (asin_test_tonearest): Likewise.
14954 (asin_test_towardzero): Likewise.
14955 (asin_test_downward): Likewise.
14956 (asin_test_upward): Likewise.
14957 (main): Call the new functions.
14958 * sysdeps/i386/fpu/libm-test-ulps: Update.
14959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14960
9568c0c2
JM
14961 [BZ #13884]
14962 [BZ #13924]
14963 * math/e_exp10.c: Include <float.h>.
14964 (__ieee754_exp10): Handle underflow here rather than multiplying
14965 large negative argument by M_LN10.
14966 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14967 of __ieee754_expf.
14968 * math/e_exp10l.c: Include <float.h>.
14969 (__ieee754_exp10l): Handle underflow here rather than multiplying
14970 large negative argument by M_LN10l.
14971 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14972 spurious overflow exception on underflow.
14973
5ac3ea17
MP
149742012-04-29 Marek Polacek <polacek@redhat.com>
14975
14976 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14977 (__fortify_function): New macro.
14978 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14979 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14980 __extern_always_inline.
14981 * libio/bits/stdio2.h: Likewise.
14982 * libio/bits/stdio.h: Likewise.
14983 * string/string.h: Likewise.
14984 * string/bits/string3.h: Likewise.
14985 * include/stdio.h: Likewise.
14986 * stdlib/bits/stdlib.h: Likewise.
14987 * stdlib/stdlib.h: Likewise.
14988 * rt/bits/mqueue2.h: Likewise.
14989 * rt/mqueue.h: Likewise.
14990 * posix/bits/unistd.h: Likewise.
14991 * posix/unistd.h: Likewise.
14992 * io/bits/poll2.h: Likewise.
14993 * io/bits/fcntl2.h: Likewise.
14994 * io/fcntl.h: Likewise.
14995 * io/sys/poll.h: Likewise.
14996 * misc/bits/syslog.h: Likewise.
14997 * misc/bits/syslog-ldbl.h: Likewise.
14998 * misc/sys/syslog.h: Likewise.
14999 * socket/bits/socket2.h: Likewise.
15000 * socket/sys/socket.h: Likewise.
15001 * debug/tst-chk1.c: Likewise.
15002 * wcsmbs/bits/wchar2.h: Likewise.
15003 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15004 * wcsmbs/wchar.h: Likewise.
15005
ecf0ebfb
AJ
150062012-04-29 Andreas Jaeger <aj@suse.de>
15007
15008 * Makerules (tests): Remove enable-check-abi protection.
15009 (check-abi-warn): Remove.
15010 (check-abi-%): Remove check-abi-warn usage.
15011
15012 * configure.in: Remove check-abi configure option.
15013 * configure: Regenerated.
15014 * config.make.in (enable-check-abi): Remove.
15015
6d5c57fa
AS
150162012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15017
24c5d07e 15018 [BZ #14033]
ded5180a
AS
15019 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15020 double functions to double *_finite functions.
15021
7e0d315d
AS
15022 [BZ #13941]
15023 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15024 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15025 LDBL_MIN_EXP.
15026 * stdio-common/Makefile (tests): Add tst-sprintf3.
15027 * stdio-common/tst-sprintf3.c: New file.
15028
6d5c57fa
AS
15029 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15030 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15031
0749ff8b
JM
150322012-04-28 Joseph Myers <joseph@codesourcery.com>
15033
15034 * conform/conformtest.pl: Remove duplicate typed-constant
15035 handling.
15036
8dbd5d7b
DM
150372012-04-28 David S. Miller <davem@davemloft.net>
15038
15039 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15040 (check-abi-%): Remove AWK script prerequisite and explicit
15041 abilist directory.
15042 (check-abi): Rewrite to just diff the symlist with the abilist.
15043 (config-tls, config-abi-config): Delete, no longer used.
15044 (update-abi-%): Remove AWK script and explicit abilist directory.
15045 (update-abi): Rewrite to simply compare and conditionally copy the
15046 symlist and the sysdep abilist file. Remove update-abi-config
15047 checks.
15048 * abilist/ld.abilist: Remove.
15049 * abilist/libBrokenLocale.abilist: Remove.
15050 * abilist/libanl.abilist: Remove.
15051 * abilist/libcrypt.abilist: Remove.
15052 * abilist/libdl.abilist: Remove.
15053 * abilist/librt.abilist: Remove.
15054 * abilist/libthread_db.abilist: Remove.
15055 * abilist/libutil.abilist: Remove.
15056 * scripts/extract-abilist.awk: Remove.
15057 * scripts/merge-abilist.awk: Remove.
15058 * sysdeps/generic/libcidn.abilist: New file.
15059 * sysdeps/generic/libnss_compat.abilist: New file.
15060 * sysdeps/generic/libnss_db.abilist: New file.
15061 * sysdeps/generic/libnss_dns.abilist: New file.
15062 * sysdeps/generic/libnss_files.abilist: New file.
15063 * sysdeps/generic/libnss_hesiod.abilist: New file.
15064 * sysdeps/generic/libnss_nis.abilist: New file.
15065 * sysdeps/generic/libnss_nisplus.abilist: New file.
15066 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15067 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15068 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15069 file.
15070 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15071 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15072 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15073 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15074 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15075 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15076 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15077 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15078 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15079 file.
15080 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15081 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15082 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15083 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15084 file.
15085 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15086 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15087 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15088 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15089 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15090 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15091 file.
15092 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15093 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15094 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15095 file.
15096 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15098 New file.
15099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15100 New file.
15101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15102 New file.
15103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15104 New file.
15105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15106 New file.
15107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15108 New file.
15109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15110 New file.
15111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15112 New file.
15113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15114 New file.
15115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15116 New file.
15117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15118 New file.
15119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15120 New file.
15121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15122 New file.
15123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15124 file.
15125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15126 New file.
15127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15128 New file.
15129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15130 file.
15131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15132 New file.
15133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15134 New file.
15135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15136 file.
15137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15138 New file.
15139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15140 New file.
15141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15142 New file.
15143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15144 New file.
15145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15146 New file.
15147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15148 New file.
15149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15151 file.
15152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15153 New file.
15154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15155 file.
15156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15157 file.
15158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15159 file.
15160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15161 file.
15162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15163 file.
15164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15165 New file.
15166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15167 file.
15168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15169 file.
15170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15171 New file.
15172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15173 file.
15174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15176 file.
15177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15178 New file.
15179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15180 file.
15181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15182 file.
15183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15184 file.
15185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15186 file.
15187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15188 file.
15189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15190 New file.
15191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15192 file.
15193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15194 file.
15195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15196 New file.
15197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15198 file.
15199 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15200 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15201 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15202 file.
15203 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15204 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15205 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15206 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15207 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15208 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15209 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15210 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15211 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15212 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15215 file.
15216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15217 New file.
15218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15219 file.
15220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15221 file.
15222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15223 file.
15224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15225 file.
15226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15227 file.
15228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15229 New file.
15230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15231 New file.
15232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15233 file.
15234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15235 New file.
15236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15237 file.
15238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15240 file.
15241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15242 New file.
15243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15244 file.
15245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15246 file.
15247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15248 file.
15249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15250 file.
15251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15252 file.
15253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15254 New file.
15255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15256 New file.
15257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15258 file.
15259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15260 New file.
15261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15262 file.
15263
41d73a1b
JM
152642012-04-28 Joseph Myers <joseph@codesourcery.com>
15265
15266 * conform/conformtest.pl: Fix typo in handling typed-constant from
15267 allow-header.
15268
28aeeda4
JM
152692012-04-27 Joseph Myers <joseph@codesourcery.com>
15270
adae8f5e
JM
15271 * README: Cut down references to pre-2.6 Linux kernels and
15272 Linuxthreads. Update lists of configurations in libc and ports
15273 and sort alphabetically. Say "or newer" with Linux kernel version
15274 requirements.
15275
28aeeda4
JM
15276 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15277
a462cb63
RA
152782012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15279
15280 [BZ #887]
15281 * math/libm-test.inc (logb_test_downward): New test to expose
15282 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15283 rounding mode.
15284
6ad3493e
JM
152852012-04-27 Joseph Myers <joseph@codesourcery.com>
15286
15287 [BZ #14027]
15288 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15289 to be done.
15290 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15291 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15292
2ce4f015
JM
152932012-04-26 Joseph Myers <joseph@codesourcery.com>
15294
5aeb141a
JM
15295 * sysdeps/unix/i386/brk.S: Remove file.
15296 * sysdeps/unix/i386/dl-brk.S: Likewise.
15297 * sysdeps/unix/i386/pipe.S: Likewise.
15298 * sysdeps/unix/i386/sigreturn.S: Likewise.
15299 * sysdeps/unix/i386/syscall.S: Likewise.
15300 * sysdeps/unix/i386/vfork.S: Likewise.
15301 * sysdeps/unix/i386/wait.S: Likewise.
15302
7143acae
JM
15303 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15304 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15305
2ce4f015
JM
15306 * configure.in (arm*-none*): Do not allow without
15307 --enable-hacker-mode.
15308 (netbsd*): Remove case setting base_os.
15309 (386bsd*): Likewise.
15310 (freebsd*): Likewise.
15311 (bsdi*): Likewise.
15312 (osf*): Likewise.
15313 (sunos*): Likewise.
15314 (ultrix*): Likewise.
15315 (newsos*): Likewise.
15316 (dynix*): Likewise.
15317 (*bsd*): Likewise.
15318 (sysv*): Likewise.
15319 (isc*): Likewise.
15320 (esix*): Likewise.
15321 (sco*): Likewise.
15322 (minix*): Likewise.
15323 (irix4*): Likewise.
15324 (irix6*): Likewise.
15325 (solaris[2-9]*): Likewise.
15326 (none): Likewise.
15327 * configure: Regenerated.
15328
0ac229c8
AZ
153292012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15330
15331 [BZ #11521]
15332 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15333 overflow or cancellation in calculating denominator.
15334 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15335 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15336 down expression to avoid unexpected rounding in newer GCCs.
15337 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15338
33f244f4
DM
153392012-04-26 David S. Miller <davem@davemloft.net>
15340
15341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15342 long-double compat symbols.
15343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15356
cfa1f3e8
DM
153572012-04-25 David S. Miller <davem@davemloft.net>
15358
15359 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15360 HWCAP_* values only after the memory barriers have been defined.
15361 (atomic_full_barrier): Define.
15362 (atomic_read_barrier): Define.
15363 (atomic_write_barrier): Define.
15364
6e236b92
SP
153652012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15366
15367 * shlib-versions: Add libgcc_s version information.
15368 * sysdeps/generic/libgcc_s.h: Remove.
15369 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15370 libgcc_s.h.
15371 * sysdeps/gnu/unwind-resume.c: Likewise.
15372 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15373
aab39a09
DM
153742012-04-25 David S. Miller <davem@davemloft.net>
15375
15376 * sysdeps/unix/sparc/brk.S: Delete.
15377 * sysdeps/unix/sparc/dl-brk.S: Delete.
15378 * sysdeps/unix/sparc/pipe.S: Delete.
15379 * sysdeps/unix/sparc/sysdep.S: Delete.
15380 * sysdeps/unix/sparc/sysdep.h: Delete.
15381 * sysdeps/unix/sparc/vfork.S: Delete.
15382 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15383 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15384 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15385 ret_ERRVAL, r0, r1, MOVE): Define.
15386 (JUMPTARGET): Remove.
15387 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15388 sysdeps/unix/sparc/sysdep.h
15389 (ENTRY, END): Remove.
15390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15391
a3cc4f48
JM
153922012-04-25 Joseph Myers <joseph@codesourcery.com>
15393
2ed8cda2
JM
15394 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15395 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15396 -DIS_IN_build.
15397
35d76d59
JM
15398 * timezone/README: Update upstream location and email address for
15399 tzcode and tzdata.
15400 * timezone/zdump.c: Update from tzcode 2012b.
15401 * timezone/zic.c: Likewise.
15402
a3cc4f48
JM
15403 * configure.in (libc_cv_as_needed): Remove test.
15404 * configure: Regenerated.
15405 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15406 conditional definition.
15407 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15408 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15409 * config.make.in (have-as-needed): Remove variable.
15410
ceab42c3
SP
154112012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15412 Paul Pluzhnikov <ppluzhnikov@google.com>
15413
15414 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15415 strings correctly.
15416
3ce2865f
CLT
154172012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15418
15419 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15420 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15421 * sysdeps/sh/strlen.S: Likewise.
15422
f37e0d68
JM
154232012-04-24 Joseph Myers <joseph@codesourcery.com>
15424
ae186e9a
JM
15425 * sysdeps/unix/fork.S: Remove file.
15426 * sysdeps/unix/i386/fork.S: Likewise.
15427 * sysdeps/unix/sparc/fork.S: Likewise.
15428
b96914af
JM
15429 * sysdeps/unix/system.c: Remove file.
15430 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15431
f37e0d68
JM
15432 * sysdeps/unix/getegid.S: Remove file.
15433 * sysdeps/unix/geteuid.S: Likewise.
15434
87ef29ca
RM
154352012-04-24 Roland McGrath <roland@hack.frob.com>
15436
83bcd236
RM
15437 * scripts/check-localplt.awk: New file.
15438 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15439 of diff.
15440 * scripts/data/localplt-generic.data: Add a comment.
15441
87ef29ca
RM
15442 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15443 NODE when __dir_mkfile failed.
15444 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15445 Reported by Ludovic Courtès <ludo@gnu.org>.
15446
e5a6e567
AJ
154472012-04-24 Andreas Jaeger <aj@suse.de>
15448
15449 * Makerules (common-clean): Also remove gen-as-const-headers
15450 files.
15451
c1820385
JM
154522012-04-24 Joseph Myers <joseph@codesourcery.com>
15453
15454 * Makerules (native-compile): Do not change working directory for
15455 build. Use $(OUTPUT_OPTION) in command.
15456 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15457
94e02fc4
AZ
154582012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15459
15460 [BZ #13886]
15461 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15462 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15463 * math/libm-test.inc (floor_test): Add more tests.
15464 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15465
3a533ca3
JM
154662012-04-24 Joseph Myers <joseph@codesourcery.com>
15467
940ab4b3
JM
15468 * sysdeps/unix/getdents.c: Remove file.
15469 * sysdeps/unix/sysv/getdents.c: Likewise.
15470 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15471
90e037bd
JM
15472 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15473 sysdeps/unix/mman/syscalls.list.
15474 (mmap): Likewise.
15475 (mprotect): Likewise.
15476 (msync): Likewise.
15477 (munmap): Likewise.
15478 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15479 * sysdeps/unix/mman/syscalls.list: Remove.
15480 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15481
3a533ca3
JM
15482 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15483 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15484 * configure: Regenerated.
15485 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15486 $(libgcc_s_suffix).
15487 * config.make.in (libgcc_s_suffix): Remove variable.
15488
1ad743de
JM
154892012-04-23 Joseph Myers <joseph@codesourcery.com>
15490
4ad451e2
JM
15491 * sysdeps/unix/sysv/gethostname.c: Move to ...
15492 * sysdeps/posix/gethostname.c: ... here.
15493
5e37ce39
JM
15494 * sysdeps/unix/execve.S: Remove file.
15495
1ad743de
JM
15496 * sysdeps/unix/_exit.S: Remove file.
15497
4e681b5b
AJ
154982012-04-23 Andreas Jaeger <aj@suse.de>
15499
15500 [BZ #13739]
15501 * manual/Makefile: Remove make dist support, there's no
15502 need for a stand-alone documentation tar ball.
15503 (TEXI2DVI): Define always, it's not in Makeconfig.
15504 (dist): Removed.
15505 (tar-it): Removed.
15506 (edition): Removed.
15507 (glibc-doc-$(edition).tar): Removed
15508 (%.Z): Removed.
15509 (%.gz): Removed.
15510 (%.uu): Removed.
15511 (ETAGS): Remove, it's in Makeconfig.
15512 (move-if-change): Remove, it's in Makeconfig.
15513
38686a03 155142012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15515
15516 [BZ #13970]
15517 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15518 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15519 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15520 (strtod_l, strtof_l, strtold_l): Remove __wur.
15521 It is not necessarily an error to ignore strtol's return value.
15522 One can reliably look at the stored endptr to decide whether
15523 the number had valid syntax.
15524
7c0616fa
AJ
155252012-04-21 Andreas Jaeger <aj@suse.de>
15526
803cb6b7 15527 [BZ #13739]
7c0616fa
AJ
15528 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15529
b0fe253f
JM
155302012-04-21 Joseph Myers <joseph@codesourcery.com>
15531
15532 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15533 * sysdeps/unix/sysv/Versions: Remove file.
15534
8280f22d
MT
155352012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15536
15537 [BZ #13927]
15538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15539
75ce411f 155402012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15541
15542 [BZ #7064]
15543 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15544 version from __vm86.
15545
097d59fa
JM
155462012-04-20 Joseph Myers <joseph@codesourcery.com>
15547
a90f3bcb
JM
15548 * sysdeps/unix/common/lxstat.c: Remove file.
15549 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15550
edc7ea78
JM
15551 * sysdeps/unix/sysv/Makefile: Remove file.
15552
cb78c221
JM
15553 * sysdeps/unix/sysv/direct.h: Remove file.
15554
efa6a45f
JM
15555 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15556 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15557 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15558 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15559 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15560 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15561 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15562
9c9f2d0c
JM
15563 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15564
4541c83b
JM
15565 * sysdeps/unix/xmknod.c: Remove file.
15566 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15567
f5d153a0
JM
15568 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15569
aa746595
JM
15570 * sysdeps/unix/sysv/i386/time.S: Remove file.
15571
cce5905e
JM
15572 * sysdeps/unix/fxstat.c: Remove file.
15573 * sysdeps/unix/xstat.c: Likewise.
15574 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15575
37fa3841
JM
15576 * sysdeps/unix/sysv/sigaction.c: Remove file.
15577
ff1962a3
JM
15578 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15579 (sysdep_headers): Remove variable.
15580 [termio.h not in sysdep_headers] (generated): Likewise.
15581 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15582 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15583 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15584 * sysdeps/unix/sysv/tcflow.c: Likewise.
15585 * sysdeps/unix/sysv/tcflush.c: Likewise.
15586 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15587 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15588 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15589 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15590 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15591
e7740d31
JM
15592 * sysdeps/unix/siglist.c: Remove file.
15593
ee06f18b
JM
15594 * sysdeps/unix/getppid.S: Remove file.
15595
097d59fa
JM
15596 * sysdeps/unix/mkdir.c: Remove file.
15597 * sysdeps/unix/rmdir.c: Likewise.
15598
ff3d51ec
AS
155992012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15600
15601 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15602 ERR_MAX value.
15603 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15604 errlist-compat value.
15605
50f81fd7
DM
156062012-04-18 David S. Miller <davem@davemloft.net>
15607
15608 * sysdeps/generic/memcopy.h (reg_char): Delete.
15609 * debug/strcat_chk.c: Use char, not reg_char.
15610 * debug/strcpy_chk.c: Likewise.
15611 * debug/strncat_chk.c: Likewise.
15612 * debug/strncpy_chk.c: Likewise.
15613 * string/memchr.c: Likewise.
15614 * string/memrchr.c: Likewise.
15615 * string/rawmemchr.c: Likewise.
15616 * string/strcat.c: Likewise.
15617 * string/strchr.c: Likewise.
15618 * string/strchrnul.c: Likewise.
15619 * string/strcmp.c: Likewise.
15620 * string/strcpy.c: Likewise.
15621 * string/strncat.c: Likewise.
15622 * string/strncmp.c: Likewise.
15623 * string/strncpy.c: Likewise.
15624
8ff41c46
WS
156252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15626
15627 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15628 __builtin_memcopy is called when src and dest ranges are known to not
15629 overlap.
15630
6b652f46
WS
156312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15632
15633 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15634 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15635 fwd_align_merge macro call.
15636 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15637 bwd_align_merge macro call.
15638 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15639
b282631e
WS
156402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15641
15642 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15643 bwd_align_merge macros.
15644 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15645 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15646 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15647
95aa737c
DM
156482012-04-18 David S. Miller <davem@davemloft.net>
15649
15650 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15651
7a99a614
AJ
156522012-04-18 Andreas Jaeger <aj@suse.de>
15653
15654 [BZ# 6794]
15655 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15656 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15657 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15658
15659 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15660 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15661 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15662
15663 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15664 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15665 Adjust for changed ldbl-128 files.
15666
15667 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15668 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15669 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15670
e5270c23
DM
156712012-04-17 David S. Miller <davem@davemloft.net>
15672
15673 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15674
fb5e92c9
AS
156752012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15676
15677 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15678 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15679 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15680 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15681 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15682 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15683
76da7265
AZ
156842012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15685
15686 [BZ #6794]
15687 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15688 * math/libm-test.inc: Add ilogb errno and exception tests.
15689 * math/w_ilogb.c: New file: ilogb wrapper.
15690 * math/w_ilogbf.c: New file: ilogbf wrapper.
15691 * math/w_ilogbl.c: New file: ilogbl wrapper.
15692 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15693 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15694 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15695 exception being thrown with 0.0 as argument.
15696 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15697 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15698 exception being thrown with 0.0 as argument.
15699 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15700 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15701 exception being thrown with 0.0 as argument.
15702 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15703 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15704 exception being thrown with 0.0 as argument.
15705 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15706 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 15707 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
15708 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15709 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15710 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15711 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15712 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15713 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15714
0396e69d
PB
157152012-04-17 Petr Baudis <pasky@ucw.cz>
15716
15717 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15718 with altivec.
15719
750b5926
MP
157202012-04-16 Marek Polacek <polacek@redhat.com>
15721
15722 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15723
751728a1
MP
157242012-04-16 Marek Polacek <polacek@redhat.com>
15725
15726 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15727 operands of fdivp instruction.
15728
34a27407
L
157292012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15730
15731 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15732 * elf/tst-auditmod3b.c: Likewise.
15733 * elf/tst-auditmod4b.c: Likewise.
15734 * elf/tst-auditmod5b.c: Likewise.
15735 * elf/tst-auditmod6b.c: Likewise.
15736 * elf/tst-auditmod6c.c: Likewise.
15737 * elf/tst-auditmod7b.c: Likewise.
15738 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15739 * sysdeps/x86_64/preconfigure.in: Likewise.
15740 * sysdeps/x86_64/preconfigure: Regenerated.
15741
7e73e17d
L
157422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15743
15744 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15745 __ILP32__.
15746
c7a6ab72
AB
157472012-04-13 Antoine Balestrat <merkil33@gmail.com>
15748
15749 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15750 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15751
a9e8e0e0
CL
157522012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15753
15754 [BZ #13973]
15755 * locale/iso-639.def: Fix gl language name. Spotted by
15756 Yaron Shahrabani.
15757
ec98af7d
RM
157582012-04-12 Roland McGrath <roland@hack.frob.com>
15759
15760 [BZ #2074]
15761 * libio/libio.h (__io_write_fn): Update comment.
15762
247c3ede
PB
157632012-04-12 Petr Baudis <pasky@ucw.cz>
15764
15765 [BZ #2074]
15766 * stdio.texi (Hook Functions): The user provided writer function
15767 is not allowed to return -1.
15768
55939d6d
DM
157692012-04-11 David S. Miller <davem@davemloft.net>
15770
15771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15772
90020f5a
MF
157732012-04-11 Mike Frysinger <vapier@gentoo.org>
15774
15775 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15776 Add a leading slash to rtkaio.
15777
288f9098
JM
157782012-04-11 Jim Meyering <meyering@redhat.com>
15779
90020f5a
MF
15780 [BZ #11959]
15781 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15782 It is not necessarily an error to ignore fwrite's return
15783 value. One can reliably use ferror to test for errors after
15784 the fact.
288f9098 15785
4be2b570
L
157862012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15787
15788 * bits/types.h (__snseconds_t): New type.
15789 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15790
15791 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15792 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15793 (__SNSECONDS_T_TYPE): Likewise.
15794 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15795 (__SNSECONDS_T_TYPE): Likewise.
15796 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15797 (__SNSECONDS_T_TYPE): Likewise.
15798
288f9098 157992012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
15800
15801 [BZ #2636]
15802 * manual/time.texi (Processor Time): Return type of times is
15803 elapsed real time since an arbitrary point in the past.
15804 (CPU Time): Move CLK_TCK from here...
15805 (Processor Time): ...to here. Correct description.
15806 * manual/conf.texi (Constants for Sysconf): Correct description of
15807 _SC_CLK_TCK.
15808
d7dd4413
DM
158092012-04-10 David S. Miller <davem@davemloft.net>
15810
15811 [BZ #13967]
15812 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15813 where the is a gap between DT_REL(A) and DT_JMPREL.
15814
b46068fc
L
158152012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15816
15817 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15818 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15819 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15820
73d65cc3
SP
158212012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15822
15823 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15824 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15825 (dl_main): Handle --inhibit-cache.
15826 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15827 _dl_inhibit_cache.
15828 * elf/dl-load.c (_dl_map_object): Use it.
15829 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15830
bcc8d661
JM
158312012-04-09 Joseph Myers <joseph@codesourcery.com>
15832
8f9a2fae
JM
15833 [BZ #13872]
15834 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15835 (__ieee754_powl): Saturate large exponents rather than testing for
15836 overflow of y*log2(x).
15837 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15838 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15839 exceptions.
15840
bcc8d661
JM
15841 [BZ #11521]
15842 * math/s_ctan.c: Include <float.h>.
15843 (__ctan): Avoid internal overflow or cancellation in calculating
15844 denominator.
15845 * math/s_ctanf.c: Likewise.
15846 * math/s_ctanl.c: Likewise.
15847 * math/s_ctanh.c: Likewise.
15848 * math/s_ctanhf.c: Likewise.
15849 * math/s_ctanhl.c: Likewise.
15850 * math/libm-test.inc (ctan_test): Add more tests.
15851 (ctanh_test): Likewise.
15852 * sysdeps/i386/fpu/libm-test-ulps: Update.
15853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15854
823fbbb4
AJ
158552012-04-09 Andreas Jaeger <aj@suse.de>
15856
03879793
AJ
15857 [BZ #6894]
15858 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15859 is an optional BSD extension.
15860
823fbbb4
AJ
15861 [BZ #10254]
15862 * manual/stdio.texi (Opening Streams): Document additional fopen
15863 parameters.
15864
8de131cb
RM
158652012-04-09 Roland McGrath <roland@hack.frob.com>
15866
15867 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15868 %eax without telling the compiler.
15869
c0ed9d7d
CD
158702012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15871
15872 [BZ # 13963]
15873 * manual/install.texi: Use sourceware.org.
15874
c483f6b4
JM
158752012-04-09 Joseph Myers <joseph@codesourcery.com>
15876
d7dd9453
JM
15877 [BZ #13873]
15878 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15879 (__ieee754_pow): Generate overflow and underflow using huge*huge
15880 and tiny*tiny rather than just returning constant infinity or zero
15881 for large exponents.
15882 * math/libm-test.inc (pow_test): Require overflow exceptions for
15883 applicable cases of large exponents.
15884
c483f6b4
JM
15885 [BZ #706]
15886 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15887 (__ieee754_pow): Use iterative multiplication algorithm only for
15888 integer exponents with absolute value below 1024. Check for odd
15889 integer exponents when using algorithm for real exponents.
15890 * math/libm-test.inc (pow_test): Add more tests.
15891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15892
d2de7579
JM
158932012-04-08 Joseph Myers <joseph@codesourcery.com>
15894
15895 [BZ #13705]
15896 * math/libm-test.inc (exp_test): Do not allow overflow exception
15897 on underflow test.
15898
f77f1232
AJ
158992012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15900
15901 [BZ #13705]
15902 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15903 instead of __kernel_standard_f.
15904
3884932b
MF
159052012-04-08 Mike Frysinger <vapier@gentoo.org>
15906
15907 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15908 * sysdeps/x86_64/memset_chk.S: Likewise.
15909
54472e9c
AJ
159102012-04-08 Andreas Jaeger <aj@suse.de>
15911
6ab0fbfc
AJ
15912 [BZ #10153]
15913 * manual/startup.texi (Environment Access): Describe return value
15914 for putenv and setenv.
15915
61efba8c
AJ
15916 [BZ #6895]
15917 * manual/filesys.texi (Directory Entries): Add description for
15918 DT_LNK.
15919
95c3f29a
AJ
15920 [BZ #6890]
15921 * manual/filesys.texi (Directory Entries): Clarify that it's file
15922 system not operating system in the description of DT_UNKNOWN.
15923
54472e9c
AJ
15924 [BZ #6578]
15925 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15926
624254b1
SC
159272012-04-08 Stephen Compall <s11@member.fsf.org>
15928
15929 [BZ #6649]
15930 * manual/llio.texi (Opening and Closing Files): Add cross
15931 reference to explain mode argument.
15932
1e4920e0
MF
159332012-04-07 Mike Frysinger <vapier@gentoo.org>
15934
15935 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15936 * sysdeps/x86_64/memset_chk.S: Likewise.
15937
5ed848f3
DM
159382012-04-07 David S. Miller <davem@davemloft.net>
15939
15940 * elf/elf.h (R_SPARC_WDISP10): Define.
15941 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15942 R_SPARC_SIZE32.
15943 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15944 R_SPARC_SIZE64 and R_SPARC_H34.
15945
96154cd8
CD
159462012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15947
15948 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15949 conditions and remove no longer applicable assertion.
15950
9904dc47
L
159512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15952
15953 * bits/byteswap.h: Include <features.h>.
15954 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15955 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15956
f8887d0a
L
159572012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15958
15959 * bits/byteswap.h (__bswap_16): Removed.
15960 Include <bits/byteswap-16.h> to get __bswap_16.
15961 * sysdeps/i386/bits/byteswap.h: Likewise.
15962 * sysdeps/s390/bits/byteswap.h: Likewise.
15963 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15964 * bits/byteswap-16.h: New file.
15965 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15966 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15967 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15968 * string/Makefile (headers): Add bits/byteswap-16.h.
15969
62470f60
PP
159702012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15971
15972 [BZ #13895]
15973 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15974 extra indirection.
15975 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15976 * nss/tst-nss-static.c: New.
15977
4dad7bab
RM
159782012-04-06 Robert Millan <rmh@gnu.org>
15979
15980 [BZ #6486]
15981 * manual/llio.texi (File Position Primitive): lseek
15982 refers to WHENCE when it really means OFFSET.
15983
e9142a17
AJ
159842012-04-06 Andreas Jaeger <aj@suse.de>
15985
2c040eff
AJ
15986 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15987 strncmp declarations.
15988
e9142a17
AJ
15989 * abilist/libc.abilist: Add __poll and __ppoll.
15990
ff9f1c5f
DM
159912012-04-05 David S. Miller <davem@davemloft.net>
15992
dcd2ae90
DM
15993 * scripts/check-local-headers.sh: Accept a host triplet in the
15994 path matched by the exclude regexp.
15995
993eb054
DM
15996 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15997 definition.
15998 * sysdeps/powerpc/powerpc32/dl-machine.h
15999 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16000 * sysdeps/s390/s390-32/dl-machine.h
16001 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16002 * sysdeps/sparc/sparc32/dl-machine.h
16003 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16004 * sysdeps/sparc/sparc64/dl-machine.h
16005 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16006
ff9f1c5f
DM
16007 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16008 lazy binding.
48e2e132 16009 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16010 undefined symbol errors.
16011
48e2e132 16012 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16013 DT_NEEDED entries.
16014
e80d6f94
MM
160152012-04-05 Michael Matz <matz@suse.de>
16016
16017 [BZ #13592]
16018 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16019
349fa79f
AJ
160202012-04-05 Andreas Jaeger <aj@suse.de>
16021
16022 [BZ #13908]
16023 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16024 comment.
16025
f402708f
KK
160262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16027
16028 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16029 which ROUND is no valid rounding mode.
16030
2ecccfc9
KK
160312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16032
16033 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16034 read again.
16035 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16036
8a53f50f
KK
160372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16038
16039 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16040 an exception using FPU order intentionally.
16041
160422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16043
16044 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16045 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16046 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16047 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16048
d653abb7
SJ
160492012-04-05 Simon Josefsson <simon@josefsson.org>
16050
16051 [BZ #12340]
16052 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16053 EINVAL when BUFLEN is too smal.
16054
c3b1bf7d
TS
160552012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16056
16057 [BZ #13553]
16058 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16059 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16060
b1aa60f3
AJ
160612012-04-03 Andreas Jaeger <aj@suse.de>
16062
c3b1bf7d 16063 [BZ #13938]
67f60a26
AJ
16064 * manual/setjmp.texi (System V contexts): Fix sentence.
16065
b1aa60f3
AJ
16066 [BZ #13926]
16067 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16068 New macro for this case.
16069 [!__GNUC__] (__bswap_64): New inline function for this case.
16070 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16071 * bits/byteswap.h: Likewise.
16072 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16073 ull, guard with __GLIBC_HAVE_LONG_LONG.
16074
16075 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16076 __GLIBC_HAVE_LONG_LONG.
16077
16078 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16079 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16080
39c59c35
TMQMF
160812012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16082
16083 [BZ #13691]
16084 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16085 inptr and inend, rather than using last_ch.
16086
135ffda8
DM
160872012-04-02 David S. Miller <davem@davemloft.net>
16088
16089 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16090 * stdio-common/printf-parse.h (read_int): Change return type to
16091 'int', return -1 on INT_MAX overflow.
16092 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16093 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16094 overflows INT_MAX. Check for overflow of in-format-string precision
16095 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16096 SIZE_MAX not INT_MAX for integer overflow test.
16097 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16098 skip the construct in the format string but do not record anything.
16099 * stdio-common/bug22.c: Adjust to test both width/prevision
16100 INT_MAX overflow as well as total length INT_MAX overflow. Check
16101 explicitly for proper errno values.
16102
228c019e
TS
161032012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16104
302cadd3
TS
16105 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16106 CHAR_MAX.
16107 * string/test-strcmp.c [! WIDE]: Likewise.
16108 * time/tst-mktime2.c: Likewise for INT_MAX.
16109 * string/test-string.h: #include <sys/param.h> for MIN.
16110
228c019e
TS
16111 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16112 * sysdeps/i386/init-first.c (init): Likewise.
16113 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16114 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16115 * sysdeps/sh/init-first.c (init): Likewise.
16116
cfa633f5
UD
161172012-04-01 Ulrich Drepper <drepper@gmail.com>
16118
16119 * po/ru.po: Update from translation team.
d1635ef8 16120 * po/vi.po: Likewise.
cfa633f5 16121
6cd0a5ea
SP
161222012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16123
16124 * resolv/nss_dns/dns-host.c: Merge copyright years.
16125
4b43400f
LD
161262012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16127
16128 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16129 Optimize memcpy with prefetch if
16130 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16131 src, dst pointers have unequal 16 byte alignments.
16132
48c41d04
SP
161332012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16134
16135 [BZ #13928]
16136 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16137 from a CNAME entry and return the minimum ttl for the query.
16138 (gaih_getanswer_slice): Likewise.
16139
b8dc394d
JL
161402012-03-30 Jeff Law <law@redhat.com>
16141
16142 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16143 due to long keys.
16144 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16145 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16146
2f5a5ed0
JL
16147 * resolv/nss_dns/dns-host.c: Update copyright year.
16148
1d39e359
UD
161492012-03-30 Ulrich Drepper <drepper@gmail.com>
16150
c030f70c 16151 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16152 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16153
1d39e359
UD
16154 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16155 comments for sendmmsg.
16156
161572012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16158
16159 [BZ #13691]
16160 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16161 with only 1 character between 0x0041 and 0x01b0.
16162 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16163 * wcsmbs/tst-mbsnrtowcs.c: New file.
16164
20fde227
DM
161652012-03-29 David S. Miller <davem@davemloft.net>
16166
16167 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16168 small copies by hand.
16169
984a4237
JL
161702012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16171
16172 [BZ #13761]
16173 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16174 _nss_compat_initgroups_dyn): Fall back to malloc/free
16175 for large group memberships.
16176
18c9d62b
DM
161772012-03-28 David S. Miller <davem@davemloft.net>
16178
88d85d4f
DM
16179 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16180 that branches into memcpy.
16181 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16182 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16183 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16184 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16186 bits.
16187 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16188 implementation too.
16189 * sysdeps/sparc/mempcpy.S: New file.
16190
e5aa83e1
DM
16191 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16192 the IFUNC routine in the libc case.
16193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16194
88570753
DM
16195 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16196 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16197 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16198 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16199 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16200 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16201 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16202 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16203
249d7567
DM
16204 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16205 loop to 256 bytes instead of 64 bytes and fix test signedness.
16206
18c9d62b
DM
16207 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16208 * sysdeps/sparc/sparc32/Makefile: rather than here...
16209 * sysdeps/sparc/sparc64/Makefile: and here.
16210
05f3d1f6
UD
162112012-03-28 Ulrich Drepper <drepper@gmail.com>
16212
16213 * malloc/mallocbug.c: Avoid warnings about unused variables.
16214
86ae07a8
JL
162152012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16216
16217 [BZ #13760]
16218 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16219 in the right place. Discard and retry query if response is
16220 larger than input buffer size.
16221
41bf21a1
JM
162222012-03-28 Joseph Myers <joseph@codesourcery.com>
16223
d6270972
JM
16224 [BZ #369]
16225 [BZ #2678]
16226 [BZ #3866]
16227 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16228 x for large integer exponent.
16229 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16230 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16231 sign of result as needed afterwards.
16232 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16233 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16234 result for underflowing pow the same as for overflow.
16235 (__kernel_standard_l): Handle powl overflow and underflow here
16236 rather than calling __kernel_standard.
16237 * math/libm-test.inc (pow_test): Add more tests.
16238
414fca03 16239 [BZ #3868]
41bf21a1
JM
16240 [BZ #13879]
16241 [BZ #13910]
16242 [BZ #13911]
16243 [BZ #13912]
16244 [BZ #13913]
16245 [BZ #13915]
16246 [BZ #13916]
16247 [BZ #13917]
16248 [BZ #13918]
16249 [BZ #13919]
16250 [BZ #13920]
16251 [BZ #13921]
16252 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16253 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16254 (__kernel_standard_l): New function.
16255 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16256 __kernel_standard.
16257 * math/w_acosl.c (__acosl): Likewise.
16258 * math/w_asinl.c (__asinl): Likewise.
16259 * math/w_atan2l.c (__atan2l): Likewise.
16260 * math/w_atanhl.c (__atanhl): Likewise.
16261 * math/w_coshl.c (__coshl): Likewise.
16262 * math/w_exp10l.c (__exp10l): Likewise.
16263 * math/w_exp2l.c (__exp2l): Likewise.
16264 * math/w_fmodl.c (__fmodl): Likewise.
16265 * math/w_hypotl.c (__hypotl): Likewise.
16266 * math/w_j0l.c (__j0l, __y0l): Likewise.
16267 * math/w_j1l.c (__j1l, __y1l): Likewise.
16268 * math/w_jnl.c (__jnl, __ynl): Likewise.
16269 * math/w_lgammal.c (__lgammal): Likewise.
16270 * math/w_log10l.c (__log10l): Likewise.
16271 * math/w_log2l.c (__log2l): Likewise.
16272 * math/w_logl.c (__logl): Likewise.
16273 * math/w_powl.c (__powl): Likewise.
16274 * math/w_remainderl.c (__remainderl): Likewise.
16275 * math/w_scalbl.c (sysv_scalbl): Likewise.
16276 * math/w_sinhl.c (__sinhl): Likewise.
16277 * math/w_sqrtl.c (__sqrtl): Likewise.
16278 * math/w_tgammal.c (__tgammal): Likewise.
16279 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16280 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16281 * math/libm-test.inc (acos_test): Add more tests.
16282 (acosh_test): Likewise.
16283 (asin_test): Likewise.
16284 (atanh_test): Likewise.
16285 (exp_test): Likewise.
16286 (exp10_test): Likewise.
16287 (exp2_test): Likewise.
16288 (expm1_test): Likewise.
16289 (lgamma_test): Likewise.
16290 (log_test): Likewise.
16291 (log10_test): Likewise.
16292 (log1p_test): Likewise.
16293 (log2_test): Likewise.
16294 (pow_test): Do not allow some spurious overflow exceptions.
16295 (sqrt_test): Add more tests.
16296 (tgamma_test): Likewise.
16297 (y0_test): Likewise.
16298 (y1_test): Likewise.
16299 (yn_test): Likewise.
16300
dd62fda6
AB
163012012-03-27 Anton Blanchard <anton@samba.org>
16302
16303 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16304 MAP_HUGETLB.
16305 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16306 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16307 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16308
1e3cdfda
AJ
163092012-03-27 David S. Miller <davem@davemloft.net>
16310
b855ab85
DM
16311 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16312
1e3cdfda
AJ
16313 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16314 have-as-vis3 check.
16315
163162012-03-27 Andreas Jaeger <aj@suse.de>
16317
16318 * sysdeps/x86_64/elf/configure.in: Moved to ...
16319 * sysdeps/x86_64/configure.in: ... here.
16320 * sysdeps/x86_64/elf/start.S: Moved to ...
16321 * sysdeps/x86_64/start.S: ... here.
16322 * sysdeps/x86_64/elf/configure: Delete.
16323
16324 * sysdeps/x86_64/configure.in: Merge contents from
16325 sysdeps/i386/configure.in (without i686 check).
16326
16327 * sysdeps/i386/elf/Versions: Merge into ...
16328 * sysdeps/i386/Versions: ... this.
16329 * sysdeps/i386/elf/Versions: Delete file.
16330 * sysdeps/i386/elf/start.S: Moved to ...
16331 * sysdeps/i386/start.S: ...here.
16332 * sysdeps/i386/elf/configure.in: Merge into...
16333 * sysdeps/i386/configure.in: ...here.
16334 * sysdeps/i386/elf/configure.in: Delete file.
16335 * sysdeps/i386/elf/configure: Delete file.
16336
16337 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16338 * debug/backtracesyms.c: ... here.
16339 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16340 * debug/backtracesymsfd.c: ... here.
16341 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16342 * sysdeps/generic/ifunc-sel.h: ... here.
16343
16344 * sysdeps/unix/i386/start.c: Delete file.
16345 * sysdeps/unix/sparc/start.c: Delete file.
16346 * sysdeps/unix/start.c: Delete file.
16347
16348 * sysdeps/sh/elf/configure.in: Moved to ...
16349 * sysdeps/sh/configure.in: ... here.
16350 * sysdeps/sh/elf/start.S: Moved to ...
16351 * sysdeps/sh/start.S: ... here.
16352 * sysdeps/sh/elf/configure: Delete file.
16353
16354 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16355 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16356 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16357 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16358 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16359 * sysdeps/powerpc/powerpc64/start.S: here.
16360 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16361 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16362 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16363 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16364 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16365
16366 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16367 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16368 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16369 * sysdeps/powerpc/powerpc32/start.S: ... here.
16370 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16371 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16372 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16373
16374 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16375 * sysdeps/powerpc/ifunc-sel.h: ... here.
16376 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16377 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16378
16379 * sysdeps/sparc/elf/configure.in: Moved to ...
16380 * sysdeps/sparc/configure.in: ... here.
16381 * sysdeps/sparc/elf/configure: Delete file.
16382 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16383 * sysdeps/sparc/sparc32/start.S: ... here.
16384 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16385 * sysdeps/sparc/sparc64/start.S: ... here.
16386 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16387 * sysdeps/sparc/sparc32/Makefile: ... this.
16388 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16389 * sysdeps/sparc/sparc64/Makefile: ... this.
16390
16391 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16392 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16393 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16394 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16395 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16396 * sysdeps/s390/s390-32/setjmp.S: ... here.
16397 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16398 * sysdeps/s390/s390-32/configure.in: ... here.
16399 * sysdeps/s390/s390-32/elf/configure: Delete file.
16400 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16401 * sysdeps/s390/s390-32/start.S: ... here.
16402
16403 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16404 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16405 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16406 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16407 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16408 * sysdeps/s390/s390-64/setjmp.S: ... here.
16409 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16410 * sysdeps/s390/s390-64/configure.in: ... here
16411 * sysdeps/s390/s390-64/elf/configure: Delete file.
16412 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16413 * sysdeps/s390/s390-64/start.S: ... here.
16414 * sysdeps/s390/s390-64/elf/configure: Delete.
16415
16416 * configure.in: Remove support for elf directories in sysdeps.
16417
16418 * configure: Regenerated.
16419 * sysdeps/i386/configure: Regenerated.
16420 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16421 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16422 * sysdeps/s390/s390-32/configure: Regenerated.
16423 * sysdeps/s390/s390-64/configure: Regenerated.
16424 * sysdeps/sh/configure: Regenerated.
16425 * sysdeps/sparc/configure: Regenerated.
16426 * sysdeps/x86_64/configure: Regenerated.
16427
a3f61311
AS
164282012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16429
c876e002
AS
16430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16431
a3f61311
AS
16432 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16433 denormal result into account.
16434
ac4c54f0
RM
164352012-03-25 Roland McGrath <roland@hack.frob.com>
16436
16437 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16438 Reported by Allan McRae <allan@archlinux.org>.
16439
6a9b9c02
JL
164402012-03-23 Jeff Law <law@redhat.com>
16441
16442 * nss/getnssent.c (__nss_getent): Fix typo.
16443
4c42a0c1
DM
164442012-03-23 David S. Miller <davem@davemloft.net>
16445
16446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16447
1532c7ac
L
164482012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16449
16450 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16451 to pad to uint64_t for each field.
16452 (dl_tls_index): Replace unsigned long with uint64_t.
16453
3ff42526
PP
164542012-03-23 Daniel Jacobowitz <dmj@google.com>
16455 Paul Pluzhnikov <ppluzhnikov@google.com>
16456
16457 [BZ #6528]
16458 * grp/Makefile (otherlibs): Don't set it.
16459 * inet/Makefile (otherlibs): Likewise.
16460 * login/Makefile (otherlibs): Likewise.
16461 * nscd/Makefile (otherlibs): Likewise.
16462 * posix/Makefile (otherlibs): Likewise.
16463 * pwd/Makefile (otherlibs): Likewise.
16464 * rt/Makefile (otherlibs): Likewise.
16465 * sunrpc/Makefile (otherlibs): Likewise.
16466 * nss/Makefile (otherlibs): Likewise.
16467 Add libnss_files to routines and static-only-routines.
16468 ($(objpfx)getent): Remove rule.
16469 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16470 static-only-routines.
16471
7c69cd14
JM
164722012-03-22 Joseph Myers <joseph@codesourcery.com>
16473
16474 [BZ #13892]
16475 * math/s_cexp.c: Include <float.h>.
16476 (__cexp): Handle exp result overflowing not necessarily
16477 overflowing both real and imaginary parts of result.
16478 * math/s_cexpf.c: Likewise.
16479 * math/s_cexpl.c: Likewise.
16480 * math/libm-test.inc (cexp_test): Add more tests.
16481 * sysdeps/i386/fpu/libm-test-ulps: Update.
16482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16483
81b035fe
L
164842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16485
16486 * include/link.h (ELFW): New macro.
16487 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16488 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16489
1da7940c
L
164902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16491
16492 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16493 with uint64_t.
16494
b749dbb9
L
164952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16496
16497 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16498 declaration.
16499 (struct La_x32_retval): Likewise.
16500
2ff87f3f
L
165012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16502
16503 * sysdeps/x86_64/preconfigure.in: New file.
16504 * sysdeps/x86_64/preconfigure: New generated file.
16505
c0df8e69
JM
165062012-03-22 Joseph Myers <joseph@codesourcery.com>
16507
48e44791
JM
16508 [BZ #13824]
16509 * math/e_exp2l.c: Include <float.h>.
16510 (__ieee754_exp2l): Handle overflow and underflow cases
16511 separately. Only pass fractional part of argument to
16512 __ieee754_expl.
16513 * math/libm-test.inc (exp2_test): Add more tests.
16514
c0df8e69
JM
16515 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16516 negating x to take absolute value.
16517 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16518 Likewise.
16519 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16520 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16521 Likewise.
16522 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16523 computing low part if x was negated.
16524 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16525
c8e43ba7
L
165262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16527
16528 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16529 la_x32_gnu_pltexit.
16530 (pltexit): Cast int_retval to ptrdiff_t.
16531 * elf/tst-auditmod3b.c: Likewise.
16532 * elf/tst-auditmod4b.c: Likewise.
16533 * elf/tst-auditmod5b.c: Likewise.
16534 * elf/tst-auditmod6b.c: Likewise.
16535 * elf/tst-auditmod6c.c: Likewise.
16536 * elf/tst-auditmod7b.c: Likewise.
16537
16538 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16539 and x32_gnu_pltexit.
16540
16541 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16542 __ELF_NATIVE_CLASS.
16543 (La_x32_regs): New macro.
16544 (La_x32_retval): Likewise.
16545 (la_x32_gnu_pltenter): New function prototype.
16546 (la_x32_gnu_pltexit): Likewise.
16547
7998fa78
AS
165482012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16549
dcb33988
AS
16550 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16551 exponent.
16552
233fc563
AS
16553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16554
7998fa78
AS
16555 * configure.in (libc_cv_cc_nofma): Check for option to disable
16556 generation of FMA instructions.
16557 * configure: Regenerate.
16558 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16559 * sysdeps/ieee754/dbl-64/Makefile: New file.
16560 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16561 Remove brandred-fma4.
16562 (CFLAGS-brandred-fma4.c): Remove.
16563 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16564 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16565 define.
16566 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16567 define.
16568
8e95c99a
L
165692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16570
16571 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16572 LLONG_MAX != LONG_MAX.
16573 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16574 (_fitoa_word): Likewise.
16575 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16576 LLONG_MAX != LONG_MAX.
16577 * stdio-common/_itowa.h: Include <_itoa.h>.
16578 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16579 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16580 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16581 only if not defined.
16582 (_ITOA_WORD_TYPE): Likewise.
16583 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16584 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16585
6f4db457
DM
165862012-03-21 David S. Miller <davem@davemloft.net>
16587
16588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16589
7785fe5a
L
165902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16591
16592 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16593 of x86_64 when setting libc_cv_slibdir, libdir and
16594 libc_cv_localedir.
16595 * sysdeps/unix/sysv/linux/configure: Regenerated.
16596
4535cd55
JM
165972012-03-21 Joseph Myers <joseph@codesourcery.com>
16598
16599 * manual/lang.texi (Old Varargs): Remove section.
16600 (How Variadic): Update menu.
16601 (va_start): Do not mention varargs.h.
16602
17228132
TS
166032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16604 Joseph Myers <joseph@codesourcery.com>
16605
16606 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16607 link test.
16608 * configure: Regenerated.
16609
8149f976
TS
166102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16611
05f3d1f6
UD
16612 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16613 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16614 conformtest.pl
8149f976 16615
1a4ac776
JM
166162012-03-21 Joseph Myers <joseph@codesourcery.com>
16617
be22ce65
JM
16618 * NOTES: Remove.
16619 * Makefile (files-for-dist): Remove NOTES.
16620 (NOTES): Remove rule.
16621 * README: Don't refer to NOTES.
16622 * manual/creature.texi: Don't include macros.texi.
16623 * manual/intro.texi (creature.texi): Remove comment referring to
16624 NOTES.
16625
40b601fb
JM
16626 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16627 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16628 * configure: Regenerated.
16629 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16630 LIBC_TRY_CC_OPTION.
16631 (libc_cv_as_i686): Likewise.
16632 (libc_cv_cc_avx): Likewise.
16633 (libc_cv_cc_sse2avx): Likewise.
16634 (libc_cv_cc_fma4): Likewise.
16635 (libc_cv_cc_novzeroupper): Likewise.
16636 * sysdeps/i386/configure: Regenerated.
16637
1a4ac776
JM
16638 [BZ #13883]
16639 * sysdeps/i386/fpu/s_cexp.S: Remove.
16640 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16641 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16642 * math/libm-test.inc (cexp_test): Add more tests.
16643 * sysdeps/i386/fpu/libm-test-ulps: Update.
16644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16645
a458e7fe
AM
166462012-03-21 Allan McRae <allan@archlinux.org>
16647
16648 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16649
0cb7efc5
JM
166502012-03-21 Joseph Myers <joseph@codesourcery.com>
16651
16652 [BZ #13871]
16653 * math/w_exp2.c: Do not include <float.h>.
16654 (o_threshold, u_threshold): Remove.
16655 (__exp2): Calculate result before checking finiteness and calling
16656 __kernel_standard.
16657 * math/w_exp2f.c: Likewise.
16658 * math/w_exp2l.c: Likewise.
16659 * math/libm-test.inc (exp2_test): Require overflow exception for
16660 1e6 input.
2460d3aa
JM
16661
16662 [BZ #3866]
16663 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16664 range of signed 64-bit integers before using fistpll. Remove
16665 checks for whether integers fit in mantissa bits.
16666 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16667 the range of signed 32-bit integers before using fistpl. Remove
16668 checks for whether integers fit in mantissa bits.
16669 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16670 (__ieee754_powl): Test for y outside the range of signed 64-bit
16671 integers before using fistpll. Reduce 64-bit values to 63-bit
16672 ones as needed.
16673 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16674 divide-by-zero is raised for zero to large negative powers.
16675 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16676 (__ieee754_powl): Test for y outside the range of signed 64-bit
16677 integers before using fistpll. Reduce 64-bit values to 63-bit
16678 ones as needed.
16679 * math/libm-test.inc (pow_test): Add more tests.
16680
eb96ffb0
L
166812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16682
16683 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16684 <stdio-common/_itoa.h>.
16685 * debug/segfault.c: Likewise.
16686 * elf/dl-cache.c: Likewise.
16687 * elf/dl-minimal.c: Likewise.
16688 * elf/dl-misc.c: Likewise.
16689 * elf/dl-sysdep.c: Likewise.
16690 * elf/dl-version.c: Likewise.
16691 * elf/rtld.c: Likewise.
16692 * hurd/hurdsock.c: Likewise.
16693 * hurd/lookup-retry.c: Likewise.
16694 * malloc/malloc.c: Likewise.
16695 * malloc/mtrace.c: Likewise.
16696 * nscd/nscd_getgr_r.c: Likewise.
16697 * nscd/nscd_getpw_r.c: Likewise.
16698 * nscd/nscd_getserv_r.c: Likewise.
16699 * posix/getopt_init.c: Likewise.
16700 * posix/wordexp.c: Likewise.
16701 * stdio-common/_itoa.c: Likewise.
16702 * stdio-common/printf_fphex.c: Likewise.
16703 * stdio-common/vfprintf.c: Likewise.
16704 * string/_strerror.c: Likewise.
16705 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16706 * sysdeps/i386/i686/hp-timing.h: Likewise.
16707 * sysdeps/mach/_strerror.c: Likewise.
16708 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16709 * sysdeps/mach/hurd/sethostid.c: Likewise.
16710 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16711 * sysdeps/mach/xpg-strerror.c: Likewise.
16712 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16713 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16714 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16715 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16716 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16717 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16718 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16719 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16720 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16721 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16722 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16723 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16724 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16725 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16726 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16727 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16728 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16729 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16730 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16731 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16732 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16733
16734 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16735
16736 * stdio-common/_itoa.h: Moved to ...
16737 * sysdeps/generic/_itoa.h: Here.
16738
16739 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16740
16741 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16742 instead of "_itoa.h" and "_itowa.h".
16743 * stdio-common/vfprintf.: Likewise.
16744
d1af992d
L
167452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16746
16747 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16748 <bits/wordsize.h>.
16749 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16750 (__signbit): Likwise.
16751 (llrintf): Likwise.
16752 (llrint): Likwise.
16753
114883e0
L
167542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16755
16756 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16757 __WORDSIZE != 64.
16758
c135cc1b
JM
167592012-03-20 Joseph Myers <joseph@codesourcery.com>
16760
16761 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16762 OVERFLOW_EXCEPTION_OK.
16763 * math/libm-test.inc ("Philosophy"): Update comment about
16764 exception testing.
16765 (OVERFLOW_EXCEPTION): Define.
16766 (OVERFLOW_EXCEPTION_OK): Likewise.
16767 (INVALID_EXCEPTION_OK): Renumber.
16768 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16769 (IGNORE_ZERO_INF_SIGN): Likewise.
16770 (test_exceptions): Handle FE_OVERFLOW.
16771 (exp10_test): Expect overflow exceptions.
16772 (exp2_test): Likewise.
16773 (expm1_test): Likewise.
16774 (nextafter_test): Likewise.
16775 (pow_test): Likewise.
16776 (scalbn_test): Likewise.
16777 (scalbln_test): Likewise.
16778
95443d88
L
167792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16780
16781 * sysdeps/x86_64/bits/atomic.h
16782 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16783 64bit integer.
16784 (atomic_exchange_acq): Likewise.
16785 (__arch_exchange_and_add_body): Likewise.
16786 (__arch_add_body): Likewise.
16787 (atomic_add_negative): Likewise.
16788 (atomic_add_zero): Likewise.
16789
490df6c4
L
167902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16791
c2722551 16792 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
16793 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16794
5e52b189
L
167952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16796
16797 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16798 Check __x86_64__ instead of __WORDSIZE.
16799
a9879d4c
L
168002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16801
16802 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16803
5df98260
DM
168042012-03-19 David S. Miller <davem@davemloft.net>
16805
e1497744
DM
16806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16807
5df98260
DM
16808 * sysdeps/sparc/fpu/fenv_private.h: New file.
16809 * sysdeps/sparc/fpu/math_private.h: Use it.
16810 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16811 Remove.
16812 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16813 (libc_feholdexcept_setroundl): Remove.
16814 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16815 Remove.
16816 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16817 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16818
b4c35121
L
168192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16820
16821 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16822 int64_t instead of long int.
16823 (INSERT_WORDS64): Likwise.
16824
56965fd7
L
168252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16826
16827 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16828 _Unwind_GetCFA return to _Unwind_Ptr first.
16829
83d1aec8
JM
168302012-03-19 Joseph Myers <joseph@codesourcery.com>
16831
1897ad44
JM
16832 [BZ #13629]
16833 * math/s_clog.c: Include <float.h>.
16834 (__clog): Scale large or subnormal inputs.
16835 * math/s_clogf.c: Likewise.
16836 * math/s_clogl.c: Likewise.
16837 * math/s_clog10.c: Include <float.h>.
16838 (M_LOG10_2): Define.
16839 (__clog10): Scale large or subnormal inputs.
16840 * math/s_clog10f.c: Likewise.
16841 * math/s_clog10l.c: Likewise.
16842 * math/libm-test.inc (clog_test): Add more tests.
16843 (clog10_test): Likewise.
16844 * sysdeps/i386/fpu/libm-test-ulps: Update.
16845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16846
7726d6a9
JM
16847 [BZ #11451]
16848 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16849 x and y.
16850 * math/libm-test.inc (atan2_test): Add another test.
16851
83d1aec8
JM
16852 * Makerules (common-objdir-compile): Remove.
16853 * sysdeps/unix/Makefile (config-generated): Do not add
16854 $(unix-generated) to variable.
16855 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16856 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16857 Remove rule.
16858 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16859 Likewise.
16860 [generic bits/local_lim.h] (before-compile): Do not append to
16861 variable.
16862 [generic bits/local_lim.h] (common-generated): Likewise.
16863 [generic sys/param.h] (before-compile): Do not append to variable.
16864 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16865 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16866 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16867 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16868 include.
16869 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16870 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16871 [generic sys/param.h] ($(addprefix
16872 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16873 [generic sys/param.h] (common-generated): Do not append to
16874 variable.
16875 [generic sys/param.h] (sysdep_headers): Likewise.
16876 [generic bits/errno.h] (before-compile): Do not append to
16877 variable.
16878 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16879 rule.
16880 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16881 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16882 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16883 [generic bits/errno.h] (common-generated): Do not append to
16884 variable.
16885 [generic bits/ioctls.h] (before-compile): Do not append to
16886 variable.
16887 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16888 rule.
16889 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16890 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16891 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16892 rule.
16893 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16894 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16895 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16896 [generic bits/ioctls.h] (common-generated): Do not append to
16897 variable.
16898 [generic sys/syscall.h] (syscall.h): Remove variable.
16899 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16900 rule.
16901 [generic sys/syscall.h] (before-compile): Do not append to
16902 variable.
16903 [generic sys/syscall.h] (common-generated): Likewise.
16904 * sysdeps/unix/errnos-tmpl.c: Remove file.
16905 * sysdeps/unix/errnos.awk: Likewise.
16906 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16907 * sysdeps/unix/ioctls.awk: Likewise.
16908 * sysdeps/unix/mk-local_lim.c: Likewise.
16909 * sysdeps/unix/snarf-ioctls: Likewise.
16910
4851a949
RH
169112012-03-19 Richard Henderson <rth@twiddle.net>
16912
bd37f2ee
RH
16913 * sysdeps/i386/fpu/fenv_private.h: New file.
16914 * sysdeps/i386/fpu/math_private.h: Use it.
16915 (math_opt_barrier, math_force_eval): Remove.
16916 (libc_feholdexcept_setround_53bit): Remove.
16917 (libc_feupdateenv_53bit): Remove.
16918 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16919 (math_opt_barrier, math_force_eval): Remove.
16920 (libc_feholdexcept): Remove.
16921 (libc_feholdexcept_setround): Remove.
16922 (libc_fetestexcept, libc_fesetenv): Remove.
16923 (libc_feupdateenv_test): Remove.
16924 (libc_feupdateenv, libc_feholdsetround): Remove.
16925 (libc_feresetround): Remove.
16926
d0adc922
RH
16927 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16928 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16929
0fe0f1f8
RH
16930 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16931 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16932 (libc_feupdateenv_testl): New.
16933 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16934 (libc_feupdateenv_testf): New.
16935 (libc_feupdateenv): Use libc_feupdateenv_test.
16936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16937 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16938
eb92c487
RH
16939 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16940 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16941 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16942 (libc_feresetround_noex): New.
16943 (libc_feresetround_noexf): New.
16944 (libc_feresetround_noexl): New.
16945 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16946 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16947 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16948 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16949 SET_RESTORE_ROUND.
16950 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16951 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16952 (__cos): Likewise.
16953 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16954 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16955 SET_RESTORE_ROUND_NOEX.
16956 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16957 SET_RESTORE_ROUND_NOEXF.
16958 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16959 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16960 (libc_feholdsetroundf): New.
16961 (libc_feresetround, libc_feresetroundf): New.
16962
7d2e8012
RH
16963 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16964 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16965 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16966
b4dabbb4
RH
16967 * sysdeps/generic/math_private.h: Include <fenv.h>.
16968 (default_libc_feholdexcept): New.
16969 (default_libc_feholdexcept_setround): New.
16970 (default_libc_fesetenv, default_libc_feupdateenv): New.
16971 (libc_feholdexcept): Only define if undefined.
16972 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16973 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16974 (libc_feholdexcept_setroundl): Likewise.
16975 (libc_feholdexcept_setround_53bit): Likewise.
16976 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16977 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16978 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16979 (libc_feupdateenv_53bit): Likewise.
16980 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16981 (libc_feholdexcept): Convert from macro to inline function.
16982 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16983 (libc_fesetenv, libc_feupdateenv): Likewise.
16984
4851a949
RH
16985 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16986 not previously defined.
16987 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16988 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16989 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16990 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16991 * sysdeps/ieee754/flt-32/math_private.h: New file.
16992 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16993 math_private.h below SET_FLOAT_WORD.
16994 (__isnan, __isinf_ns, __finite): Remove.
16995 (__isnanf, __isinf_nsf, __finitef): Remove.
16996
e79d442e
AS
169972012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16998
16999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17000
90b80344
DM
170012012-03-17 David S. Miller <davem@davemloft.net>
17002
17003 [BZ #6471]
17004 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17005 for 2.16.
17006
edc21804
DM
170072012-03-16 David S. Miller <davem@davemloft.net>
17008
77e927af
DM
17009 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17010 warnings.
17011
374976dd
DM
17012 [BZ #6471]
17013 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17014 properly.
17015 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17016 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17017 sysdep_routines when subdir is sysvipc.
17018 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17019 __getshmlba helper.
17020
edc21804
DM
17021 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17022
473c3ef3
L
170232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17024
17025 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17026 [__LP64__].
17027
eb0f39b6
L
170282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17029
17030 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17031 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17032 (__lround): Renamed to ...
17033 (__llround): This. Replace long int with long long int.
17034 Define lround functions as aliases of llround functions.
17035 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17036
6b6cd74b
L
170372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17038
17039 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17040 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17041 adresses to uintptr_t. Replace "long int" and "unsigned long
17042 int" with "greg_t" on va_arg.
17043
f1a77b01
L
170442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17045
17046 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17047 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17048
17049 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17050 Move e_machine check before EI_CLASS check. Handle x32
17051 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17052 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17053 SKIP_EM_IA_64 and include
17054 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17055
17056 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17057 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17058 (add_system_dir): New macro.
17059
17060 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17061 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17062
11b90b9f
JM
170632012-03-16 Joseph Myers <joseph@codesourcery.com>
17064
c36e1d23
JM
17065 [BZ #2551]
17066 [BZ #2552]
17067 [BZ #2553]
17068 [BZ #2554]
17069 [BZ #2562]
17070 [BZ #2563]
17071 [BZ #2565]
17072 [BZ #2566]
17073 [BZ #2576]
17074 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17075 (y0): Likewise.
17076 * math/w_j0f.c (j0f): Likewise.
17077 (y0f): Likewise.
17078 * math/w_j0l.c (__j0l): Likewise.
17079 (__y0l): Likewise.
17080 * math/w_j1.c (j1): Likewise.
17081 (y1): Likewise.
17082 * math/w_j1f.c (j1f): Likewise.
17083 (y1f): Likewise.
17084 * math/w_j1l.c (__j1l): Likewise.
17085 (__y1l): Likewise.
17086 * math/w_jn.c (jn): Likewise.
17087 (yn): Likewise.
17088 * math/w_jnf.c (jnf): Likewise.
17089 (ynf): Likewise.
17090 * math/w_jnl.c (__jnl): Likewise.
17091 (__ynl): Likewise.
17092 * math/libm-test.inc (j0_test): Add more tests.
17093 (j1_test): Likewise.
17094 (jn_test): Likewise. Add trailing semicolon to existing test.
17095 (y0_test): Likewise.
17096 (y1_test): Likewise.
17097 * sysdeps/i386/fpu/libm-test-ulps: Update.
17098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17099
11b90b9f
JM
17100 [BZ #13851]
17101 [BZ #13854]
17102 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17103 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17104 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17105 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17106 (__tanl): Set errno for infinite argument.
17107 * sysdeps/i386/fpu/mptan.c: Remove.
17108 * sysdeps/i386/fpu/s_tan.S: Likewise.
17109 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17110 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17111 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17112 * math/libm-test.inc (tan_test): Add more tests and enable more
17113 tests for double and long double.
17114 * sysdeps/i386/fpu/libm-test-ulps: Update.
17115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17116
6a1bd2a1
JK
171172012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17118
17119 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17120 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17121
10a803e0
RM
171222012-03-16 Roland McGrath <roland@hack.frob.com>
17123
17124 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17125 * configure.in: Use it for both main tree and add-ons.
17126 * configure: Regenerated.
17127
f196c7f7
L
171282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17129
17130 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17131
8848d99d
JM
171322012-03-16 Joseph Myers <joseph@codesourcery.com>
17133
96cbe7f4
JM
17134 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17135 in comment.
17136
8848d99d
JM
17137 [BZ #13851]
17138 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17139 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17140 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17141 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17142 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17143 infinite argument.
17144 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17146 != 0 for prec == 2.
17147 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17148 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17149 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17150 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17151 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17152 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17153 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17154 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17155 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17156 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17157 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17158 * math/libm-test.inc (cos_test): Add more tests and enable more
17159 tests for long double.
17160 (sin_test): Likewise.
17161 (sincos_test): Likewise.
17162 * sysdeps/i386/fpu/libm-test-ulps: Update.
17163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17164
dd7f4703
DM
171652012-03-16 David S. Miller <davem@davemloft.net>
17166
17167 * sysdeps/sparc/fpu/math_private.h: New file.
17168
006f1daa
DM
171692012-03-15 David S. Miller <davem@davemloft.net>
17170
c0c83bc8
DM
17171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17172 file.
e6a62e18 17173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17175 file.
e6a62e18
DM
17176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17181 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17182 sysdep routines.
17183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17184
88cb87d9
DM
17185 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17186 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17187
006f1daa 17188 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17190 sparc-ifunc.h
006f1daa 17191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17193 Likewise.
17194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17195 Likewise.
006f1daa
DM
17196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17200 Likewise.
006f1daa
DM
17201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17206 Likewise.
17207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17208 Likewise.
006f1daa
DM
17209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17215 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17216 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17227 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17228 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17230 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17231 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17232 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17233
11e0098e
AS
172342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17235
17236 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17237 scaling.
17238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17239
e85b09d0
AJ
172402012-03-15 Andreas Jaeger <aj@suse.de>
17241
17242 [BZ #13852]
17243 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17244 ieee754/flt-32 implementation for sin, cos and sincos.
17245 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17246 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17247 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17248 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17249 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17250 ieee754/flt-32 implementation for tan.
17251
17252 * math/libm-test.inc (cos_test): Enable some large input tests for
17253 float as well
17254 (sin_test): Likewise.
17255 (sincos_test): Likewise.
17256 (tan_test): Add tests for large input.
17257
17258 * sysdeps/i386/fpu/libm-test-ulps: Update.
17259
81c64153
AJ
172602012-03-15 Andreas Jaeger <aj@suse.de>
17261
17262 [BZ #13658]
17263 * math/libm-test.inc (cos_test): Add more test cases.
17264 (sin_test): Likewise.
17265 (sincos_test): Likewise.
17266
7bbfa5c6
AJ
172672012-03-15 Andreas Jaeger <aj@suse.de>
17268
17269 [BZ #13837]
17270 * math/libm-test.inc (cos_test): Add a test case for large input
17271 value.
17272 (sin_test): Likewise.
17273 (sincos_test): Likewise.
17274
172752012-03-15 Andreas Jaeger <aj@suse.de>,
17276 Joseph Myers <joseph@codesourcery.com>
17277
17278 [BZ #13658]
0671f479 17279 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17280 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17281 * sysdeps/i386/fpu/branred.c: Likewise.
17282 * sysdeps/i386/fpu/dosincos.c: Likewise.
17283 * sysdeps/i386/fpu/mpa.c: Likewise.
17284 * sysdeps/i386/fpu/s_cos.S: Likewise.
17285 * sysdeps/i386/fpu/s_sin.S: Likewise.
17286 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17287 * sysdeps/i386/fpu/sincos32.c: Likewise.
17288
17289 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17290 Define.
17291 (libc_feupdateenv_53bit): Define.
17292 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17293 Define.
17294 (libc_feupdateenv_53bit): Define.
17295
17296 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17297 53 bit (without extend i386 double precision).
17298
17299 * math/libm-test.inc (sincos_test): Add tests for large input.
17300 (sin): Likewise.
17301 (cos): Likewise.
17302
17303 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17304
9cad04ea
AS
173052012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17306
17307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17308
f7062b9a
DM
173092012-03-15 David S. Miller <davem@davemloft.net>
17310
17311 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17312 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17313 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17314 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17327 file.
f7062b9a 17328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17330 file.
f7062b9a 17331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17333 file.
f7062b9a 17334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17336 file.
f7062b9a
DM
17337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17339 fmin/fmax sysdep routines.
17340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17341
7bd951ff
DM
173422012-03-14 David S. Miller <davem@davemloft.net>
17343
559398ab
DM
17344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17345 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17346 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17347 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17348 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17349 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17350 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17351 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17354 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17355 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17358 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17364 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17365 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17366 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17367 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17368 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17369 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17370 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17371 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17373 routines.
17374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17375 file.
559398ab 17376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17378 file.
559398ab 17379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17381 file.
559398ab 17382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17384 file.
559398ab 17385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17387 file.
559398ab 17388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17390 file.
17391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17392 file.
17393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17394 file.
17395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17396 file.
17397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17398 New file.
17399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17400 file.
17401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17402 file.
559398ab 17403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17405 file.
559398ab 17406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17408 file.
559398ab 17409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17411 file.
559398ab 17412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17414 VIS3 routines.
559398ab
DM
17415
17416 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17417 New file.
17418
5a1c1e32
DM
17419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17420
eae47a36
DM
17421 * sysdeps/sparc/configure.in: New file.
17422 * sysdeps/sparc/configure: Generate.
17423 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17424 * configure: Regenerate.
17425 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17426 * config.make.in (have-as-vis3): New.
17427 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17428 available use -Av9d instead of -Av9a.
17429 * sysdeps/sparc/sparc64/Makefile: Likewise.
17430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17432 New file.
17433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17434 file.
17435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17436 New file.
17437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17438 file.
eae47a36
DM
17439 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17440 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17441 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17442 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17443 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17444
c0c83bc8
DM
17445 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17446 fzeros/fnegs to load 0x80000000 into a float register instead of
17447 using the stack.
7bd951ff
DM
17448 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17449
bd951ccb
JM
174502012-03-14 Joseph Myers <joseph@codesourcery.com>
17451
17452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17453 bits/syscall.h.
17454 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17455 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17456 ($(inst_includedir)/bits/syscall.h): Remove rule.
17457 ($(objpfx)bits/syscall.d): Include instead of
17458 $(objpfx)syscall-list.d.
17459 (generated): Change syscall-list.h and syscall-list.d to
17460 bits/syscall.h and bits/syscall.d.
17461
bb4e6db2
RM
174622012-03-14 Roland McGrath <roland@hack.frob.com>
17463
17464 [BZ #13846]
17465 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17466
aa4a2ae1
JM
174672012-03-14 Joseph Myers <joseph@codesourcery.com>
17468
e456826d
JM
17469 [BZ #13841]
17470 * math/s_csqrt.c: Include <float.h>.
17471 (__csqrt): Scale large or subnormal inputs.
17472 * math/s_csqrtf.c: Likewise.
17473 * math/s_csqrtl.c: Likewise.
17474 * math/libm-test.inc (csqrt_test): Add more tests.
17475 * sysdeps/i386/fpu/libm-test-ulps: Update.
17476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17477
aa4a2ae1
JM
17478 [BZ #13840]
17479 * math/libm-test.inc (hypot_test): Add more tests.
17480
7c10fd35
DM
174812012-03-13 David S. Miller <davem@davemloft.net>
17482
17483 [BZ #13840]
17484 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17485 double-precision for the calculation instead of scaling.
17486
f453b98b
JM
174872012-03-13 Joseph Myers <joseph@codesourcery.com>
17488
17489 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17490 manipulate bits before adding and subtracting TWO52[sx].
17491 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17492 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17493 Likewise.
17494 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17495
09a3453f
DM
174962012-03-13 David S. Miller <davem@davemloft.net>
17497
8e59da90
DM
17498 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17499 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17501 rtld-global-offsets.h
17502 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17503
2a8ab7f2
DM
17504 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17505 large parameters.
17506
10f62770
DM
17507 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17508
5f0bdb18
DM
17509 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17510 'err' in the ifdef scope in which it is actually used.
17511
09a3453f
DM
17512 * nss/nss_db/db-init.c: Include string.h
17513
b4b2eb5e
DM
175142012-03-12 David S. Miller <davem@davemloft.net>
17515
98bb2f1c
DM
17516 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17517 masking out of the most significant byte of random value used.
17518 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17519 Fix coding style in previous change.
17520
b4b2eb5e
DM
17521 * sysdeps/unix/sysv/linux/kernel-features.h
17522 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17523 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17524 expression.
17525 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17526 later.
17527
6e226b09
DM
175282012-03-11 David S. Miller <davem@davemloft.net>
17529
a1bcbd40
DM
17530 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17531 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17532 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17533 for 'resultvar' otherwise things get truncated on 64-bit.
17534
cb9d6174
DM
17535 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17536 Fix masking out of the most significant byte of random value used.
17537
6e226b09
DM
17538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17539
058c132d
AS
175402012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17541
17542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17543
2d2cd515
DM
175442012-03-09 David S. Miller <davem@davemloft.net>
17545
17546 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17547 variables with appropriate CPP guards.
17548 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17549 frame pointer, not the stack pointer. Correct layout comments. Fix test
17550 on resulting framesize and the management of the outregs buffer for pltexit.
17551 Preserve floating point return values across _dl_call_pltexit call.
17552 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17553 framesize and the management of the outregs buffer for pltexit.
17554 Preserve floating point return values across _dl_call_pltexit
17555 call.
17556 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17557 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17558 (print_exit): Fix format string for return register value.
17559
9a07f9d0
JM
175602012-03-10 Joseph Myers <joseph@codesourcery.com>
17561
17562 * sunrpc/Makefile (others): Add rpcgen.
17563 ($(objpfx)rpcgen): Remove special build rule and dependency on
17564 libc.
17565 * sunrpc/rpcgen.c: New file.
17566
547b5e30
PE
175672012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17568
c524201a
PE
17569 [BZ #13673]
17570 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17571 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17572 * sysdeps/i386/crti.S: Likewise.
17573 * sysdeps/i386/crtn.S: Likewise.
17574 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17575 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17576 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17577 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17578 * sysdeps/sh/crti.S: Likewise.
17579 * sysdeps/sh/crtn.S: Likewise.
17580 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17581
7b6235f2
PE
17582 [BZ #13673]
17583 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17584 with URL.
17585 * locale/programs/locfile-kw.gperf: Likewise.
17586 * locale/programs/charmap-kw.h: Regenerated.
17587 * locale/programs/locfile-kw.h: Likewise.
17588
547b5e30
PE
17589 [BZ #13673]
17590 * intl/plural.y: Replace FSF snail mail address with URL.
17591 * intl/plural.c: Regenerated.
17592
5f0a5dae
RH
175932012-03-09 Richard Henderson <rth@twiddle.net>
17594
17595 * include/math_private.h: Remove file.
17596 * math/math_private.h: Move file ...
17597 * sysdeps/generic/math_private.h: ... here.
17598
b8c03620
RH
17599 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17600 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17601 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17602
4e234f5d 17603 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17604 and <math_private.h>.
17605 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17606 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17607 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17608 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17609 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17610 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17611 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17612 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17613 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17614 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17615 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17616 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17617 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17618 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17619 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17620 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17621 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17622 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17623 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17624 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17625 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17626 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17627 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17629 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17630 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17631 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17632 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17633 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17634 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17635 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17636 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17637 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17638 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17639 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17640 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17641 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17642 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17643 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17644 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17645 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17646 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17647 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17648 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17649 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17650 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17651 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17652 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17653 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17654 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17655 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17656 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17657 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17658 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17659 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17660 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17661 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17662 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17663 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17664 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17665 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17666 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17667 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17668 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17669 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17670 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17671 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17672 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17673 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17674 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17675 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17676 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17677 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17678 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17679 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17680 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17681 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17682 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17683 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17684 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17685 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17686 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17687 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17688 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17689 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17690 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17691 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17692 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17693 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17694 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17695 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17696 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17697 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17698 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17699 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17700 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17701 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17702 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17703 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17704 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17705 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17706 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17707 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17708 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17709 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17710 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17711 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17712 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17713 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17714 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17715 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17716 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17717 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17718 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17719 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17720 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17721 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17722 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17723 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17724 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17725 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17726 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17727 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17728 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17729 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17730 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17731 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17732 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17733 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17734 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17735 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17736 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17737 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17738 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17739 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17740 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17741 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17742 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17743 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17744 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17745 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17746 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17747 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17748 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17749 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17750 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17751 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17752 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17753 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17754 * sysdeps/ieee754/k_standard.c: Likewise.
17755 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17756 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17757 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17758 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17759 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17760 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17761 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17762 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17763 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17764 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17765 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17766 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17767 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17768 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17769 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17770 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17771 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17772 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17773 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17774 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17775 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17776 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17777 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17778 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17780 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17781 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17782 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17783 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17784 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17785 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17786 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17787 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17788 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17789 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17790 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17791 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17792 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17793 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17795 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17796 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17797 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17798 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17799 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17800 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17801 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17802 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17803 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17804 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17805 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17806 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17807 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17808 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17809 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17810 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17811 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17812 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17813 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17814 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17815 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17816 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17817 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17818 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17819 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17820 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17821 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17822 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17823 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17825 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17826 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17827 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17828 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17829 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17830 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17831 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17832 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17833 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17834 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17835 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17836 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17837 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17838 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17839 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17840 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17841 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17842 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17843 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17844 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17845 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17846 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17847 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17848 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17849 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17850 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17851 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17852 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17853 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17854 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17855 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17856 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17857 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17858 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17859 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17860 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17861 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17862 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17863 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17864 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17865 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17866 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17867 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17868 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17869 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17870 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17871 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17872 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17873 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17874 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17875 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17876 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17877 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17878 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17879 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17880 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17881 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17882 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17883 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17884 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17885 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17886 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17887 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17888 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17889 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17890 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17891 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17892 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17893 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17894 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17895 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17896 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17897 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17898 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17899 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17900 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17901 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17902 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17903 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17904 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17905 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17906 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17907 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17908 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17909 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17910 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17911 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17912 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17913 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17914 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17915 * sysdeps/ieee754/s_lib_version.c: Likewise.
17916 * sysdeps/ieee754/s_matherr.c: Likewise.
17917 * sysdeps/ieee754/s_signgam.c: Likewise.
17918 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17919 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17920 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17921 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17922 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17923 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17924 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17925 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17926 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17927 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17928 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17929 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17930 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17931 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17932 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17933 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17934 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17935 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17936 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17937 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 17939
1991fa03
JM
179402012-03-09 Joseph Myers <joseph@codesourcery.com>
17941
17942 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17943 * sunrpc/rpc_main.c: Likewise.
17944 * sunrpc/rpc_svcout.c: Likewise.
17945
60d6f5a6
DM
179462012-03-09 David S. Miller <davem@davemloft.net>
17947
17948 * include/math_private.h: New file.
17949
4962050e
JM
179502012-03-09 Joseph Myers <joseph@codesourcery.com>
17951
02a6f887
JM
17952 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17953 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17954 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17955 from <bits/socket_type.h>.
17956 (enum __socket_type): Don't define here.
17957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17959 bits/socket_type.h.
17960
c6e013c1
JM
17961 [BZ #13566]
17962 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17963 checking __USE_GNU.
17964
4962050e
JM
17965 * Makerules ($(inst_includedir)/%.h): New rule.
17966 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17967 (install-others): Remove variable setting.
17968 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17969
38842f45
RH
179702012-03-08 Richard Henderson <rth@twiddle.net>
17971
67bb6da6
RH
17972 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17973 from macro to inline function; merge with the
17974 !__LIBC_INTERNAL_MATH_INLINES version.
17975 (__ieee754_sqrtf): Likewise.
17976
15194b4b
RH
17977 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17978 to inline function.
17979 (__rintf, __floor, __floorf): Likewise.
17980
64e21ede
RH
17981 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17982 macro to inline function.
17983 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17984
38842f45
RH
17985 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17986 not <math/math_private.h>.
17987
c64bf5fe
DM
179882012-03-08 David S. Miller <davem@davemloft.net>
17989
17990 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17991 copyright year.
17992 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17993
82d86f28
TS
179942012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17995
17996 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17997 normalization.
17998 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17999 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18000
aea5d727
UD
180012012-03-08 Ulrich Drepper <drepper@gmail.com>
18002
18003 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18004 be defined individually, they must be defined as a block. Define
18005 S for printing a string instead of hidint the different by using a
18006 macro for adding the 'l'.
18007 * stdio-common/tst-fphex-wide.c: Adjust.
18008
70bca0a3
MP
180092012-03-07 Marek Polacek <polacek@redhat.com>
18010
18011 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18012
65b81130
MP
180132012-03-08 Marek Polacek <polacek@redhat.com>
18014
18015 [BZ #13806]
18016 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18017 * stdio-common/tst-fphex.c: Define a few macros to make the
18018 test reusable. Use them.
18019 * stdio-common/tst-fphex-wide.c: New file.
18020
07037eeb
JM
180212012-03-08 Joseph Myers <joseph@codesourcery.com>
18022
a7a93d50
JM
18023 [BZ #6911]
18024 * manual/macros.texi (gnusystems): New macro.
18025 (nongnusystems): Likewise.
18026 (gnulinuxhurdsystems): Likewise.
18027 (gnuhurdsystems): Likewise..
18028 (gnulinuxsystems): Likewise.
18029 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18030 variants of the GNU system, not "GNU system".
18031 * manual/conf.texi: Likewise.
18032 * manual/errno.texi: Likewise. Update example of errno macro
18033 expansion.
18034 * manual/filesys.texi: Likewise.
18035 (getumask): Document as specific to GNU/Hurd.
18036 * manual/install.texi: Likewise. Reword some references to
18037 GNU/Linux.
18038 * manual/intro.texi: Likewise.
18039 * manual/io.texi: Likewise.
18040 (File Name Portability): Detail which constraints are inapplicable
18041 to all GNU systems and which are only inapplicable to GNU/Hurd.
18042 * manual/job.texi: Likewise.
18043 * manual/llio.texi: Likewise.
18044 (O_NOCTTY): Document as present on GNU/Linux.
18045 * manual/maint.texi: Likewise.
18046 * manual/memory.texi: Likewise.
18047 * manual/pattern.texi: Likewise.
18048 * manual/pipe.texi: Likewise.
18049 * manual/process.texi: Likewise.
18050 * manual/resource.texi: Likewise.
18051 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18052 child on GNU/Hurd.
18053 * manual/setjmp.texi: Likewise.
18054 * manual/signal.texi: Likewise.
18055 * manual/startup.texi: Likewise.
18056 * manual/stdio.texi: Likewise.
18057 * manual/terminal.texi: Likewise.
18058 (ONLCR): Document as POSIX.
18059 (OXTABS): Document availability on GNU/Linux as XTABS.
18060 (ONOEOT): Document availability separately from other bits.
18061 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18062 * manual/time.texi: Likewise.
18063 * manual/users.texi: Likewise.
18064 * INSTALL: Regenerated.
18065 * sysdeps/gnu/errlist.c: Regenerated.
18066
07037eeb
JM
18067 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18068 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18069 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18070 puts.
18071 * configure: Regenerated.
18072
d1d3431a
JM
180732012-03-07 Joseph Myers <joseph@codesourcery.com>
18074
af6a1e37
JM
18075 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18076 default includes instead of AC_HEADER_CHECK.
18077 * sysdeps/i386/configure: Regenerated.
18078
d1d3431a
JM
18079 [BZ #10716]
18080 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18081 * math/s_cacoshf.c (__cacoshf): Likewise.
18082 * math/s_cacoshl.c (__cacoshl): Likewise.
18083 * math/s_casinh.c (__casinh): Set signs of result from argument.
18084 * math/s_casinhf.c (__casinhf): Likewise.
18085 * math/s_casinhl.c (__casinhl): Likewise.
18086 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18087 (casinh_test): Add more tests.
18088 * sysdeps/i386/fpu/libm-test-ulps: Update.
18089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18090
482ff4da
UD
180912012-03-07 Ulrich Drepper <drepper@gmail.com>
18092
872fda05
UD
18093 * po/zh_TW.po: Update from translation team.
18094
a4300c7a
UD
18095 * login/Makefile (distribute): Remove variable.
18096 * catgets/Makefile: Likewise.
18097 * mach/Makefile: Likewise.
18098 * malloc/Makefile: Likewise.
18099 * misc/Makefile: Likewise.
18100 * iconv/Makefile: Likewise.
18101 * nscd/Makefile: Likewise.
18102 * hurd/Makefile: Likewise.
18103 * manual/Makefile: Likewise.
18104 * locale/Makefile: Likewise.
18105 * intl/Makefile: Likewise.
18106 * conform/Makefile: Likewise.
18107 * nss/Makefile: Likewise.
18108 * time/Makefile: Likewise.
18109 * soft-fp/Makefile: Likewise.
18110 * dirent/Makefile: Likewise.
18111 * gmon/Makefile: Likewise.
18112 * po/Makefile: Likewise.
18113 * rt/Makefile: Likewise.
18114 * socket/Makefile: Likewise.
18115 * math/Makefile: Likewise.
18116 * signal/Makefile: Likewise.
18117 * debug/Makefile: Likewise.
18118 * elf/Makefile: Likewise.
18119 * timezone/Makefile: Likewise.
18120 * stdlib/Makefile: Likewise.
18121 * iconvdata/Makefile: Likewise.
18122 * sunrpc/Makefile: Likewise.
18123 * io/Makefile: Likewise.
18124 * argp/Makefile: Likewise.
18125 * inet/Makefile: Likewise.
18126 * hesiod/Makefile: Likewise.
18127 * grp/Makefile: Likewise.
18128 * csu/Makefile: Likewise.
18129 * wctype/Makefile: Likewise.
18130 * crypt/Makefile: Likewise.
18131 * libio/Makefile: Likewise.
18132 * string/Makefile: Likewise.
18133 * nis/Makefile: Likewise.
18134 * resolv/Makefile: Likewise.
18135 * stdio-common/Makefile: Likewise.
18136 * wcsmbs/Makefile: Likewise.
18137 * dlfcn/Makefile: Likewise.
18138 * posix/Makefile: Likewise.
18139
3b7c4e74 18140 [BZ #6959]
482ff4da
UD
18141 * timezone/Makefile: Don't install timezone files, just the programs
18142 and scripts.
18143
f72ed77d
UD
181442012-03-06 Ulrich Drepper <drepper@gmail.com>
18145
a000466f
UD
18146 * nss/databases.def: Add missing gshadow entry.
18147
f72ed77d
UD
18148 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18149
a53b7a4e
MP
181502012-03-06 Marek Polacek <polacek@redhat.com>
18151
18152 [BZ #13726]
18153 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18154 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18155 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18156 * stdio-common/tst-long-dbl-fphex.c: New file.
18157
e9258400
DM
181582012-03-06 David S. Miller <davem@davemloft.net>
18159
18160 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18161 (set_obp_int): New function.
18162 (get_obp_int): New function.
18163 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18164 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18165 Avoid unused variable warnings on 'val' and use builtin_expect.
18166 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18167 __builtin_expect.
e9258400
DM
18168 (INLINE_CLONE_SYSCALL): Likewise.
18169
3bd2c723
DM
181702012-03-05 David S. Miller <davem@davemloft.net>
18171
18172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18173
bbb78d03
AS
181742012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18175
884c5db4
AS
18176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18177
bbb78d03
AS
18178 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18179 only for |x| >= 40.
18180 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18181
1c9f702a 181822012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18183
18184 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18185 Replace gettimeofday with __vdso_gettimeofday.
18186
7be16f82
RM
18187 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18188 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18189 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18190
18191 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18192 time with __vdso_time.
18193
ed58a00f
JM
181942012-03-05 Joseph Myers <joseph@codesourcery.com>
18195
18196 * manual/lang.texi (size_t): Note types to which size_t may be
18197 equivalent with the GNU C Library, but do not describe when
18198 differences between them are significant.
18199
30ee4ced
AJ
182002012-03-05 Andreas Jaeger <aj@suse.de>
18201
18202 * sysdeps/i386/fpu/libm-test-ulps: Update.
18203
b7cd39e8
JM
182042012-03-05 Joseph Myers <joseph@codesourcery.com>
18205
18206 [BZ #3976]
18207 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18208 (__ieee754_pow): Save and restore rounding mode and use
18209 round-to-nearest for main computations.
18210 * math/libm-test.inc (pow_test_tonearest): New function.
18211 (pow_test_towardzero): Likewise.
18212 (pow_test_downward): Likewise.
18213 (pow_test_upward): Likewise.
18214 (main): Call the new functions.
18215 * sysdeps/i386/fpu/libm-test-ulps: Update.
18216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18217
18218 [BZ #3976]
18219 * math/libm-test.inc (cosh_test_tonearest): New function.
18220 (cosh_test_towardzero): Likewise.
18221 (cosh_test_downward): Likewise.
18222 (cosh_test_upward): Likewise.
18223 (sinh_test_tonearest): Likewise.
18224 (sinh_test_towardzero): Likewise.
18225 (sinh_test_downward): Likewise.
18226 (sinh_test_upward): Likewise.
18227 (main): Call the new functions.
18228 * sysdeps/i386/fpu/libm-test-ulps: Update.
18229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18230
6c6a98c9
TV
182312012-03-05 Tom de Vries <tom@codesourcery.com>
18232
18233 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18234 default stack guard is set in last bytes.
18235 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18236
21bb2d2e 182372012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18238
21bb2d2e 18239 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18240
21bb2d2e
AJ
18241 [BZ #13656]
18242 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18243 possibly allocate from heap instead of stack.
18244 * stdio-common/bug-vfprintf-nargs.c: New file.
18245 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18246
c6922934
AS
182472012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18248
18249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18250
bc957d53
MP
182512012-03-03 Marek Polacek <polacek@redhat.com>
18252
18253 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18254 * math/math_private.h: Likewise.
18255 * stdlib/tst-strtod.c: Likewise.
18256 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18257 * sysdeps/x86_64/bits/atomic.h: Likewise.
18258
6358490d
DM
182592012-03-02 David S. Miller <davem@davemloft.net>
18260
18261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18265 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18266 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18267 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18268 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18269
01ae168d
RM
182702012-03-02 Roland McGrath <roland@hack.frob.com>
18271
d9a17c07
RM
18272 [BZ #13792]
18273 * manual/examples/README: New file, says the example source files
18274 can be used under GPL>=2.
18275 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18276 line containing just "*/".
18277 * manual/examples/add.c: Add copyright header (GPL>=2).
18278 * manual/examples/argp-ex1.c: Likewise.
18279 * manual/examples/argp-ex2.c: Likewise.
18280 * manual/examples/argp-ex3.c: Likewise.
18281 * manual/examples/argp-ex4.c: Likewise.
18282 * manual/examples/atexit.c: Likewise.
18283 * manual/examples/db.c: Likewise.
18284 * manual/examples/dir.c: Likewise.
18285 * manual/examples/dir2.c: Likewise.
18286 * manual/examples/execinfo.c: Likewise.
18287 * manual/examples/filecli.c: Likewise.
18288 * manual/examples/filesrv.c: Likewise.
18289 * manual/examples/fmtmsgexpl.c: Likewise.
18290 * manual/examples/genpass.c: Likewise.
18291 * manual/examples/inetcli.c: Likewise.
18292 * manual/examples/inetsrv.c: Likewise.
18293 * manual/examples/isockad.c: Likewise.
18294 * manual/examples/longopt.c: Likewise.
18295 * manual/examples/memopen.c: Likewise.
18296 * manual/examples/memstrm.c: Likewise.
18297 * manual/examples/mkfsock.c: Likewise.
18298 * manual/examples/mkisock.c: Likewise.
18299 * manual/examples/mygetpass.c: Likewise.
18300 * manual/examples/pipe.c: Likewise.
18301 * manual/examples/popen.c: Likewise.
18302 * manual/examples/rprintf.c: Likewise.
18303 * manual/examples/search.c: Likewise.
18304 * manual/examples/select.c: Likewise.
18305 * manual/examples/setjmp.c: Likewise.
18306 * manual/examples/sigh1.c: Likewise.
18307 * manual/examples/sigusr.c: Likewise.
18308 * manual/examples/stpcpy.c: Likewise.
18309 * manual/examples/strdupa.c: Likewise.
18310 * manual/examples/strftim.c: Likewise.
18311 * manual/examples/strncat.c: Likewise.
18312 * manual/examples/subopt.c: Likewise.
18313 * manual/examples/swapcontext.c: Likewise.
18314 * manual/examples/termios.c: Likewise.
18315 * manual/examples/testopt.c: Likewise.
18316 * manual/examples/testpass.c: Likewise.
18317 * manual/examples/timeval_subtract.c: Likewise.
18318
01ae168d
RM
18319 [BZ #13792]
18320 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18321 function to ...
18322 * manual/timeval_subtract.c.texi: ... here, new file.
18323
49efa33d
DM
183242012-03-02 David S. Miller <davem@davemloft.net>
18325
18326 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18327
28afd92d
JM
183282012-03-02 Joseph Myers <joseph@codesourcery.com>
18329
804360ed
JM
18330 [BZ #3976]
18331 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18332 (__sin): Save and restore rounding mode and use round-to-nearest
18333 for all computations.
18334 (__cos): Save and restore rounding mode and use round-to-nearest
18335 for all computations.
18336 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18337 <fenv.h>.
18338 (tan): Save and restore rounding mode and use round-to-nearest for
18339 all computations.
18340 * math/libm-test.inc (cos_test_tonearest): New function.
18341 (cos_test_towardzero): Likewise.
18342 (cos_test_downward): Likewise.
18343 (cos_test_upward): Likewise.
18344 (sin_test_tonearest): Likewise.
18345 (sin_test_towardzero): Likewise.
18346 (sin_test_downward): Likewise.
18347 (sin_test_upward): Likewise.
18348 (tan_test_tonearest): Likewise.
18349 (tan_test_towardzero): Likewise.
18350 (tan_test_downward): Likewise.
18351 (tan_test_upward): Likewise.
18352 (main): Call the new functions.
18353 * sysdeps/i386/fpu/libm-test-ulps: Update.
18354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18355
a6d06d7b
JM
18356 [BZ #10135]
18357 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18358 small n, then large n, before computing and testing k+n.
18359 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18360 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18361 Likewise.
18362 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18363 Likewise.
18364 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18365 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18366 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18367 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18368 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18369 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18370 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18371 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18372 * math/libm-test.inc (scalbn_test): Add more tests.
18373 (scalbln_test): Likewise.
18374
07e12bb3
JM
18375 * manual/filesys.texi (mode_t): Describe constraints on size and
18376 signedness, not exact equivalence to a particular type.
18377 (ino_t): Likewise.
18378 (ino64_t): Likewise.
18379 (dev_t): Likewise.
18380 (nlink_t): Likewise.
18381 (blkcnt_t): Likewise.
18382 (blkcnt64_t): Likewise.
18383 * manual/llio.texi (off_t): Likewise.
18384
28afd92d
JM
18385 [BZ #3976]
18386 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18387 (__ieee754_exp): Save and restore rounding mode and use
18388 round-to-nearest for all computations.
18389 * math/libm-test.inc (exp_test_tonearest): New function.
18390 (exp_test_towardzero): Likewise.
18391 (exp_test_downward): Likewise.
18392 (exp_test_upward): Likewise.
18393 (main): Call the new functions.
18394 * sysdeps/i386/fpu/libm-test-ulps: Update.
18395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18396
b1eeb65d
CD
183972012-03-01 Chris Demetriou <cgd@google.com>
18398
18399 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18400 have predictable order.
18401
53362a4b
DM
184022012-03-01 David S. Miller <davem@davemloft.net>
18403
3c969083
DM
18404 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18405
759707de
DM
18406 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18407 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18408 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18409 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18410
dfdb8ff2
DM
18411 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18412 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18413 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18415 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18416 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18417 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18418 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18419 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18420
ead89f96
DM
18421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18422
7f66bd07
DM
18423 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18424 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18425 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18426
53362a4b
DM
18427 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18428 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18429 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18430 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18431 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18432 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18433 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18434 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18435 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18436 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18437 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18438 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18440 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18441 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18443 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18444 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18445 * sysdeps/sparc/elf/configure: Regenerated.
18446
7b1902cb
JM
184472012-03-01 Joseph Myers <joseph@codesourcery.com>
18448
bec039bc
JM
18449 * configure.in (AS, LD): Require binutils 2.20 or later.
18450 * configure: Regenerated.
18451 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18452 as required minimum version.
18453 * INSTALL: Regenerated.
18454
7b1902cb
JM
18455 [BZ #2541]
18456 [BZ #4108]
18457 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18458 before squaring exponent.
18459 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18460 bottom long double and 27 bits of top long double before squaring
18461 exponent.
18462 * math/libm-test.inc (erfc_test): Add more tests.
18463 * sysdeps/i386/fpu/libm-test-ulps: Update.
18464 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18466
f775c276
KT
184672012-03-01 Kai Tietz <ktietz@redhat.com>
18468
18469 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18470 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18471 containing bit-fields.
18472 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18473 * soft-fp/single.h (_FP_UNION_S): Likewise.
18474 * soft-fp/double.h (_FP_UNION_D): Likewise.
18475
5b8a4d4a
JM
184762012-02-29 Joseph Myers <joseph@codesourcery.com>
18477
0bab47b6
JM
18478 [BZ #13786]
18479 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18480 not include ../strcmp.S.
18481 [USE_AS_STRNCASECMP_L]: Likewise.
18482 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18483 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18484 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18485 (__strncasecmp_l_ia32): Define as alias to
18486 __strncasecmp_l_nonascii.
18487
0fcad3e2
JM
18488 [BZ #5794]
18489 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18490 * sysdeps/i386/fpu/libm-test-ulps: Update.
18491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18492
5b8a4d4a
JM
18493 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18495
8fdceb2e
JL
184962012-02-29 Jeff Law <law@redhat.com>
18497
18498 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18499 out of bounds read.
18500
1f393a11
MP
185012012-02-29 Marek Polacek <polacek@redhat.com>
18502
18503 [BZ #13706]
18504 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18505 * elf/Makefile: Add rules to run tst-unused-dep.out.
18506
8847f037
DM
185072012-02-28 David S. Miller <davem@davemloft.net>
18508
18509 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18510 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18511 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18512 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18513 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18514 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18515
169d7f11
JM
185162012-02-29 Joseph Myers <joseph@codesourcery.com>
18517
18518 * math/libm-test.inc (llround_test): Move one test from
18519 lround_test. Use TEST_f_L in moved test.
18520 (lround_test): Move misplaced test to llround_test. Add testcase
18521 from bug 2561.
18522
39adf059
UD
185232012-02-28 Ulrich Drepper <drepper@gmail.com>
18524
18525 * sysdeps/x86_64/fpu/e_expf.S: New file.
18526 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18527
71b5d1c5
SB
185282012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18529
18530 [BZ #13637]
18531 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18532 of remain_len that may cause incomplete multi-byte character and
18533 false match.
18534 * posix/bug-regex33.c: New file.
18535 * posix/Makefile (tests): Add bug-regex33.
18536
1f77f049
JM
185372012-02-28 Joseph Myers <joseph@codesourcery.com>
18538
18539 * manual/macros.texi: New file.
18540 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18541 * manual/libc.texinfo: Include macros.texi.
18542 * manual/creatute.texi: Likewise.
18543 * manual/install.texi: Likewise.
18544 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18545 @glibcadj{} in references to the GNU C Library.
18546 * manual/charset.texi: Likewise.
18547 * manual/conf.texi: Likewise.
18548 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18549 when not using those macros.
18550 * manual/creature.texi: Likewise.
18551 * manual/crypt.texi: Likewise.
18552 * manual/errno.texi: Likewise.
18553 * manual/filesys.texi: Likewise.
18554 * manual/header.texi: Likewise.
18555 * manual/install.texi: Likewise.
18556 * manual/intro.texi: Likewise.
18557 * manual/io.texi: Likewise.
18558 * manual/job.texi: Likewise.
18559 * manual/lang.texi: Likewise.
18560 * manual/libc.texiinfo: Likewise.
18561 * manual/llio.texi: Likewise.
18562 * manual/locale.texi: Likewise.
18563 * manual/maint.texi: Likewise.
18564 * manual/math.texi: Likewise.
18565 * manual/memory.texi: Likewise.
18566 * manual/message.texi: Likewise.
18567 * manual/nss.texi: Likewise.
18568 * manual/pattern.texi: Likewise.
18569 * manual/process.texi: Likewise.
18570 * manual/resource.texi: Likewise.
18571 * manual/search.texi: Likewise.
18572 * manual/setjmp.texi: Likewise.
18573 * manual/signal.texi: Likewise.
18574 * manual/socket.texi: Likewise.
18575 * manual/startup.texi: Likewise.
18576 * manual/stdio.texi: Likewise.
18577 * manual/string.texi: Likewise.
18578 * manual/sysinfo.texi: Likewise.
18579 * manual/syslog.texi: Likewise.
18580 * manual/terminal.texi: Likewise.
18581 * manual/time.texi: Likewise.
18582 * manual/users.texi: Likewise.
18583 * INSTALL: Regenerated.
18584 * NOTES: Regenerated.
d40c5d54 18585 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18586
450bf206
AS
185872012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18588
18589 * include/dirent.h: Include <dirstream.h> before
18590 <dirent/dirent.h>.
18591
741a235b
DM
185922012-02-28 David S. Miller <davem@davemloft.net>
18593
18594 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18595 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18596 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18597 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18598
d6b5aa58
DM
185992012-02-27 David S. Miller <davem@davemloft.net>
18600
1aff59a3
DM
18601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18603 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18604 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18605
d6b5aa58
DM
18606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18607 frame pointer instead of stack pointer relative arg slot.
18608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18609 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18610 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18611
433f48bf
CD
186122012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18613
18614 [BZ #3992]
18615 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18616
d674b76d
DM
186172012-02-27 David S. Miller <davem@davemloft.net>
18618
18619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18623 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18624 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18625 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18626 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18627
0e7727f7
JM
186282012-02-27 Joseph Myers <joseph@codesourcery.com>
18629
18630 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18631 later. Allow versions 5-9.
43be4ca2 18632 * configure: Regenerated.
0e7727f7
JM
18633 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18634 required minimum version and 4.6 as recommended version. Do not
18635 mention bugs in GCC 2.7 and 2.8.
43be4ca2 18636 * INSTALL: Regenerated.
0e7727f7 18637
a78bc654
DM
186382012-02-27 David S. Miller <davem@davemloft.net>
18639
428d5830
DM
18640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18644 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18645 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18646 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18647 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18648
a78bc654
DM
18649 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18650 manipulate bits before adding and subtracting TWO112[sx].
18651 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18652
4579f81c
RM
186532012-02-27 Roland McGrath <roland@hack.frob.com>
18654
36c8acb4
RM
18655 [BZ #13775]
18656 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18657 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18658 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18659 being in POSIX, because they are in 1003.1-2008.
18660
84ad622b
RM
18661 * rt/tst-aio.c: Include <fcntl.h>.
18662 * rt/tst-aio7.c: Likewise.
18663 * rt/tst-aio64.c: Likewise.
18664
4579f81c
RM
18665 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18666
abd923db
JM
186672012-02-27 Joseph Myers <joseph@codesourcery.com>
18668
18669 * manual/install.texi (--with-headers): Describe headers as
18670 interface headers, not private headers.
18671 (Specific advice for GNU/Linux systems): Describe use of headers
18672 from "make headers_install", not private headers from older
18673 kernels.
43be4ca2 18674 * INSTALL: Regenerated.
abd923db
JM
18675 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18676 Change to 2.6.19.
18677 * sysdeps/unix/sysv/linux/configure: Regenerated.
18678
6664049b
JM
18679 * manual/llio.texi (fclean): Remove documentation.
18680
bb8b6697
JM
18681 * manual/Makefile (libc-texi-generated): New variable. Include
18682 version.texi.
18683 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18684 $(libc-texi-generated), not duplicated list of files.
18685 (version.texi, stamp-version): New rules.
18686 (realclean): Remove $(libc-texi-generated), not individual files
18687 from that list. Do not remove dir-add.texinfo.
18688 * manual/libc.texinfo: Comment out uses of edition numbers and
18689 references to printed manual. Remove last-updated dates.
18690 (EDITION): Comment out.
18691 (ISBN): Likewise.
18692 (VERSION, UPDATED): Remove.
18693 (version.texi): Include.
18694
12e5c3b9
AS
186952012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18696
18697 * sysdeps/posix/spawni.c: Include <signal.h>.
18698 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18699 * sysdeps/pthread/aio_fsync.c: Likewise.
18700
4efeffc1 187012012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 18702
ba63ba08
UD
18703 * conform/Makefile (tests): Run only when not cross-compiling and
18704 when fast-check is not defined.
18705
d94a4670
UD
18706 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18707 * conform/data/limits.h-data: Fixes for POSIX2008.
18708 * conform/run-conformtest.sh: Run all tests.
18709 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18710 headers.
18711 * include/bits/dlfcn.h: Likewise.
18712 * include/langinfo.h: Likewise.
18713 * include/monetary.h: Likewise.
18714 * include/sys/poll.h: Likewise.
18715
18716 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18717 for __USE_GNU.
18718 * posix/spawn.h: Define __need_sigset_t.
18719 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18720 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18721 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18722 to get sigevent_t only.
18723 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18724 only for __USE_GNU.
18725 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18726 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18727 process_vm_writev only for __USE_GNU.
18728 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
18729
18730 * conform/Makefile: For now ignore errors from run-conformtest.
18731 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18732 POSIX to avoid namespace pollution. Don't prepend headers.
18733 * conform/data/aio.h-data: Fixes for POSIX testing.
18734 * conform/data/fcntl.h-data: Likewise.
18735 * conform/data/glob.h-data: Likewise.
18736 * conform/data/grp.h-data: Likewise.
18737 * conform/data/pthread.h-data: Likewise.
18738 * conform/data/pwd.h-data: Likewise.
18739 * conform/data/signal.h-data: Likewise.
18740 * conform/data/spawn.h-data: Likewise.
18741 * conform/data/stdio.h-data: Likewise.
18742 * conform/data/stdlib.h-data: Likewise.
18743 * conform/data/stropts.h-data: Likewise.
18744 * conform/data/sys/mman.h-data: Likewise.
18745 * conform/data/sys/stat.h-data: Likewise.
18746 * conform/data/sys/types.h-data: Likewise.
18747 * conform/data/sys/wait.h-data: Likewise.
18748 * conform/data/time.h-data: Likewise.
18749 * conform/data/unistd.h-data: Likewise.
18750 * conform/data/utime.h-data: Likewise.
18751
18752 * io/sys/stat.h: fchmod was always in POSIX.
18753 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18754 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18755 * rt/aio.h: Define __need_timespec before including <time.h>.
18756 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18757 struct. Add forward declaration of pthread_attr_t and use it in
18758 sigevent.
18759 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18760 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18761 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18762 always remove CLK_TCK definition.
18763
c20105c3
AS
187642012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18765
18766 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18767
7a270350
UD
187682012-02-25 Ulrich Drepper <drepper@gmail.com>
18769
31341567
UD
18770 * conform/run-conformtest.sh: New file.
18771 * conform/Makefile: Run run-conformtest for tests.
18772 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18773 support.
18774
18775 * conform/data/uchar.h-data: New file.
18776 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18777 * conform/data/arpa/inet.h-data: Likewise.
18778 * conform/data/assert.h-data: Likewise.
18779 * conform/data/complex.h-data: Likewise.
18780 * conform/data/cpio.h-data: Likewise.
18781 * conform/data/ctype.h-data: Likewise.
18782 * conform/data/dirent.h-data: Likewise.
18783 * conform/data/dlfcn.h-data: Likewise.
18784 * conform/data/errno.h-data: Likewise.
18785 * conform/data/fcntl.h-data: Likewise.
18786 * conform/data/float.h-data: Likewise.
18787 * conform/data/fmtmsg.h-data: Likewise.
18788 * conform/data/fnmatch.h-data: Likewise.
18789 * conform/data/ftw.h-data: Likewise.
18790 * conform/data/glob.h-data: Likewise.
18791 * conform/data/grp.h-data: Likewise.
18792 * conform/data/iconv.h-data: Likewise.
18793 * conform/data/inttypes.h-data: Likewise.
18794 * conform/data/langinfo.h-data: Likewise.
18795 * conform/data/libgen.h-data: Likewise.
18796 * conform/data/limits.h-data: Likewise.
18797 * conform/data/locale.h-data: Likewise.
18798 * conform/data/math.h-data: Likewise.
18799 * conform/data/monetary.h-data: Likewise.
18800 * conform/data/mqueue.h-data: Likewise.
18801 * conform/data/ndbm.h-data: Likewise.
18802 * conform/data/net/if.h-data: Likewise.
18803 * conform/data/netdb.h-data: Likewise.
18804 * conform/data/netinet/in.h-data: Likewise.
18805 * conform/data/nl_types.h-data: Likewise.
18806 * conform/data/poll.h-data: Likewise.
18807 * conform/data/pthread.h-data: Likewise.
18808 * conform/data/pwd.h-data: Likewise.
18809 * conform/data/regex.h-data: Likewise.
18810 * conform/data/sched.h-data: Likewise.
18811 * conform/data/search.h-data: Likewise.
18812 * conform/data/semaphore.h-data: Likewise.
18813 * conform/data/setjmp.h-data: Likewise.
18814 * conform/data/signal.h-data: Likewise.
18815 * conform/data/spawn.h-data: Likewise.
18816 * conform/data/stdarg.h-data: Likewise.
18817 * conform/data/stdio.h-data: Likewise.
18818 * conform/data/stdlib.h-data: Likewise.
18819 * conform/data/string.h-data: Likewise.
18820 * conform/data/strings.h-data: Likewise.
18821 * conform/data/stropts.h-data: Likewise.
18822 * conform/data/sys/ipc.h-data: Likewise.
18823 * conform/data/sys/mman.h-data: Likewise.
18824 * conform/data/sys/msg.h-data: Likewise.
18825 * conform/data/sys/resource.h-data: Likewise.
18826 * conform/data/sys/select.h-data: Likewise.
18827 * conform/data/sys/sem.h-data: Likewise.
18828 * conform/data/sys/shm.h-data: Likewise.
18829 * conform/data/sys/socket.h-data: Likewise.
18830 * conform/data/sys/stat.h-data: Likewise.
18831 * conform/data/sys/statvfs.h-data: Likewise.
18832 * conform/data/sys/time.h-data: Likewise.
18833 * conform/data/sys/timeb.h-data: Likewise.
18834 * conform/data/sys/times.h-data: Likewise.
18835 * conform/data/sys/types.h-data: Likewise.
18836 * conform/data/sys/uio.h-data: Likewise.
18837 * conform/data/sys/un.h-data: Likewise.
18838 * conform/data/sys/utsname.h-data: Likewise.
18839 * conform/data/sys/wait.h-data: Likewise.
18840 * conform/data/syslog.h-data: Likewise.
18841 * conform/data/tar.h-data: Likewise.
18842 * conform/data/termios.h-data: Likewise.
18843 * conform/data/utime.h-data: Likewise.
18844 * conform/data/utmpx.h-data: Likewise.
18845 * conform/data/varargs.h-data: Likewise.
18846 * conform/data/wchar.h-data: Likewise.
18847 * conform/data/wctype.h-data: Likewise.
18848 * conform/data/wordexp.h-data: Likewise.
18849
18850 * include/stropts.h: New file.
18851 * include/uchar.h: New file.
18852 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18853 * include/assert.h: Likewise.
18854 * include/ctype.h: Likewise.
18855 * include/dirent.h: Likewise.
18856 * include/dlfcn.h: Likewise.
18857 * include/fcntl.h: Likewise.
18858 * include/fnmatch.h: Likewise.
18859 * include/glob.h: Likewise.
18860 * include/grp.h: Likewise.
18861 * include/libio.h: Likewise.
18862 * include/locale.h: Likewise.
18863 * include/math.h: Likewise.
18864 * include/net/if.h: Likewise.
18865 * include/netdb.h: Likewise.
18866 * include/netinet/in.h: Likewise.
18867 * include/pthread.h: Likewise.
18868 * include/pwd.h: Likewise.
18869 * include/regex.h: Likewise.
18870 * include/sched.h: Likewise.
18871 * include/search.h: Likewise.
18872 * include/setjmp.h: Likewise.
18873 * include/signal.h: Likewise.
18874 * include/stdio.h: Likewise.
18875 * include/stdlib.h: Likewise.
18876 * include/string.h: Likewise.
18877 * include/sys/cdefs.h: Likewise.
18878 * include/sys/mman.h: Likewise.
18879 * include/sys/msg.h: Likewise.
18880 * include/sys/resource.h: Likewise.
18881 * include/sys/select.h: Likewise.
18882 * include/sys/socket.h: Likewise.
18883 * include/sys/stat.h: Likewise.
18884 * include/sys/statvfs.h: Likewise.
18885 * include/sys/time.h: Likewise.
18886 * include/sys/times.h: Likewise.
18887 * include/sys/uio.h: Likewise.
18888 * include/sys/utsname.h: Likewise.
18889 * include/sys/wait.h: Likewise.
18890 * include/termios.h: Likewise.
18891 * include/time.h: Likewise.
18892 * include/ulimit.h: Likewise.
18893 * include/unistd.h: Likewise.
18894 * include/utime.h: Likewise.
18895 * include/wchar.h: Likewise.
18896 * include/wctype.h: Likewise.
18897 * include/wordexp.h: Likewise.
18898
18899 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18900
7a270350
UD
18901 * time/time.h: TIME_UTC must be a macro.
18902 Make timespec_get available for ISO C11 only as well.
18903
7724defc
UD
189042012-02-24 Ulrich Drepper <drepper@gmail.com>
18905
18906 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18907 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18908
6b1d1d46
JM
189092012-02-24 Joseph Myers <joseph@codesourcery.com>
18910
18911 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 18912
0f8bbd69
JM
189132012-02-24 Joseph Myers <joseph@codesourcery.com>
18914
18915 * manual/texinfo.tex: Update to version 2012-01-19.16.
18916
66ab80bc
JM
189172012-02-24 Joseph Myers <joseph@codesourcery.com>
18918
18919 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18920
74981cc5
RM
189212012-02-24 Roland McGrath <roland@hack.frob.com>
18922
ee968201
RM
18923 [BZ #13738]
18924 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18925 * manual/fdl-1.3.texi: New file.
18926 * manual/fdl-1.1.texi: File removed.
18927
74981cc5
RM
18928 [BZ #13738]
18929 * manual/libc.texinfo (FDL_VERSION): New @set.
18930 Use it for mention of FDL in cover text.
18931 (Documentation License): Use it in @include file name.
18932
7bb764bc
JM
189332012-02-22 Joseph Myers <joseph@codesourcery.com>
18934 Roland McGrath <roland@hack.frob.com>
18935
18936 [BZ #5461]
18937 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18938 not LONG_LONG_MAX and LONG_LONG_MIN.
18939 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18940 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18941 name.
18942 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18943
6cbeae47
JM
189442012-02-22 Joseph Myers <joseph@codesourcery.com>
18945
18946 [BZ #2547]
18947 [BZ #11365]
18948 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18949 manipulate bits before adding and subtracting TWO23[sx].
18950 * math/libm-test.inc (nearbyint_test): Add more tests.
18951
fe45ce09
JM
189522012-02-22 Joseph Myers <joseph@codesourcery.com>
18953
18954 [BZ #2548]
18955 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18956 bits before adding and subtracting TWO23[sx].
18957 * math/libm-test.inc (rint_test): Add more tests.
18958 (rint_test_tonearest): Likewise.
18959 (rint_test_towardzero): Likewise.
18960 (rint_test_downward): Likewise.
18961 (rint_test_upward: Likewise.
18962
ff3b3d82
JM
189632012-02-22 Joseph Myers <joseph@codesourcery.com>
18964
18965 [BZ #10110]
18966 * include/stdc-predef.h: New file. Extracted from features.h.
18967 * include/features.h: Include stdc-predef.h.
18968 * Makefile (headers): Add stdc-predef.h.
18969 * CONFORMANCE (Compiler limitations): Update.
18970
ef0aab35
JM
189712012-02-22 Joseph Myers <joseph@codesourcery.com>
18972
18973 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18974
58639409
DM
189752012-02-21 David S. Miller <davem@davemloft.net>
18976
18977 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18978 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18979
c0e70b25
DM
189802012-02-20 David S. Miller <davem@davemloft.net>
18981
18982 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18983 using a normal save/restore sequence, rather than allocating a
18984 dummy stack frame just to store a frame pointer and restore.
18985 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18986
fb06851d
JM
189872012-02-21 Joseph Myers <joseph@codesourcery.com>
18988
18989 * manual/install.texi: Fix stray word in line-wrapped comment.
18990
7a8b71c3
DM
189912012-02-20 David S. Miller <davem@davemloft.net>
18992
d510c123
DM
18993 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18994 both binutils and gcc support GOTDATA.
18995
0722d7c2
DM
18996 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18997 "rd %pc" in the PIC register setup sequences.
18998
3d2b3019
DM
18999 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19000 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19001 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19002 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19003 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19005 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19006 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19007 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19008 (SYSCALL_ERROR_HANDLER): Likewise.
19009 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19010 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19011 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19012 (SYSCALL_ERROR_HANDLER): Likewise.
19013
c80098a9
DM
19014 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19015 (HAVE_GCC_GOTDATA): New.
19016 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19017 relocation support in both binutils and gcc.
19018 * sysdeps/sparc/elf/configure: Regenerate.
19019
3a2545a0
DM
19020 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19021 * sysdeps/sparc/sparc32/elf/configure: Delete.
19022 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19023 * sysdeps/sparc/sparc64/elf/configure: Delete.
19024 * sysdeps/sparc/elf/configure.in: New file.
19025 * sysdeps/sparc/elf/configure: Generate.
19026
7a8b71c3
DM
19027 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19028 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19029 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19030 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19031 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19032
f1e86fca
JM
190332012-02-21 Joseph Myers <joseph@codesourcery.com>
19034
19035 * manual/install.texi: Do not mention specific glibc version
19036 numbers.
19037 * manual/libc.texinfo (VERSION, UPDATED): Update.
19038 (@copying): Use @copyright{} and range of years.
19039
0e7dfaef
JM
190402012-02-21 Joseph Myers <joseph@codesourcery.com>
19041
19042 [BZ #13695]
19043 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19044 [crti.S not in sysdirs] (generated): Do not append.
19045 [crti.S not in sysdirs] (omit-deps): Likewise.
19046 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19047 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19048 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19049 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19050 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19051 Likewise.
19052 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19053 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19054 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19055 * csu/defs.awk: Remove file.
19056 * sysdeps/generic/initfini.c: Likewise.
19057 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19058 variable.
19059 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19060 Likewise.
19061
599af3ca
JM
190622012-02-20 Joseph Myers <joseph@codesourcery.com>
19063
19064 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19065 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19066 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19067 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19068 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19069 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19070 <bits/epoll.h>.
19071 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19072 (__EPOLL_PACKED): Define to empty if not defined by
19073 <bits/epoll.h>.
19074 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19076 bits/epoll.h.
19077
0e499750
JM
190782012-02-20 Joseph Myers <joseph@codesourcery.com>
19079
19080 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19081 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19082 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19083 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19084 <bits/timerfd.h>.
19085 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19087 bits/timerfd.h.
19088
5ad91f6e
JM
190892012-02-20 Joseph Myers <joseph@codesourcery.com>
19090
19091 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19092 in C locale.
19093 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19094 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19095 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19097
06b99b02
AJ
190982012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19099
19100 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19101 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19102
7638c0fd
AS
191032012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19104
19105 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19106 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19107 defined.
19108 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19109 Likewise.
19110 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19111 entry for 2.16.
19112
92221550
AJ
191132012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19114
19115 * math/w_acos.c: Use non-signaling floating-point comparisons.
19116 * math/w_acosf.c: Likewise.
19117 * math/w_acosh.c: Likewise.
19118 * math/w_acoshf.c: Likewise.
19119 * math/w_acoshl.c: Likewise.
19120 * math/w_acosl.c: Likewise.
19121 * math/w_asin.c: Likewise.
19122 * math/w_asinf.c: Likewise.
19123 * math/w_asinl.c: Likewise.
19124 * math/w_atanh.c: Likewise.
19125 * math/w_atanhf.c: Likewise.
19126 * math/w_atanhl.c: Likewise.
19127 * math/w_exp2.c: Likewise.
19128 * math/w_exp2f.c: Likewise.
19129 * math/w_exp2l.c: Likewise.
19130 * math/w_j0.c: Likewise.
19131 * math/w_j0f.c: Likewise.
19132 * math/w_j0l.c: Likewise.
19133 * math/w_j1.c: Likewise.
19134 * math/w_j1f.c: Likewise.
19135 * math/w_j1l.c: Likewise.
19136 * math/w_jn.c: Likewise.
19137 * math/w_jnf.c: Likewise.
19138 * math/w_log.c: Likewise.
19139 * math/w_log10.c: Likewise.
19140 * math/w_log10f.c: Likewise.
19141 * math/w_log10l.c: Likewise.
19142 * math/w_log2.c: Likewise.
19143 * math/w_log2f.c: Likewise.
19144 * math/w_log2l.c: Likewise.
19145 * math/w_logf.c: Likewise.
19146 * math/w_logl.c: Likewise.
19147 * math/w_sqrt.c: Likewise.
19148 * math/w_sqrtf.c: Likewise.
19149 * math/w_sqrtl.c: Likewise.
19150 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19151 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19152 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19153 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19154 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19155
ebaf36eb
JM
191562012-02-19 Joseph Myers <joseph@codesourcery.com>
19157
19158 [BZ #9739]
19159 * manual/string.texi (strnlen): Use correct parameter name in
19160 equivalent expression.
19161
71c254a6
JM
191622012-02-19 Joseph Myers <joseph@codesourcery.com>
19163
19164 [BZ #11174]
19165 * manual/users.texi (seteuid): Consistently use neweuid for
19166 argument name.
19167
16d2c631
JM
191682012-02-19 Joseph Myers <joseph@codesourcery.com>
19169
19170 [BZ #13704]
19171 * manual/nss.texi (Services in the NSS configuration): Correct
19172 list of services in example configuration file.
19173
cd837b09
NB
191742012-02-19 Nick Bowler <nbowler@draconx.ca>
19175
19176 [BZ #11322]
19177 * manual/arith.texi: Remove statements about negative zero
19178 behaving identically to zero.
19179
02c4bbad
JM
191802012-02-18 Joseph Myers <joseph@codesourcery.com>
19181
19182 [BZ #5993]
19183 * manual/install.texi: Do not document upgrading from libc5.
19184
366842e7
JM
191852012-02-18 Joseph Myers <joseph@codesourcery.com>
19186
19187 [BZ #4596]
19188 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19189
dd54084d
DM
191902012-02-18 David S. Miller <davem@davemloft.net>
19191
19192 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19193 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19194 %o7 across the call.
19195 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19196 instead.
19197 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19198 SETUP_PIC_REG_LEAF.
19199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19200 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19201 * sysdeps/sparc/crtn.S: Likewise.
19202
2bcc53a3
UD
192032012-02-17 Ulrich Drepper <drepper@gmail.com>
19204
19205 * aout/Makefile: Remove.
19206
09c093b5
RK
192072012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19208
19209 [BZ #13058]
19210 * manual/examples/argp-ex1.c (main): Format definition in GNU
19211 style.
19212 * manual/examples/argp-ex2.c (main): Likewise.
19213 * manual/examples/argp-ex3.c (main): Likewise.
19214 * manual/examples/argp-ex4.c (main): Likewise.
19215 * manual/examples/longopt.c (main): Use new-style prototype
19216 definition.
19217 * manual/examples/strncat.c (main): Specify return type and use
19218 (void) for arguments.
19219 * manual/examples/subopt.c (main): Use char **argv argument.
19220
2ee633a2
JM
192212012-02-17 Joseph Myers <joseph@codesourcery.com>
19222
19223 [BZ #5077]
19224 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19225 rounding modes.
19226
0520adde
FB
192272012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19228
19229 [BZ #6907]
19230 * manual/string.texi (strchr): Change when strchrnul is
19231 recommended.
19232
3f4081cd
DGM
192332012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19234
19235 [BZ #174]
19236 * manual/locale.texi (setlocale): Document LOCPATH.
19237
d1b10e78
JM
192382012-02-17 Joseph Myers <joseph@codesourcery.com>
19239
19240 [BZ #10210]
19241 * manual/process.texi (execle): Move @dots{} before last argument.
19242
79c6869c
PB
192432012-02-17 Paul Bolle <pebolle@tiscali.nl>
19244
19245 [BZ #12047]
19246 * manual/charset.texi (Generic Charset Conversion): Fix typo
19247 (LC_TYPE -> LC_CTYPE).
19248
cc6e48bc
NB
192492012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19250
19251 [BZ #5805]
19252 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19253 (scalbnf): Likewise.
19254 (scalbnl): Likewise.
19255 (scalbln): Likewise.
19256 (scalblnf): Likewise.
19257 (scalblnl): Likewise.
19258 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19259 (vwarnx): Likewise.
19260 (verr): Likewise.
19261 (verrx): Likewise.
19262 * manual/filesys.texi (telldir): Use braces around return type.
19263 * manual/llio.texi (mmap): Add space after comma.
19264 (mmap64): Likewise.
19265 * manual/math.texi (jn): Use @var{} on parameter names.
19266 (jnf): Likewise.
19267 (jnl): Likewise.
19268 (yn): Likewise.
19269 (ynf): Likewise.
19270 (ynl): Likewise.
19271 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19272 line.
19273 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19274 "...".
19275 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19276 (sched_get_priority_max): Likewise.
19277 * manual/signal.texi (sigvec): Add space after comma.
19278 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19279 names.
19280 (if_indextoname): Likewise.
19281 (if_freenameindex): Likewise.
19282 (sendto): Use ',' instead of '.' in prototype.
19283 * manual/startup.texi (syscall): Use @dots{} instead of literal
19284 "...".
19285 * manual/stdio.texi (__fpending): Separate initial words of
19286 paragraph from @deftypefun line.
19287 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19288 "...".
19289 (vsyslog): Use @var{} on parameter names.
19290 * manual/terminal.texi (stty): Use @var{} on parameter names.
19291 * manual/users.texi (getutmp): Use @var{} on parameter names.
19292 (getutmpx): Likewise.
19293
5b23062f
JM
192942012-02-17 Joseph Myers <joseph@codesourcery.com>
19295
19296 [BZ #6884]
19297 * manual/stdio.texi (fopen): Fix typos in description of
19298 ",ccs=STRING".
19299
8dee4833
AJ
193002012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19301
19302 [BZ #4026]
19303 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19304 get clock_id definition.
19305
9078ce93
TS
193062012-02-17 Thomas Schwinge <thomas@schwinge.name>
19307
19308 [BZ #4822]
19309 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19310 (madvise): Cast every argument to void on its own.
19311
3835c55f
JM
193122012-02-17 Joseph Myers <joseph@codesourcery.com>
19313
19314 [BZ #9902]
19315 * manual/startup.texi (Exit Status): Fix typo.
19316
35c47e37
JM
193172012-02-17 Joseph Myers <joseph@codesourcery.com>
19318
19319 [BZ #10140]
19320 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19321 * manual/examples/argp-ex2.c: Likewise.
19322 * manual/examples/argp-ex3.c: Likewise.
19323
e3b69ca7
RH
193242012-02-16 Richard Henderson <rth@redhat.com>
19325
19326 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19327 * sysdeps/s390/s390-32/initfini.c: Remove.
19328 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19329 * sysdeps/s390/s390-64/initfini.c: Remove.
19330
df83af67
KK
193312012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19332
19333 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19334 compiler output for sysdeps/generic/initfini.c.
19335 * sysdeps/sh/elf/initfini.c: Remove file.
19336
f63f3380
DM
193372012-02-16 David S. Miller <davem@davemloft.net>
19338
fb59b3a4
DM
19339 [BZ #11494]
19340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19341
f63f3380
DM
19342 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19343 * sysdeps/sparc/crti.S: New file.
19344 * sysdeps/sparc/crtn.S: New file.
19345 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19346 * sysdeps/sparc/sparc64/Makefile: Likewise.
19347
df6a4a4a
MF
193482012-02-15 Mike Frysinger <vapier@gentoo.org>
19349
6dd8f3dc 19350 [BZ #3335]
df6a4a4a
MF
19351 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19352
1cac7236
RM
193532012-02-15 Roland McGrath <roland@hack.frob.com>
19354
d2c736f8
RM
19355 [BZ #4822]
19356 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19357
1cac7236
RM
19358 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19359 (write, read, close): Likewise.
19360 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19361
8e475601
JM
193622012-02-15 Joseph Myers <joseph@codesourcery.com>
19363
19364 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19365 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19366 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19367 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19368 <bits/signalfd.h>.
19369 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19370 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19371 bits/signalfd.h.
19372
ed656b40
MP
193732012-02-14 Marek Polacek <polacek@redhat.com>
19374
19375 * sysdeps/x86_64/crti.S: New file.
19376 * sysdeps/x86_64/crtn.S: New file.
19377 * sysdeps/x86_64/elf/initfini.c: Remove file.
19378
2a979d3a
JM
193792012-02-13 Joseph Myers <joseph@codesourcery.com>
19380
19381 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19382 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19383 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19384 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19385 <bits/inotify.h>.
19386 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19388 bits/inotify.h.
19389
2a418ac3
JM
193902012-02-13 Joseph Myers <joseph@codesourcery.com>
19391
19392 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19393 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19394 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19395 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19396 <bits/eventfd.h>.
19397 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19399 bits/eventfd.h.
19400
fb779be7
TS
194012012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19402
e19e83c5
RM
19403 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19404 __feraiseexcept instead of feraiseexcept.
7c35ffed 19405
fb779be7
TS
19406 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19407 nanosleep invocations.
19408 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19409 strings, and add error checking for a nanosleep invocations.
19410
59ba27a6
PE
194112012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19412
19413 Replace FSF snail mail address with URLs, as per GNU coding standards.
19414 Most of the snail mail addresses were wrong anyway, and omitting
19415 them makes the source code easier to maintain. Almost all of the
19416 changes are to license notices and to locale LC_IDENTIFICATION
19417 addresses, except for this one:
19418 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19419 not its snail mail address.
19420
57b957eb
RH
194212012-02-09 Richard Henderson <rth@twiddle.net>
19422
af850b1c
RH
19423 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19424 of kernel-features.h.
19425
57b957eb
RH
19426 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19427
6b73181a
MP
194282012-02-08 Marek Polacek <polacek@redhat.com>
19429
19430 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19431 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19432 * sysdeps/gnu/_G_config.h: Likewise.
19433 * sysdeps/generic/_G_config.h: Likewise.
19434
26ecc33a
AS
194352012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19436
6c6dbc63
AS
19437 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19438 tests.
19439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19440
e216c012
AS
19441 * sysdeps/powerpc/powerpc32/crti.S: New file.
19442 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19443 * sysdeps/powerpc/powerpc64/crti.S: New file.
19444 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19445
26ecc33a
AS
19446 * Makeconfig (have-initfini): Don't set.
19447 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19448 * configure.in (nopic_initfini): Don't substitute.
19449 * config.h.in (HAVE_INITFINI): Don't #undef.
19450 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19451 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19452
3add8e13
JM
194532012-02-08 Joseph Myers <joseph@codesourcery.com>
19454
19455 Support crti.S and crtn.S provided directly by architectures.
19456 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19457 [crti.S in sysdirs] (omit-deps): Likewise.
19458 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19459 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19460 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19461 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19462 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19463 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19464 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19465 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19466 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19467 compiler output for sysdeps/generic/initfini.c.
19468 * sysdeps/i386/elf/Makefile: Remove file.
19469 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19470
a22f12b4
MP
194712012-02-07 Marek Polacek <polacek@redhat.com>
19472
19473 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19474 * sysdeps/gnu/_G_config.h: Likewise.
19475 * sysdeps/mach/hurd/_G_config.h: Likewise.
19476
148cf100
MP
194772012-02-07 Marek Polacek <polacek@redhat.com>
19478
19479 * math/Makefile (tests): Add tst-CMPLX2.
19480 * math/tst-CMPLX2.c: New file.
19481
cfdc0dd7
AS
194822012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19483
84ba42c4
AS
19484 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19485
cfdc0dd7
AS
19486 * math/libm-test.inc (jn_test): Add missing L suffix.
19487
622c86f4
MP
194882012-02-06 Marek Polacek <polacek@redhat.com>
19489
19490 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19491 * sysdeps/i386/fpu/e_powf.S: Likewise.
19492 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19493 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19494 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19495 * sysdeps/i386/fpu/e_pow.S: Likewise.
19496 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19497 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19498 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19499 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19500 * sysdeps/i386/fpu/e_log2.S: Likewise.
19501 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19502 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19503 * sysdeps/i386/fpu/e_powl.S: Likewise.
19504 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19505 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19506 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19507 * sysdeps/i386/fpu/e_logl.S: Likewise.
19508 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19509 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19510 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19511 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19512 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19513 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19514 * sysdeps/i386/fpu/e_log.S: Likewise.
19515 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19516 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19517 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19518 * sysdeps/i386/fpu/e_logf.S: Likewise.
19519 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19520 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19521 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19522 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19523 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19524 * sysdeps/i386/fpu/e_log10.S: Likewise.
19525 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19526 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19527 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19528 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19529 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19530 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19531 * sysdeps/i386/asm-syntax.h: Likewise.
19532 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19533 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19534 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19535 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19536 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19537 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19538 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19539 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19540 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19541 * sysdeps/powerpc/sysdep.h: Likewise.
19542 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19543 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19544
d4a54ac6
JM
195452012-02-06 Joseph Myers <joseph@codesourcery.com>
19546
19547 [BZ #411]
19548 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19549
314054ea
JM
195502012-02-06 Joseph Myers <joseph@codesourcery.com>
19551
19552 * sysdeps/i386/sysdep.h: Include <features.h>.
19553 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19554 version.
19555
d8e0ca50
JM
195562012-02-05 Joseph Myers <joseph@codesourcery.com>
19557
19558 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19559 Define.
19560 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19561 LOAD_PIC_REG_STR.
19562
b1da7dd9
JM
195632012-02-03 Joseph Myers <joseph@codesourcery.com>
19564
19565 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19566 (SETUP_PIC_REG): Use GET_PC_THUNK.
19567 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19568 macro.
19569
9a1d9254
JM
195702012-02-03 Joseph Myers <joseph@codesourcery.com>
19571
19572 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19573 for non-PIC compilation.
19574 (SETUP_PIC_REG): Add .p2align directive.
19575 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19576 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19577 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19578 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19579 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19580 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19581 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19582 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19583 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19584 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19585 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19586 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19587 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19588 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19589 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19590 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19591 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19592 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19593 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19594 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19595 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19596 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19597 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19598 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19599 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19600 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19601 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19602 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19603 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19604 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19605 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19606 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19607 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19608 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19609 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19610 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19611 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19612 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19613 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19614 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19615 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19616
65dc3b75
JM
196172012-02-03 Joseph Myers <joseph@codesourcery.com>
19618
19619 * math/tst-CMPLX.c: Include <stdio.h>.
19620
d55bf177
JM
196212012-01-31 Joseph Myers <joseph@codesourcery.com>
19622
19623 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19624 float.
19625 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19626 * sysdeps/sparc/bits/mathdef.h: Likewise.
19627
69db4f8f
MP
196282012-01-31 Marek Polacek <polacek@redhat.com>
19629
19630 * libio/libio.h: Don't define _PARAMS.
19631 * locale/programs/config.h: Don't define PARAMS.
19632 * stdlib/strtol_l.c: Likewise.
19633 (__strtol_l): Remove PARAMS from the prototype.
19634
41b81892
UD
196352012-01-31 Ulrich Drepper <drepper@gmail.com>
19636
3b49edc0
UD
19637 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19638 names. Just use the correct names. Remove unnecessary wrapper
19639 functions.
19640 * malloc/arena.c: Likewise.
19641 * malloc/hooks.c: Likewise.
19642
41b81892
UD
19643 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19644 ARENA_TEST says not to. Simplify test for creation of a new arena.
19645 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19646
27a25b6e
UD
196472012-01-30 Ulrich Drepper <drepper@gmail.com>
19648
19649 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19650 into tail calls.
19651 (update_get_addr): New function.
19652 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19653 GET_ADDR_MODULE parameter.
19654
c8a89e7d
JM
196552012-01-30 Joseph Myers <joseph@codesourcery.com>
19656
19657 * crypt/cert.c: Remove __STDC__ conditionals.
19658 * crypt/crypt-entry.c: Likewise.
19659 * crypt/crypt_util.c: Likewise.
19660 * libio/filedoalloc.c: Likewise.
19661 * libio/fileops.c: Likewise.
19662 * libio/genops.c: Likewise.
19663 * libio/iofclose.c: Likewise.
19664 * libio/iofdopen.c: Likewise.
19665 * libio/iofopen.c: Likewise.
19666 * libio/iofopen64.c: Likewise.
19667 * libio/iogetdelim.c: Likewise.
19668 * libio/iopopen.c: Likewise.
19669 * libio/obprintf.c: Likewise.
19670 * libio/oldfileops.c: Likewise.
19671 * libio/oldiofclose.c: Likewise.
19672 * libio/oldiofdopen.c: Likewise.
19673 * libio/oldiofopen.c: Likewise.
19674 * libio/oldiopopen.c: Likewise.
19675 * libio/wfiledoalloc.c: Likewise.
19676 * libio/wgenops.c: Likewise.
19677 * locale/programs/xmalloc.c: Likewise.
19678 * misc/syslog.c: Likewise.
19679 * stdio-common/xbug.c: Likewise.
19680 * string/memchr.c: Likewise.
19681 * string/memcmp.c: Likewise.
19682 * string/memrchr.c: Likewise.
19683 * string/rawmemchr.c: Likewise.
19684 * sysdeps/posix/getcwd.c: Likewise.
19685 * time/strftime_l.c: Likewise.
19686
3b100462
JM
196872012-01-30 Joseph Myers <joseph@codesourcery.com>
19688
19689 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
19690 * config.make.in (config-cflags-sse2avx): Define.
19691 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19692 Fix typo.
19693
607998af
CM
196942012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19695
19696 * scripts/config.guess: Update from upstream config git repository.
19697 * scripts/config.sub: Likewise.
19698
3601428f
CM
196992012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19700
3ac8b282
CM
19701 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19702 (EM_NUM): Update.
19703 (R_TILEPRO_*, R_TILEGX_*): New macros.
19704
e034841e
CM
19705 * scripts/firstversions.awk: Fix bug in version range handling.
19706
540d7568
CM
19707 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19708
3601428f
CM
19709 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19710
463de862
CM
19711 * include/sys/epoll.h: New file.
19712 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19713 libc_hidden_def.
19714
73139a76
UD
197152012-01-28 Ulrich Drepper <drepper@gmail.com>
19716
96bc5b45
UD
19717 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19718 Avoid unnecessary __WORDSIZE == 64 test.
19719 (fmaxf): Use VEX format if possible.
19720 (fmax): Likewise.
19721 (fminf): Likewise.
19722 (fmin): Likewise.
19723
56f6f6a2
UD
19724 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19725 * math/math_private.h: Remove libc_fegetround* and
19726 libc_fesetround*.
19727 * sysdeps/i386/configure.in: Check for -msse2avx.
19728 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19729 also if SSE2AVX is defined.
19730 Remove libc_fegetround* and libc_fesetround*.
19731 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19732 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19733 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19734 of HAS_YMM_USABLE.
19735 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19736 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19737 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19738 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19739 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19740
73139a76
UD
19741 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19742
d73f93a4
AZ
197432012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19744
19745 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19746 size is not set.
19747 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19748
6ee65ed6
UD
197492012-01-27 Ulrich Drepper <drepper@gmail.com>
19750
19751 [BZ #13618]
19752 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19753 relocation.
19754 * Makeconfig (libm): Define.
19755 * elf/Makefile: Add rules to build and run tst-relsort1.
19756 * elf/tst-relsort1.c: New file.
19757 * elf/tst-relsort1mod1.c: New file.
19758 * elf/tst-relsort1mod2.c: New file.
19759
8db21882
JM
197602012-01-27 Joseph Myers <joseph@codesourcery.com>
19761
19762 * math/s_ldexp.c: Remove __STDC__ conditionals.
19763 * math/s_ldexpf.c: Likewise.
19764 * math/s_ldexpl.c: Likewise.
19765 * math/s_nextafter.c: Likewise.
19766 * math/s_nexttowardf.c: Likewise.
19767 * math/s_significand.c: Likewise.
19768 * math/s_significandf.c: Likewise.
19769 * math/s_significandl.c: Likewise.
19770 * math/w_jnl.c: Likewise.
19771 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19772 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19773 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19774 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19775 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19776 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19777 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19778 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19779 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19780 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19781 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19782 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19783 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19784 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19785 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19786 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19787 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19788 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19789 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19790 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19791 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19792 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19793 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19794 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19795 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19796 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19797 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19798 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19799 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19800 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19801 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19802 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19803 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19804 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19805 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19806 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19807 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19808 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19809 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19810 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19811 * sysdeps/ieee754/k_standard.c: Likewise.
19812 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19813 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19814 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19815 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19816 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19817 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19818 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19819 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19820 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19821 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19822 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19823 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19824 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19825 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19826 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19827 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19828 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19829 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19830 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19831 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19832 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19833 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19834 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19835 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19836 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19837 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19838 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19839 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19840 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19841 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19842 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19843 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19844 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19845 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19846 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19847 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19848 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19849 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19850 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19851 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19852 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19853 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19854 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19855 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19856 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19857 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19858 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19859 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19860 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19861 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19862 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19863 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19864 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19865 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19866 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19867 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19868 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19869 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19870 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19871 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19872 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19873 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19874 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19875 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19876 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19877 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19878 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19879 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19880 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19881 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19882 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19883 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19884 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19885 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19886 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19887 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19888 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19889 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19890 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19891 * sysdeps/ieee754/s_matherr.c: Likewise.
19892 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19893 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19894 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19895 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19896
965a54a4
JM
198972012-01-26 Joseph Myers <joseph@codesourcery.com>
19898
19899 * crypt/md5.h: Remove __STDC__ conditionals.
19900 * libio/libioP.h: Likewise.
19901 * locale/programs/config.h: Likewise.
19902 * sysdeps/generic/sysdep.h: Likewise.
19903 * sysdeps/i386/asm-syntax.h: Likewise.
19904 * sysdeps/s390/asm-syntax.h: Likewise.
19905 * sysdeps/unix/sysdep.h: Likewise.
19906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19908
7071ad79
JM
199092012-01-26 Joseph Myers <joseph@codesourcery.com>
19910
19911 * libio/libio.h: Remove __STDC__ conditionals.
19912 * malloc/obstack.h: Likewise.
19913 * math/complex.h: Likewise.
19914 * math/math.h: Likewise.
19915 * sysdeps/generic/_G_config.h: Likewise.
19916 * sysdeps/gnu/_G_config.h: Likewise.
19917 * sysdeps/mach/hurd/_G_config.h: Likewise.
19918 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19919 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19920 * sysdeps/sparc/bits/mathdef.h: Likewise.
19921
afc5ed09
UD
199222012-01-26 Ulrich Drepper <drepper@gmail.com>
19923
19924 [BZ #13583]
19925 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 19926 Clean up HAS_* macros.
afc5ed09 19927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
19928 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19929 possible.
19930 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19931 HAS_AVX.
19932 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19933 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19934 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19935 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19936 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 19937
bdb6de1d
JM
199382012-01-25 Joseph Myers <joseph@codesourcery.com>
19939
19940 * elf/tst-unique3.cc (gets): Remove declaration.
19941 * elf/tst-unique3lib.cc (gets): Likewise.
19942 * elf/tst-unique3lib2.cc (gets): Likewise.
19943 * elf/tst-unique4.cc (gets): Likewise.
19944
b15549e6
UD
199452012-01-24 Ulrich Drepper <drepper@gmail.com>
19946
19947 * include/stdio.h: Add C++ protection. Add gets declarations and
19948 definitions.
19949 * debug/tst-chk1.c: Don't declare gets here.
19950 * stdio-common/tst-gets.c: Likewise.
19951
a037381f
JM
199522012-01-24 Joseph Myers <joseph@codesourcery.com>
19953
19954 * posix/glob: Remove directory.
19955
f1d4aa75
JM
199562012-01-24 Joseph Myers <joseph@codesourcery.com>
19957
19958 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19959
81c0c964
PT
199602012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19961
19962 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19963 of the non-standard EPFNOSUPPORT.
19964
0ea698ae
ST
199652011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19966
19967 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19968 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19969 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19970
d220b117
UD
199712012-01-21 Ulrich Drepper <drepper@gmail.com>
19972
19973 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19974
3e1aa84e
UD
199752012-01-20 Ulrich Drepper <drepper@gmail.com>
19976
19977 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19978 transient errors.
19979 * nscd/grpcache.c (cache_addgr): Likewise.
19980 * nscd/hstcache.c (cache_addhst): Likewise.
19981 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19982 * nscd/pwdcache.c (cache_addpw): Likewise.
19983 * nscd/servicescache.c (cache_addserv): Likewise.
19984
400aa020
UD
199852012-01-16 Ulrich Drepper <drepper@gmail.com>
19986
d77e7869
UD
19987 * malloc/malloc.c: Various cleanups.
19988 * malloc/hooks.c: Likewise.
19989
400aa020
UD
19990 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19991 * stdlib/bug-fmtmsg1.c: New file.
19992
19993 * stdlib/fmtmsg.c (init): Add missing unlock.
19994 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19995
e0a309cf
MP
199962012-01-12 Marek Polacek <polacek@redhat.com>
19997
19998 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19999 and _GNU_SOURCE.
20000
929d11c7
WS
200012012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20002
20003 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20004 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20005 macro to ensure uniqueness of label name.
20006 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20007 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20008
41d0e869
UD
200092012-01-11 Ulrich Drepper <drepper@gmail.com>
20010
0cc5ed3b
UD
20011 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20012
41d0e869
UD
20013 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20014 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20015 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20016 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20017
a47a831a
UD
200182012-01-10 Ulrich Drepper <drepper@gmail.com>
20019
daa891c0
UD
20020 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20021
20022 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20023 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20024 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20025
e58ef0f2
UD
20026 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20027
a47a831a 20028 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20029 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20030 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20031 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20032
20033 * math/bits/math-finite.h: Add ldexp support.
20034
a0bfc9c7
MP
200352012-01-10 Marek Polacek <polacek@redhat.com>
20036
20037 * locale/programs/localedef.h (show_archive_content): Add noreturn
20038 attribute.
20039
d6e97a1d
UD
200402012-01-09 Ulrich Drepper <drepper@gmail.com>
20041
20042 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20043
d5835c26
UD
200442012-01-08 Ulrich Drepper <drepper@gmail.com>
20045
e5f484c6
UD
20046 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20047
d5835c26
UD
20048 * io/Makefile (headers): Add bits/poll2.h.
20049
d1f741e9
WS
200502011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20051
20052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20053 typo #include statement.
20054
ec09c1c4
UD
200552012-01-08 Ulrich Drepper <drepper@gmail.com>
20056
20057 * include/sys/cdefs.h: Define __attribute_alloc_size.
20058 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20059 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20060 * elf/pldd.c: Likewise.
20061 * iconv/iconv_charmap.c: Likewise.
20062 * iconv/iconvconfig.c: Likewise.
20063 * iconv/strtab.c: Likewise.
20064 * locale/programs/locale.c: Likewise.
20065 * locale/programs/localedef.h: Likewise.
20066 * locale/programs/simple-hash.c: Likewise.
20067 * nscd/nscd.h: Likewise.
20068 * nss/makedb.c: Likewise.
20069 * sysdeps/generic/ldconfig.h: Likewise.
20070 * locale/programs/localedef.c: Remove xmalloc prototype.
20071 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20072
20b38e03
PP
200732012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20074
20075 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20076 appropriate.
20077
a0da5fe1
UD
200782012-01-08 Ulrich Drepper <drepper@gmail.com>
20079
1d5a644a 20080 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20081 * math/tst-CMPLX.c: New file.
1d5a644a 20082
8784a6db
UD
20083 * math/complex.h (CMPLXL): Fix typo.
20084
d9a216c0
UD
20085 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20086 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20087 GLIBC_2.16.
20088 * debug/tst-chk1.c: Add poll and ppoll tests.
20089 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20090 * include/sys/poll.h: Add hidden proto for ppoll.
20091 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20092 * sysdeps/mach/hurd/ppoll.c: Likewise.
20093 * io/ppoll.c: Likewise.
20094 * debug/poll_chk.c: New file.
20095 * debug/ppoll_chk.c: New file.
20096 * include/bits/poll2.h: New file.
20097 * io/bits/poll2.h: New file.
20098
ac097f5c
UD
20099 [BZ #1350]
20100 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20101
2119dcfa
UD
20102 * configure.in: static is always set to yes. Remove.
20103 * config.make.in: Don't set build-static.
20104 * Makeconfig: Remove use of build-static.
20105 * dlfcn/Makefile: Likewise.
20106 * elf/Makefile: Likewise.
20107 * math/Makefile: Likewise.
20108 * misc/Makefile: Likewise.
20109 * nptl/Makefile: Likewise.
20110 * sysdeps/mach/hurd/Makefile: Likewise.
20111
121766a9
UD
20112 * configure.in: PWD_P is not used anymore.
20113 * config.make.in: Remove PWD_P entry.
20114
51a1d39c 20115 * configure.in: Remove last remnants of RANLIB.
8720d066 20116 No need to check for signed size_t anymore.
215f4bdc
UD
20117 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20118 and IA-64.
3857022a 20119 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20120 * aclocal.m4: Likewise.
20121
d3ed7225
UD
20122 * wcsmbs/mbrtoc16.c: Implement using towc function.
20123 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20124 * wcsmbs/wcsmbsload.c: Likewise.
20125 * iconv/gconv_simple.c: Likewise.
20126 * iconv/gconv_int.h: Likewise.
20127 * iconv/gconv_builtin.h: Likewise.
20128 * iconv/iconv_prog.c: Remove CHAR16 handling.
20129
20130 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20131
20132 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20133
a0da5fe1
UD
20134 * configure.in: Remove --with-elf and --enable-bounded options.
20135 Dont set base_machine for ia64. More non-ELF conditions removed.
20136 Remove testing and setting of leading underscore information.
20137 * config.make.in (build-bounded): Set to no.
20138 * config.h.in: Remove NO_UNDERSCORES entry.
20139 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20140 them.
20141 * csu/start.c: Remove !NO_UNDERSCORE code.
20142 * locale/localeinfo.h: Likewise.
20143 * sysdeps/generic/machine-gmon.h: Likewise.
20144 * sysdeps/generic/sysdep.h: Likewise.
20145 * sysdeps/i386/sysdep.h: Likewise.
20146 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20147 * sysdeps/mach/sysdep.h: Likewise.
20148 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20149 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20150 * sysdeps/sh/sysdep.h: Likewise.
20151 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20152 * sysdeps/unix/i386/sysdep.S: Likewise.
20153 * sysdeps/unix/sparc/start.c: Likewise.
20154 * sysdeps/unix/sparc/sysdep.S: Likewise.
20155 * sysdeps/unix/sparc/sysdep.h: Likewise.
20156 * sysdeps/unix/start.c: Likewise.
20157 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20158 * sysdeps/x86_64/sysdep.h: Likewise.
20159
df78418a
UD
201602012-01-07 Ulrich Drepper <drepper@gmail.com>
20161
a784e502
UD
20162 [BZ #13553]
20163 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20164 for non-gcc.
20165 * argp/argp-fmtstream.h: Use const instead __const.
20166 * argp/argp.h: Likewise.
20167 * assert/assert.h: Likewise.
20168 * bits/fenv.h: Likewise.
20169 * bits/sched.h: Likewise.
20170 * bits/sigset.h: Likewise.
20171 * bits/sigthread.h: Likewise.
20172 * catgets/nl_types.h: Likewise.
20173 * conform/data/pthread.h-data: Likewise.
20174 * crypt/crypt-private.h: Likewise.
20175 * crypt/crypt.h: Likewise.
20176 * crypt/crypt_util.c: Likewise.
20177 * ctype/ctype.h: Likewise.
20178 * debug/execinfo.h: Likewise.
20179 * debug/mbsnrtowcs_chk.c: Likewise.
20180 * debug/mbsrtowcs_chk.c: Likewise.
20181 * debug/wcsnrtombs_chk.c: Likewise.
20182 * debug/wcsrtombs_chk.c: Likewise.
20183 * debug/wcstombs_chk.c: Likewise.
20184 * dirent/dirent.h: Likewise.
20185 * dlfcn/dlfcn.h: Likewise.
20186 * elf/neededtest4.c: Likewise.
20187 * grp/grp.h: Likewise.
20188 * gshadow/gshadow.h: Likewise.
20189 * iconv/gconv.h: Likewise.
20190 * iconv/gconv_int.h: Likewise.
20191 * iconv/gconv_simple.c: Likewise.
20192 * iconv/iconv.h: Likewise.
20193 * iconv/loop.c: Likewise.
20194 * iconv/skeleton.c: Likewise.
20195 * include/aio.h: Likewise.
20196 * include/aliases.h: Likewise.
20197 * include/argz.h: Likewise.
20198 * include/arpa/inet.h: Likewise.
20199 * include/assert.h: Likewise.
20200 * include/dirent.h: Likewise.
20201 * include/dlfcn.h: Likewise.
20202 * include/execinfo.h: Likewise.
20203 * include/fcntl.h: Likewise.
20204 * include/fenv.h: Likewise.
20205 * include/glob.h: Likewise.
20206 * include/grp.h: Likewise.
20207 * include/libintl.h: Likewise.
20208 * include/mntent.h: Likewise.
20209 * include/netdb.h: Likewise.
20210 * include/pwd.h: Likewise.
20211 * include/rpc/netdb.h: Likewise.
20212 * include/sched.h: Likewise.
20213 * include/search.h: Likewise.
20214 * include/shadow.h: Likewise.
20215 * include/signal.h: Likewise.
20216 * include/stdio.h: Likewise.
20217 * include/stdlib.h: Likewise.
20218 * include/string.h: Likewise.
20219 * include/sys/socket.h: Likewise.
20220 * include/sys/stat.h: Likewise.
20221 * include/sys/statfs.h: Likewise.
20222 * include/sys/statvfs.h: Likewise.
20223 * include/sys/syslog.h: Likewise.
20224 * include/sys/time.h: Likewise.
20225 * include/sys/uio.h: Likewise.
20226 * include/time.h: Likewise.
20227 * include/unistd.h: Likewise.
20228 * include/utmp.h: Likewise.
20229 * include/wchar.h: Likewise.
20230 * include/wctype.h: Likewise.
20231 * inet/aliases.h: Likewise.
20232 * inet/arpa/inet.h: Likewise.
20233 * inet/netinet/ether.h: Likewise.
20234 * inet/netinet/in.h: Likewise.
20235 * intl/libintl.h: Likewise.
20236 * io/bits/fcntl2.h: Likewise.
20237 * io/fcntl.h: Likewise.
20238 * io/ftw.h: Likewise.
20239 * io/sys/poll.h: Likewise.
20240 * io/sys/stat.h: Likewise.
20241 * io/sys/statfs.h: Likewise.
20242 * io/sys/statvfs.h: Likewise.
20243 * io/utime.h: Likewise.
20244 * libio/bits/stdio.h: Likewise.
20245 * libio/bits/stdio2.h: Likewise.
20246 * libio/libio.h: Likewise.
20247 * libio/libioP.h: Likewise.
20248 * libio/stdio.h: Likewise.
20249 * locale/lc-ctype.c: Likewise.
20250 * locale/locale.h: Likewise.
20251 * login/utmp.h: Likewise.
20252 * malloc/arena.c: Likewise.
20253 * malloc/malloc.c: Likewise.
20254 * malloc/malloc.h: Likewise.
20255 * malloc/mcheck.c: Likewise.
20256 * malloc/mtrace.c: Likewise.
20257 * math/bits/mathcalls.h: Likewise.
20258 * math/fenv.h: Likewise.
20259 * math/math_private.h: Likewise.
20260 * misc/bits/error.h: Likewise.
20261 * misc/bits/syslog.h: Likewise.
20262 * misc/err.h: Likewise.
20263 * misc/error.h: Likewise.
20264 * misc/fstab.h: Likewise.
20265 * misc/mntent.h: Likewise.
20266 * misc/regexp.h: Likewise.
20267 * misc/search.h: Likewise.
20268 * misc/sgtty.h: Likewise.
20269 * misc/sys/mman.h: Likewise.
20270 * misc/sys/syslog.h: Likewise.
20271 * misc/sys/uio.h: Likewise.
20272 * misc/sys/xattr.h: Likewise.
20273 * misc/ttyent.h: Likewise.
20274 * nis/rpcsvc/ypclnt.h: Likewise.
20275 * nss/nss.h: Likewise.
20276 * posix/bits/unistd.h: Likewise.
20277 * posix/fnmatch.h: Likewise.
20278 * posix/glob.h: Likewise.
20279 * posix/sched.h: Likewise.
20280 * posix/spawn.h: Likewise.
20281 * posix/sys/wait.h: Likewise.
20282 * posix/unistd.h: Likewise.
20283 * posix/wordexp.h: Likewise.
20284 * pwd/pwd.h: Likewise.
20285 * resolv/netdb.h: Likewise.
20286 * resource/sys/resource.h: Likewise.
20287 * rt/aio.h: Likewise.
20288 * rt/bits/mqueue2.h: Likewise.
20289 * rt/mqueue.h: Likewise.
20290 * shadow/shadow.h: Likewise.
20291 * signal/signal.h: Likewise.
20292 * socket/send.c: Likewise.
20293 * socket/sendto.c: Likewise.
20294 * socket/sys/socket.h: Likewise.
20295 * stdio-common/printf.h: Likewise.
20296 * stdlib/bits/stdlib.h: Likewise.
20297 * stdlib/fmtmsg.h: Likewise.
20298 * stdlib/monetary.h: Likewise.
20299 * stdlib/stdlib.h: Likewise.
20300 * stdlib/ucontext.h: Likewise.
20301 * streams/stropts.h: Likewise.
20302 * string/argz.h: Likewise.
20303 * string/bits/string2.h: Likewise.
20304 * string/string.h: Likewise.
20305 * string/strings.h: Likewise.
20306 * sunrpc/rpc/auth.h: Likewise.
20307 * sunrpc/rpc/auth_des.h: Likewise.
20308 * sunrpc/rpc/clnt.h: Likewise.
20309 * sunrpc/rpc/netdb.h: Likewise.
20310 * sunrpc/rpc/pmap_clnt.h: Likewise.
20311 * sunrpc/rpc/xdr.h: Likewise.
20312 * sysdeps/generic/inttypes.h: Likewise.
20313 * sysdeps/generic/net/if.h: Likewise.
20314 * sysdeps/generic/sys/swap.h: Likewise.
20315 * sysdeps/gnu/net/if.h: Likewise.
20316 * sysdeps/gnu/utmpx.h: Likewise.
20317 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20318 * sysdeps/i386/i486/bits/string.h: Likewise.
20319 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20320 * sysdeps/s390/bits/string.h: Likewise.
20321 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20322 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20323 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20324 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20325 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20326 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20327 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20328 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20329 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20330 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20331 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20332 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20333 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20334 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20335 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20336 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20337 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20338 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20339 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20340 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20341 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20342 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20343 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20344 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20345 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20346 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20347 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20348 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20349 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20350 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20351 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20352 * sysvipc/sys/ipc.h: Likewise.
20353 * sysvipc/sys/msg.h: Likewise.
20354 * sysvipc/sys/sem.h: Likewise.
20355 * sysvipc/sys/shm.h: Likewise.
20356 * termios/termios.h: Likewise.
20357 * time/sys/time.h: Likewise.
20358 * time/time.h: Likewise.
20359 * wcsmbs/bits/wchar2.h: Likewise.
20360 * wcsmbs/uchar.h: Likewise.
20361 * wcsmbs/wchar.h: Likewise.
20362 * wctype/wctype.h: Likewise.
20363
0269750c
UD
20364 [BZ #13551]
20365 * Makeconfig: Remove all but ELF support including AIX support.
20366 * Makerules: Likewise.
20367 * config.h.in: Likewise.
20368 * config.make.in: Likewise.
20369 * configure: Likewise.
20370 * configure.in: Likewise.
20371 * csu/Makefile: Likewise.
20372 * csu/version.c: Likewise.
20373 * debug/Makefile: Likewise.
20374 * dlfcn/Makefile: Likewise.
20375 * elf/Makefile: Likewise.
20376 * extra-lib.mk: Likewise.
20377 * iconv/Makefile: Likewise.
20378 * include/libc-symbols.h: Likewise.
20379 * include/shlib-compat.h: Likewise.
20380 * resolv/Makefile: Likewise.
20381 * resolv/res_libc.c: Likewise.
20382 * rt/Makefile: Likewise.
20383 * sysdeps/i386/asm-syntax.h: Likewise.
20384 * sysdeps/i386/sysdep.h: Likewise.
20385 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20386 * sysdeps/mach/sysdep.h: Likewise.
20387 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20388 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20389 * sysdeps/s390/asm-syntax.h: Likewise.
20390 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20391 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20392 * sysdeps/sh/sysdep.h: Likewise.
20393 * sysdeps/unix/sparc/sysdep.h: Likewise.
20394 * sysdeps/wordsize-32/divdi3.c: Likewise.
20395 * sysdeps/x86_64/sysdep.h: Likewise.
20396
00bbd29b
UD
20397 * argp/Versions: Remove _argp_unlock_xxx.
20398
20399 [BZ #13559]
20400 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20401 * abilist/libBrokenLocale.abilist: Likewise.
20402 * abilist/libanl.abilist: Likewise.
20403 * abilist/libc.abilist: Likewise.
20404 * abilist/libcrypt.abilist: Likewise.
20405 * abilist/libdl.abilist: Likewise.
20406 * abilist/libm.abilist: Likewise.
20407 * abilist/libnsl.abilist: Likewise.
20408 * abilist/libpthread.abilist: Likewise.
20409 * abilist/libresolv.abilist: Likewise.
20410 * abilist/librt.abilist: Likewise.
20411 * abilist/libthread_db.abilist: Likewise.
20412 * abilist/libutil.abilist: Likewise.
20413 * abilist/libnss_db.abilist: New file.
20414
20415 * scripts/abilist.awk: Add support for indirect functions.
20416
a2693a0e
UD
20417 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20418
3f05895f
UD
20419 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20420
ecb6fb48
UD
20421 * shlib-versions: Remove entries for ports architectures.
20422
664f8cb9
UD
20423 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20424 files in ports.
20425 * elf/stackguard-macros.h: Remove support for IA-64.
20426 * elf/tst-auditmod1.c: Likewise.
20427 * sysdeps/generic/ldsodefs.h: Likewise.
20428
7ae81d88
UD
20429 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20430 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20431 configure files.
20432
bdeba135
UD
20433 [BZ #13552]
20434 * configure.in: Remove --enable-omitfp support.
20435 * FAQ.in: Adjust.
20436 * config.make.in: Likewise.
20437 * Makeconfig: Likewise.
20438 * manual/install.texi: Likewise.
20439
d75a0a62
UD
20440 In case anyone cares, the IA-64 architecture could move to ports.
20441 * sysdeps/ia64/*: Removed.
20442 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20443 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20444
dcc9756b
UD
20445 [BZ #13555]
20446 * configure.in: Remove entries for unsupported architectures.
20447
d3761ebc 20448 [BZ #13533]
9954432e
UD
20449 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20450 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20451 routines.
20452 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20453 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20454 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20455 fall back to using wcrtomb.
20456 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20457 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20458 renaming.
20459 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20460 * wcsmbs/tst-c16c32-1.c: New file.
20461
20462 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20463 local variable.
20464
c3a87236
UD
20465 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20466
28926a1b
UD
20467 * elf/tst-unique3.cc: Add explicit declaration of gets.
20468 * elf/tst-unique3lib.cc: Likewise.
20469 * elf/tst-unique3lib2.cc: Likewise.
20470 * elf/tst-unique4.cc: Likewise.
20471
df78418a
UD
20472 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20473
8ecd6b2a
JM
204742012-01-06 Joseph Myers <joseph@codesourcery.com>
20475
20476 [BZ #13566]
20477 * assert/assert.h (static_assert): Don't define for C++.
20478 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20479 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20480
9f115170
UD
204812012-01-03 Ulrich Drepper <drepper@gmail.com>
20482
5e0d0300
UD
20483 * iconv/loop.c (single loop): Fix assertion in storing of
20484 remaining bytes.
20485
9f115170
UD
20486 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20487
81fb02b0
UD
204882012-01-01 Ulrich Drepper <drepper@gmail.com>
20489
20490 * posix/getconf.c: Update copyright year.
20491 * nss/getent.c: Likewise.
a316c1f6 20492 * nss/makedb.c: Likewise.
81fb02b0
UD
20493 * iconv/iconvconfig.c: Likewise.
20494 * iconv/iconv_prog.c: Likewise.
20495 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20496 * elf/pldd.c: Likewise.
20497 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20498 * catgets/gencat.c: Likewise.
20499 * csu/version.c: Likewise.
20500 * elf/ldd.bash.in: Likewise.
20501 * elf/sprof.c (print_version): Likewise.
20502 * locale/programs/locale.c: Likewise.
20503 * locale/programs/localedef.c: Likewise.
a316c1f6 20504 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20505 * nscd/nscd.c (print_version): Likewise.
20506 * debug/xtrace.sh: Likewise.
20507 * malloc/memusage.sh: Likewise.
20508 * malloc/mtrace.pl: Likewise.
20509 * debug/catchsegv.sh: Likewise.
20510
2ba92745
JJ
205112011-12-30 Jakub Jelinek <jakub@redhat.com>
20512
20513 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20514 pure attribute.
20515
dadebdae
UD
205162011-12-24 Ulrich Drepper <drepper@gmail.com>
20517
d3761ebc 20518 [BZ #13533]
db6af3eb
UD
20519 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20520 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20521 transformations.
20522 * iconv/gconv_int.h: Likewise.
20523 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20524 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20525 from libc for GLIBC_2.16.
20526 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20527 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20528 * wcsmbs/uchar.h: Really define mbstate_t.
20529 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20530 * wcsmbs/c16rtomb.c: New file.
20531 * wcsmbs/mbrtoc16.c: New file.
20532 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20533 for C/POSIX locale.
20534 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20535 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20536
dadebdae
UD
20537 * wcsmbs/wchar.h: Add missing __restrict.
20538
67371b56
UD
205392011-12-23 Ulrich Drepper <drepper@gmail.com>
20540
74033a25
UD
20541 [BZ #13532]
20542 * time/Makefile (routines): Add timespec_get.
20543 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20544 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20545 timespec for ISO C11.
20546 * time/timespec_get.c: New file.
20547 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20548 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20549
380d7e87
UD
20550 [BZ #13531]
20551 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20552 * stdlib/stdlib.h: Declare aligned_alloc.
20553 * Versions.def: Add GLIBC_2.16 for libc.
20554 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20555
4e9e7a35
UD
20556 [BZ 13527]
20557 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20558 ISO C11.
20559
380d7e87 20560 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20561 code.
20562
03a71829
UD
20563 [BZ #13528]
20564 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20565
839e283e
UD
20566 [BZ #13529]
20567 * assert/assert.h (static_assert): Define.
20568
ce5294e2 20569 * version.h: Update for 2.16 development version.
90fa7312 20570
8d44e150 20571 [BZ #13526]
d7809905
UD
20572 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20573 _ISOC11_SOURCE.
20574
c0da14cd
UD
20575 * version.h (RELEASE): Bump for 2.15 release.
20576 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20577
530a3249
MP
20578 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20579 Patch by Marek Polacek <mpolacek@redhat.com>.
20580
67371b56
UD
20581 * bits/byteswap.h: Protect long long constants with __extension__.
20582 * sysdeps/i386/bits/byteswap.h: Likewise.
20583 * sysdeps/ia64/bits/byteswap.h: Likewise.
20584 * sysdeps/s390/bits/byteswap.h: Likewise.
20585 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20586
15db4de1
LD
205872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20588
20589 [BZ #13540]
bbe315ea
LD
20590 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20591 destination buffer.
15db4de1
LD
20592 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20593
2b2596b1
MP
205942011-12-23 Marek Polacek <polacek@redhat.com>
20595
20596 * elf/dl-addr.c (determine_info): Add inline keyword.
20597 * elf/tst-auditmod4b.c (check_avx): Likewise.
20598 * elf/tst-auditmod6b.c (check_avx): Likewise.
20599 * elf/tst-auditmod6c.c (check_avx): Likewise.
20600 * elf/tst-auditmod7b.c (check_avx): Likewise.
20601
70c6c246
UD
206022011-12-23 Ulrich Drepper <drepper@gmail.com>
20603
20604 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20605 !__SSE_MATH__.
20606
c044cf14
LD
206072011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20608
15db4de1 20609 [BZ #13540]
c044cf14
LD
20610 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20611 processing for last bytes.
20612
6b13d9d9
BH
206132011-08-06 Bruno Haible <bruno@clisp.org>
20614
d455f537
BH
20615 [BZ #13061]
20616 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20617 U+0385, not to U+1FEE.
20618
6b13d9d9
BH
20619 [BZ #13062]
20620 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20621 entry for U+00A5 U+0301.
20622
db910efd
UD
206232011-12-22 Ulrich Drepper <drepper@gmail.com>
20624
27deeafc
UD
20625 [BZ #13166]
20626 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20627 buffer for the output is too small.
20628
aed9d171
UD
20629 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20630 optimization.
20631
db910efd
UD
20632 [BZ #13185]
20633 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20634 SSE flags if possible.
20635
2bd779ae
LD
206362011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20637
e7f9dac3 20638 [BZ #13540]
2bd779ae
LD
20639 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20640 processing for last bytes.
20641
154bfc16
JM
206422011-12-22 Joseph Myers <joseph@codesourcery.com>
20643
20644 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20645 (syscall-list-default-options, syscall-list-default-condition)
20646 (syscall-list-includes): Define.
20647 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20648 list of ABIs and options and #if conditions for each ABI. Do not
20649 handle common syscalls between ABIs specially.
20650 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20651 Remove.
20652 (syscall-list-variants, syscall-list-32bit-options)
20653 (syscall-list-32bit-condition, syscall-list-64bit-options)
20654 (syscall-list-64bit-condition): Define.
20655 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20656 (syscall-list-variants, syscall-list-32bit-options)
20657 (syscall-list-32bit-condition, syscall-list-64bit-options)
20658 (syscall-list-64bit-condition): Define.
20659 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20660 Remove.
20661 (syscall-list-variants, syscall-list-32bit-options)
20662 (syscall-list-32bit-condition, syscall-list-64bit-options)
20663 (syscall-list-64bit-condition): Define.
20664 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20665 Remove.
20666 (syscall-list-variants, syscall-list-32bit-options)
20667 (syscall-list-32bit-condition, syscall-list-64bit-options)
20668 (syscall-list-64bit-condition): Define.
20669
21eaf3a5
UD
206702011-12-22 Ulrich Drepper <drepper@gmail.com>
20671
16c6f992
UD
20672 * locale/iso-639.def: Add brx entry.
20673
41043168
UD
20674 [BZ #13328]
20675 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20676 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20677
21eaf3a5
UD
20678 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20679 __feraiseexcept_renamed.
20680
e3a851a2
UD
206812011-12-21 Ulrich Drepper <drepper@gmail.com>
20682
4920765e
UD
20683 [BZ #13538]
20684 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20685 EPOLLET with unsigned values.
20686 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20687 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20688
e3a851a2
UD
20689 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20690 to large cancellation.
20691 * math/s_cacoshf.c: Likewise.
20692 * math/s_cacoshl.c: Likewise.
20693
b27e24b8
RK
206942011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20695
20696 [BZ #13305]
aebefeee 20697 [BZ #12786]
b27e24b8
RK
20698 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20699 * math/s_cacoshf.c: Likewise.
20700 * math/s_cacoshl.c: Likewise.
20701
ee190f67
UD
207022011-12-21 Ulrich Drepper <drepper@gmail.com>
20703
20704 [BZ #13439]
20705 * iconv/gconv.h: Define __GCONV_SWAP.
20706 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20707 * iconvdata/utf-16.c: Likewise.
20708 * iconvdata/utf-32.c: Likewise.
20709
707f25df
AS
207102011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20711
20712 [BZ #13524]
20713 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20714 numerator after shifting it by one limb.
20715
d2daaa1e
RÁE
207162011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20717
20718 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20719 under [__USE_EXTERN_INLINES].
20720
a4647e72
UD
207212011-12-17 Ulrich Drepper <drepper@gmail.com>
20722
20723 [BZ #13446]
20724 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20725
f0b264f1
AZ
207262011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20727
20728 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20729 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20730 optimized code.
20731 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20732 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20733 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20734 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20735 for strncasecmp/strncasecmp_l compilation.
20736 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20737 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20738
8ef4f244
MP
207392011-12-08 Marek Polacek <mpolacek@redhat.com>
20740
20741 [BZ #13484]
20742 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20743 of __asm__.
20744
97ac2654
UD
207452011-12-17 Ulrich Drepper <drepper@gmail.com>
20746
20747 [BZ #13506]
20748 * time/tzfile.c (__tzfile_read): Check values from file header.
20749
91d2a845
WS
207502011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20751
20752 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20753 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20754 * powerpc/powerpc32/dl-start.S: Likewise.
20755 * powerpc/powerpc32/elf/start.S: Likewise.
20756 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20757 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20758 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20759 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20760 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20761 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20762 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20763 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20764 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20765 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20766 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20767 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20768 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20769 * powerpc/powerpc32/memset.S: Likewise.
20770 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20771 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20772 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20773 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20774 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20775 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20776 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20777 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20778 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20779 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20780 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20781 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20782 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20783
a1267ba1
AZ
207842011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20785
20786 * math/libm-test.inc: Added more nearbyint tests.
20787 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20788 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20789 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20790 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20791
ad8ac1bd
RL
207922011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20793
20794 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20795 FD_CLOEXEC.
20796
1d3e4b61
UD
207972011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20798
20799 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20800 Add wcscpy-ssse3 wcscpy-c.
20801 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20802 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20803 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20804 * sysdeps/x86_64/wcschr.S: New file.
20805 * sysdeps/x86_64/wcsrchr.S: New file.
20806 * string/test-strcmp.c: Remove checking of wcscmp function for
20807 wrong alignments.
20808 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20809 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20810 wcsrchr-sse2 wcsrchr-c.
20811 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20812 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20813 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20814 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20815 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20816 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20817 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20818 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20819 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20820 * wcsmbc/wcschr.c (WCSCHR): New macro.
20821
5b330a2d
UD
208222011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20823
20824 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20825 * wcsmbs/test-wcsrchr.c: New file.
20826 * string/test-strrchr.c: Add wcsrchr support.
20827 (WIDE): New macro.
20828 * wcsmbs/test-wcscpy.c: New file.
20829 * string/test-strcpy.c: Add wcscpy support.
20830 (WIDE): New macro.
26428b7c 20831
f039c043
UD
208322011-12-10 Ulrich Drepper <drepper@gmail.com>
20833
20834 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20835 the inner loop.
20836
850fb039
AS
208372011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20838
20839 [BZ #13472]
20840 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20841
4efbd5cb
UD
208422011-12-04 Ulrich Drepper <drepper@gmail.com>
20843
52ff5dd0 20844 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 20845 Minor optimizations.
52ff5dd0 20846
4efbd5cb
UD
20847 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20848 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20849 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20850
8a426e12
UD
208512011-12-03 Ulrich Drepper <drepper@gmail.com>
20852
aff2453d
UD
20853 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20854 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20855 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20856 for gcc to avoid warnings.
20857 * inet/Makefile (tests): Add tst-checks.
20858 * inet/tst-checks.c: New file.
20859
20860 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20861 warning.
20862
20863 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20864 __wmemcmp_sse2.
20865
20866 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20867 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20868
8a426e12
UD
20869 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20870
9bea3473
UD
208712011-12-02 Ulrich Drepper <drepper@gmail.com>
20872
3a965496
UD
20873 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20874 problem.
20875
9bea3473
UD
20876 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20877
f101631b
UD
208782011-11-29 Joseph Myers <joseph@codesourcery.com>
20879
20880 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20881 conditional on GCC version.
20882 (__arch_compare_and_exchange_val_8_acq)
20883 (__arch_compare_and_exchange_val_16_acq)
20884 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20885 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20886 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20887
a98275aa
UD
208882011-12-02 Joseph Myers <joseph@codesourcery.com>
20889
20890 * sysdeps/sh/backtrace.c: New file.
20891
d4cc29a2
AS
208922011-12-02 Andreas Schwab <schwab@redhat.com>
20893
20894 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20895 parenthesis.
20896
6257af2d
AS
208972011-12-01 Andreas Schwab <schwab@redhat.com>
20898
20899 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20900 falling back to utime.
20901
b5f44c1a
AS
209022011-11-30 Andreas Schwab <schwab@redhat.com>
20903
20904 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20905 expectations for float.
20906
f3a6cc0a
AS
209072011-11-29 Andreas Schwab <schwab@redhat.com>
20908
20909 * locale/weight.h (findidx): Add parameter len.
20910 * locale/weightwc.h (findidx): Likewise.
20911 * posix/fnmatch_loop.c (FCT): Adjust caller.
20912 * posix/regcomp.c (build_equiv_class): Likewise.
20913 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20914 * posix/regexec.c (check_node_accept_bytes): Likewise.
20915 * string/strcoll_l.c (STRCOLL): Likewise.
20916 * string/strxfrm_l.c (STRXFRM): Likewise.
20917
9d65ea3a
UD
209182011-11-17 Ulrich Drepper <drepper@gmail.com>
20919
20920 * Makefile.in: Remove CVSOPT handling.
20921 * configure.in: Remove use of AC_REVISION.
20922 * iconvdata/Makefile (distribute): No need to filter out CVS.
20923 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20924 handling.
20925
5583a086
AS
209262011-11-16 Andreas Schwab <schwab@redhat.com>
20927
20928 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20929 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20930 [USE_AS_STRNCASECMP_L]: Likewise.
20931 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20932 NO_TLS_DIRECT_SEG_REFS.
20933 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20934 Fix argument offsets for non-PIC.
20935 [USE_AS_STRNCASECMP_L]: Likewise.
20936 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20937 NO_TLS_DIRECT_SEG_REFS.
20938
d62a8200
UD
209392011-11-15 Ulrich Drepper <drepper@gmail.com>
20940
9d65ea3a 20941 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
20942 O_CLOEXEC.
20943 * locale/loadlocale.c (_nl_load_locale): Likewise.
20944
09f93bd3
AS
209452011-11-15 Andreas Schwab <schwab@redhat.com>
20946
446514f9
AS
20947 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20948 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20949 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20950 (SYSCALL_GETTIME): Set errno on error.
20951
09f93bd3
AS
20952 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20953 count references to noai6ai_cached.
20954
312be3f9
UD
209552011-11-15 Ulrich Drepper <drepper@gmail.com>
20956
20957 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20958
20959 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20960 FD_CLOEXEC for /proc/self/maps.
20961
20962 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20963 FD_CLOEXEC for /proc/meminfo.
20964
20965 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20966 gai.conf.
20967
20968 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20969 FD_CLOEXEC for given file.
20970
20971 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20972
20973 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20974 FD_CLOEXEC for /etc/hosts.
20975 (_gethtent): Likewise.
20976
20977 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20978
20979 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20980 cancellation and set FD_CLOEXEC for /etc/netgroup.
20981
20982 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20983 reading /etc/publickey.
20984
20985 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20986 allow cancellation when reading /etc/group.
20987
20988 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20989 cancellation.
20990 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20991
20992 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20993 when using data file.
20994
20995 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20996
20997 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20998 (write_nis_obj): Use "c" and "e" in fopen.
20999
21000 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21001
21002 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21003
21004 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21005
21006 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21007
21008 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21009 locale.alias.
21010
21011 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21012
21013 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21014
21015 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21016
21017 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21018 file parsing and set FD_CLOEXEC.
21019
82af0fa8
UD
210202011-11-14 Ulrich Drepper <drepper@gmail.com>
21021
21022 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21023
a5fb313c
AS
210242011-11-14 Andreas Schwab <schwab@redhat.com>
21025
21026 * malloc/arena.c (arena_get2): Don't call reused_arena when
21027 _int_new_arena failed.
21028
6abf3465
UD
210292011-11-14 Ulrich Drepper <drepper@gmail.com>
21030
21031 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21032 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21033 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21034 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21035 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21036 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21037 to compile strcasecmp and strncasecmp.
21038 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21039 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21040
21041 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21042
76e3966e
UD
210432011-11-13 Ulrich Drepper <drepper@gmail.com>
21044
21045 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21046 locale-defines.sym to gen-as-const-headers.
21047 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21048 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21049 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21050 to compile strcasecmp and strncasecmp.
21051 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21052 strcasecmp_l and strncasecmp_l.
21053 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21054 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21055 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21056 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21057 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21058 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21059 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21060 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21061 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21062 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21063 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21064
ab26144e
UD
210652011-11-12 Ulrich Drepper <drepper@gmail.com>
21066
7edb22ef
UD
21067 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21068 result of SYSDEP_GETTIME_CPU to retval.
21069 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21070 parameter list to macro. Remove trailing semicolon. Adjust users.
21071
9694fc44
UD
21072 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21073 variable.
21074
8ad89ef8
UD
21075 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21076 mantissa words.
21077 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21078
0c822ef9
UD
21079 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21080 from unused variable.
21081
874e0564
UD
21082 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21083 DWARF definitions.
21084 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21085 for assembling.
21086
3a2edc79
UD
21087 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21088 over namespaces.
21089
f3c2577f
UD
21090 * sunrpc/rpc_prot.c (rejected): Fix case value.
21091
294ce126
UD
21092 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21093 unsigned long long int to avoid warnings in shift.
21094
5e2b63c6
UD
21095 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21096 of use of trans.
21097 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21098 variable tmp.
21099
e7f4b08e
UD
21100 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21101 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21102 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21103
ab26144e
UD
21104 * nis/nis_table.c (nis_list): Use variable of correct type for
21105 result of __follow_path call.
21106
8a6d5255
AZ
211072011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21108
21109 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21110 of math functions ceil, trunc, floor, round, and sqrt, when
21111 avaliable on the platform.
21112 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21113 name clash.
21114 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21115 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21116 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21117
aaddc98c
MP
211182011-10-30 Marek Polacek <mpolacek@redhat.com>
21119
21120 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21121 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21122
95b7042b
RM
211232011-11-11 Roland McGrath <roland@hack.frob.com>
21124
21125 * include/unistd.h: Fix __readlink return type.
21126 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21127
57769839
UD
211282011-11-11 Ulrich Drepper <drepper@gmail.com>
21129
21130 * stdlib/ucontext.h: Undo last change for makecontext.
21131
edc5984d
AS
211322011-11-11 Andreas Schwab <schwab@redhat.com>
21133
98591e58
AS
21134 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21135
edc5984d
AS
21136 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21137 * setjmp/setjmp.h: Mark functions as non-leaf.
21138 * setjmp/bits/setjmp2.h: Likewise.
21139 * stdlib/ucontext.h: Likewise.
21140
77cdc054
AS
211412011-11-10 Andreas Schwab <schwab@redhat.com>
21142
21143 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21144 (reused_arena): Don't check arena limit.
21145 (arena_get2): Atomically check arena limit.
21146
fe72eebd
UD
211472011-11-08 Ulrich Drepper <drepper@gmail.com>
21148
5f078c32
UD
21149 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21150 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21151
fe72eebd
UD
21152 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21153 instructions.
21154
ae1bc2fa
AS
211552011-11-07 Andreas Schwab <schwab@redhat.com>
21156
7583a88d
AS
21157 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21158 handler when locking.
21159
ae1bc2fa
AS
21160 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21161 Fix size of allocated buffer.
21162
10fb0bfa
AS
211632011-11-04 Andreas Schwab <schwab@redhat.com>
21164
998832a4
AS
21165 [BZ #10103]
21166 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21167 declarations for long double functions.
21168 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21169
10fb0bfa
AS
21170 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21171
3d7ba52b
AS
211722011-11-03 Andreas Schwab <schwab@redhat.com>
21173
a9ae54a1
AS
21174 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21175 installed.
21176
3d7ba52b
AS
21177 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21178 is disabled.
21179
bc8db248
ST
211802011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21181
21182 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21183
45b96dd6
AS
211842011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21185
647776f6
AS
21186 * include/alloca.h (stackinfo_alloca_round): Define.
21187 (extend_alloca): Use it.
21188 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21189 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21190 here.
21191
d91a8b93
AS
21192 * scripts/check-local-headers.sh: Ignore libaudit.h.
21193
45b96dd6
AS
21194 * nscd/Makefile (extra-objs): Make recursively expanded.
21195
432d41ce
UD
211962011-11-01 Ulrich Drepper <drepper@gmail.com>
21197
34372fc6
UD
21198 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21199 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21200
fadb59f8
UD
21201 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21202 * posix/tst-rfc3484-2.c: Likewise.
21203 * posix/tst-rfc3484-3.c: Likewise.
21204
78239589
UD
21205 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21206 process_vm_writev.
21207 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21208 process_vm_writev.
21209 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21210 process_vm_writev from libc using GLIBC_2.15 version.
21211
432d41ce
UD
21212 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21213
02f9c6cf
PP
212142011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21215
21216 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21217 stack usage.
21218
3a2c0242
UD
212192011-10-31 Ulrich Drepper <drepper@gmail.com>
21220
f4ec4833
UD
21221 [BZ #13367]
21222 * nss/getent.c (initgroups_keys): Show error message in case no group
21223 names are given.
21224
3a2c0242
UD
21225 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21226 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21227 __bump_nl_timestamp.
21228 * nscd/connections (nscd_init): When host database is served open
21229 netlink socket and request notification about configuration changes.
21230 (main_loop_poll): Track netlink file descriptor and bump timestamp
21231 in case data becomes available.
21232 (main_loop_epoll): Likewise.
21233 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21234 (database_pers_head): Add extra_data fileds.
21235 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21236 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21237 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21238 Adjust caller.
21239 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21240 in6ai data, call __free_in6ai.
21241 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21242 Add -DHAVE_NETLINK.
21243 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21244 interface information. Reuse previous data if netlink timestamp
21245 is not changed.
21246 (__bump_nl_timestamp): New function.
21247 (__free_in6ai): New function.
21248
636064eb
UD
212492011-10-30 Ulrich Drepper <drepper@gmail.com>
21250
21251 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21252 close_not_cancel_no_status here.
21253 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21254
9beb2334
UD
212552011-10-29 Ulrich Drepper <drepper@gmail.com>
21256
6ef76f3b
UD
21257 [BZ #13276]
21258 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21259 return value.
21260
0ffc4f3e 21261 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21262 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21263 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21264
cb95113e
UD
212652011-07-03 Andreas Jaeger <aj@suse.de>
21266
21267 [BZ #10709]
21268 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21269 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21270 * math/libm-test.inc (sin_test): Add test case.
21271
a1b560ff
UD
212722011-10-29 Ulrich Drepper <drepper@gmail.com>
21273
c9aaface
UD
21274 [BZ #13337]
21275 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21276 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21277
d272e7f1
UD
21278 * elf/chroot_canon.c (chroot_canon): Cleanups.
21279
1bc33071
UD
21280 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21281
1760874d
TJ
21282 [BZ #13335]
21283 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21284 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21285
51d91b18
UD
21286 * string/test-strchr.c: Make usable for strchrnul testing.
21287 * string/test-strchrnul.c: New file.
21288 * string/Makefile (strop-tests): Add strchrnul.
21289
a1b560ff 21290 * po/it.po: Update from translation team.
b611fb81 21291 * po/es.po: Likewise.
a1b560ff 21292
a5b81e1f
UD
212932011-10-28 Ulrich Drepper <drepper@gmail.com>
21294
fd52bc6d
UD
21295 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21296 the three constants needed as parameters. Drop the others.
21297 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21298 __m128i_strloadu_tolower.
52e4b9eb
UD
21299 Create and initialize variable zero and use it in all the places
21300 where _mm_setzero_si128 was used.
fd52bc6d 21301
a5b81e1f
UD
21302 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21303 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21304 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21305 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21306 anymore.
21307 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21308 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21309 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21310 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21311 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21312 __mpranred, __mptan.
21313 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21314 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21315 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21316 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21317 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21318 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21319 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21320 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21321 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21322
b4343346
AS
213232011-10-28 Andreas Schwab <schwab@redhat.com>
21324
0c92d8a8
AS
21325 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21326 redefine if SHARED.
21327 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21328
b4343346
AS
21329 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21330 wide char related routines to wcsmbs subdir.
21331
3871f58f
AS
213322011-10-27 Andreas Schwab <schwab@redhat.com>
21333
21334 [BZ #13344]
21335 * misc/sys/cdefs.h (__THROWNL): Define.
21336 * posix/unistd.h: Use __THREADNL instead of __THREAD
21337 for memory synchronization functions.
21338
94d44d9f
RM
213392011-10-26 Roland McGrath <roland@hack.frob.com>
21340
21b64b15 21341 [BZ #13349]
94d44d9f
RM
21342 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21343 doesn't exist.
21344 * manual/stdio.texi (Obstack Streams): Node removed.
21345
f6ce9294
AS
213462011-10-26 Andreas Schwab <schwab@redhat.com>
21347
80479147
AS
21348 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21349 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21350 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21351
f6ce9294
AS
21352 * math/math_private.h (math_force_eval): Allow non-addressable
21353 arguments.
21354 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21355
618280a1
UD
213562011-10-25 Ulrich Drepper <drepper@gmail.com>
21357
e0016b11
UD
21358 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21359 file is not needed.
21360
21361 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21362 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21363 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21364 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21365 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21366 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21367 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21368 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21369 Add AVX variants.
21370 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21371 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21372 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21373 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21374 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21375 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21376 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21377 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21378 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21379 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21380 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21381 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21382 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21383 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21384 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21385 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21386 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21387 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21388 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21389
21390 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21391 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21392
618280a1
UD
21393 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21394 place. Use VEX encoding when compiling for AVX.
21395
37822576
AS
213962011-10-25 Andreas Schwab <schwab@redhat.com>
21397
1f1e1947
AS
21398 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21399 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21400
37822576
AS
21401 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21402
31ea014d
UD
214032011-10-25 Ulrich Drepper <drepper@gmail.com>
21404
d7826aa1 21405 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21406 useless if() expression.
d7826aa1
UD
21407 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21408 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21409 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21410 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21411 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21412 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21413 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21414 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21415 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21416 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21417 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21418 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21419 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21420 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21421 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21422 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21423 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21424 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21425 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21426
31ea014d
UD
21427 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21428
16437fec
AS
214292011-10-25 Andreas Schwab <schwab@redhat.com>
21430
21431 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21432 condition.
21433 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21434
31d3cc00
UD
214352011-10-25 Ulrich Drepper <drepper@gmail.com>
21436
21437 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21438 .text section. Avoid duplicate constants.
21439 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21440 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21441 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21443 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21444 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21445 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21446 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21447 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21448 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21449 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21450 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21451 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21452 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21453 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21454 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21455 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21456 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21457 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21458 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21459 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21460 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21461 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21462 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21463 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21464 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21465 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21466 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21467 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21468 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21469 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21470 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21471 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21472 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21473 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21474 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21475 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21476 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21477 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21478 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21479 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21480 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21481 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21482 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21483 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21484
58985aa9
UD
214852011-10-24 Ulrich Drepper <drepper@gmail.com>
21486
202c9deb
UD
21487 * sysdeps/x86_64/dla.h: Move to ...
21488 * sysdeps/x86_64/fpu/dla.h: ...here.
21489 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21490 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21491
af968f62
UD
21492 * config.make.in: Add have-mfma4 entry.
21493 * configure.in: Substitute libc_cv_cc_fma4.
21494 * math/Makefile (dbl-only-routines): Add sincostab.
21495 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21496 Use __sincostab not sincos.
21497 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21498 name is a macro.
21499 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21500 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21501 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21503 using __copysign.
21504 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21505 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21506 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21507 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21508 and __inv.
21509 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21510 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21511 __copysign.
21512 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21513 define aliases when function name is a macro.
21514 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21515 sysdeps/ieee754/dbl-64/sincos.tbl.
21516 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21517 fma4-enabled routines.
21518 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21519 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21520 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21521 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21522 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21523 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21524 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21525 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21526 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21527 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21528 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21529 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21530 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21531 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21532 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21533 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21534 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21535 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21536 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21537 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21538 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21539 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21540 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21541 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21542 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21543 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21544 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21545 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21546 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21547 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21548
58985aa9
UD
21549 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21550 rename.
21551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21552 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21554 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21559
a201fbcf
AS
215602011-10-24 Andreas Schwab <schwab@redhat.com>
21561
21562 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21563
fc2ee42a
LD
215642011-10-23 Ulrich Drepper <drepper@gmail.com>
21565
bb3129bd
UD
21566 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21567
0275fff8
UD
21568 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21569 prediction.
21570 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21571
2fa2ae85
UD
21572 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21573 Remove unused variable magic_bits.
21574 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21575
fc2ee42a
LD
21576 * string/strnlen.c: Define and use STRNLEN macro.
21577 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21578 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21579 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21580 * wcsmbs/wcslen.c: Define and use WCSLEN.
21581 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21582 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21583 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21584 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21585 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21586 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21587 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21588
ce7dd29f
LD
215892011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21590
21591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21592 strnlen-sse2-no-bsf.
21593 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21594 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21595 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21596 Add strnlen support.
21597 (USE_AS_STRNLEN): New macro.
21598 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21599 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21600 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21601 * sysdeps/x86_64/wcslen.S: New file.
21602
979c70a3
MZ
216032011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21604
21605 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21606 XMM-moves are used for copying on small sizes.
21607
2d09f82f
LD
216082011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21609
21610 * wcsmbs/Makefile (strop-tests): Add wcschr.
21611 * wcsmbs/test-wcschr.c: New file.
21612 * string/test-strchr.c: Update.
21613 Add wcschr support.
21614 (WIDE): New macro.
21615
619fccca
LD
216162011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21617
2d09f82f 21618 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21619 * wcsmbs/test-wcslen.c: New file.
21620 * string/test-strlen.c: Update.
21621 Add wcslen support.
21622 (WIDE): New macro.
21623
09f699ea
UD
216242011-10-23 Ulrich Drepper <drepper@gmail.com>
21625
21626 * po/it.po: Update from translation team.
21627
95584d3b
LD
216282011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21629
21630 * sysdeps/x86_64/wcscmp.S: Update.
21631 Fix wrong comparison semantics.
21632 wcscmp shall use signed comparison not unsigned.
21633 Don't use substraction to avoid overflow bug.
21634 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21635 * wcsmbc/wcscmp.c: Likewise.
21636 * string/test-strcmp.c: Likewise.
21637 Add new tests to check cases with negative values.
21638
c8b3296b
UD
216392011-10-23 Ulrich Drepper <drepper@gmail.com>
21640
21641 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21642 * sysdeps/x86_64/dla.h: ...here. New file.
21643 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21644 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21645 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21646 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21647 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21648 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21649 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21651 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21652
246ad57a
AS
216532011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21654
21655 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21656 __ynl_finite aliases.
21657
a1a87169
UD
216582011-10-22 Ulrich Drepper <drepper@gmail.com>
21659
0d355eb7
UD
21660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21661
a1a87169
UD
21662 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21663 define DLA_FMA.
21664 [DLA_FMA] (EMULV): Use DLA_FMA.
21665 [DLA_FMA] (MUL12): Use EMULV.
21666 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21667 that are not needed.
21668 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21669 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21671 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21673 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21674 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21675
ee2aafe0
AS
216762011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21677
21678 * math/s_nan.c: Undef __nan.
21679 * math/s_nanf.c: Undef __nanf.
21680 * math/s_nanl.c: Undef __nanl.
21681 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21682 "math_private.h".
21683
bc62c2fb
UD
216842011-10-22 Ulrich Drepper <drepper@gmail.com>
21685
77425c63
UD
21686 * math/s_catan.c: Add branch predictions.
21687 * math/s_catanf.c: Likewise.
21688 * math/s_catanh.c: Likewise.
21689 * math/s_catanhf.c: Likewise.
21690 * math/s_catanhl.c: Likewise.
21691 * math/s_catanl.c: Likewise.
21692 * math/s_cexp.c: Likewise.
21693 * math/s_cexpf.c: Likewise.
21694 * math/s_cexpl.c: Likewise.
21695 * math/s_clog.c: Likewise.
21696 * math/s_clog10.c: Likewise.
21697 * math/s_clog10f.c: Likewise.
21698 * math/s_clog10l.c: Likewise.
21699 * math/s_clogf.c: Likewise.
21700 * math/s_clogl.c: Likewise.
21701 * math/s_csqrt.c: Likewise.
21702 * math/s_csqrtf.c: Likewise.
21703 * math/s_csqrtl.c: Likewise.
21704 * math/s_ctanf.c: Likewise.
21705 * math/s_ctanh.c: Likewise.
21706 * math/s_ctanhf.c: Likewise.
21707 * math/s_ctanhl.c: Likewise.
21708 * math/s_ctanl.c: Likewise.
21709
bc62c2fb
UD
21710 * math/math_private.h: Define __nan, __nanf, __nanl.
21711 * math/s_cacosh.c: Include <math_private.h>.
21712 * math/s_cacoshl.c: Likewise.
21713 * math/s_casinh.c: Likewise.
21714 * math/s_casinhf.c: Likewise.
21715 * math/s_casinhl.c: Likewise.
21716 * math/s_ccos.c: Rely entire on ccosh.
21717 * math/s_ccosf.c: Rely entire on ccoshf.
21718 * math/s_ccosl.c: Rely entirely on ccoshl.
21719 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21720 Remove tests for FE_INVALID.
21721 * math/s_ccoshf.c: Likewise.
21722 * math/s_ccoshl.c: Likewise.
21723 * math/s_csin.c: Likewise.
21724 * math/s_csinf.c: Likewise.
21725 * math/s_csinh.c Likewise.
21726 * math/s_csinhf.c: Likewise.
21727 * math/s_csinhl.c: Likewise.
21728 * math/s_csinl.c: Likewise.
21729 * math/s_ctan.c: Likewise.
21730 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21731 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21732 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21733
8ec250a4
UD
217342011-10-21 Ulrich Drepper <drepper@gmail.com>
21735
c196fed8
UD
21736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21737 compilation problems.
21738
8ec250a4
UD
21739 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21740 __builtin_expect.
21741
8d4f46c6
UD
217422011-10-20 Ulrich Drepper <drepper@gmail.com>
21743
ed72b654
UD
21744 * sysdeps/i386/configure.in: Test for -mfma4 option.
21745 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21746 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21747 COMMON_CPUID_INDEX_80000001.
21748 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21749 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21750 use it if FMA3 is not supported.
21751 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21752
8d4f46c6
UD
21753 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21754 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21755
d45c60c2
AS
217562011-10-20 Andreas Schwab <schwab@redhat.com>
21757
21758 [BZ #12892]
21759 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21760 it would create a cycle with a link time dependency.
21761
d9a4d2ab
UD
217622011-10-19 Ulrich Drepper <drepper@gmail.com>
21763
855d1560
UD
21764 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21765 instruction.
21766 * string/Makefile (strop-tests): Add rawmemchr.
21767 * string/test-rawmemchr.c: New file.
21768
d9a4d2ab
UD
21769 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21770 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21771 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21772 when compiling str{,n}casecmp and when AVX is available. Hook up
21773 new optimized code in initializers.
21774
8f3b1ffe
AS
217752011-10-19 Andreas Schwab <schwab@redhat.com>
21776
21777 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21778 __feraiseexcept instead of feraiseexcept.
21779
d38f1dba
UD
217802011-10-18 Ulrich Drepper <drepper@gmail.com>
21781
d9a8d0ab
UD
21782 * math/math_private.h: Define defaults for libc_fetestexcept and
21783 libc_feupdateenv.
21784 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21785 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21786 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21787 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21788 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21789 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21790 libc_fetestexcept and libc_feupdateenv.
21791
4855e3dd
UD
21792 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21793 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21794 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21795 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21796 libc_feholdexcept_setround.
21797
581d30e3
UD
21798 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21799 Add s_nearbyint-c and s_nearbyintf-c.
21800 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21801 nearbyintf inlines.
21802 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21803 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21804 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21805 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21806
d38f1dba
UD
21807 * math/math_private.h: Define defaults for libc_fegetround,
21808 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21809 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21810 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21811 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21812 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21813 standard functions.
21814 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21815 Remove comments and hacks for old compiler versions.
21816 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21817 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21818 libc_feholdexceptl.
21819
caa6c9d8
AS
218202011-10-18 Andreas Schwab <schwab@redhat.com>
21821
21822 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
21823 (__feraiseexcept_renamed): Add __NTH.
21824 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
21825 namespace violations.
21826
97c066e6
UD
218272011-10-17 Ulrich Drepper <drepper@gmail.com>
21828
99ce7b04
UD
21829 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21830
1004d182
UD
21831 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21832
228a984d
UD
21833 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21834 recently added interfaces.
21835 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21836
c8553a6a
UD
21837 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21838 about macro parameter expansion.
21839
ed22dcf6
UD
21840 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21841 __NO_MATH_INLINES is defined. Cleanups.
21842
21843 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21844 and __floorf is target has SSE4.1.
21845 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21846 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21847 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21848 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21849
b171c137
UD
21850 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21851 name.
21852 (floorf): Likewise.
21853
97c066e6
UD
21854 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21855
629f62ef
AS
218562011-10-17 Andreas Schwab <schwab@redhat.com>
21857
49a43d80
AS
21858 * misc/sys/cdefs.h: Fix last change.
21859
629f62ef
AS
21860 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21861 database lookup.
21862
e453f6cd
UD
218632011-10-16 Ulrich Drepper <drepper@gmail.com>
21864
aa78043a
UD
21865 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21866
ad0f5cad
UD
21867 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21868 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21869 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21870 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21871 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21872 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21873 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21874 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21875 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21876 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21877 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21878 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21879 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21880 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21881 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21882 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21883 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21884 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21885 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21886 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21887 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21888 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21889
21890 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21891 ceil, ceilf, floor, floorf.
21892
21893 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21894 Perform IRELATIVE relocations last.
21895
e453f6cd
UD
21896 * elf/do-rel.h: Add another parameter nrelative, replacing the
21897 local variable with the same name. Change name of the function
21898 to end in Rel or Rela (uppercase).
21899 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21900 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21901 elf_dynamic_do_##reloc function.
21902
fd5bdc09
UD
219032011-10-15 Ulrich Drepper <drepper@gmail.com>
21904
79b195b5
UD
21905 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21906 is sufficient, at least on modern CPUs.
21907
d4a28569
UD
21908 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21909
b61099b5
UD
21910 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21911 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21912
bcf01e6d
UD
21913 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21914 __expl_finite.
21915 * math/bits/math-finite.h: Add entries for exp.
21916 * math/e_expl.c: Add __*_finite alias.
21917 * sysdeps/i386/fpu/e_exp.S: Likewise.
21918 * sysdeps/i386/fpu/e_expf.S: Likewise.
21919 * sysdeps/i386/fpu/e_expl.c: Likewise.
21920 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21921 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21922 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21923 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21924 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21925 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21926 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21927
ba1a0d59
UD
21928 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21929 is sufficient, at least on modern CPUs.
21930
fd5bdc09
UD
21931 * ctype/ctype-info.c (__ctype_init): Define.
21932 * include/ctype.h (__ctype_init): Declare.
21933 (__ctype_b_loc): The variable is always initialized.
21934 (__ctype_toupper_loc): Likewise.
21935 (__ctype_tolower_loc): Likewise.
21936 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21937 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21938
7872cfb0
AS
219392011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21940
b468825a
AS
21941 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21942
7872cfb0
AS
21943 * configure.in: Also look in $cxxmachine/include for C++ system
21944 headers.
21945
be13f7bf
LD
219462011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21947
21948 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21949 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21950 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21951 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21952 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21953 (USE_AS_WMEMCMP): New macro.
21954 Fixing indents.
21955 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21956 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21957 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21958 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21960 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21961 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21962 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21963 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21964 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21965 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21966 (USE_AS_WMEMCMP): New macro.
21967 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21968 * sysdeps/string/test-memcmp.c: Update.
21969 Fix simple_wmemcmp.
21970 Add new tests.
21971 * wcsmbs/wmemcmp.c: Update.
21972 (WMEMCMP): New macro.
21973 Fix overflow bug.
21974
556a2007
AJ
219752011-10-12 Andreas Jaeger <aj@suse.de>
21976
21977 [BZ #13268]
21978 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21979
538faaa7
UD
219802011-10-15 Ulrich Drepper <drepper@gmail.com>
21981
ab6737ff
UD
21982 * libio/iofwide.c (do_length): Avoid warning.
21983
538faaa7
UD
21984 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21985
396a21b1
UD
219862011-10-14 Ulrich Drepper <drepper@gmail.com>
21987
cdf2901f
UD
21988 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21989
38ad40ce
UD
21990 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21991 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21992 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21993 * sysdeps/i386/i686/fpu/e_log.S: New file.
21994 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21995 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21996
396a21b1
UD
21997 * ctype/ctype.h: Add support for inlined isXXX functions when
21998 compiling C++ code.
21999
6b1f68c9
AS
220002011-10-14 Andreas Schwab <schwab@redhat.com>
22001
349290c0
AS
22002 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22003
6b1f68c9
AS
22004 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22005
f2282d42
RM
220062011-10-13 Roland McGrath <roland@hack.frob.com>
22007
22008 [BZ #13291]
22009 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22010
5298ffa8
AS
220112011-10-13 Andreas Schwab <schwab@redhat.com>
22012
714fad23
AS
22013 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22014 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22015 feraiseexcept.
22016
81dcc7fb
AS
22017 * sysdeps/x86_64/memrchr.S: Check for zero size.
22018
5298ffa8
AS
22019 * string/stratcliff.c: Add memrchr tests.
22020
951fbcec
LD
220212011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22022
22023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22024 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22025 rawmemchr-sse2 rawmemchr-sse2-bsf.
22026 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22027 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22028 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22029 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22030 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22031 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22032 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22033 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22034 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22035 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22036 * string/memrchr.c (MEMRCHR): New macro.
22037
0ac5ae23
UD
220382011-10-12 Ulrich Drepper <drepper@gmail.com>
22039
22040 Add integration with gcc's -ffinite-math-only and optimize wrapper
22041 functions in libm.
22042 * Versions.def: Define GLIBC_2.15 version for libm.
22043 * math/Makefile (headers): Add bits/math-finite.h.
22044 * math/bits/math-finite.h: New file.
22045 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22046 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22047 * math/e_acoshl.c: Add __*_finite alias.
22048 * math/e_acosl.c: Likewise.
22049 * math/e_asinl.c: Likewise.
22050 * math/e_atan2l.c: Likewise.
22051 * math/e_atanhl.c: Likewise.
22052 * math/e_coshl.c: Likewise.
22053 * math/e_exp10.c: Likewise.
22054 * math/e_exp10f.c: Likewise.
22055 * math/e_exp10l.c: Likewise.
22056 * math/e_exp2l.c: Likewise.
22057 * math/e_fmodl.c: Likewise.
22058 * math/e_gammal_r.c: Likewise.
22059 * math/e_hypotl.c: Likewise.
22060 * math/e_j0l.c: Likewise.
22061 * math/e_j1l.c: Likewise.
22062 * math/e_jnl.c: Likewise.
22063 * math/e_lgammal_r.c: Likewise.
22064 * math/e_log10l.c: Likewise.
22065 * math/e_log2l.c: Likewise.
22066 * math/e_logl.c: Likewise.
22067 * math/e_powl.c: Likewise.
22068 * math/e_sinhl.c: Likewise.
22069 * math/e_sqrtl.c: Likewise.
22070 * math/e_scalb.c: Completely rewritten and optimized.
22071 * math/e_scalbf.c: Likewise.
22072 * math/e_scalbl.c: Likewise.
22073 * math/w_acos.c: Likewise.
22074 * math/w_acosf.c: Likewise.
22075 * math/w_acosl.c: Likewise.
22076 * math/w_acosh.c: Likewise.
22077 * math/w_acoshf.c: Likewise.
22078 * math/w_acoshl.c: Likewise.
22079 * math/w_asin.c: Likewise.
22080 * math/w_asinf.c: Likewise.
22081 * math/w_asinl.c: Likewise.
22082 * math/w_atan2.c: Likewise.
22083 * math/w_atan2f.c: Likewise.
22084 * math/w_atan2l.c: Likewise.
22085 * math/w_atanh.c: Likewise.
22086 * math/w_atanhf.c: Likewise.
22087 * math/w_atanhl.c: Likewise.
22088 * math/w_exp10.c: Likewise.
22089 * math/w_exp10f.c: Likewise.
22090 * math/w_exp10l.c: Likewise.
22091 * math/w_fmod.c: Likewise.
22092 * math/w_fmodf.c: Likewise.
22093 * math/w_fmodl.c: Likewise.
22094 * math/w_j0.c: Likewise.
22095 * math/w_j0f.c: Likewise.
22096 * math/w_j0l.c: Likewise.
22097 * math/w_j1.c: Likewise.
22098 * math/w_j1f.c: Likewise.
22099 * math/w_j1l.c: Likewise.
22100 * math/w_jn.c: Likewise.
22101 * math/w_jnf.c: Likewise.
22102 * math/w_log.c: Likewise.
22103 * math/w_logf.c: Likewise.
22104 * math/w_logl.c: Likewise.
22105 * math/w_log10.c: Likewise.
22106 * math/w_log10f.c: Likewise.
22107 * math/w_log10l.c: Likewise.
22108 * math/w_log2.c: Likewise.
22109 * math/w_log2f.c: Likewise.
22110 * math/w_log2l.c: Likewise.
22111 * math/w_pow.c: Likewise.
22112 * math/w_powf.c: Likewise.
22113 * math/w_powl.c: Likewise.
22114 * math/w_remainder.c: Likewise.
22115 * math/w_remainderf.c: Likewise.
22116 * math/w_remainderl.c: Likewise.
22117 * math/w_scalb.c: Likewise.
22118 * math/w_scalbf.c: Likewise.
22119 * math/w_scalbl.c: Likewise.
22120 * math/w_sqrt.c: Likewise.
22121 * math/w_sqrtf.c: Likewise.
22122 * math/w_sqrtl.c: Likewise.
22123 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22124 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22125 used.
22126 * math/math_private.h: Declare __kernel_standard_f.
22127 * math/w_cosh.c: Remove cruft and optimize a bit.
22128 * math/w_coshf.c: Likewise.
22129 * math/w_coshl.c: Likewise.
22130 * math/w_exp2.c: Likewise.
22131 * math/w_exp2f.c: Likewise.
22132 * math/w_exp2l.c: Likewise.
22133 * math/w_hypot.c: Likewise.
22134 * math/w_hypotf.c: Likewise.
22135 * math/w_hypotl.c: Likewise.
22136 * math/w_lgamma.c: Likewise.
22137 * math/w_lgamma_r.c: Likewise.
22138 * math/w_lgammaf.c: Likewise.
22139 * math/w_lgammaf_r.c: Likewise.
22140 * math/w_lgammal.c: Likewise.
22141 * math/w_lgammal_r.c: Likewise.
22142 * math/w_sinh.c: Likewise.
22143 * math/w_sinhf.c: Likewise.
22144 * math/w_sinhl.c: Likewise.
22145 * math/w_tgamma.c: Likewise.
22146 * math/w_tgammaf.c: Likewise.
22147 * math/w_tgammal.c: Likewise.
22148 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22149 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22150 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22151 Minor optimizations. Pretty printing. Remove cruft.
22152 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22153 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22154 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22155 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22156 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22157 * sysdeps/i386/fpu/e_asin.S: Likewise.
22158 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22159 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22160 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22161 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22162 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22163 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22164 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22165 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22166 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22167 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22168 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22169 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22170 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22171 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22172 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22173 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22174 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22175 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22176 * sysdeps/i386/fpu/e_log.S: Likewise.
22177 * sysdeps/i386/fpu/e_log10.S: Likewise.
22178 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22179 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22180 * sysdeps/i386/fpu/e_log2.S: Likewise.
22181 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22182 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22183 * sysdeps/i386/fpu/e_logf.S: Likewise.
22184 * sysdeps/i386/fpu/e_logl.S: Likewise.
22185 * sysdeps/i386/fpu/e_pow.S: Likewise.
22186 * sysdeps/i386/fpu/e_powf.S: Likewise.
22187 * sysdeps/i386/fpu/e_powl.S: Likewise.
22188 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22189 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22190 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22191 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22192 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22193 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22194 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22195 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22196 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22197 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22198 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22199 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22200 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22201 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22202 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22203 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22204 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22205 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22206 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22207 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22208 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22209 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22210 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22211 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22212 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22213 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22214 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22215 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22216 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22217 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22218 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22219 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22220 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22221 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22222 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22223 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22224 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22225 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22226 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22227 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22228 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22229 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22230 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22231 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22232 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22233 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22234 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22235 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22236 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22237 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22238 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22239 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22240 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22241 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22242 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22243 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22244 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22245 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22246 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22247 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22248 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22249 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22250 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22251 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22252 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22253 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22254 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22255 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22256 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22257 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22258 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22259 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22260 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22261 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22262 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22263 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22264 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22265 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22266 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22267 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22268 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22269 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22270 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22271 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22272 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22273 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22274 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22275 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22276 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22277 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22278 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22279 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22280 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22281 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22282 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22283 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22284 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22285 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22286 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22287 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22288 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22289 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22290 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22291 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22292 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22293 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22294 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22295 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22296 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22297 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22298 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22299 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22300 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22301 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22302 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22303 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22304 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22305 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22306 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22307 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22308 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22309 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22310 (__isnanf): Likewise.
22311 (__isinf_ns): Likewise.
22312 (__isinf_nsf): Likewise.
22313 (__finite): Likewise.
22314 (__finitef): Likewise.
22315 (__ieee754_sqrt): Define as macro.
22316 (__ieee754_sqrtf): Define as macro.
22317 (__ieee754_sqrtl): Define as macro.
22318 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22319 inlined copy.
22320 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22321 __FINITE_MATH_ONLY__ consistent.
22322 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22323
12cc2fcd
AS
223242011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22325
a843a204
AS
22326 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22327 of rawmemchr.
22328
12cc2fcd
AS
22329 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22330
c853acd5
UD
223312011-10-09 Ulrich Drepper <drepper@gmail.com>
22332
22333 * po/ja.po: Update from translation team.
22334
c658d255
RM
223352011-10-08 Roland McGrath <roland@hack.frob.com>
22336
110946e4
RM
22337 * locale/programs/locarchive.c (prepare_address_space): New function.
22338 (create_archive, enlarge_archive, open_archive): Use it.
22339
50604220
RM
22340 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22341 inside [SHARED], where it is used.
22342
c658d255
RM
22343 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22344
22345 * nss/getent.c (netgroup_keys): Remove unused variable.
22346 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22347
6a621eb7
UD
223482011-10-08 Ulrich Drepper <drepper@gmail.com>
22349
7edb55ce
UD
22350 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22351 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22352 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22353 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22354 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22355 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22356 * math/Makefile (libm-calls): Add s_isinf_ns.
22357 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22358 * math/multc3.c: Likewise.
22359 * math/s_casin.c: Likewise.
22360 * math/s_casinf.c: Likewise.
22361 * math/s_casinl.c: Likewise.
22362 * math/s_ccos.c: Likewise.
22363 * math/s_ccosf.c: Likewise.
22364 * math/s_ccosl.c: Likewise.
22365 * math/s_ctan.c: Likewise.
22366 * math/s_ctanf.c: Likewise.
22367 * math/s_ctanh.c: Likewise.
22368 * math/s_ctanhf.c: Likewise.
22369 * math/s_ctanhl.c: Likewise.
22370 * math/s_ctanl.c: Likewise.
22371 * math/w_fmod.c: Likewise.
22372 * math/w_fmodf.c: Likewise.
22373 * math/w_fmodl.c: Likewise.
22374 * math/w_remainder.c: Likewise.
22375 * math/w_remainderf.c: Likewise.
22376 * math/w_remainderl.c: Likewise.
22377 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22378 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22379 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22380 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22381 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22382 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22383 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22384 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22385
187da0ae
UD
22386 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22387 of the number.
22388 * stdio-common/printf_fphex.c: Likewise.
22389 * stdio-common/printf_size.c: Likewise.
22390
9277c064
UD
22391 * math/e_exp10.c: Include math_private.h using <...> not "...".
22392 * math/e_exp10f.c: Likewise.
22393 * math/e_exp10l.c: Likewise.
22394 * math/e_exp2l.c: Likewise.
22395 * math/e_j0l.c: Likewise.
22396 * math/e_j1l.c: Likewise.
22397 * math/e_jnl.c: Likewise.
22398 * math/e_lgammal_r.c: Likewise.
22399 * math/e_rem_pio2l.c: Likewise.
22400 * math/e_scalb.c: Likewise.
22401 * math/e_scalbf.c: Likewise.
22402 * math/e_scalbl.c: Likewise.
22403 * math/k_cosl.c: Likewise.
22404 * math/k_sinl.c: Likewise.
22405 * math/k_tanl.c: Likewise.
22406 * math/s_cacoshf.c: Likewise.
22407 * math/s_catan.c: Likewise.
22408 * math/s_catanf.c: Likewise.
22409 * math/s_catanh.c: Likewise.
22410 * math/s_catanhf.c: Likewise.
22411 * math/s_catanhl.c: Likewise.
22412 * math/s_catanl.c: Likewise.
22413 * math/s_ccosh.c: Likewise.
22414 * math/s_ccoshf.c: Likewise.
22415 * math/s_ccoshl.c: Likewise.
22416 * math/s_cexp.c: Likewise.
22417 * math/s_cexpf.c: Likewise.
22418 * math/s_cexpl.c: Likewise.
22419 * math/s_clog.c: Likewise.
22420 * math/s_clog10.c: Likewise.
22421 * math/s_clog10f.c: Likewise.
22422 * math/s_clog10l.c: Likewise.
22423 * math/s_clogf.c: Likewise.
22424 * math/s_clogl.c: Likewise.
22425 * math/s_csin.c: Likewise.
22426 * math/s_csinf.c: Likewise.
22427 * math/s_csinh.c: Likewise.
22428 * math/s_csinhf.c: Likewise.
22429 * math/s_csinhl.c: Likewise.
22430 * math/s_csinl.c: Likewise.
22431 * math/s_csqrt.c: Likewise.
22432 * math/s_csqrtf.c: Likewise.
22433 * math/s_csqrtl.c: Likewise.
22434 * math/s_ctan.c: Likewise.
22435 * math/s_ctanf.c: Likewise.
22436 * math/s_ctanh.c: Likewise.
22437 * math/s_ctanhf.c: Likewise.
22438 * math/s_ctanhl.c: Likewise.
22439 * math/s_ctanl.c: Likewise.
22440 * math/s_ldexp.c: Likewise.
22441 * math/s_ldexpf.c: Likewise.
22442 * math/s_ldexpl.c: Likewise.
22443 * math/s_significand.c: Likewise.
22444 * math/s_significandf.c: Likewise.
22445 * math/s_significandl.c: Likewise.
22446 * math/w_acos.c: Likewise.
22447 * math/w_acosf.c: Likewise.
22448 * math/w_acosh.c: Likewise.
22449 * math/w_acoshf.c: Likewise.
22450 * math/w_acoshl.c: Likewise.
22451 * math/w_acosl.c: Likewise.
22452 * math/w_asin.c: Likewise.
22453 * math/w_asinf.c: Likewise.
22454 * math/w_asinl.c: Likewise.
22455 * math/w_atan2.c: Likewise.
22456 * math/w_atan2f.c: Likewise.
22457 * math/w_atan2l.c: Likewise.
22458 * math/w_atanh.c: Likewise.
22459 * math/w_atanhf.c: Likewise.
22460 * math/w_atanhl.c: Likewise.
22461 * math/w_cosh.c: Likewise.
22462 * math/w_coshf.c: Likewise.
22463 * math/w_coshl.c: Likewise.
22464 * math/w_dremf.c: Likewise.
22465 * math/w_exp10.c: Likewise.
22466 * math/w_exp10f.c: Likewise.
22467 * math/w_exp10l.c: Likewise.
22468 * math/w_exp2.c: Likewise.
22469 * math/w_exp2f.c: Likewise.
22470 * math/w_fmod.c: Likewise.
22471 * math/w_fmodf.c: Likewise.
22472 * math/w_fmodl.c: Likewise.
22473 * math/w_hypot.c: Likewise.
22474 * math/w_hypotf.c: Likewise.
22475 * math/w_hypotl.c: Likewise.
22476 * math/w_j0.c: Likewise.
22477 * math/w_j0f.c: Likewise.
22478 * math/w_j0l.c: Likewise.
22479 * math/w_j1.c: Likewise.
22480 * math/w_j1f.c: Likewise.
22481 * math/w_j1l.c: Likewise.
22482 * math/w_jn.c: Likewise.
22483 * math/w_jnf.c: Likewise.
22484 * math/w_jnl.c: Likewise.
22485 * math/w_lgamma.c: Likewise.
22486 * math/w_lgamma_r.c: Likewise.
22487 * math/w_lgammaf.c: Likewise.
22488 * math/w_lgammaf_r.c: Likewise.
22489 * math/w_lgammal.c: Likewise.
22490 * math/w_lgammal_r.c: Likewise.
22491 * math/w_log.c: Likewise.
22492 * math/w_log10.c: Likewise.
22493 * math/w_log10f.c: Likewise.
22494 * math/w_log10l.c: Likewise.
22495 * math/w_log2.c: Likewise.
22496 * math/w_log2f.c: Likewise.
22497 * math/w_log2l.c: Likewise.
22498 * math/w_logf.c: Likewise.
22499 * math/w_logl.c: Likewise.
22500 * math/w_pow.c: Likewise.
22501 * math/w_powf.c: Likewise.
22502 * math/w_powl.c: Likewise.
22503 * math/w_remainder.c: Likewise.
22504 * math/w_remainderf.c: Likewise.
22505 * math/w_remainderl.c: Likewise.
22506 * math/w_scalb.c: Likewise.
22507 * math/w_scalbf.c: Likewise.
22508 * math/w_scalbl.c: Likewise.
22509 * math/w_sinh.c: Likewise.
22510 * math/w_sinhf.c: Likewise.
22511 * math/w_sinhl.c: Likewise.
22512 * math/w_sqrt.c: Likewise.
22513 * math/w_sqrtf.c: Likewise.
22514 * math/w_sqrtl.c: Likewise.
22515 * math/w_tgamma.c: Likewise.
22516 * math/w_tgammaf.c: Likewise.
22517 * math/w_tgammal.c: Likewise.
22518
6a621eb7
UD
22519 * po/ja.po: Update from translation team.
22520
bf582445
AJ
225212011-09-29 Andreas Jaeger <aj@suse.de>
22522
f9efbf3a
AJ
22523 [BZ #13179]
22524 * sunrpc/netname.c (netname2host): Fix logic.
22525
bf582445
AJ
22526 [BZ #6779]
22527 [BZ #6783]
22528 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22529 correctly.
22530 * math/w_remainder.c (__remainder): Likewise.
22531 * math/w_remainderf.c (__remainderf): Likewise.
22532 * math/libm-test.inc (remainder_test): Add test cases.
22533
48693bea
AK
225342011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22535
22536 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22537 sdiv_qrnnd.
22538
42622229
LD
225392011-10-07 Ulrich Drepper <drepper@gmail.com>
22540
22541 * string/test-memcmp.c: Avoid unncessary #defines.
22542 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22543
093ecf92
LD
225442011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22545
22546 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22547 Use new sse2 version for core i3 - i7 as it's faster
22548 than sse42 version.
22549 (bit_Prefer_PMINUB_for_stringop): New.
22550 * sysdeps/x86_64/rawmemchr.S: Update.
22551 Replace with faster SSE2 version.
22552 * sysdeps/x86_64/memrchr.S: New file.
22553 * sysdeps/x86_64/memchr.S: Update.
22554 Replace with faster SSE2 version.
22555
fde56e5c
MP
225562011-09-12 Marek Polacek <mpolacek@redhat.com>
22557
22558 * elf/dl-load.c (lose): Add cast to avoid warning.
22559
21fd49a9
UD
225602011-10-07 Ulrich Drepper <drepper@gmail.com>
22561
5a06e643
UD
22562 * po/ca.po: Update from translation team.
22563
684ae515
UD
22564 * inet/getnetgrent_r.c: Hook up nscd.
22565 * nscd/Makefile (routines): Add nscd_netgroup.
22566 (nscd-modules): Add netgroupcache.
22567 (CFLAGS-netgroupcache.c): Define.
22568 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22569 (cache_search): Add const to second parameter.
22570 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22571 INNETGR.
22572 (dbs): Add netgrdb entry.
22573 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22574 (verify_persistent_db): Handle netgrdb.
22575 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22576 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22577 GETFDNETGR.
22578 (netgroup_response_header): Define.
22579 (innetgroup_response_header): Define.
22580 (datahead): Add netgroup_response_header and innetgroup_response_header
22581 elements.
22582 * nscd/nscd.conf: Add entries for netgroup cache.
22583 * nscd/nscd.h (dbtype): Add netgrdb.
22584 (_PATH_NSCD_NETGROUP_DB): Define.
22585 (netgroup_iov_disabled): Declare.
22586 (xmalloc, xcalloc, xrealloc): Move declarations here.
22587 (cache_search): Adjust prototype.
22588 Add netgroup-related prototypes.
22589 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22590 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22591 (__nscd_innetgr): Declare.
22592 * nscd/selinux.c (perms): Use access_vector_t as element type and
22593 add netgroup-related initializers.
22594 * nscd/netgroupcache.c: New file.
22595 * nscd/nscd_netgroup.c: New file.
22596 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22597 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22598 For four parameters use innetgr.
22599 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22600 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22601 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22602 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22603
21fd49a9
UD
22604 * nscd/connections.c (register_traced_file): Don't register file
22605 for disabled databases.
22606
054c0457
UD
226072011-10-06 Ulrich Drepper <drepper@gmail.com>
22608
32b63198
UD
22609 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22610
054c0457
UD
22611 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22612 from tree and freeing node.
22613
64031225
JO
226142011-09-25 Jiri Olsa <jolsa@redhat.com>
22615
22616 * nss/nsswitch.c (__nss_database_lookup): Handle
22617 nss_parse_service_list out of memory case.
22618
0490345c
JO
226192011-09-15 Jiri Olsa <jolsa@redhat.com>
22620
22621 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22622 out of memory case.
22623
3a62d00d
AS
226242011-10-04 Andreas Schwab <schwab@redhat.com>
22625
22626 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22627 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22628 pass it down.
22629 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22630 elf_machine_rela, elf_machine_lazy_rel.
22631 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22632 (ELF_DYNAMIC_DO_REL): Likewise.
22633 (ELF_DYNAMIC_DO_RELA): Likewise.
22634 (ELF_DYNAMIC_RELOCATE): Likewise.
22635 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22636 to ELF_DYNAMIC_DO_REL.
22637 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22638 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22639 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22640 elf_machine_rela.
22641 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22642 skip_ifunc, don't call ifunc function if non-zero.
22643 (elf_machine_rela): Likewise.
22644 (elf_machine_lazy_rel): Likewise.
22645 (elf_machine_lazy_rela): Likewise.
22646 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22647 (elf_machine_lazy_rel): Likewise.
22648 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22649 Likewise.
22650 (elf_machine_lazy_rel): Likewise.
22651 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22652 Likewise.
22653 (elf_machine_lazy_rel): Likewise.
22654 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22655 (elf_machine_lazy_rel): Likewise.
22656 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22657 (elf_machine_lazy_rel): Likewise.
22658 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22659 (elf_machine_lazy_rel): Likewise.
22660 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22661 (elf_machine_lazy_rel): Likewise.
22662 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22663 (elf_machine_lazy_rel): Likewise.
22664 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22665 (elf_machine_lazy_rel): Likewise.
22666
68577918
UD
226672011-09-28 Ulrich Drepper <drepper@gmail.com>
22668
22669 * nss/nss_files/files-init.c (_nss_files_init): Use static
22670 initialization for all the *_traced_file variables.
22671
68822d74
AS
226722011-09-28 Andreas Schwab <schwab@redhat.com>
22673
22674 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22675
2056100b
RM
226762011-09-27 Roland McGrath <roland@hack.frob.com>
22677
22678 [BZ #13226]
22679 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22680
32c76b63
AS
226812011-09-27 Andreas Schwab <schwab@redhat.com>
22682
22683 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22684 Reread the line before reparsing it.
22685
bf972c9d
AS
226862011-09-26 Andreas Schwab <schwab@redhat.com>
22687
22688 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22689
e057a1b5
JM
226902011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22691 Maxim Kuvyrkov <maxim@codesourcery.com>
22692 Joseph Myers <joseph@codesourcery.com>
22693
22694 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22695 if needed for __stack_chk_guard.
22696
bc7e1c36
RM
226972011-09-19 Roland McGrath <roland@hack.frob.com>
22698
ecb1482f
RM
22699 * sysdeps/posix/spawni.c (script_execute): Always define it.
22700 It will be optimized away if unused.
22701 (maybe_script_execute): New function.
22702 (__spawni): Call it.
22703
bc7e1c36
RM
22704 * Makerules: Don't include tls.make.
22705 (config-tls): Always set to thread.
22706 * tls.make.c: File removed.
22707
1c3b002b
MF
227082011-09-19 Mike Frysinger <vapier@gentoo.org>
22709
22710 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22711 * config.make.in (CPPFLAGS-config): New substituted variable.
22712
2840865d
UD
227132011-09-15 Ulrich Drepper <drepper@gmail.com>
22714
88738eb6
UD
22715 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22716
cbf645a6 22717 [BZ #13192]
2840865d
UD
22718 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22719 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22720
b402e91a
RM
227212011-09-15 Roland McGrath <roland@hack.frob.com>
22722
22723 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22724 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22725 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22726 (CALL_FAIL): Likewise.
22727 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22728 (CALL_FAIL): Macro removed.
22729 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22730
4c1a1f71
UD
227312011-09-15 Ulrich Drepper <drepper@gmail.com>
22732
22733 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22734 for __FINITE_MATH_ONLY__ == 1.
22735
edc121be
AS
227362011-09-15 Andreas Schwab <schwab@redhat.com>
22737
22738 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22739 __ieee754_sqrt instead of sqrt.
22740 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22741 __ieee754_sqrtf instead of sqrtf.
22742 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22743 __floorf instead of floorf.
22744 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22745 __floorf, __truncf instead of floorf, truncf.
22746
cd205654
UD
227472011-09-14 Ulrich Drepper <drepper@gmail.com>
22748
ee4d0315
UD
22749 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22750
cd205654
UD
22751 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22752 __extern_always_inline.
22753 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22754 32-bit.
22755
48b67d71
AS
227562011-09-14 Andreas Schwab <schwab@redhat.com>
22757
22758 * elf/rtld.c (dl_main): Also relocate in dependency order when
22759 doing symbol dependency testing.
22760
1ae12c75
AS
227612011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22762
22763 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22764 Always define `refsym'.
22765
995a80df
AS
227662011-09-13 Andreas Schwab <schwab@redhat.com>
22767
e529793b
AS
22768 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22769 (__FD_ELT): Renamed from __FDELT.
22770 * misc/bits/select2.h (__FD_ELT): Likewise.
22771 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22772 __FD_MASK instead of __FDELT, __FDMASK.
22773 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22774 Likewise.
22775 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22776 Likewise.
22777
52d4fef8
AS
22778 * elf/Makefile (gen-ldd): Fix pattern.
22779
995a80df
AS
22780 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22781 (init_tls): Likewise.
22782
8682f8b0
UD
227832011-09-12 Ulrich Drepper <drepper@gmail.com>
22784
22785 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22786
de82006d
AS
227872011-09-12 Andreas Schwab <schwab@redhat.com>
22788
a7c8e6a1
AS
22789 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22790 `struct cmsghdr *' instead of `void *'.
22791 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22792 Likewise.
22793
0f31fe77
AS
227942011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22795
22796 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22797 if non-absolute.
22798 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22799 ldd_rewrite_script.
0f31fe77 22800
32b4c839
UD
228012011-09-11 Ulrich Drepper <drepper@gmail.com>
22802
83cd1420
UD
22803 * configure.in: Remove --with-tls option.
22804 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22805 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22806 out in case it is missing.
22807 * sysdeps/ia64/elf/configure.in: Likewise.
22808 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22809 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22810 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22811 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22812 * sysdeps/sh/elf/configure.in: Likewise.
22813 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22814 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22815 * sysdeps/x86_64/elf/configure.in: Likewise.
22816 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22817 * sysdeps/mach/hurd/tls.h: Likewise.
22818
633f745d
UD
22819 [BZ #13067]
22820 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22821
f318beb8
UD
22822 [BZ #13090]
22823 * configure.in: Fix use of AC_INIT.
22824
32b4c839
UD
22825 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22826
3ce1f295
UD
228272011-09-10 Ulrich Drepper <drepper@gmail.com>
22828
bb016596
UD
22829 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22830 __set_errno.
8e58439c
UD
22831 * malloc/hooks.c: Likewise.
22832
aebae053 22833 [BZ #11929]
02d46fc4
UD
22834 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22835 variables statically.
22836 (narenas): Initialize.
22837 (list_lock): Initialize.
bb016596
UD
22838 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22839 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
22840 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22841 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22842 Add initializers to main_arena and mp_.
22843 (malloc_state): Remove pagesize member. Change all users to use
22844 GLRO(dl_pagesize).
22845
22846 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22847 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22848 is always initialized.
22849
22a89187
UD
22850 * malloc/malloc.c: Removed unused configurations and dead code.
22851 * malloc/arena.c: Likewise.
22852 * malloc/hooks.c: Likewise.
02d46fc4 22853 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 22854
d063d164
UD
22855 * include/tls.h: Removed. USE___THREAD must always be defined.
22856 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22857 * elf/dl-libc.c: Likewise.
22858 * elf/dl-tsd.c: Likewise.
22859 * include/errno.h: Likewise.
22860 * include/netdb.h: Likewise.
22861 * include/resolv.h: Likewise.
22862 * inet/herrno-loc.c: Likewise.
22863 * inet/herrno.c: Likewise.
22864 * malloc/arena.c: Likewise.
22865 * malloc/hooks.c: Likewise.
22866 * malloc/malloc.c: Likewise.
22867 * resolv/res-state.c: Likewise.
22868 * resolv/res_libc.c: Likewise.
22869 * sysdeps/i386/dl-machine.h: Likewise.
22870 * sysdeps/ia64/dl-machine.h: Likewise.
22871 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22872 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22873 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22874 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22875 * sysdeps/sh/dl-machine.h: Likewise.
22876 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22877 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22878 * sysdeps/unix/i386/sysdep.S: Likewise.
22879 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22880 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22881 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22882 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22883 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22884 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22885 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22886 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22887 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22889 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22890 * sysdeps/x86_64/dl-machine.h: Likewise.
22891 * tls.make.c: Likewise.
22892
3ce1f295
UD
22893 * configure.in: Remove --with-__thread option. Make tests for
22894 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22895 tls_model attribute fail if no support is available. Remove
22896 USE_IN_LIBIO.
22897 * Makeconfig: Adjust for dropped configure option. All features are
22898 now mandatory.
22899 * Makerules: Likewise.
22900 * Versions.def: Likewise.
22901 * argp/argp-fmtstream.c: Likewise.
22902 * argp/argp-fmtstream.h: Likewise.
22903 * argp/argp-help.c: Likewise.
22904 * assert/assert.c: Likewise.
22905 * config.h.in: Likewise.
22906 * config.make.in: Likewise.
22907 * configure: Likewise.
22908 * configure.in: Likewise.
22909 * csu/Versions: Likewise.
22910 * csu/init.c: Likewise.
22911 * elf/tst-audit2.c: Likewise.
22912 * elf/tst-tls10.c: Likewise.
22913 * elf/tst-tls10.h: Likewise.
22914 * elf/tst-tls11.c: Likewise.
22915 * elf/tst-tls12.c: Likewise.
22916 * elf/tst-tls14.c: Likewise.
22917 * elf/tst-tlsmod11.c: Likewise.
22918 * elf/tst-tlsmod12.c: Likewise.
22919 * elf/tst-tlsmod13.c: Likewise.
22920 * elf/tst-tlsmod13a.c: Likewise.
22921 * elf/tst-tlsmod14a.c: Likewise.
22922 * elf/tst-tlsmod15b.c: Likewise.
22923 * elf/tst-tlsmod16a.c: Likewise.
22924 * elf/tst-tlsmod16b.c: Likewise.
22925 * elf/tst-tlsmod7.c: Likewise.
22926 * elf/tst-tlsmod8.c: Likewise.
22927 * elf/tst-tlsmod9.c: Likewise.
22928 * gmon/gmon.c: Likewise.
22929 * grp/fgetgrent_r.c: Likewise.
22930 * grp/putgrent.c: Likewise.
22931 * hurd/fopenport.c: Likewise.
22932 * include/libc-symbols.h: Likewise.
22933 * include/tls.h: Likewise.
22934 * intl/gettextP.h: Likewise.
22935 * intl/loadinfo.h: Likewise.
22936 * locale/global-locale.c: Likewise.
22937 * locale/localeinfo.h: Likewise.
22938 * mach/devstream.c: Likewise.
22939 * malloc/arena.c: Likewise.
22940 * malloc/set-freeres.c: Likewise.
22941 * misc/err.c: Likewise.
22942 * misc/getttyent.c: Likewise.
22943 * misc/mntent_r.c: Likewise.
22944 * posix/getopt.c: Likewise.
22945 * posix/wordexp.c: Likewise.
22946 * pwd/fgetpwent_r.c: Likewise.
22947 * resolv/Versions: Likewise.
22948 * resolv/res_hconf.c: Likewise.
22949 * shadow/fgetspent_r.c: Likewise.
22950 * shadow/putspent.c: Likewise.
22951 * stdio-common/printf_fphex.c: Likewise.
22952 * stdio-common/tmpfile.c: Likewise.
22953 * stdlib/abort.c: Likewise.
22954 * stdlib/fmtmsg.c: Likewise.
22955 * sunrpc/auth_unix.c: Likewise.
22956 * sunrpc/clnt_perr.c: Likewise.
22957 * sunrpc/clnt_tcp.c: Likewise.
22958 * sunrpc/clnt_udp.c: Likewise.
22959 * sunrpc/clnt_unix.c: Likewise.
22960 * sunrpc/openchild.c: Likewise.
22961 * sunrpc/svc_simple.c: Likewise.
22962 * sunrpc/svc_tcp.c: Likewise.
22963 * sunrpc/svc_udp.c: Likewise.
22964 * sunrpc/svc_unix.c: Likewise.
22965 * sunrpc/xdr.c: Likewise.
22966 * sunrpc/xdr_array.c: Likewise.
22967 * sunrpc/xdr_rec.c: Likewise.
22968 * sunrpc/xdr_ref.c: Likewise.
22969 * sunrpc/xdr_stdio.c: Likewise.
22970
1248c1c4
PB
229712011-09-09 Ulrich Drepper <drepper@gmail.com>
22972
22973 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22974
229752011-07-03 Andreas Jaeger <aj@suse.de>
22976
22977 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22978 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22979 regenerate with gen-libm-tests.pl.
22980
229812010-05-12 Petr Baudis <pasky@suse.cz>
22982
22983 [BZ #11589]
22984 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22985 around j0() zero points by switching to j1().
22986 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22987 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22988 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22989 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22990
f22e1074
UD
229912011-09-09 Ulrich Drepper <drepper@gmail.com>
22992
f19009c1
UD
22993 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22994 instead of 0.
22995 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 22996 instead of 0.
f19009c1
UD
22997 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22998 Patch in part by Pavel Roskin <proski@gnu.org>.
22999
3f8cc204
UD
23000 [BZ #13138]
23001 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23002 realloc.
23003 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23004 Free memory block if necessary.
23005
f22e1074
UD
23006 [BZ #12847]
23007 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23008 be NULL. Don't lock in this case.
23009
0a2349f9
RM
230102011-09-09 Roland McGrath <roland@hack.frob.com>
23011
23012 * elf/elf.h (ELFOSABI_GNU): New macro.
23013 (ELFOSABI_LINUX): Define to that.
23014
f3cdd467
DZ
230152011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23016
23017 * string/strncat.c (strncat): Undef the symbol in case it has been
23018 defined in bits/string.h.
23019
74718d13
UD
230202011-09-09 Ulrich Drepper <drepper@gmail.com>
23021
633e9e0f
UD
23022 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23023
0a2349f9 23024 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23025 link map.
23026
f9924780
AJ
230272011-08-17 Andreas Jaeger <aj@suse.de>
23028
23029 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23030
7f5517aa
PP
230312011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23032 Ian Lance Taylor <iant@google.com>
23033
23034 * math/libm-test.inc (lround_test): New testcase.
23035 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23036
762011fe
UD
230372011-09-08 Ulrich Drepper <drepper@gmail.com>
23038
92963737
UD
23039 * Makefile: Remove support for automatic cvs check-ins.
23040 * Makerules: Likewise.
23041 * config.make.in: Likewise.
23042 * configure.in: Likewise.
23043 * intl/Makefile: Likewise.
23044 * locale/Makefile: Likewise.
23045 * po/Makefile: Likewise.
23046 * posix/Makefile: Likewise.
23047 * sysdeps/gnu/Makefile: Likewise.
23048 * sysdeps/mach/hurd/Makefile: Likewise.
23049 * sysdeps/sparc/sparc32/Makefile: Likewise.
23050
b0727fd8
JS
23051 [BZ #13118]
23052 * posix/Makefile (bug-regex32-ENV): Define.
23053 Patch by John Stanley <jpsinthemix@verizon.net>.
23054
a0f33f99
UD
23055 * misc/Makefile (headers): Add bits/select2.h.
23056 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23057 * misc/bits/select2.h: New file.
23058 * include/bits/select2.h: New file.
23059 * debug/Makefile (routines): Add fdelt_chk.
23060 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23061 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23062 FD_ISSET.
23063 * debug/fdelt_chk.c: New file.
23064
762011fe
UD
23065 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23066 * wcsmbs/test-wmemcmp.c: Likewise.
23067 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23068 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23069
230702011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23071
23072 * string/Makefile (strop-tests): Add memcmp.
23073 * string/test-wmemcmp.c: New file.
23074 * string/test-memcmp.c: Add wmemcmp support.
23075
7f513ec8
RM
230762011-09-08 Roland McGrath <roland@hack.frob.com>
23077
0442afb4
RM
23078 [BZ #13153]
23079 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23080 2011-07-19 change.
23081
7f513ec8
RM
23082 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23083 garbage value in a __mach_port_mod_refs call in the cases of the
23084 task-self and thread-self ports.
23085
a12b2239
ST
230862011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23087
23088 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23089
610f9ab4
AS
230902011-09-08 Andreas Schwab <schwab@redhat.com>
23091
7f513ec8 23092 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23093
48882a1a
LD
230942011-09-07 Ulrich Drepper <drepper@gmail.com>
23095
b49865be
UD
23096 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23097
fdc86bc9
UD
23098 * elf/dl-libc.c (dlerror_run): Pass back error code from
23099 dl_catch_error.
23100
c966526a
UD
23101 [BZ #13123]
23102 * elf/dl-load.c (lose): Free l_origin if it is valid.
23103
48882a1a
LD
23104 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23105 names.
23106 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23107 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23108 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23109 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23110 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23111 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23112
77a2a8b4
AZ
231132011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23114
23115 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23116 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23117 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23118 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23119 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23120 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23121 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23122 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23123 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23124 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23125
24f579d8
AM
231262011-08-15 Alan Modra <amodra@gmail.com>
23127
23128 [BZ #13092]
23129 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23130 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23131 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23132 ppc_mcount to static-only-routines.
23133 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23134 __mcount_internal.
23135 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23136 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23137
3d4837df
UD
231382011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23139
23140 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23141 for finite and infinity parameters.
23142
22700377
WS
231432011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23144
23145 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23146 and add nop instructions for throughput optimization.
23147 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23148
5025581e
WS
231492011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23150
23151 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23152 aligned copy for power7 with vector-scalar instructions.
23153 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23154
08a300c9
L
231552011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23156
23157 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23158 AVX check.
23159
59178ef9
AS
231602011-09-07 Andreas Schwab <schwab@redhat.com>
23161
23162 [BZ #13144]
23163 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23164 last change.
23165
e38ba7ab
UD
231662011-09-07 Ulrich Drepper <drepper@gmail.com>
23167
23168 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23169 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23170 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23171 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23172 clock_gettime.
23173
d53a73ac
UD
231742011-09-06 Ulrich Drepper <drepper@gmail.com>
23175
fc8bffcc
UD
23176 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23177 Forgot to demangle the pointer.
23178
ceaa0c5d
UD
23179 * sysdeps/i386/sysdep.h: Define atom_text_section.
23180 * sysdeps/x86_64/sysdep.h: Likewise.
23181 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23182 section with atom_text_section.
23183 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23184 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23185 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23186 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23187 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23188
a77d3c17
UD
23189 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23190 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23191 already be defined. Change to take two parameters and don't assign
23192 result to variable. Adjust all users.
23193 Define INTERNAL_GETTIME if not already defined.
23194 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23195 call.
23196 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23197 HAVE_CLOCK_GETTIME_VSYSCALL.
23198 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23199
d53a73ac
UD
23200 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23201 gettimeofday vsyscall, just use time.
23202
a8f84144
AS
232032011-09-06 Andreas Schwab <schwab@redhat.com>
23204
23205 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23206 <errno.h>.
23207
ef606249
UD
232082011-09-06 Ulrich Drepper <drepper@gmail.com>
23209
23210 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23211 syscall on x86-64.
23212 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23213 syscall.
23214 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23215 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23216 syscall if possible.
23217
6585cb60
UD
232182011-09-05 Ulrich Drepper <drepper@gmail.com>
23219
23220 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23221 e_ident. Don't pass to find_mapsXX.
23222 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23223
a5f524e4
LD
232242011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23225
23226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23227 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23228 * sysdeps/x86_64/multiarch/strchr.S: Update.
23229 Check bit_slow_BSF bit.
23230 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23231 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23232 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23233
554881ef
UD
232342011-09-05 Ulrich Drepper <drepper@gmail.com>
23235
d96de963
UD
23236 [BZ #13134]
23237 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23238 before glibc 2.15.
23239 (tryshell): Define.
23240 (__spawni): Change last parameter to be flag. Test
23241 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23242 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23243 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23244 * posix/spawni.c: Likewise.
23245 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23246 * posix/spawnp.c: Likewise. Change normal version to use
23247 SPAWN_XFLAGS_USE_PATH.
23248 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23249 SPAWN_XFLAGS_TRY_SHELL.
23250
d48e5868
UD
23251 [BZ #13150]
23252 * posix/glob.h: Remove gcc 1.x support.
23253
554881ef
UD
23254 [BZ #13068]
23255 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23256
693fb948
LD
232572011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23258
23259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23260 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23261 strrchr-sse2-bsf
23262 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23263 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23264 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23265 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23266 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23267 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23268
1b48c537
UD
232692011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23270
49d42c37
UD
23271 * sysdeps/x86_64/wcscmp.S: New file.
23272
1b48c537
UD
23273 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23274 wcscmp-c wcscmp-sse2
23275 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23276 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23277 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23278 * wcsmbs/wcscmp.c: Allow renaming.
23279
15c95c5d
DM
232802011-09-05 David S. Miller <davem@davemloft.net>
23281
23282 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23283 stack slot, rather than the struct return pointer slot.
23284 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23285 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23287 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23288
2f0ad8f3
UD
232892011-09-05 Ulrich Drepper <drepper@gmail.com>
23290
d88ae418
UD
23291 * po/ja.po: Update from translation team.
23292
2f0ad8f3
UD
23293 [BZ #13144]
23294 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23295 kernel in 64-bit binaries.
23296
5f4318d1
DM
232972011-09-01 David S. Miller <davem@davemloft.net>
23298
23299 * elf/elf.h (HWCAP_SPARC_*): Move to..
23300 * sysdeps/sparc/sysdep.h: this new file and add new values.
23301 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23302 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23303 _DL_HWCAP_COUNT to 24.
23304 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23305 entries.
23306 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23307 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23308 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23309 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23310 instead of magic constants.
23311 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23312
3ba57516
DM
233132011-08-31 David S. Miller <davem@davemloft.net>
23314
23315 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23316 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23317 Reimplement to do errno handling inline.
23318 (SYSCALL_ERROR_HANDLER): New macro.
23319 (__SYSCALL_STRING): Do not do errno handling in asm.
23320 (__CLONE_SYSCALL_STRING): Delete.
23321 (__INTERNAL_SYSCALL_STRING): Delete.
23322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23323 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23324 (PSEUDO): Reimplement to do errno handling inline.
23325 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23326 (SYSCALL_ERROR_HANDLER): New macro.
23327 (__SYSCALL_STRING): Do not do errno handling in asm.
23328 (__CLONE_SYSCALL_STRING): Delete.
23329 (__INTERNAL_SYSCALL_STRING): Delete.
23330 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23331 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23332 i386.
23333 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23334 (inline_syscall*): Add 'err' argument.
23335 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23336 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23337 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23338 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23339
23340 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23341 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23342
2bc17433
AS
233432011-08-30 Andreas Schwab <schwab@redhat.com>
23344
23345 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23346
fbeb5f4d
JO
233472011-08-29 Jiri Olsa <jolsa@redhat.com>
23348
23349 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23350 directive.
23351
ad69cc26
DM
233522011-08-24 David S. Miller <davem@davemloft.net>
23353
23354 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23355
39dd69df
AS
233562011-08-24 Andreas Schwab <schwab@redhat.com>
23357
23358 * elf/Makefile: Add rules to build and run unload8 test.
23359 * elf/unload8.c: New file.
23360 * elf/unload8mod1.c: New file.
23361 * elf/unload8mod1x.c: New file.
23362 * elf/unload8mod2.c: New file.
23363 * elf/unload8mod3.c: New file.
23364
23365 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23366 it wasn't used.
23367
2c0b250a
DM
233682011-08-23 David S. Miller <davem@davemloft.net>
23369
23370 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23371 subtract stack bias.
23372 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23373 %sp not %fp in calculations.
23374 (_JMPBUF_UNWINDS_ADJ): Likewise.
23375
22044b48
DM
23376 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23377 (aio_suspend): Call it to force an exception region around the
23378 AIO_MISC_WAIT() invocation.
23379
2cae4995
AS
233802011-08-23 Andreas Schwab <schwab@redhat.com>
23381
23382 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23383 backslash.
23384
873a772e
AJ
233852011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23386
23387 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23388 protection macro.
23389 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23390 and <dl-machine.h>.
23391 (Elf64_FuncDesc): Remove.
23392
25ad0df1
DM
233932011-08-22 David S. Miller <davem@davemloft.net>
23394
23395 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23396 sigaltstack check, add missing cfi directives.
23397 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23398 missing cfi directives, and sigaltstack handling.
23399
e888bcbe
AS
234002011-08-16 Andreas Schwab <schwab@redhat.com>
23401
23402 [BZ #11724]
23403 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23404 object is seen twice.
23405 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23406
23407 * elf/Makefile (distribute): Add tst-initorder2.c.
23408 (tests): Add tst-initorder2.
23409 (modules-names): Add tst-initorder2a tst-initorder2b
23410 tst-initorder2c tst-initorder2d. Add rules to build them.
23411 ($(objpfx)tst-initorder2.out): New rule.
23412 * elf/tst-initorder2.c: New file.
23413 * elf/tst-initorder2.exp: New file.
23414
87162f46
AS
234152011-08-22 Andreas Schwab <schwab@redhat.com>
23416
70538b7f
AS
23417 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23418
f55ffe58
AS
23419 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23420 dependencies back to end of function.
23421
87162f46
AS
23422 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23423 $(elfobjdir)/ld.so.
23424
91b392a4
UD
234252011-08-21 Ulrich Drepper <drepper@gmail.com>
23426
23427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23428 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23429 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23430 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23431 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23432 of __vdso_gettimeofday.
23433 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23434 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23435 attribute_hidden.
23436 (_libc_vdso_platform_setup): Remove initialization of
23437 __vdso_gettimeofday and __vdso_time.
23438
5c43483f
UD
234392011-08-20 Ulrich Drepper <drepper@gmail.com>
23440
775a77e7
UD
23441 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23442 and fgetc_unlocked.
23443 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23444 getc_unlocked.
89f447ed 23445
49c74ba9
UD
23446 * elf/dl-open.c (add_to_global): Report additions to the global scope
23447 for LD_DEBUG=scopes.
23448 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23449 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23450
5c43483f
UD
23451 [BZ #13114]
23452 * stdio-common/Makefile (tests): Add bug24.
23453 * stdio-common/bug24.c: New file.
23454
a101b025
AJ
234552011-08-19 Andreas Jaeger <aj@suse.de>
23456
23457 [BZ #13114]
23458 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23459 non-existant file when using close-on-exec mode.
23460
c88f1766
UD
234612011-08-20 Ulrich Drepper <drepper@gmail.com>
23462
0276a718
UD
23463 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23464 the very first instruction.
23465
c88f1766
UD
23466 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23467 the CFI state in the end.
23468 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23469 inclusion of dl-trampoline.h.
23470 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23471
51ccffa0
AS
234722011-08-19 Andreas Schwab <schwab@redhat.com>
23473
94d7165f
AS
23474 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23475 expectations for long double.
23476
51ccffa0
AS
23477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23478 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23479
fd708658 234802011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23481
23482 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23483 artificual limit depends upon the system page size.
23484
44f0a71e
UD
234852011-08-17 Ulrich Drepper <drepper@gmail.com>
23486
23487 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23488 * resolv/Makefile: Define CFLAGS-libresolv.
23489
8de79a24
AS
234902011-08-17 Andreas Schwab <schwab@redhat.com>
23491
23492 * nss/makedb.c (compute_tables): Make variables used in nested
23493 function static.
23494
27724598
UD
234952011-08-17 Ulrich Drepper <drepper@gmail.com>
23496
c5305d88
UD
23497 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23498 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23499 if buffer was too small.
23500
27724598
UD
23501 * elf/pldd.c (main): Attach to all threads in the process.
23502 Rewrite /proc handling to use *at functions.
23503
076fe015
UD
235042011-08-16 Ulrich Drepper <drepper@gmail.com>
23505
174baab3
UD
23506 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23507 specifies first scope to show.
23508 (dl_open_worker): Update callers. Move printing scope of new
23509 object to before the relocation.
44f0a71e 23510 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23511 * sysdeps/generic/ldsodefs.h: Update declaration.
23512
076fe015
UD
23513 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23514 string for the scope number.
23515
a60df2c3
UD
235162011-08-14 Ulrich Drepper <drepper@gmail.com>
23517
23518 * nscd/servicescache.c (cache_addserv): Make sure written is always
23519 initialized.
23520
5e4287d1
RM
235212011-08-14 Roland McGrath <roland@hack.frob.com>
23522
85ae0589
RM
23523 * sysdeps/i386/i486/bits/atomic.h
23524 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23525 statement expression, so as to suppress "set but not used" warning.
23526 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23527
69f63097
RM
23528 * string/strncat.c (STRNCAT): Use prototype definition.
23529
675456ef
RM
23530 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23531 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23532 -Iprograms here.
23533 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23534 (localedef-modules): Add localedef.
23535 (locale-modules): Add locale.
23536
5e4287d1
RM
23537 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23538 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23539 to avoid a warning.
23540
9c96ff23
DM
235412011-08-14 David S. Miller <davem@davemloft.net>
23542
23543 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23544 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23545
f9ddf089
UD
235462011-08-13 Ulrich Drepper <drepper@gmail.com>
23547
44f0a71e 23548 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23549 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23550 * elf/rtld.c (dl_main): Set l_name of vDSO.
23551 Call _dl_show_scope when DL_DEBUG_SCOPES.
23552 (process_dl_debug): Recognize scopes flag and also set it for all.
23553 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23554 Declare _dl_show_scope.
23555
1dc27704
UD
23556 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23557 (do_dlopen): Pass caller_dlopen to dl_open.
23558 (__libc_dlopen_mode): Initialize caller_dlopen.
23559
f9ddf089
UD
23560 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23561 of libc. Make tolower call locale-independent. Optimize a bit by
23562 using isdigit instead of isalnum.
23563 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23564
9ac533d3
UD
235652011-08-12 Ulrich Drepper <drepper@gmail.com>
23566
23567 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23568 was a dependency or dynamically loaded.
23569
89edf2e9
UD
235702011-08-11 Ulrich Drepper <drepper@gmail.com>
23571
8e999d29
UD
23572 * intl/l10nflist.c: Allow architecture-specific pop function.
23573 * sysdeps/x86_64/l10nflist.c: New file.
23574
89edf2e9
UD
23575 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23576 classification.
23577
14d96785
AS
235782011-08-10 Andreas Schwab <schwab@redhat.com>
23579
23580 * include/dirent.h: Add libc_hidden_proto for scandirat and
23581 scandirat64. Don't declare __scandirat64.
23582 * dirent/scandirat.c: Add libc_hidden_def.
23583 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23584 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23585
6761ac04
DM
235862011-08-10 David S. Miller <davem@davemloft.net>
23587
23588 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23589 enum.
23590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23591 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23592 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23593
c55fbd1e
UD
235942011-08-09 Ulrich Drepper <drepper@gmail.com>
23595
23596 * Versions.def [libc]: Add GLIBC_2.15.
23597 * dirent/Makefile (routines): Add scandirat and scandirat64.
23598 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23599 GLIBC_2.15.
23600 * dirent/dirent.h: Declare scandirat and scandirat64.
23601 * dirent/scandirat.c: New file.
23602 * dirent/scandirat64.c: New file.
23603 * sysdeps/wordsize-64/scandirat.c: New file.
23604 * sysdeps/wordsize-64/scandirat64.c: New file.
23605 * dirent/opendir.c: Define opendirat.
23606 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23607 using scandirat.
23608 * dirent/scandir64.c: Adjust for scandir.c change.
23609 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23610 __scandirat64, and __scandir_cancel_handler.
23611 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23612 additional parameter and use openat instead of open (outside of ld.so).
23613 Add new __opendir as wrapper around __opendirat.
23614 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23615 here without requiring old scandirat implementation.
23616
879165f2
UD
236172011-08-08 Ulrich Drepper <drepper@gmail.com>
23618
23619 * dirent/scandir.c (cancel_handler): Renamed to
23620 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23621 defined. Adjust users.
23622 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23623 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23624
cb7e923b
UD
236252011-08-04 Ulrich Drepper <drepper@gmail.com>
23626
16292edd
UD
23627 * string/test-string.h (IMPL): Use __STRING to expand name and then
23628 stringify it.
23629
cb7e923b
UD
23630 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23631 of cleanups.
23632
cff82933
LD
236332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23634
23635 * string/Makefile: Update.
23636 (strop-tests): Append strncat.
23637 * string/test-wcscmp.c: New file.
23638 New comprehensive test for wcscmp.
23639 * string/test-strcmp.c: Update.
23640 (WIDE): New define.
23641
9be9bfcc
AS
236422011-07-22 Andreas Schwab <schwab@redhat.com>
23643
23644 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23645 line.
23646
2e96f1c7
AS
236472011-07-26 Andreas Schwab <schwab@redhat.com>
23648
23649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23650 encoding to ACE if AI_IDN.
23651
85188888
JJ
236522011-08-01 Jakub Jelinek <jakub@redhat.com>
23653
23654 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23655 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23656
5fa16e9b
LD
236572011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23658
23659 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23660 Fix overflow bug in strncat.
23661 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23662
23663 * string/test-strncat.c: Update.
23664 Add new tests for checking overflow bugs.
23665
236662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23667
23668 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23669 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23670 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23671 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23672 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23673 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23674 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23675 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23676 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23677
23678 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23679 (USE_AS_STRCAT): Define.
23680 Add strcat and strncat support.
23681 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23682
8c1a459f
AS
236832011-07-25 Andreas Schwab <schwab@redhat.com>
23684
23685 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23686 __n bigger than INT_MAX+1.
23687 (__strncmp_g): Likewise.
23688
bba33c28
UD
236892011-07-23 Ulrich Drepper <drepper@gmail.com>
23690
798be72d
UD
23691 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23692 * libio/stido.h: Likewise.
23693
8accd4dc
UD
23694 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23695 (AF_NFC): Define.
23696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23697 (AF_NFC): Define.
23698
cbff0d96
UD
23699 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23700 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23701 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23702 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23703 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23704
9191c04a
UD
23705 [BZ #13021]
23706 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23707 installed.
23708
bba33c28
UD
23709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23710 typo.
23711 (_dl_x86_64_save_sse): Likewise.
23712
90f139dd
UD
237132011-07-22 Ulrich Drepper <drepper@gmail.com>
23714
1aae088a
UD
23715 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23716 OSXSAVE.
23717 (_dl_x86_64_save_sse): Likewise.
23718
8e2045f5
UD
23719 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23720
90f139dd
UD
23721 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23722
1d002f25
AS
237232011-07-21 Andreas Schwab <schwab@redhat.com>
23724
23725 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23726 change.
23727 (_dl_x86_64_save_sse): Use correct AVX check.
23728
21137f89
UD
237292011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23730
23731 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23732 bug in strncpy/strncat.
23733 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23734
a65c0b7a
UD
237352011-07-21 Ulrich Drepper <drepper@gmail.com>
23736
23737 * string/tester.c (test_strcat): Add tests for different alignments
23738 of source and destination.
23739 (test_strncat): Likewise.
23740
6986b98a
UD
237412011-07-20 Ulrich Drepper <drepper@gmail.com>
23742
90bb2039
UD
23743 [BZ #12852]
23744 * posix/glob.c (glob): Check passed in values before using them in
23745 expressions to avoid some overflows.
23746 (glob_in_dir): Likewise.
23747
5644ef54
UD
23748 [BZ #13007]
23749 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23750 check for AVX enablement so that we don't crash with old kernels and
23751 new hardware.
23752 * elf/tst-audit4.c: Add same checks here.
23753 * elf/tst-audit6.c: Likewise.
23754
23755 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 23756
bfc9dc9b
AS
237572011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23758
23759 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23760
702e64bb
UD
237612011-07-20 Ulrich Drepper <drepper@gmail.com>
23762
23763 * po/cs.po: Update from translation team.
23764 * po/bg.po: Likewise.
23765
295e904f
MP
237662011-07-12 Marek Polacek <mpolacek@redhat.com>
23767
23768 * misc/sys/cdefs.h: Add support for const attribute.
23769 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23770 to gnu_dev_{major,minor,makedev} functions.
23771
3ff94596
MP
237722011-07-20 Marek Polacek <mpolacek@redhat.com>
23773
23774 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23775
28b59fca
AS
237762011-07-20 Andreas Schwab <schwab@redhat.com>
23777
23778 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23779 strlen results.
23780
19df733e
AK
237812011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23782
23783 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23784 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23785 register in order to avoid conflicts with the soft frame pointer
23786 being held in r11 when necessary.
23787 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23788 (INTERNAL_VSYSCALL_NCS): Likewise.
23789
c8835729
MP
237902011-07-14 Marek Polacek <mpolacek@redhat.com>
23791
23792 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23793 * elf/dl-fini.c (_dl_fini): Adjust caller.
23794 * elf/dl-close.c (_dl_close_worker): Likewise.
23795 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23796
b902330c
MP
237972011-07-15 Marek Polacek <mpolacek@redhat.com>
23798
8991e135
MP
23799 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23800 "aux_cache->nlibs < 0".
23801
b902330c
MP
23802 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23803 in the reload-count case.
23804
99710781
LD
238052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23806
23807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23808 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23809 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23810 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23811 * sysdeps/x86_64/multiarch/strcat.S: New file.
23812 * sysdeps/x86_64/multiarch/strncat.S: New file.
23813 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23814 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23815 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23816 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23817 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23818 (USE_AS_STRCAT): Define.
23819 Add strcat and strncat support.
23820 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23821 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23822 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23823 * string/strncat.c: Update.
23824 (USE_AS_STRNCAT): Define.
23825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23826 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23827 and i7.
23828 * sysdeps/x86_64/multiarch/init-arch.h
23829 (bit_Prefer_PMINUB_for_stringop): New.
23830 (index_Prefer_PMINUB_for_stringop): Likewise.
23831 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23832 bit_Prefer_PMINUB_for_stringop.
23833
7dc6bd90
UD
238342011-07-19 Ulrich Drepper <drepper@gmail.com>
23835
23836 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23837 buffer64.
23838 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23839 of casting of buffer.
23840 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23841 buffer32 and buffer64.
23842 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23843 writes instead of casting of buffer.
23844 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23845 buffer32.
23846 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23847 casting of buffer.
23848
e0e72284
AS
238492011-07-19 Andreas Schwab <schwab@redhat.com>
23850
23851 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23852
feb1eb0b
UD
238532011-07-19 Ulrich Drepper <drepper@gmail.com>
23854
23855 * nscd/nscd.c (termination_handler): Don't do anything for a database
23856 if it has not yet been initialized.
23857
298711ff
UD
238582011-07-18 Ulrich Drepper <drepper@gmail.com>
23859
23860 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23861
238622011-07-15 Marek Polacek <mpolacek@redhat.com>
23863
23864 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23865
f9d68389
UD
238662011-07-18 Ulrich Drepper <drepper@gmail.com>
23867
23868 * po/nl.po: Update from translation team.
23869 * po/sv.po: Likewise.
23870
db290cf5
RM
238712011-07-16 Roland McGrath <roland@hack.frob.com>
23872
23873 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23874 now disallowed by GCC.
5c550700 23875
fd5e21c7
RM
23876 * configure.in (use-default-link): Default to yes if a test -shared
23877 link meets our qualifications.
23878 * configure: Regenerated.
23879
5c550700
RM
23880 * config.make.in (output-format): New variable.
23881 * configure.in: Check for ld --print-output-format support.
23882 * configure: Regenerated.
23883 * Makerules ($(common-objpfx)format.lds)
23884 [$(output-format) != unknown]: Just use $(output-format),
23885 instead of the linker-script munging.
23886
9fa2c032
RM
238872011-07-14 Roland McGrath <roland@hack.frob.com>
23888
a6928d51
RM
23889 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23890 of $(common-objpfx)shlib.lds.
23891 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23892
661607b3
RM
23893 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23894 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23895
9fa2c032
RM
23896 * configure.in (-z relro check): Adjust test code to add a large
23897 writable data section after it.
23898 * configure: Regenerated.
23899
defe9061
RM
239002011-07-11 Roland McGrath <roland@hack.frob.com>
23901
23902 * configure.in (-z relro check): Fix test code to make the variable
23903 truly const.
23904 * configure: Regenerated.
23905
319b9ad4
UD
239062011-07-11 Ulrich Drepper <drepper@gmail.com>
23907
23908 * nscd/nscd.h (struct traced_file): Define.
23909 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23910 elements. Add traced_files.
23911 (inotify_fd): Declare.
23912 (register_traced_file): Declare.
23913 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23914 (inotify_fd): Export.
23915 (resolv_conf_descr): Remove.
23916 (nscd_init): Move inotify descriptor creation to main.
23917 Don't register files for notification here.
23918 (register_traced_file): New function.
23919 (invalidate_cache): Don't use reset_res to determine whether to call
23920 res_init, go through the list of registered files.
23921 (main_loop_poll): The inotify descriptors are now stored in the
23922 structures for the traced files.
23923 (main_loop_epoll): Likewise
23924 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23925 to __nss_disable_nscd.
23926 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23927 for a database anymore. Check the records for all the registered
23928 files instead.
23929 * nss/Makefile (libnss_files-routines): Add files-init.
23930 (libnss_db-routines): Add db-init.
23931 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23932 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23933 * nss/nss_db/db-init.c: New file.
23934 * nss/nss_files/files-init.c: New file.
23935 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23936 __nss_lookup_function.
23937 (__nss_lookup_function): Call nss_load_library.
23938 (nss_load_all_libraries): New function.
23939 (__nss_disable_nscd): Take parameter with callback function for files
23940 to register. Set is_nscd. Load all the DSOs for the NSS modules
23941 used for the cached services.
23942 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23943 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23944 options for features to all the files in nscd.
23945
23946 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23947
23bee3e8
RM
239482011-07-10 Roland McGrath <roland@hack.frob.com>
23949
23950 * csu/elf-init.c (__libc_csu_init): Comment typo.
23951
46a5b7f0
UD
239522011-07-09 Ulrich Drepper <drepper@gmail.com>
23953
23954 * po/pl.po: Update from translation team.
23955 * po/ja.po: Likewise.
23956 * po/ru.po: Likewise.
23957 * po/ko.po: Likewise.
23958 * po/fr.po: Likewise.
23959
d30cf5bb
RM
239602011-07-09 Roland McGrath <roland@hack.frob.com>
23961
113ddea4
RM
23962 * configure.in (.ctors/.dtors header and trailer check):
23963 Use an empirical test on a built program.
23964 * configure: Regenerated.
23965
574920b4
RM
23966 * configure.in (-z relro check): Use an empirical test on a built DSO.
23967 Detect, but do not require, on ia64.
23968 * configure: Regenerated.
23969
d30cf5bb
RM
23970 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23971 Update tests that use readelf to use $READELF instead.
23972 * configure: Regenerated.
23973
8538fdb3
UD
239742011-07-08 Ulrich Drepper <drepper@gmail.com>
23975
23976 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23977 if the result is not used.
23978
04d08991
AJ
239792011-07-05 Andreas Jaeger <aj@suse.de>
23980
23981 [BZ#9696]
23982 * stdlib/tst-strtod.c: Add testcase.
23983
de283087
AD
239842011-07-07 Ulrich Drepper <drepper@gmail.com>
23985
4e5f31c8 23986 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 23987 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
23988 The latter has a higher limit. Take additional parameter to pass to
23989 the new function.
23990 (__pathconf): Pass file to __statfs_link_max.
23991 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23992 __statfs_link_max.
23993 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23994 __statfs_link_max.
23995
de283087
AD
23996 [BZ #12868]
23997 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23998 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23999 Handle Lustre.
24000 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24001 (__statfs_filesize_max): Likewise.
24002 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24003
c75fa153
AJ
240042011-07-05 Andreas Jaeger <aj@suse.de>
24005
24006 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24007
1a544854
UD
240082011-07-06 Marek Polacek <mpolacek@redhat.com>
24009
24010 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24011 `status' variable.
24012 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24013 Likewise.
24014
6f0eec67
UD
240152011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24016
24017 * Makefile (strop-tests): Add strncat.
24018 * string/test-strncat.c: New file.
24019
aae30307
UD
240202011-06-30 Marek Polacek <mpolacek@redhat.com>
24021
24022 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24023
c0cfb5eb
UD
240242011-06-21 Andreas Jaeger <aj@suse.de>
24025
24026 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24027 Copy rule from iconvdata/Makefile.
24028
01636b21
UD
240292011-07-06 Ulrich Drepper <drepper@gmail.com>
24030
24031 [BZ #12922]
24032 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24033 but no long options are defined, just return 'W'.
24034
9895c8bc
UD
240352011-06-22 Marek Polacek <mpolacek@redhat.com>
24036
24037 [BZ #9696]
24038 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24039
5d4cf042
UD
240402011-07-06 Ulrich Drepper <drepper@gmail.com>
24041
24042 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24043 netgroups to read.
960e5535 24044 (innetgr): Likewise.
5d4cf042 24045
751eb97e
RM
240462011-07-05 Roland McGrath <roland@hack.frob.com>
24047
24048 * config.make.in (install_root): Default to $(DESTDIR).
24049
f15f1e45
UD
240502011-07-05 Ulrich Drepper <drepper@gmail.com>
24051
24052 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24053
4e34ac6a
RM
240542011-07-02 Roland McGrath <roland@hack.frob.com>
24055
5e9b6af4
RM
24056 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24057
84f9ea0f
RM
24058 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24059 containing directory rather than embedding absolute directory names.
24060
ea5ee9f7
RM
24061 * scripts/check-local-headers.sh: Rewritten using awk.
24062 Match by word, not by line. Print error messages for matches.
24063 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24064
1b74661a
RM
24065 * Makerules [shlib-lds-flags empty]:
24066 ($(common-objpfx)libc_pic.opts): New target.
24067 ($(common-objpfx)libc_pic.os.clean): New target.
24068 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24069
24070 * config.make.in (OBJCOPY): New variable.
24071 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24072 * configure: Regenerated.
24073
f781ef40
RM
24074 * config.make.in (use-default-link): New variable.
24075 * configure.in (use_default_link): Grok --with-default-link to set it.
24076 * configure: Regenerated.
24077 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24078 (shlib-lds, shlib-lds-flags): Define to empty.
24079
2d4fa81e
RM
24080 * Makerules (shlib-lds): New variable.
24081 (shlib-lds-flags): New variable.
24082 (build-shlib, build-moduile, build-module-asneeded): Use it.
24083 ($(common-objpfx)libc.so): Use $(shlib-lds).
24084 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24085 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24086
31fffa6b
RM
24087 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24088 DT_FLAGS/DT_FLAGS_1 with zero flags.
24089
4e34ac6a
RM
24090 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24091 linker script munging.
24092
fcfc776b
UD
240932011-07-02 Ulrich Drepper <drepper@gmail.com>
24094
24095 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24096 as 128-bit value.
24097 * crypt/sha512.c (sha512_process_block): Perform total addition using
24098 128-bit if possible.
24099 (__sha512_finish_ctx): Likewise.
24100 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24101 as 64-bit value.
24102 * crypt/sha256.c (SWAP64): Define.
24103 (sha256_process_block): Perform total addition using 64-bit if
24104 possible.
24105 (__sha256_finish_ctx): Likewise.
24106
99231d9a
UD
241072011-07-01 Ulrich Drepper <drepper@gmail.com>
24108
24109 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24111 * nscd/hstcache.c (cache_addhst): Likewise.
24112 * nscd/grpcache.c (cache_addgr): Likewise.
24113 * nscd/aicache.c (addhstaiX): Likewise
24114 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24115
445b4a53
TK
241162011-07-01 Thorsten Kukuk <kukuk@suse.de>
24117
24118 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24119 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24120 * nscd/hstcache.c (cache_addhst): Likewise.
24121 * nscd/grpcache.c (cache_addgr): Likewise.
24122 * nscd/aicache.c (addhstaiX): Likewise
24123
6d4d8e8e
AS
241242011-07-01 Andreas Schwab <schwab@redhat.com>
24125
24126 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24127 domain only when needed.
24128
89f654c5
AS
241292011-06-30 Andreas Schwab <schwab@redhat.com>
24130
24131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24132 is always restored.
24133
cf3b23ff
UD
241342011-06-29 Ulrich Drepper <drepper@gmail.com>
24135
24136 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24137 are re-adding the entry.
24138 * nscd/servicescache.c (cache_addserv): Likewise.
24139
751626f9
AJ
241402011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24141
24142 * sysdeps/generic/dl-irel.h: fix protection against multiple
24143 inclusions.
24144 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24145
9113ea1f
UD
241462011-06-28 Ulrich Drepper <drepper@gmail.com>
24147
5c0b8d90
UD
24148 [BZ #12935]
24149 * malloc/memusage.sh: Fix quoting in message.
24150 * debug/xtrace.sh: Likewise.
24151
9113ea1f
UD
24152 * configure.in: Remove support for --experimental-malloc option, make
24153 it the default.
24154 * config.make.in: Likewise.
24155 * malloc/Makefile: Likewise.
24156
a4172181
AS
241572011-06-27 Andreas Schwab <schwab@redhat.com>
24158
24159 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24160 two-byte characters.
24161
78a7eee7
RM
241622011-06-27 Roland McGrath <roland@hack.frob.com>
24163
62bede13
RM
24164 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24165 AC_CACHE_CHECK invocation.
24166 * configure: Regenerated.
24167
78a7eee7
RM
24168 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24169
5ce33a62
UD
241702011-06-27 Ulrich Drepper <drepper@gmail.com>
24171
034807a9
UD
24172 [BZ #12350]
24173 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24174 bit from old_res_options.
24175
4902da17
UD
24176 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24177
5ce33a62
UD
24178 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24179 value type for setfct.
24180
c2344f56
L
241812011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24182
24183 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24184 __gettimeofday instead of gettimeofday.
24185
68468076
UD
241862011-06-26 Ulrich Drepper <drepper@gmail.com>
24187
24188 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24189
acb0d739
L
241902011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24191
24192 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24193
24194 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24195 info.
24196
8912479f
L
241972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24198
24199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24200 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24201 strcpy-sse2-unaligned strncpy-sse2-unaligned
24202 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24203 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24204 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24205 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24206 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24207 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24208 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24209 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24210 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24211 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24212 (STRCPY): Support SSE2 and SSSE3 versions.
24213
d5495a11
UD
242142011-06-24 Ulrich Drepper <drepper@gmail.com>
24215
24216 [BZ #12874]
24217 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24218 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24219 kernels which artificially limit size of requests.
24220
0b1cbaae
L
242212011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24222
24223 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24224 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24225 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24226 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24227 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24228 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24229 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24230 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24231 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24232 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24233 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24234 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24235 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24236 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24237 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24239 Enable unaligned load optimization for Intel Core i3, i5 and i7
24240 processors.
24241 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24242 Define.
24243 (index_Fast_Unaligned_Load): Define.
24244 (HAS_FAST_UNALIGNED_LOAD): Define.
24245
07f494a0
MP
242462011-06-23 Marek Polacek <mpolacek@redhat.com>
24247
24248 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24249
fa3fc0fe
UD
242502011-06-22 Ulrich Drepper <drepper@gmail.com>
24251
24252 [BZ #12907]
24253 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24254 until it is clear that the information is realy needed.
24255 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24256
e12df166
AS
242572011-06-22 Andreas Schwab <schwab@redhat.com>
24258
24259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24260
852eb34d
UD
242612011-06-22 Ulrich Drepper <drepper@gmail.com>
24262
84e2a551
UD
24263 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24264 /sys/devices/system/cpu/online if it is usable.
24265
852eb34d
UD
24266 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24267 reading the information from the /proc filesystem to once a second.
24268
6e502e19
UD
242692011-06-21 Andreas Jaeger <aj@suse.de>
24270
24271 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24272 NULL after inclusion of kernel headers.
24273
75d39ff2
UD
242742011-06-21 Ulrich Drepper <drepper@gmail.com>
24275
51f9aa6a
UD
24276 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24277 calls to internal_setent.
24278
c0244a9d
UD
24279 [BZ #12885]
24280 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24281 addresses using gethostbyname4_r ignore IPv4 addresses.
24282
c5e3c2ae
UD
24283 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24284 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24285
75d39ff2
UD
24286 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24287
42675c6f
DM
242882011-06-20 David S. Miller <davem@davemloft.net>
24289
24290 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24291 inclusions.
24292 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24293
24294 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24295 (elf_irel): Use it.
24296 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24297 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24298 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24299 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24300 * sysdeps/x86_64/dl-irel.h: Likewise.
24301
24302 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24303 * elf/dl-sym.c: Likewise.
24304
57912a71
UD
243052011-06-15 Ulrich Drepper <drepper@gmail.com>
24306
24307 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24308 need to dereference resplen2.
24309
ee22793d
AS
243102011-06-14 Andreas Schwab <schwab@redhat.com>
24311
24312 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24313
a9e836b0
UD
243142011-06-15 Ulrich Drepper <drepper@gmail.com>
24315
77fb9117
UD
24316 * Makeconfig: Define vardbdir and inst_vardbdir.
24317 * nss/Makefile: Add rules to install db-Makefile.
24318
40c1b22c
UD
24319 * nss/nss_db/db-XXX.c: Cleanup.
24320
9f2da732
UD
24321 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24322 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24323 GLIBC_PRIVATE.
24324 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24325 * nss/makedb.c: Implement -g option to specify that value strings
24326 are generated and should not be added to table iterated over for
24327 get*ent calls.
24328 * nss/nss_db/db-initgroups.c: New file.
24329
82e9a1f7
UD
24330 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24331 interface.
24332
c41af17e
UD
24333 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24334 (internal_getgrouplist): Adjust to name change.
24335 Update use_initgroups_entry if this is not the first call.
24336 * nss/databases.def: Add initgroups entry.
24337
a9e836b0
UD
24338 * nss/makedb.c (compute_tables): Check result of multiple hash table
24339 sizes to minimize maximum chain length.
24340
2666d441
UD
243412011-06-14 Ulrich Drepper <drepper@gmail.com>
24342
24343 * Versions.def: Add entry for libnss_db.
24344 * shlib-versions: Likewise.
24345 * nss/Makefile: Add rules to build libnss_db.
24346 * nss/Versions: Add libnss_db information. Organize libnss_files
24347 entries better.
24348 * nss/db-Makefile: Add gshadow support. Change rules for the new
24349 makedb progra. Some minor improvements to generate smaller files.
24350 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24351 here from...
24352 * nss/makedb.c: ...here.
24353 Improve database format to be smaller and require less memory at
24354 runtime.
24355 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24356 db anymore.
24357 * nss/nss_db/db-netgrp.c: Likewise.
24358 * nss/nss_db/db-open.c: Likewise.
24359 * nss/nss_files/flies-XXX.x: Adjust comments.
24360 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24361 * nss/nss_files/files-grp.c: Likewise.
24362 * nss/nss_files/files-hosts.c: Likewise.
24363 * nss/nss_files/files-network.c: Likewise.
24364 * nss/nss_files/files-proto.c: Likewise.
24365 * nss/nss_files/files-pwd.c: Likewise.
24366 * nss/nss_files/files-rpc.c: Likewise.
24367 * nss/nss_files/files-service.c: Likewise.
24368 * nss/nss_files/files-sgrp.c: Likewise.
24369 * nss/nss_files/files-spwd.c: Likewise.
24370 * nss/nss_db/db-alias.c: Removed.
24371 * nss/nss_db/dummy-db.h: Removed.
24372
9ee76b5a
UD
243732011-06-02 Ulrich Drepper <drepper@gmail.com>
24374
24375 * nss/makedb.c: Rewritten to not use database library.
24376 * nss/Makefile: Update to build new makedb program.
24377
c71ca1f8
AJ
243782011-06-14 Andreas Jaeger <aj@suse.de>
24379
24380 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24381 memset declaration.
24382
3154bfb8
UD
243832011-06-10 Andreas Schwab <schwab@redhat.com>
24384
24385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24386 tmpbuf.
24387
b350afab
RM
243882011-06-10 Roland McGrath <roland@hack.frob.com>
24389
decd4e50
RM
24390 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24391 * elf/Makefile ($(objpfx)ld.so): Likewise.
24392
5615eaf2
RM
24393 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24394 Don't list ld.so twice in dependencies.
24395
24396 * posix/bug-regex31.c: Include <stdlib.h>.
24397
24398 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24399
24400 * nis/nss_compat/compat-spwd.c
24401 (getspent_next_nss_netgr): Remove unused variable.
24402 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24403
24404 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24405 nonmembers" output to use the right array.
24406
24407 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24408
24409 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24410
24411 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24412 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24413 * catgets/gencat.c (read_input_file): Likewise.
24414 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24415
24416 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24417 variable definition inside #if's controlling its use.
24418
24419 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24420
24421 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24422
24423 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24424
24425 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24426 unreachable code.
24427
24428 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24429
b68e08db
RM
24430 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24431 * configure: Regenerated.
24432
b350afab
RM
24433 * Makerules: Revert last change.
24434 * elf/Makefile: Likewise.
24435
28368601
RM
244362011-06-09 Roland McGrath <roland@hack.frob.com>
24437
24438 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24439 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24440 (reloc-link): Likewise.
24441
11988f8f
UD
244422011-06-09 Ulrich Drepper <drepper@gmail.com>
24443
24444 * elf/Makefile: Add rules to build pldd.
24445 * elf/pldd.c: New file.
24446 * elf/pldd-xx.c: New file.
24447
e80fab37
UD
244482011-06-07 Ulrich Drepper <drepper@gmail.com>
24449
24450 * version.h: Update for 2.15 development version.
24451
9b849836
DM
244522011-06-07 David S. Miller <davem@davemloft.net>
24453
24454 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24455 ifuncs.
24456 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24457 elf_machine_lazy_rel): Likewise.
24458 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24459 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24460 elf_machine_lazy_rel): Likewise.
24461 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24462 dl_hwcap via passed in argument.
24463 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24464 Likewise.
24465
5a31b283
AK
244662011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24467
24468 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24469
069e52f8
RM
244702011-06-06 Roland McGrath <roland@hack.frob.com>
24471
24472 [BZ #12849]
24473 * manual/fdl-1.1.texi: New file, verbatim from:
24474 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24475 * manual/lgpl-2.1.texi: New file, verbatim from:
24476 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24477 * manual/Makefile (licenses): New variable, list those new file names.
24478 (texis): Use it.
24479 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24480
24481 * manual/fdl.texi: File removed.
24482 * manual/lesser.texi: File removed.
24483 * manual/libc.texinfo (Copying, Documentation License):
24484 Use new @include file names, put @appendix directive before @include.
24485
f16846a5
JJ
244862011-06-04 Jakub Jelinek <jakub@redhat.com>
24487
24488 [BZ #12841]
24489 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24490 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24491 (mq_open): Add __NTH.
24492
3d29045b
L
244932011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24494
24495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24496 Assume Intel Core i3/i5/i7 processor if AVX is available.
24497
8c297311
UD
244982011-05-31 Ulrich Drepper <drepper@gmail.com>
24499
24500 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24501 typo.
24502
c8fc0c91
UD
245032011-05-31 Andreas Schwab <schwab@redhat.com>
24504
24505 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24506 memory. Use alloca_account. Fix memory leak when retrying.
24507
5b27a807
UD
245082011-05-31 Ulrich Drepper <drepper@gmail.com>
24509
356f8bc6
UD
24510 * version.h (RELEASE): Bump for 2.14 release.
24511 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24512
5b27a807
UD
24513 * config.make.in (RANLIB): Remove entry.
24514
01f16ab0
UD
245152011-05-30 Ulrich Drepper <drepper@gmail.com>
24516
41fce8bd
UD
24517 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24518 (libc.pot): Work around missing support for .ksh extension in xgettext.
24519
4769ae77
UD
24520 [BZ #12684]
24521 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24522 if both request failed.
24523 (send_dg): In case of server errors clear resplen or *resplen2.
24524
6b1e7d19
UD
24525 [BZ #12454]
24526 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24527 when there are multiple maps.
24528 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24529 (_dl_fini): Remove test here.
24530
01f16ab0
UD
24531 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24532
b1ebd700
UD
245332011-05-29 Ulrich Drepper <drepper@gmail.com>
24534
7ae22829
UD
24535 [BZ #12350]
24536 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24537 bit from old_res_options.
24538 (gaih_inet): Likewise.
24539
553149f6 24540 [BZ #11099]
18a84741 24541 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24542 as signed.
24543
652ffab1
UD
24544 * resolv/res_init.c (res_setoptions): Make the code more compact.
24545
16985fd0
UD
24546 [BZ #11558]
24547 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24548 set RES_USEVC.
24549
0464f746
UD
24550 [BZ #11634]
24551 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24552
7d17596c
UD
24553 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24554
cf6bbbd7
UD
24555 [BZ #11781]
24556 * malloc/malloc.h: Declare malloc hook variables as volatile.
24557
13f1ab36
UD
24558 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24559 in last patch.
24560
b1ebd700
UD
24561 [BZ #11799]
24562 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24563 raise in the comment.
80e2212d
UD
24564 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24565 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24566 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24567
ce67228d
UD
245682011-05-28 Ulrich Drepper <drepper@gmail.com>
24569
8887a920
UD
24570 [BZ #12811]
24571 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24572 grow the buffers more if it already has to be sufficient.
24573 (build_wcs_upper_buffer): Likewise.
24574 * posix/regexec.c (check_matching): Likewise.
24575 (clean_state_log_if_needed): Likewise.
24576 (extend_buffers): Don't enlarge buffers beyond size of the input
24577 buffer.
24578 Patches mostly by Emil Wojak <emil@wojak.eu>.
24579 * posix/bug-regex32.c: New file.
24580 * posix/Makefile (tests): Add bug-regex32.
24581
4f031072
UD
24582 * locale/findlocale.c (_nl_find_locale): Return right away if
24583 _nl_explode_name failed.
24584 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24585
d0478f0c
UD
24586 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24587
de81b246
UD
24588 * debug/xtrace.sh: Unify messages.
24589 * malloc/memusage.sh: Likewise.
24590
c738465a
UD
24591 [BZ #12813]
24592 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24593 time symbol from vDSO. Substitute with vsyscall if not available.
24594 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24595 __vdso_time.
24596
f1f929d7
UD
24597 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24598 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24599 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24600 Add sendmmsg and internal_sendmmsg.
24601 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24602 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24603 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24604
ce67228d
UD
24605 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24606 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24607 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24608
e57420c6
UD
246092011-05-27 Ulrich Drepper <drepper@gmail.com>
24610
a8509ca5
UD
24611 [BZ #12813]
24612 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24613 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24614 available.
24615 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24616 __vdso_getcpu.
24617
e57420c6
UD
24618 [BZ #12814]
24619 * iconvdata/Makefile (tests): Add bug-iconv9.
24620 * iconvdata/bug-iconv9.c: New file.
24621
4d07db15
AS
246222011-05-27 Andreas Schwab <schwab@redhat.com>
24623
24624 [BZ #12814]
24625 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24626
ea486f69
JJ
246272011-05-25 Jakub Jelinek <jakub@redhat.com>
24628
24629 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24630 (struct user_regs_struct): Change intcs field back to cs.
24631
6f038433
UD
246322011-05-25 Ulrich Drepper <drepper@gmail.com>
24633
24634 * po/ja.po: Update from translation team.
24635
67f86a25
UD
246362011-05-23 Ulrich Drepper <drepper@gmail.com>
24637
24638 [BZ #12795]
24639 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24640 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24641
def7fbd6
AS
246422011-05-20 Andreas Schwab <schwab@redhat.com>
24643
24644 * stdlib/longlong.h: Update from GCC.
24645
f50ef8f1
AS
246462011-05-23 Andreas Schwab <schwab@redhat.com>
24647
24648 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24649 parameter name.
24650 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24651 Add parameter name.
24652 (__sysconf): Pass it down.
24653
de7ce8f1
UD
246542011-05-22 Ulrich Drepper <drepper@gmail.com>
24655
f2962a71
UD
24656 [BZ #12671]
24657 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24658 some situations.
24659 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24660 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24661 add in in __libc_use_alloca calls. Adjust callers.
24662 (glob): Use malloc in some situations.
24663
de7ce8f1
UD
24664 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24665 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24666 pltexit.
24667
aec84f53
UD
246682011-05-21 Ulrich Drepper <drepper@gmail.com>
24669
05bb4a68
UD
24670 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24671 and CLOCK_BOOTTIME_ALARM.
24672
7ea72f99
UD
24673 [BZ #12782]
24674 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24675 is returned.
24676
7e4afad5
UD
24677 * string/_strerror.c (__strerror_r): Print negative errors as signed
24678 numbers.
24679
8e211fec
UD
24680 [BZ #12777]
24681 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24682 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24683 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24684
f7d82dc9
UD
24685 * configure.in: Fix typo in redirection and correct removal of test
24686 files in two cases.
24687
cc9e536d
UD
24688 [BZ #12788]
24689 * locale/setlocale.c (new_composite_name): Fix test to check for
24690 identical name of all categories.
24691
aec84f53
UD
24692 [BZ #12792]
24693 * libio/filedoalloc.c (local_isatty): New function.
24694 (_IO_file_doallocate): Use local_isatty.
24695 * stdio-common/perror.c (perror): In case a new stream is used
24696 forward the stream error.
24697 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24698 error flag.
24699
78e64fdc
RT
247002011-05-20 Ulrich Drepper <drepper@gmail.com>
24701
34a9094f
UD
24702 [BZ #11869]
24703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24704 alloca.
24705 * include/alloca.h (extend_alloca_account): Define.
24706
78e64fdc
RT
24707 [BZ #11857]
24708 * posix/regex.h: Fix comments with documentation of user-accessible
24709 fields after compilation and describe correct free'ing of pattern
24710 after re_compile_pattern.
24711 Patch by Reuben Thomas <rrt@sc3d.org>.
24712
457bddfc
RA
247132011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24714
24715 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24716 and -mno-altivec to prevent the compiler from using Altivec and/or
24717 VSX instructions when the corresponding registers are not available.
24718
a4527b51
AS
247192011-05-19 Andreas Schwab <schwab@redhat.com>
24720
24721 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24722
ed690b2f
UD
247232011-05-19 Ulrich Drepper <drepper@gmail.com>
24724
24725 * libio/freopen.c (freopen): Use __dup2, not dup2.
24726 * libio/freopen64.c (freopen64): Likewise.
24727
8db73634
L
247282011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24729
24730 [BZ #12775]
24731 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24732 * math/Makefile (tests): Add test-powl.
24733 (CFLAGS-test-powl.c): Define.
24734 * math/test-powl.c: New file.
24735
0a197a9d
L
247362011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24737
24738 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24739
ee30c380
UD
247402011-05-17 Ulrich Drepper <drepper@gmail.com>
24741
24742 [BZ #11837]
24743 * iconvdata/gb18030.c: Update to GB18020-2005.
24744
6ce75379
UD
247452011-05-16 Ulrich Drepper <drepper@gmail.com>
24746
a4b89fd8
AR
24747 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24748 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24749 Patch by Aharon Robbins <arnold@skeeve.com>.
24750
ea389b12
UD
24751 [BZ #11892]
24752 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24753 on the stack.
24754
68a3f91f
UD
24755 [BZ #11895]
24756 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24757 through underflows.
24758
15cc7dd1
UD
24759 [BZ #12766]
24760 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24761 point to strings before performing equality test for error_one_per_line
24762 mode.
24763
f3799213
UD
24764 [BZ #11697]
24765 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24766
d79a9c94
UD
24767 [BZ #11820]
24768 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24769 (struct user_fpregs_struct): Avoid __uint*_t types.
24770
56e5eb46
UD
24771 [BZ #6420]
24772 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24773 symbol info. Use it instead of calling _dl_addr locally.
24774 (lock_and_info): New function.
24775 (tr_freehook): Call lock_and_info and pass symbol info as additional
24776 parameter to tr_where.
24777 (tr_mallochook): Likewise.
24778 (tr_reallochook): Likewise.
24779 (tr_memalignhook): Likewise.
24780
6ce75379
UD
24781 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24782 used and couldn't be at all thread-safe.
24783
f8a3b5bf
UD
247842011-05-15 Ulrich Drepper <drepper@gmail.com>
24785
94b7cc37
UD
24786 * libio/freopen.c (freopen): Don't close old file descriptor
24787 before the new one is opened. Instead dup the new file descriptor
24788 to the old one after the new stream is created.
24789 * libio/freopen64.c (freopen64): Likewise.
24790 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24791 * libio/fileops.c (_IO_new_file_close_it): Handle new
24792 _IO_FLAGS2_NOCLOSE flag.
24793 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24794 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24795 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24796 _IO_FLAGS2_NOCLOSE flag.
24797 * include/unistd.h: Add hidden_proto for dup3.
24798 Define __have_dup3.
24799 * io/dup3.c: Define hidden symbol.
24800 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24801
bd25564e
UD
24802 [BZ #7101]
24803 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24804 when an incomplete long option is used.
24805 * posix/tst-getopt_long1.c: New file.
24806 * posix/Makefile (tests): Add tst-getopt_long1.
24807
c84cfef4
UD
24808 [BZ #10138]
24809 * scripts/config.guess: Update from autoconf-2.68.
24810 * scripts/config.sub: Likewise.
24811
3b85df27
UD
24812 [BZ #10157]
24813 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24814 tests into ...
24815 (has_cpuclock): ...this. New function.
24816 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24817 macro here based on has_cpuclock code.
24818
15a856b1
UD
24819 [BZ #10149]
24820 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24821 First byte (not low byte) is now always NUL.
24822 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24823
05f399e6
UD
24824 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24825 Use non-cancelable interfaces.
24826
10a52685 24827 [BZ #9809]
94ecc67d
UD
24828 * locale/iso-639.def: Add entry for Sorani.
24829
f8a3b5bf
UD
24830 [BZ #11901]
24831 * include/stdlib.h: Move include protection to the right place.
24832 Define abort_msg_s. Declare __abort_msg with it.
24833 * stdlib/abort.c (__abort_msg): Adjust type.
24834 * assert/assert.c (__assert_fail_base): New function. Majority
24835 of code from __assert_fail. Allocate memory for __abort_msg with
24836 mmap.
24837 (__assert_fail): Now call __assert_fail_base.
24838 * assert/assert-perr.c: Remove bulk of implementation. Use
24839 __assert_fail_base.
24840 * include/assert.hL Declare __assert_fail_base.
24841 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24842 mmap.
24843 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24844
1af4e298
UD
248452011-05-14 Ulrich Drepper <drepper@gmail.com>
24846
f8a3b5bf 24847 [BZ #11952]
d26dfc60
MG
24848 [BZ #12453]
24849 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24850 until all modules are registered in the DTV.
24851 * elf/Makefile: Add rules to build and run tst-tls19.
24852 * elf/tst-tls19.c: New file.
24853 * elf/tst-tls19mod1.c: New file.
24854 * elf/tst-tls19mod2.c: New file.
24855 * elf/tst-tls19mod3.c: New file.
24856 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24857
2fc54d6f
UD
24858 [BZ #12083]
24859 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24860 correctly.
24861
98d76b46
UD
24862 [BZ #12601]
24863 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24864 two-byte sequence errors.
24865 * iconvdata/Makefile (tests): Add bug-iconv8.
24866 * iconvdata/bug-iconv8.c: New file.
24867
da3c19ef
UD
24868 [BZ #12626]
24869 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24870 buf2 definition.
24871
ca408c15
UD
24872 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24873
d6f67f7d
UD
24874 [BZ #12432]
24875 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24876 (dummy_getcfa): New function.
24877 (init): Get _Unwind_GetCFA address, use dummy if not found.
24878 (backtrace_helper): In recursion check, also check whether CFA changes.
24879 (__backtrace): Completely initialize arg.
24880
1af4e298 24881 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
24882 storing incomplete byte sequence in state object. Avoid testing for
24883 guaranteed too small input if we know there is enough data available.
1af4e298 24884
da62f81b
AS
248852011-05-11 Andreas Schwab <schwab@redhat.com>
24886
24887 * Makeconfig (+link-pie): Indent.
24888 * Rules (binaries-pie): Define if $(have-fpie) and
24889 $(build-shared).
24890 (binaries-shared): Also filter out $(binaries-pie).
24891 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24892 * nscd/Makefile (others-pie): Add nscd.
24893 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24894 ($(objpfx)nscd): Remove command override.
24895 * login/Makefile (others-pie): Add pt_chown.
24896 ($(objpfx)pt_chown): Remove command override.
24897 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24898 remove command overrides.
24899
fcabc0f8
UD
249002011-05-13 Ulrich Drepper <drepper@gmail.com>
24901
20030ae6
UD
24902 * libio/tst_putwc.c: Fix error messages.
24903
fcabc0f8
UD
24904 [BZ #12724]
24905 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24906 currently writing and seek to current position when not.
24907 * libio/Makefile (tests): Add bug-fclose1.
24908 * libio/bug-fclose1.c: New file.
24909
320a5dc0
PB
249102011-05-12 Ulrich Drepper <drepper@gmail.com>
24911
24912 [BZ #12511]
24913 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24914 don't set DF_1_NODELETE here.
24915 (do_lookup_x): When entering new entry test for copy relocation
24916 and if necessary set DF_1_NODELETE flag.
24917 * elf/tst-unique4.cc: New file.
24918 * elf/tst-unique4.h: New file.
24919 * elf/tst-unique4lib.cc: New file.
24920 * elf/Makefile: Add rules to build and run tst-unique4.
24921 Patch by Piotr Bury <pbury@goahead.com>.
24922
22836f52
UD
249232011-05-11 Ulrich Drepper <drepper@gmail.com>
24924
f574184a
UD
24925 [BZ #12052]
24926 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24927
e1fb097f
UD
24928 [BZ #12625]
24929 * misc/mntent_r.c (addmntent): Flush the stream after the output
24930
22836f52
UD
24931 [BZ #12393]
24932 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24933 (is_trusted_path_normalize): Skip initial colon. Append slash
24934 to empty buffer. Duplicate is_trusted_path code but allow
24935 constructed patch to be prefix.
24936 (is_dst): Allow $ORIGIN followed by /.
24937 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24938 Correct testing of result of is_trusted_path_normalize
24939 (decompose_rpath): Fix warning.
24940
7b3b0b2a
UD
249412011-05-10 Ulrich Drepper <drepper@gmail.com>
24942
24943 [BZ #11257]
24944 * grp/initgroups.c (internal_getgrouplist): When we found the service
24945 list through the initgroups entry in nsswitch.conf do not always
24946 continue on a successful lookup. Don't always use the
eac80ce2 24947 __nss_group_database value if it is set.
7b3b0b2a
UD
24948 * nss/nsswitch.conf (initgroups): Change action for successful db
24949 lookup to continue for compatibility.
24950
2a81eaa5
UD
249512011-05-09 Ulrich Drepper <drepper@gmail.com>
24952
be97a69e
UD
24953 [BZ #11532]
24954 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24955 and CP774 modules.
24956 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24957 and CP774 modules.
24958 * iconvdata/tst-tables.sh: Likewise.
24959 * iconvdata/cp770.c: New file.
24960 * iconvdata/cp771.c: New file.
24961 * iconvdata/cp772.c: New file.
24962 * iconvdata/cp773.c: New file.
24963 * iconvdata/cp774.c: New file.
24964 * iconvdata/testdata/CP770: New file.
24965 * iconvdata/testdata/CP770..UTF8: New file.
24966 * iconvdata/testdata/CP771: New file.
24967 * iconvdata/testdata/CP771..UTF8: New file.
24968 * iconvdata/testdata/CP772: New file.
24969 * iconvdata/testdata/CP772..UTF8: New file.
24970 * iconvdata/testdata/CP773: New file.
24971 * iconvdata/testdata/CP773..UTF8: New file.
24972 * iconvdata/testdata/CP774: New file.
24973 * iconvdata/testdata/CP774..UTF8: New file.
24974
24975 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24976 END CHARMAP line.
24977 * iconvdata/gen-8bit-gap.sh: Likewise.
24978 * iconvdata/gen-8bit.sh: Likewise.
24979
c1e9e399
UD
24980 * locale/iso-639.def: Add ary entry.
24981
24c55fb3 24982 [BZ #11258]
96b4b1b0
UD
24983 * locale/C-translit.h.in: Add U20A1 transliteration.
24984
bdc2f971
KB
24985 [BZ #12178]
24986 * locale/iso-639.def: Add wae entry.
24987 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24988
2952b117
UD
24989 [BZ #12545]
24990 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24991 for n.
24992
2a81eaa5
UD
24993 [BZ #12711]
24994 * locale/C-translit.h.in: Add entry for U20B9.
24995 Patch by pravin.d.s@gmail.com.
24996
28377d1b
UD
249972011-05-08 Ulrich Drepper <drepper@gmail.com>
24998
7fb90fb8
UD
24999 [BZ #12713]
25000 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25001 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25002 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25003 in rtld. Use *stat64.
7fb90fb8 25004 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25005 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25006 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25007 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25008 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25009 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25010 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25011 __fstatat64 macros.
7fb90fb8
UD
25012 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25013 * dirent/rewinddir.c: Add libc_hidden_def.
25014 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25015 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25016
28377d1b
UD
25017 * include/dirent.h (__alloc_dir): Add flags parameter.
25018 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25019 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25020 __alloc_dir.
25021 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25022 from fdopendir if O_CLOEXEC is already set.
25023
66bdbaa4
AM
250242011-03-15 Alan Modra <amodra@gmail.com>
25025
25026 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25027 l_tls_firstbyte_offset non-zero. Save padding offset in
25028 l_tls_firstbyte_offset for later use.
25029 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25030 freeing static tls block.
25031
95721191
JN
250322011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25033
25034 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25035 where #ifdef was intended. The intent is to prevent ARG_MAX from
25036 being defined by the kernel headers.
25037
f87dfb1f
UD
250382011-05-07 Ulrich Drepper <drepper@gmail.com>
25039
25040 [BZ #12734]
25041 * resolv/resolv.h: Define RES_NOTLDQUERY.
25042 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25043 no-tld-query and set RES_NOTLDQUERY.
25044 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25045 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25046 modern BIND to search name as TLD unless forbidden.
25047
47c3cd7a
UD
250482011-05-07 Petr Baudis <pasky@suse.cz>
25049 Ulrich Drepper <drepper@gmail.com>
25050
25051 [BZ #12393]
25052 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25053 (is_trusted_path): ...to here.
c1e9ea35 25054 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25055 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25056 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25057
8a35c912
PP
250582011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25059
25060 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25061 __BEGIN/__END_DECLS.
25062
acd41f47
UD
250632011-05-06 Ulrich Drepper <drepper@gmail.com>
25064
25065 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25066 NSS_STATUS_NOTFOUND if no record was found.
25067
597df647
AS
250682011-05-05 Andreas Schwab <schwab@redhat.com>
25069
25070 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25071 (headers-not-in-tirpc): Remove rpc/netdb.h
25072 * resolv/netdb.h: Revert last change.
25073
b9af1301
PP
250742011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25075
25076 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25077 circular dependency between libgcc.a and libc.a.
25078
4e34d5f5
AS
250792011-05-05 Andreas Schwab <schwab@redhat.com>
25080
25081 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25082 * nis/Makefile: Don't install rpcsvc/*.
25083 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25084 instead of <rpc/types.h>.
25085 (MAXHOSTNAMELEN): Define.
25086
00ee369c
AS
250872011-05-03 Andreas Schwab <schwab@redhat.com>
25088
25089 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25090
0b592a30
MB
250912011-04-28 Maciej Babinski <mbabinski@google.com>
25092
25093 [BZ #12714]
25094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25095 gethostbyname4_r when IPv6 results are possible.
25096
6e04cbbe
UD
250972011-05-02 Ulrich Drepper <drepper@gmail.com>
25098
25099 [BZ #12723]
25100 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25101 _PC_PIPE_BUF handling.
25102
e4ecafe0
BH
251032011-04-30 Bruno Haible <bruno@clisp.org>
25104
25105 [BZ #12717]
25106 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25107 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25108 to 'int'.
25109 * inet/getnameinfo.c (getnameinfo): Likewise.
25110
125ee683
UD
251112011-04-29 Ulrich Drepper <drepper@gmail.com>
25112
25113 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25114 to groups setting in database lookup.
25115 * nss/nsswitch.conf: Add initgroups entry.
25116
b722481a
EB
251172011-04-22 Ulrich Drepper <drepper@gmail.com>
25118
25119 [BZ #12685]
25120 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25121 mode string.
25122 Patch by Eric Blake <eblake@redhat.com>.
25123
4df46dbd
L
251242011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25125
25126 * sunrpc/Makefile (need-export-routines): Add svc_run.
25127 (routines): Remove svc_run.
25128 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25129 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25130 * sunrpc/svc_run.c (svc_run): Likewise.
25131 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25132
e84142d2
UD
251332011-04-21 Ulrich Drepper <drepper@gmail.com>
25134
25135 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25136 problem in reallocation in last patch.
25137
877175d8
UD
251382011-04-20 Ulrich Drepper <drepper@gmail.com>
25139
25140 * sunrpc/Makefile: Move inclusion of Rules.
25141
ab8eed78
UD
251422011-04-19 Ulrich Drepper <drepper@gmail.com>
25143
25144 * nss/nss_files/files-initgroups.c: New file.
25145 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25146 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25147 _nss_files_initgroups_dyn.
25148
e3d8f584
RS
251492011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25150
25151 * elf/elf.h (R_ARM_IRELATIVE): Define.
25152
af190f45
UD
251532011-04-19 Ulrich Drepper <drepper@gmail.com>
25154
25155 * po/ru.po: Update from translation team.
25156
53cf59ef
UD
251572011-04-17 Ulrich Drepper <drepper@gmail.com>
25158
25159 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25160 dependencies.
25161
4c559bcd
MF
251622011-02-06 Mike Frysinger <vapier@gentoo.org>
25163
25164 [BZ #12653]
25165 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25166 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25167 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25168 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25169 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25170
4420675c
AS
251712011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25172
25173 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25174 differing bytes.
25175 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25176 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25177 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25178
75ea32ab
UD
251792011-04-17 Ulrich Drepper <drepper@gmail.com>
25180
25181 [BZ #12420]
25182 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25183 storing it.
25184 * stdlib/bug-getcontext.c: New file.
25185 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25186
27390476
AK
251872011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25188
25189 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25190 instructions into .machine "z9-109".
25191 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25192 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25193
10442705
AK
251942011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25195
25196 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25197 between environment variables and auxiliary vector.
25198
7b57bfe5
UD
251992011-04-16 Ulrich Drepper <drepper@gmail.com>
25200
25201 * Makefile: Add rules to build linkobj/libc.so.
25202 * include/libc-symbols.h: Define libc_hidden_nolink.
25203 * include/rpc/auth.h: Mark functions which are to be hidden.
25204 * include/rpc/auth_des.h: Likewise.
25205 * include/rpc/auth_unix.h: Likewise.
25206 * include/rpc/clnt.h: Likewise.
25207 * include/rpc/des_crypt.h: Likewise.
25208 * include/rpc/key_prot.h: Likewise.
25209 * include/rpc/pmap_clnt.h: Likewise.
25210 * include/rpc/pmap_prot.h: Likewise.
25211 * include/rpc/pmap_rmt.h: Likewise.
25212 * include/rpc/rpc_msg.h: Likewise.
25213 * include/rpc/svc.h: Likewise.
25214 * include/rpc/svc_auth.h: Likewise.
25215 * include/rpc/xdr.h: Likewise.
25216 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25217 * nss/Makefile: Likewise.
25218 * sunrpc/Makefile: Don't install headers. Build library with normal
25219 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25220 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25221 for the compat linking library. Remove use of INTDEF/INTUSE.
25222 * sunrpc/auth_none.c: Likewise.
25223 * sunrpc/auth_unix.c: Likewise.
25224 * sunrpc/authdes_prot.c: Likewise.
25225 * sunrpc/authuxprot.c: Likewise.
25226 * sunrpc/clnt_gen.c: Likewise.
25227 * sunrpc/clnt_perr.c: Likewise.
25228 * sunrpc/clnt_raw.c: Likewise.
25229 * sunrpc/clnt_simp.c: Likewise.
25230 * sunrpc/clnt_tcp.c: Likewise.
25231 * sunrpc/clnt_udp.c: Likewise.
25232 * sunrpc/clnt_unix.c: Likewise.
25233 * sunrpc/des_crypt.c: Likewise.
25234 * sunrpc/des_soft.c: Likewise.
25235 * sunrpc/get_myaddr.c: Likewise.
25236 * sunrpc/key_call.c: Likewise.
25237 * sunrpc/key_prot.c: Likewise.
25238 * sunrpc/netname.c: Likewise.
25239 * sunrpc/pm_getmaps.c: Likewise.
25240 * sunrpc/pm_getport.c: Likewise.
25241 * sunrpc/pmap_clnt.c: Likewise.
25242 * sunrpc/pmap_prot.c: Likewise.
25243 * sunrpc/pmap_prot2.c: Likewise.
25244 * sunrpc/pmap_rmt.c: Likewise.
25245 * sunrpc/publickey.c: Likewise.
25246 * sunrpc/rpc_cmsg.c: Likewise.
25247 * sunrpc/rpc_common.c: Likewise.
25248 * sunrpc/rpc_dtable.c: Likewise.
25249 * sunrpc/rpc_prot.c: Likewise.
25250 * sunrpc/rpc_thread.c: Likewise.
25251 * sunrpc/rtime.c: Likewise.
25252 * sunrpc/svc.c: Likewise.
25253 * sunrpc/svc_auth.c: Likewise.
25254 * sunrpc/svc_authux.c: Likewise.
25255 * sunrpc/svc_raw.c: Likewise.
25256 * sunrpc/svc_run.c: Likewise.
25257 * sunrpc/svc_simple.c: Likewise.
25258 * sunrpc/svc_tcp.c: Likewise.
25259 * sunrpc/svc_udp.c: Likewise.
25260 * sunrpc/svc_unix.c: Likewise.
25261 * sunrpc/svcauth_des.c: Likewise.
25262 * sunrpc/xcrypt.c: Likewise.
25263 * sunrpc/xdr.c: Likewise.
25264 * sunrpc/xdr_array.c: Likewise.
25265 * sunrpc/xdr_float.c: Likewise.
25266 * sunrpc/xdr_intXX_t.c: Likewise.
25267 * sunrpc/xdr_mem.c: Likewise.
25268 * sunrpc/xdr_rec.c: Likewise.
25269 * sunrpc/xdr_ref.c: Likewise.
25270 * sunrpc/xdr_sizeof.c: Likewise.
25271 * sunrpc/xdr_stdio.c: Likewise.
25272
e6c61494
UD
252732011-04-10 Ulrich Drepper <drepper@gmail.com>
25274
25275 [BZ #12650]
25276 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25277 * sysdeps/ia64/dl-tls.h: Likewise.
25278 * sysdeps/powerpc/dl-tls.h: Likewise.
25279 * sysdeps/s390/dl-tls.h: Likewise.
25280 * sysdeps/sh/dl-tls.h: Likewise.
25281 * sysdeps/sparc/dl-tls.h: Likewise.
25282 * sysdeps/x86_64/dl-tls.h: Likewise.
25283 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25284
34fe483e
AS
252852011-03-14 Andreas Schwab <schwab@redhat.com>
25286
25287 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25288 rpath element also skip the following colon.
25289 (expand_dynamic_string_token): Add is_path parameter and pass
25290 down to DL_DST_REQUIRED and _dl_dst_substitute.
25291 (decompose_rpath): Call expand_dynamic_string_token with
25292 non-zero is_path. Ignore empty rpaths.
25293 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25294 with zero is_path.
25295
f12a32e6
AS
252962011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25297
25298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25299 Make cancelable.
25300
38a7d692
UD
253012011-04-09 Ulrich Drepper <drepper@gmail.com>
25302
25303 [BZ #12655]
25304 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25305 Patch by Filipe David Manana <fdmanana@apache.org>.
25306
e451d22b
AS
253072011-04-07 Andreas Schwab <schwab@redhat.com>
25308
25309 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25310 Maintain aligned stack.
25311 (CHECK_RSP): Remove unused macro.
25312
dedc7c7b
UD
253132011-04-03 Ulrich Drepper <drepper@gmail.com>
25314
25315 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25316 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25317
94521213
UD
253182011-04-02 Ulrich Drepper <drepper@gmail.com>
25319
25320 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25321
8cb700c0 25322 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25323
0354e355
L
253242011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25325
25326 [BZ #12518]
25327 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25328 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25329 * sysdeps/x86_64/memmove.c: New file.
25330 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25331 (memcpy): Renamed to ...
25332 (__new_memcpy): This.
25333 (memcpy): Provide GLIBC_2_14 memcpy.
25334 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25335 (memcpy): Provide GLIBC_2_2_5 memcpy.
25336
8593482f
UD
253372011-04-01 Ulrich Drepper <drepper@gmail.com>
25338
25339 [BZ #12631]
25340 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25341
81a5726b
AS
253422011-03-30 Andreas Schwab <schwab@redhat.com>
25343
25344 * misc/syncfs.c: New file.
25345 * misc/Makefile (routines): Add syncfs.
25346 * posix/unistd.h: Declare syncfs.
25347 * sysdeps/unix/syscalls.list: Add syncfs.
25348
00e5419f
AS
253492011-04-01 Andreas Schwab <schwab@redhat.com>
25350
25351 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25352 open_by_handle_at.
25353 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25354 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25355 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25356 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25357 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25358 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25359 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25360
748876bf
UD
253612011-04-01 Ulrich Drepper <drepper@gmail.com>
25362
658e451d
UD
25363 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25364 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25365 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25366 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25367 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25368 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25369 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25370
748876bf
UD
25371 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25372 sync_file_range.c with -fexceptions.
25373 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25374 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25375 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25376 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25377 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25378 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25379 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25380 sync_file_range as cancellation point
25381 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25382 now a wrapper around __call_sync_file_range with cancellation handling.
25383 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25384 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25385 function name to __call_sync_file_range.
25386 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25387 Add call_sync_file_range.
748876bf 25388
6e63d5e1
AS
253892011-04-01 Andreas Schwab <schwab@redhat.com>
25390
25391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25392 bits/timex.h.
6e63d5e1 25393
46998f74
UD
253942011-04-01 Ulrich Drepper <drepper@gmail.com>
25395
4c1423ed
UD
25396 * iconv/iconv.h: Fix typo in comment.
25397 * io/fcntl.h: Likewise.
25398 * libio/stdio.h: Likewise.
25399 * posix/spawn.h: Likewise.
25400 * posix/unistd.h: Likewise.
25401 * stdlib/stdlib.h: Likewise.
25402 * time/time.h: Likewise.
25403 * wcsmbs/wchar.h: Likewise.
25404
158648c0
UD
25405 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25406 open_by_handle): Add.
25407 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25408 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25409 Augment a few comments.
25410 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25411 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25412 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25413 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25414 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25415 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25416 open_by_handle.
25417
46998f74
UD
25418 * io/fcntl.h (AT_EMPTY_PATH): Define.
25419
83fe108b
UD
254202011-03-30 Ulrich Drepper <drepper@gmail.com>
25421
25422 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25423 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25424 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25425 to...
25426 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25427 * Versions.def: Add GLIBC_2.14.
25428 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25429 Export.
83fe108b 25430
bb242059
UD
254312011-03-22 Ulrich Drepper <drepper@gmail.com>
25432
25433 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25434 round counter.
25435 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25436
c97a1282
L
254372011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25438
25439 [BZ #12597]
25440 * string/test-strncmp.c (do_page_test): New function.
25441 (check2): Likewise.
25442 (test_main): Call check2.
25443 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25444
2a115601
UD
254452011-03-20 Ulrich Drepper <drepper@gmail.com>
25446
25447 [BZ #12587]
25448 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25449 Handle cache information in CPU leaf 4.
25450 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25451
8126d904
UD
254522011-03-18 Ulrich Drepper <drepper@gmail.com>
25453
042c49c6 25454 [BZ #12583]
8126d904
UD
25455 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25456 character representation.
25457 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25458
ccfe366e
RA
254592011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25460
25461 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25462 END(__isnan) to END(__isnanf) to match function entry point/label
25463 EALIGN(__isnanf,...).
25464
c6e13027
JJ
254652011-03-10 Jakub Jelinek <jakub@redhat.com>
25466
25467 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25468
33f85a3f
UD
254692011-03-10 Ulrich Drepper <drepper@gmail.com>
25470
028478fa
UD
25471 [BZ #12510]
25472 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25473 copy from the symbol referenced in the relocation to initialize the
25474 used variable.
25475 Patch by Piotr Bury <pbury@goahead.com>.
25476 * elf/Makefile: Add rules to build and tst-unique3.
25477 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25478 * elf/tst-unique3.cc: New file.
25479 * elf/tst-unique3.h: New file.
25480 * elf/tst-unique3lib.cc: New file.
25481 * elf/tst-unique3lib2.cc: New file.
25482
33f85a3f
UD
25483 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25484
03592fc7
MF
254852011-03-10 Mike Frysinger <vapier@gentoo.org>
25486
25487 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25488 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25489 to _start.
03592fc7 25490
6a5ee102
UD
254912011-03-06 Ulrich Drepper <drepper@gmail.com>
25492
25493 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25494 to-be-loaded object along a path to loader is ld.so.
25495
7e4ba49c
HJ
254962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25497 Ulrich Drepper <drepper@gmail.com>
25498
25499 * sysdeps/x86_64/memset.S: After aligning destination, code
25500 branches to different locations depending on the value of
25501 misalignment, when multiarch is enabled. Fix this.
25502
255032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25504
25505 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25506 Set _x86_64_preferred_memory_instruction for AMD processsors.
25507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25508 Set bit_Prefer_SSE_for_memop for AMD processors.
25509
13a804de
UD
255102011-03-04 Ulrich Drepper <drepper@gmail.com>
25511
25512 * libio/fmemopen.c (fmemopen): Optimize a bit.
25513
9d25c392
AS
255142011-03-03 Andreas Schwab <schwab@redhat.com>
25515
25516 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25517
a5543c6a
RM
255182011-03-03 Roland McGrath <roland@redhat.com>
25519
25520 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25521
012d35f7
DM
255222011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25523
7e4ba49c 25524 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25525 __bzero_ultra1 instead of __memset_ultra1.
25526
4bff6e01
AS
255272011-02-23 Andreas Schwab <schwab@redhat.com>
25528 Ulrich Drepper <drepper@gmail.com>
25529
25530 [BZ #12509]
25531 * include/link.h (struct link_map): Add l_orig_initfini.
25532 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25533 returning unsuccessfully.
25534 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25535 close of a file loaded at startup, restore the original l_initfini
25536 list.
25537 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25538 list, store the pointer.
25539 * elf/Makefile ($(objpfx)noload-mem): New rule.
25540 (noload-ENV): Define.
25541 (tests): Add $(objpfx)noload-mem.
25542 * elf/noload.c: Include <memcheck.h>.
25543 (main): Call mtrace. Close all opened handles.
25544
f2092faf
AS
255452011-02-17 Andreas Schwab <schwab@redhat.com>
25546
25547 [BZ #12454]
25548 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25549 dependencies are missing.
25550
6c8a2e88
ST
255512011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25552
f2092faf 25553 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25554 Hurd needs munmap.
25555 * sysdeps/mach/hurd/ifreq.h: New file.
25556
84a42118
PB
255572011-01-27 Petr Baudis <pasky@suse.cz>
25558 Ulrich Drepper <drepper@gmail.com>
25559
071f805e 25560 [BZ 12445]#
84a42118
PB
25561 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25562 to extend_alloca().
25563 * stdio-common/bug23.c: New file.
25564 * stdio-common/Makefile (tests): Add bug23.
25565
e23fe25b
AS
255662010-09-28 Andreas Schwab <schwab@redhat.com>
25567 Ulrich Drepper <drepper@gmail.com>
25568
25569 [BZ #12489]
25570 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25571 before performing relro protection. At old place add assertion
25572 to make sure nothing changed.
25573
d3f02e10
NS
255742011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25575 Glauber de Oliveira Costa <glommer@gmail.com>
25576
25577 * elf/elf.h: Add new ARM TLS relocs.
25578
d55fd7a5
RA
255792011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25580
25581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25582 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25583 cast from r3.
25584 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25585 'tests' variable.
25586 * sysdeps/wordsize-64/tst-writev.c: New file.
25587
2206397e
RA
255882011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25589
25590 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25591 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25592 insns in _dl_start to prevent a TOC reference before relocs are
25593 resolved.
25594
e9433893
UD
255952011-02-15 Ulrich Drepper <drepper@gmail.com>
25596
25597 [BZ #12469]
25598 * Makeconfig: Remove RANLIB definition.
25599 * Makerules: Don't use RANLIB.
25600 * aclocal.m4: Remove ranlib test.
25601 * configure.in: No need to check for ranlib.
25602 * elf/rtld-Rules: Don't use RANLIB.
25603
f75286c6
ST
256042011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25605
8e31c82d
ST
25606 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25607 protection macro.
25608 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25609 inclusion protection macro.
25610
f75286c6
ST
25611 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25612 SIGRTMIN and SIGRTMAX and print information in that case only when
25613 SIGRTMIN is defined.
25614
c1d0e639
JJ
256152011-02-11 Jakub Jelinek <jakub@redhat.com>
25616
25617 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25618 arginfo fn returning -1.
25619
25620 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25621 and thousands string is zero terminated.
25622
edf9294e
AS
256232011-02-03 Andreas Schwab <schwab@redhat.com>
25624
25625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25626 sysdeps/unix/sysv/linux/bits/socket.h.
25627
2b7e92df
ST
256282011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25629
edf9294e
AS
25630 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25631 (__CPU_COUNT): Remove old macros.
25632 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25633 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25634 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
25635 (__sched_cpualloc, __sched_cpufree): Add declarations.
25636
a4c7ea7b
UD
256372011-02-05 Ulrich Drepper <drepper@gmail.com>
25638
25639 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25640 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25641 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25642 (readdhstai): Return value of addhstaiX call.
25643 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25644 (addgrbyX): Return value returned by cache_addgr.
25645 (readdgrbyname): Return value returned by addgrbyX.
25646 (readdgrbygid): Likewise.
25647 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25648 (addpwbyX): Return value returned by cache_addpw.
25649 (readdpwbyname): Return value returned by addhstbyX.
25650 (readdpwbyuid): Likewise.
25651 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25652 (addservbyX): Return value returned by cache_addserv.
25653 (readdservbyname): Return value returned by addservbyX:
25654 (readdservbyport): Likewise.
25655 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25656 (addhstbyX): Return value returned by cache_addhst.
25657 (readdhstbyname): Return value returned by addhstbyX.
25658 (readdhstbyaddr): Likewise.
25659 (readdhstbynamev6): Likewise.
25660 (readdhstbyaddrv6): Likewise.
25661 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25662 (readdinitgroups): Return value returned by addinitgroupsX.
25663 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25664 (prune_cache): Keep track of timeout value of re-added entries.
25665 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25666 * nscd/nscd.h: Adjust prototypes of readd* functions.
25667
a0bf67cc
RM
256682011-02-04 Roland McGrath <roland@redhat.com>
25669
25670 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25671 (nis_stats): Likewise.
25672 * nis/nis_modify.c (nis_modify): Likewise.
25673 * nis/nis_remove.c (nis_remove): Likewise.
25674 * nis/nis_add.c (nis_add): Likewise.
25675
25676 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25677
25678 * posix/fnmatch_loop.c: Add some consts.
25679
25680 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25681
435b95eb
L
256822011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25683
25684 [BZ #12460]
25685 * config.make.in (config-cflags-novzeroupper): Define.
25686 * configure.in: Substitute libc_cv_cc_novzeroupper.
25687 * elf/Makefile (AVX-CFLAGS): Define.
25688 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25689 (CFLAGS-tst-auditmod4a.c): Likewise.
25690 (CFLAGS-tst-auditmod4b.c): Likewise.
25691 (CFLAGS-tst-auditmod6b.c): Likewise.
25692 (CFLAGS-tst-auditmod6c.c): Likewise.
25693 (CFLAGS-tst-auditmod7b.c): Likewise.
25694 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25695
8517b15e
UD
256962011-02-02 Ulrich Drepper <drepper@gmail.com>
25697
25698 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25699 function to the callback.
25700 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25701
10a656fe
AS
257022011-02-02 Andreas Schwab <schwab@redhat.com>
25703
25704 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25705 of errno.
25706
968dad0a
UD
257072011-01-19 Ulrich Drepper <drepper@gmail.com>
25708
9f94d2ea 25709 [BZ #11724]
968dad0a
UD
25710 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25711 of constructors.
25712 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25713 of destructors.
25714 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25715
25716 [BZ #11724]
25717 * elf/Makefile: Add rules to build and run new test.
25718 * elf/tst-initorder.c: New file.
25719 * elf/tst-initorder.exp: New file.
25720 * elf/tst-initordera1.c: New file.
25721 * elf/tst-initordera2.c: New file.
25722 * elf/tst-initordera3.c: New file.
25723 * elf/tst-initordera4.c: New file.
25724 * elf/tst-initorderb1.c: New file.
25725 * elf/tst-initorderb2.c: New file.
25726 * elf/tst-order-a1.c: New file.
25727 * elf/tst-order-a2.c: New file.
25728 * elf/tst-order-a3.c: New file.
25729 * elf/tst-order-a4.c: New file.
25730 * elf/tst-order-b1.c: New file.
25731 * elf/tst-order-b2.c: New file.
25732 * elf/tst-order-main.c: New file.
25733 New test case by George Gensure <werkt0@gmail.com>.
25734
86e92359
UD
257352010-10-01 Andreas Schwab <schwab@redhat.com>
25736
25737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25738 decoding ACE if AI_CANONIDN.
25739
5d5732b0
UD
257402011-01-18 Ulrich Drepper <drepper@gmail.com>
25741
25742 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25743
a77e8cbc
UD
257442011-01-17 Ulrich Drepper <drepper@gmail.com>
25745
6392473f
UD
25746 * version.h (RELEASE): Bump for 2.13 release.
25747 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25748
620a0529
UD
25749 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25750
18ba70a5
UD
25751 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25752 MADV_NOHUGEPAGE.
32465c3e
UD
25753 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25754 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25755 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25756 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25757 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25758 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25759
c0dafcf1
UD
25760 * posix/getconf.c: Update copyright year.
25761 * catgets/gencat.c: Likewise.
25762 * csu/version.c: Likewise.
25763 * debug/catchsegv.sh: Likewise.
25764 * debug/xtrace.sh: Likewise.
25765 * elf/ldconfig.c: Likewise.
25766 * elf/ldd.bash.in: Likewise.
25767 * elf/sprof.c (print_version): Likewise.
25768 * iconv/iconv_prog.c: Likewise.
25769 * iconv/iconvconfig.c: Likewise.
25770 * locale/programs/locale.c: Likewise.
25771 * locale/programs/localedef.c: Likewise.
25772 * malloc/memusage.sh: Likewise.
25773 * malloc/mtrace.pl: Likewise.
25774 * nscd/nscd.c (print_version): Likewise.
25775 * nss/getent.c: Likewise.
25776
a77e8cbc
UD
25777 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25778 PF_CAIF, and PF_ALG.
25779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25780
77e8bddf
AS
257812011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25782
1f20b93a
AS
25783 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25784 (modules-names): Use them.
25785 (ifunc-test-modules, ifunc-pie-tests): Define.
25786 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25787 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25788 (test-extras): Likewise.
25789 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25790 $(compile-command.c).
25791 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25792 (all-built-dso): Define.
25793 (check-textrel.out, check-execstack.out): Depend on it.
25794
77e8bddf
AS
25795 * configure.in: Don't override --enable-multi-arch.
25796
bc425b33
UD
257972011-01-15 Ulrich Drepper <drepper@gmail.com>
25798
25799 [BZ #6812]
25800 * nscd/hstcache.c (tryagain): Define.
25801 (cache_addhst): Return tryagain not notfound for temporary errors.
25802 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25803 failed.
25804
794c3ad3
UD
258052011-01-14 Ulrich Drepper <drepper@gmail.com>
25806
70181fdd
UD
25807 [BZ #10563]
25808 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25809 to make the syscall.
25810 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25811
794c3ad3
UD
25812 [BZ #12378]
25813 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25814 and fall back to matching as normal character if the string ends before
25815 the matching ']' is found. This is what POSIX requires.
25816 * posix/testfnm.c: Adjust test result.
25817 * posix/globtest.sh: Adjust test result. Add new test.
25818 * posix/tst-fnmatch.input: Likewise.
25819 * posix/tst-fnmatch2.c: Add new test.
25820
68dc9497
AS
258212010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25822
25823 * elf/Makefile (check-execstack): Revert last change. Depend on
25824 check-execstack.h.
25825 (check-execstack.h): New target.
25826 (generated): Add check-execstack.h.
25827 * elf/check-execstack.c: Include "check-execstack.h".
25828 (main): Revert last change.
25829 (handle_file): Return zero if GNU_STACK is absent and
25830 DEFAULT_STACK_PERMS doesn't include PF_X.
25831
451f001b
UD
258322011-01-13 Ulrich Drepper <drepper@gmail.com>
25833
cfa28e56
UD
25834 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25835 in child fails because the descriptor is already closed.
8cf8ce17
UD
25836 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25837 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25838 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 25839
1086d70d
UD
25840 [BZ #12397]
25841 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25842 syscall.
25843
451f001b
UD
25844 [BZ #10484]
25845 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25846 temporary buffer used to handle multi lookups locally.
a85b5cb4 25847 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 25848
08769175
UD
258492011-01-12 Ulrich Drepper <drepper@gmail.com>
25850
25851 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25852 loader is ld.so.
25853
5e49c52e
UD
258542011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25855
25856 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25857 alignment for SSE2.
25858
60522a5f
UD
258592011-01-12 Ulrich Drepper <drepper@gmail.com>
25860
25861 [BZ #12394]
25862 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25863 characters. When rounding increased number of integer digits recompute
25864 number of groups.
25865 * stdio-common/tst-grouping.c: New file.
25866 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25867
f257bbd7
UD
258682011-01-09 Ulrich Drepper <drepper@gmail.com>
25869
25870 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25871 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25872
25873 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25874 void.
25875 * bits/select.h: Likewise.
25876
fa9c15cb
UD
258772011-01-08 Ulrich Drepper <drepper@gmail.com>
25878
25879 * po/ja.po: Update from translation team.
25880
16c2895f
DM
258812011-01-04 David S. Miller <davem@sunset.davemloft.net>
25882
25883 [BZ #11155]
25884 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25885 implementation just like for lxstat, fxstatat, et al.
25886
2543fef2
JM
258872010-12-27 Jim Meyering <meyering@redhat.com>
25888
25889 [BZ #12348]
25890 * posix/regexec.c (build_trtable): Return failure indication upon
25891 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25892
98727dbe
UD
258932010-12-25 Ulrich Drepper <drepper@gmail.com>
25894
5bd6dc5c
UD
25895 [BZ #12201]
25896 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25897 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25898 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25899 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25900
97983464
UD
25901 [BZ #12207]
25902 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25903
98727dbe
UD
25904 [BZ #12204]
25905 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25906 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25907
4a531bb0
L
259082010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25909
25910 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25911 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25912 script has SORT_BY_INIT_PRIORITY.
25913 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25914 NO_CTORS_DTORS_SECTIONS is defined.
25915 * elf/soinit.c: Likewise.
25916 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25917 NO_CTORS_DTORS_SECTIONS is defined.
25918 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25919 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25920 * sysdeps/sh/init-first.c: Likewise.
25921 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25922
07eb4b71
UD
259232010-12-24 Ulrich Drepper <drepper@gmail.com>
25924
25925 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25926 always use the slow path.
25927
30950a5f
RA
259282010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25929
25930 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25931 similar rule which adds the sysdep directories to the header search in
25932 order to pick up the correct platform stackinfo.h.
25933 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25934 perform test if it is, otherwise return successfully without testing.
25935 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25936 DEFAULT_STACK_PERMS define in stackinfo.h.
25937 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25938 defined in stackinfo.h.
25939 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25940 DEFAULT_STACK_PERMS defined in stackinfo.h.
25941 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25942 * sysdeps/ia64/stackinfo.h: Likewise.
25943 * sysdeps/s390/stackinfo.h: Likewise.
25944 * sysdeps/sh/stackinfo.h: Likewise.
25945 * sysdeps/sparc/stackinfo.h: Likewise.
25946 * sysdeps/x86_64/stackinfo.h: Likewise.
25947 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25948 PF_X for powerpc64. Retain PF_X for powerpc32.
25949
db753e2c
UD
259502010-12-19 Ulrich Drepper <drepper@gmail.com>
25951
14b697f7
UD
25952 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25953 accurately.
db753e2c
UD
25954 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25955 GETDENTS_64BIT_ALIGNED.
25956
28300719
UD
259572010-12-14 Ulrich Drepper <dreper@gmail.com>
25958
14b697f7 25959 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 25960
4f197237
AS
259612010-12-10 Andreas Schwab <schwab@redhat.com>
25962
dbb0472f
AS
25963 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25964 _GNU_SOURCE.
25965
4f197237
AS
25966 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25967 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25968 Remove __restrict.
25969 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25970 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25971
fb88ac72
UD
259722010-12-09 Ulrich Drepper <drepper@gmail.com>
25973
25974 [BZ #11655]
25975 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25976 are initialized.
25977
42acbb92
JJ
259782010-12-09 Jakub Jelinek <jakub@redhat.com>
25979
25980 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25981
c038d98d
UD
259822010-12-03 Ulrich Drepper <drepper@gmail.com>
25983
25984 * po/it.po: Update from translation team.
25985
3a4a2499
L
259862010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25987
25988 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25989 unused codes.
25990
1e24cf6e
UD
259912010-11-30 Ulrich Drepper <drepper@gmail.com>
25992
25993 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25994
a7690819
AS
259952010-11-24 Andreas Schwab <schwab@redhat.com>
25996
25997 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25998 specially.
25999 (gaih_getanswer_slice): Likewise.
26000
3bf8d1b1
JJ
260012010-10-20 Jakub Jelinek <jakub@redhat.com>
26002
26003 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26004
6db52fbb
PB
260052010-05-31 Petr Baudis <pasky@suse.cz>
26006
26007 [BZ #11149]
26008 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26009 silently even in the chroot mode.
26010
eaca7569
UD
260112010-11-22 Ulrich Drepper <drepper@gmail.com>
26012
26013 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26014 last patch a bit. Pretty printing
26015
3056dcdb
UD
260162010-05-31 Petr Baudis <pasky@suse.cz>
26017
26018 [BZ #10085]
26019 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26020 initialization of skip_initgroups_dyn.
26021
cf7c9078
UD
260222010-11-19 Ulrich Drepper <drepper@gmail.com>
26023
26024 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26025 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26026
a1fb5e3e
UD
260272010-11-16 Ulrich Drepper <drepper@gmail.com>
26028
26029 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26030
3540d66b
AS
260312010-11-11 Andreas Schwab <schwab@redhat.com>
26032
26033 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26034 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26035 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26036 ($(objpfx)tst-fnmatch-mem): New rule.
26037 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26038 * posix/tst-fnmatch.c (main): Call mtrace.
26039
13b69574
L
260402010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26041
26042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26043 Support Intel processor model 6 and model 0x2c.
26044
da93d214
LM
260452010-11-10 Luis Machado <luisgpm@br.ibm.com>
26046
26047 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26048 signed comparison.
26049
8ca52c6e
L
260502010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26051
26052 [BZ #12205]
26053 * string/test-strncasecmp.c (check_result): New function.
26054 (do_one_test): Use it.
26055 (check1): New function.
26056 (test_main): Use it.
26057 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26058 Support strcasecmp and strncasecmp.
26059
69da074d
UD
260602010-11-08 Ulrich Drepper <drepper@gmail.com>
26061
26062 [BZ #12194]
26063 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26064 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26065
ff02d528
L
260662010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26067
26068 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26069 IFUNC support.
26070 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26071 memset-x86-64.
26072 * sysdeps/x86_64/multiarch/bzero.S: New file.
26073 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26074 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26075 * sysdeps/x86_64/multiarch/memset.S: New file.
26076 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26078 Set bit_Prefer_SSE_for_memop for Intel processors.
26079 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26080 Define.
26081 (index_Prefer_SSE_for_memop): Define.
26082 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26083
344d0b54
LM
260842010-11-04 Luis Machado <luisgpm@br.ibm.com>
26085
26086 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26087 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26088
c0dde15b
UD
260892010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26090
26091 [BZ #12191]
26092 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26093 (__x86_64_raw_data_cache_size_half): Likewise.
26094 (__x86_64_raw_shared_cache_size): Likewise.
26095 (__x86_64_raw_shared_cache_size_half): Likewise.
26096
26097 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26098 (__x86_64_raw_data_cache_size_half): Likewise.
26099 (__x86_64_raw_shared_cache_size): Likewise.
26100 (__x86_64_raw_shared_cache_size_half): Likewise.
26101 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26102 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26103 and __x86_64_raw_shared_cache_size_half. Round
26104 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26105 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26106 to multiple of 256 bytes.
26107
0e516e0e
MS
261082010-11-03 Ulrich Drepper <drepper@gmail.com>
26109
26110 [BZ #12167]
26111 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26112 of inacessible symlinks. Verify result of symlink before returning it.
26113 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26114 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26115
0e012e87
ER
261162010-10-28 Erich Ritz <erichritz@gmail.com>
26117
26118 * math/math.h (isinf): Fix typo in comment.
26119
de0ff7bc
UD
261202010-11-01 Ulrich Drepper <drepper@gmail.com>
26121
26122 * po/da.po: Update from translation team.
26123
fa41c84d
UD
261242010-10-26 Ulrich Drepper <drepper@gmail.com>
26125
26126 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26127 is added to the list.
26128
f0967738
AK
261292010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26130 Ulrich Drepper <drepper@gmail.com>
26131
26132 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26133 the global list here. Move code to...
26134 (_dl_add_to_namespace_list): ...here. New function.
26135 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26136 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26137 * elf/dl-load.c (lose): Don't remove the element from the list.
26138 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26139 (_dl_map_object): Likewise.
26140
261412010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26142
26143 [BZ #12159]
26144 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26145 into all bytes of SSE register.
26146 Patch by Richard Li <richardpku@gmail.com>.
26147
f0967738 261482010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26149
26150 [BZ #12140]
26151 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26152 perturbing.
26153
d0b9e94f
MB
261542010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26155
26156 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26157 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26158 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26159 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26161 submachine.
26162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26163
8e9f92e9
AS
261642010-10-22 Andreas Schwab <schwab@redhat.com>
26165
26166 * include/dlfcn.h (__RTLD_SECURE): Define.
26167 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26168 mode & __RTLD_SECURE instead.
26169 (open_path): Rename preloaded parameter to secure.
26170 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26171 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26172 * elf/dl-deps.c (openaux): Likewise.
26173 * elf/rtld.c (struct map_args): Remove is_preloaded.
26174 (map_doit): Don't use it.
26175 (dl_main): Likewise.
26176 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26177 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26178
bc96fbda
AS
261792010-09-09 Andreas Schwab <schwab@redhat.com>
26180
26181 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26182 (sysd-rules-targets): Remove duplicates.
26183 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26184 rtld-%.$o dependency.
26185
22cd1c9b
AS
261862010-10-18 Andreas Schwab <schwab@redhat.com>
26187
26188 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26189 _dl_map_object do it.
26190
18edac48
UD
261912010-10-19 Ulrich Drepper <drepper@gmail.com>
26192
26193 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26194 fast fma builtins, define the macros in the C99 standard.
26195 (FP_FAST_FMAF): Likewise.
26196 (FP_FAST_FMAL): Likewise.
26197 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26198
26199 * bits/mathdef.h: Update copyright year.
26200 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26201
d2050124
MM
262022010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26203
26204 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26205 builtins, define the macros in the C99 standard.
26206 (FP_FAST_FMAF): Likewise.
26207 (FP_FAST_FMAL): Likewise.
26208 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26209 multiply/add.
26210 (FP_FAST_FMAF): Likewise.
26211
475facd1
JJ
262122010-10-15 Jakub Jelinek <jakub@redhat.com>
26213
26214 [BZ #3268]
26215 * math/libm-test.inc (fma_test): Some new testcases.
26216 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26217 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26218 y and infinite z. Do multiplication by C already in long double.
26219 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26220 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26221 y and infinite z. Do bitwise or of inexact bit into u.d.
26222 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26223 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26224 * sysdeps/i386/fpu/s_fma.S: Removed.
26225 * sysdeps/i386/fpu/s_fmal.S: Removed.
26226
7c08a05c
JJ
262272010-10-16 Jakub Jelinek <jakub@redhat.com>
26228
26229 [BZ #3268]
26230 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26232 computation is not scheduled after fetestexcept. Fix value
26233 of minimum denormal long double.
26234
f3f7372d
JJ
262352010-10-14 Jakub Jelinek <jakub@redhat.com>
26236
26237 [BZ #3268]
26238 * math/libm-test.inc (fma_test): Add some more tests.
26239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26240 correctly.
26241
14d43591
AS
262422010-10-15 Andreas Schwab <schwab@redhat.com>
26243
26244 * scripts/data/localplt-s390-linux-gnu.data: New file.
26245 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26246
5e908464
JJ
262472010-10-13 Jakub Jelinek <jakub@redhat.com>
26248
26249 [BZ #3268]
26250 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26251 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26252 instead of dbl-64.
26253 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26254 inlines.
26255 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26257 if one of x and y is very large and the other is subnormal.
26258 * sysdeps/s390/fpu/s_fmaf.c: New file.
26259 * sysdeps/s390/fpu/s_fma.c: New file.
26260 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26261 * sysdeps/powerpc/fpu/s_fma.S: New file.
26262 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26263 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26264 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26265
262662010-10-12 Jakub Jelinek <jakub@redhat.com>
26267
26268 [BZ #3268]
26269 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26270 fma tests.
26271 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26272 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26273 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26274 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26275 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26276 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26277 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26278
b833d51f
UD
262792010-10-12 Ulrich Drepper <drepper@redhat.com>
26280
26281 [BZ #12078]
26282 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26283 * posix/bug-regex31.input: Add test case.
26284
1751705d
UD
262852010-10-11 Ulrich Drepper <drepper@gmail.com>
26286
e9b9cbf5
UD
26287 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26288 * posix/bug-regex31.input: New file.
26289
26290 [BZ #12078]
26291 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26292 (parse_sub_exp): Fix last change, use postorder.
26293
ef06edbe
UD
26294 * posix/bug-regex31.c: New file.
26295 * posix/Makefile: Add rules to build and run bug-regex31.
26296
a129c80d
UD
26297 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26298
26299 [BZ #12078]
26300 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26301
b76b818e
UD
26302 [BZ #12108]
26303 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26304 to have entries in sys_siglist.
26305
1751705d
UD
26306 [BZ #12093]
26307 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26308 be NULL.
26309
9ff8d36f
JJ
263102010-10-07 Jakub Jelinek <jakub@redhat.com>
26311
26312 [BZ #3268]
26313 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26314 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26315 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26316 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26317 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26318 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26319 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26320 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26321 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26322 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26323 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26324 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26325 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26326 * math/ftestexcept.c (fetestexcept): Likewise.
26327 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26328 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26329 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26330 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26331 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26332 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26333 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26334
af325969
UD
263352010-10-11 Ulrich Drepper <drepper@gmail.com>
26336
c579b202 26337 [BZ #12107]
af325969
UD
26338 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26339 newline.
26340
67a67b95
UD
263412010-10-06 Ulrich Drepper <drepper@gmail.com>
26342
26343 * string/bug-strstr1.c: New file.
26344 * string/Makefile: Add rules to build and run bug-strstr1.
26345
5fb308bc
EB
263462010-10-05 Eric Blake <eblake@redhat.com>
26347
26348 [BZ #12092]
26349 * string/str-two-way.h (two_way_long_needle): Always clear memory
26350 when skipping input due to the shift table.
26351
45db99c7
UD
263522010-10-03 Ulrich Drepper <drepper@gmail.com>
26353
3b111893
UD
26354 [BZ #12005]
26355 * malloc/mcheck.c: Handle large requests.
26356
45db99c7
UD
26357 [BZ #12077]
26358 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26359 for strncmp and strncasecmp.
26360 * string/stratcliff.c: Add tests for strcmp and strncmp.
26361 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26362
cf7a1eb8
NI
263632010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26364
26365 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26366 __set_fpscr.
26367
6484ba5e
AJ
263682010-09-30 Andreas Jaeger <aj@suse.de>
26369
26370 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26371 (CGROUP_SUPER_MAGIC): Define.
26372 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26373 Handle btrfs and cgroup file systems.
26374 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26375 Likewise.
26376
91c42559
LM
263772010-09-27 Luis Machado <luisgpm@br.ibm.com>
26378
26379 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26380 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26381
87a97932
AK
263822010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26383
26384 [BZ #12067]
26385 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26386 trying to locate the ELF header.
26387
c21cc9bc
AS
263882010-09-27 Andreas Schwab <schwab@redhat.com>
26389
26390 [BZ #11611]
26391 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26392 Mask out sign-bit copies when constructing f_fsid.
26393
315970f6
PB
263942010-09-24 Petr Baudis <pasky@suse.cz>
26395
26396 * debug/stack_chk_fail_local.c: Add missing licence exception.
26397 * debug/warning-nop.c: Likewise.
26398
1ac7a2c7
JM
263992010-09-15 Joseph Myers <joseph@codesourcery.com>
26400
26401 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26402 implementing getdents64 using getdents syscall, set d_type if
26403 __ASSUME_GETDENTS32_D_TYPE.
26404
56801c50
AS
264052010-09-16 Andreas Schwab <schwab@redhat.com>
26406
26407 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26408 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26409
dda51327
UD
264102010-09-21 Ulrich Drepper <drepper@redhat.com>
26411
26412 [BZ #12037]
26413 * posix/unistd.h: Undo change of feature selection for ftruncate from
26414 2010-01-11.
26415
8ffcee4a
UD
264162010-09-20 Ulrich Drepper <drepper@redhat.com>
26417
a545ecd9 26418 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26419 detection.
26420
e24f0a8b
AS
264212010-09-20 Andreas Schwab <schwab@redhat.com>
26422
26423 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26424 fanotify_mark.
26425 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26426
7291c56f
AS
264272010-09-14 Andreas Schwab <schwab@redhat.com>
26428
26429 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26430 variables after CHECK_SP call.
26431 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26432
bc5fb037
AS
264332010-09-13 Andreas Schwab <schwab@redhat.com>
26434 Ulrich Drepper <drepper@redhat.com>
26435
26436 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26437 re-relocationg ld.so.
26438 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26439 _dl_init_paths call.
26440 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26441 here anymore.
26442
e66e7419
UD
264432010-09-14 Ulrich Drepper <drepper@redhat.com>
26444
26445 * resolv/res_init.c (__res_vinit): Count the default server we added.
26446
c044aa75
CLT
264472010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26448 Ulrich Drepper <drepper@redhat.com>
26449
26450 [BZ #11968]
26451 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26452 (____longjmp_chk): Use %ebx for saving value across system call.
26453 Add unwind info.
26454
32cf4069
AS
264552010-09-06 Andreas Schwab <schwab@redhat.com>
26456
26457 * manual/Makefile: Don't mix pattern rules with normal rules.
26458
817328ee
AS
264592010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26460
26461 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26462 operation.
26463 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26464 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26465 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26466 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26467 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26468 Likewise.
26469
29fddf61
UD
264702010-09-04 Ulrich Drepper <drepper@redhat.com>
26471
26472 [BZ #11979]
26473 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26474 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26475
0959ffc9
UD
264762010-09-02 Ulrich Drepper <drepper@redhat.com>
26477
26478 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26479 * sysdeps/x86_64/addmul_1.S: Likewise.
26480 * sysdeps/x86_64/lshift.S: Likewise.
26481 * sysdeps/x86_64/mul_1.S: Likewise.
26482 * sysdeps/x86_64/rshift.S: Likewise.
26483 * sysdeps/x86_64/sub_n.S: Likewise.
26484 * sysdeps/x86_64/submul_1.S: Likewise.
26485
ece29840
ST
264862010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26487
0959ffc9
UD
26488 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26489 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26490 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26491 * bits/sched.h [__need_schedparam]
ece29840 26492 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26493 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26494 (__defined_schedparam): Define to 1.
ece29840
ST
26495 (__sched_param): New structure, identical to sched_param.
26496 (__need_schedparam): Undefine.
26497
e53a31fe
MF
264982010-08-31 Mike Frysinger <vapier@gentoo.org>
26499
fdc0c10d
MF
26500 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26501 (epoll_create1): Declare.
26502
e53a31fe
MF
26503 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26504
a726d796
AS
265052010-08-31 Andreas Schwab <schwab@redhat.com>
26506
26507 [BZ #7066]
26508 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26509 shifting retval into place.
26510
2f3e3dc7
UD
265112010-09-01 Ulrich Drepper <drepper@redhat.com>
26512
f2933da9
UD
26513 * nis/rpcsvc/nis.h: Update copyright notice.
26514 * nis/rpcsvc/nis.x: Likewise.
26515 * nis/rpcsvc/nis_callback.h: Likewise.
26516 * nis/rpcsvc/nis_callback.x: Likewise.
26517 * nis/rpcsvc/nis_object.x: Likewise.
26518 * nis/rpcsvc/nis_tags.h: Likewise.
26519 * nis/rpcsvc/yp.h: Likewise.
26520 * nis/rpcsvc/yp.x: Likewise.
26521 * nis/rpcsvc/ypupd.h: Likewise.
26522 * nis/yp_xdr.c: Likewise.
26523 * nis/ypupdate_xdr.c: Likewise.
26524
2f3e3dc7
UD
26525 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26526 mainly the body of pmap_getport. Add parameters to specify timeouts.
26527 (pmap_getport): Use __libc_rpc_getport.
26528 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26529 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26530 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26531
f3dcc2f9
AS
265322010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26533
26534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26535 fanotify_mark.
26536
6d34eb5b
RM
265372010-08-27 Roland McGrath <roland@redhat.com>
26538
26539 * sysdeps/i386/i686/multiarch/Makefile
26540 (CFLAGS-varshift.c): New variable.
26541
9ea3de11
UD
265422010-08-27 Ulrich Drepper <drepper@redhat.com>
26543
c96d23fc
UD
26544 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26545 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26546
9ea3de11
UD
26547 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26548
26549 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26550
623aac7f
L
265512010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26552
26553 * sysdeps/x86_64/strlen.S: Unroll the loop.
26554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26555 strlen-sse2 strlen-sse2-bsf.
26556 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26557 __strlen_no_bsf if bit_Slow_BSF is set.
26558 (__strlen_sse42): Removed.
26559 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26560 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26561
8b2b7715
RM
265622010-08-25 Roland McGrath <roland@redhat.com>
26563
26564 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26565 * sysdeps/x86_64/multiarch/varshift.c: New file.
26566 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26567 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26568 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26569 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26570
e73015f2
L
265712010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26572
26573 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26574 strlen-sse2 strlen-sse2-bsf.
26575 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26576 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26577 (__strlen_sse2): Removed.
26578 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26579 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26581 bit_Slow_BSF for Atom.
26582 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26583 (index_Slow_BSF): Define.
26584 (HAS_SLOW_BSF): Define.
26585
df24a73e
UD
265862010-08-25 Ulrich Drepper <drepper@redhat.com>
26587
26588 [BZ #10851]
26589 * resolv/res_init.c (__res_vinit): When no server address at all
26590 is given default to loopback.
26591
f2ac4868
RM
265922010-08-24 Roland McGrath <roland@redhat.com>
26593
09055553
RM
26594 * configure.in: Remove config-name.h generation.
26595 * configure: Regenerated.
26596 * config-name.in: File removed.
26597 * scripts/config-uname.sh: New file.
26598 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26599 ($(objdir)config-name.h): New target.
26600
f2ac4868
RM
26601 * sunrpc/rpc_parse.h: Avoid nested comment.
26602
73f27d5e
RH
266032010-08-24 Richard Henderson <rth@redhat.com>
26604 Ulrich Drepper <drepper@redhat.com>
26605 H.J. Lu <hongjiu.lu@intel.com>
26606
26607 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26609 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26610 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26611 _mm_alignr_epi8 with _mm_loadu_si128.
26612 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26613 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26614 (__m128i_shift_right): Removed.
26615 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26616 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26617 * sysdeps/x86_64/multiarch/varshift.h: New file.
26618 * sysdeps/x86_64/multiarch/varshift.S: New file.
26619
84b9230c
MF
266202010-08-21 Mike Frysinger <vapier@gentoo.org>
26621
26622 * configure.in: Move assembler checks to before sysdep dir checking.
26623
9bbd0ddc
PB
266242010-08-20 Petr Baudis <pasky@suse.cz>
26625
26626 * LICENSES: Sync the sunrpc license.
26627
9da4bb31
UD
266282010-08-19 Ulrich Drepper <drepper@redhat.com>
26629
a7ab6ec8
UD
26630 * sunrpc/auth_des.c: Update copyright notice once again.
26631 * sunrpc/auth_none.c: Likewise.
26632 * sunrpc/auth_unix.c: Likewise.
26633 * sunrpc/authdes_prot.c: Likewise.
26634 * sunrpc/authuxprot.c: Likewise.
26635 * sunrpc/bindrsvprt.c: Likewise.
26636 * sunrpc/clnt_gen.c: Likewise.
26637 * sunrpc/clnt_perr.c: Likewise.
26638 * sunrpc/clnt_raw.c: Likewise.
26639 * sunrpc/clnt_simp.c: Likewise.
26640 * sunrpc/clnt_tcp.c: Likewise.
26641 * sunrpc/clnt_udp.c: Likewise.
26642 * sunrpc/clnt_unix.c: Likewise.
26643 * sunrpc/des_crypt.c: Likewise.
26644 * sunrpc/des_soft.c: Likewise.
26645 * sunrpc/get_myaddr.c: Likewise.
26646 * sunrpc/getrpcport.c: Likewise.
26647 * sunrpc/key_call.c: Likewise.
26648 * sunrpc/key_prot.c: Likewise.
26649 * sunrpc/openchild.c: Likewise.
26650 * sunrpc/pm_getmaps.c: Likewise.
26651 * sunrpc/pm_getport.c: Likewise.
26652 * sunrpc/pmap_clnt.c: Likewise.
26653 * sunrpc/pmap_prot.c: Likewise.
26654 * sunrpc/pmap_prot2.c: Likewise.
26655 * sunrpc/pmap_rmt.c: Likewise.
26656 * sunrpc/rpc/auth.h: Likewise.
26657 * sunrpc/rpc/auth_unix.h: Likewise.
26658 * sunrpc/rpc/clnt.h: Likewise.
26659 * sunrpc/rpc/des_crypt.h: Likewise.
26660 * sunrpc/rpc/key_prot.h: Likewise.
26661 * sunrpc/rpc/netdb.h: Likewise.
26662 * sunrpc/rpc/pmap_clnt.h: Likewise.
26663 * sunrpc/rpc/pmap_prot.h: Likewise.
26664 * sunrpc/rpc/pmap_rmt.h: Likewise.
26665 * sunrpc/rpc/rpc.h: Likewise.
26666 * sunrpc/rpc/rpc_des.h: Likewise.
26667 * sunrpc/rpc/rpc_msg.h: Likewise.
26668 * sunrpc/rpc/svc.h: Likewise.
26669 * sunrpc/rpc/svc_auth.h: Likewise.
26670 * sunrpc/rpc/types.h: Likewise.
26671 * sunrpc/rpc/xdr.h: Likewise.
26672 * sunrpc/rpc_clntout.c: Likewise.
26673 * sunrpc/rpc_cmsg.c: Likewise.
26674 * sunrpc/rpc_common.c: Likewise.
26675 * sunrpc/rpc_cout.c: Likewise.
26676 * sunrpc/rpc_dtable.c: Likewise.
26677 * sunrpc/rpc_hout.c: Likewise.
26678 * sunrpc/rpc_main.c: Likewise.
26679 * sunrpc/rpc_parse.c: Likewise.
26680 * sunrpc/rpc_parse.h: Likewise.
26681 * sunrpc/rpc_prot.c: Likewise.
26682 * sunrpc/rpc_sample.c: Likewise.
26683 * sunrpc/rpc_scan.c: Likewise.
26684 * sunrpc/rpc_scan.h: Likewise.
26685 * sunrpc/rpc_svcout.c: Likewise.
26686 * sunrpc/rpc_tblout.c: Likewise.
26687 * sunrpc/rpc_util.c: Likewise.
26688 * sunrpc/rpc_util.h: Likewise.
26689 * sunrpc/rpcinfo.c: Likewise.
26690 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26691 * sunrpc/rpcsvc/key_prot.x: Likewise.
26692 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26693 * sunrpc/rpcsvc/mount.x: Likewise.
26694 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26695 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26696 * sunrpc/rpcsvc/rex.x: Likewise.
26697 * sunrpc/rpcsvc/rstat.x: Likewise.
26698 * sunrpc/rpcsvc/rusers.x: Likewise.
26699 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26700 * sunrpc/rpcsvc/spray.x: Likewise.
26701 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26702 * sunrpc/rtime.c: Likewise.
26703 * sunrpc/svc.c: Likewise.
26704 * sunrpc/svc_auth.c: Likewise.
26705 * sunrpc/svc_authux.c: Likewise.
26706 * sunrpc/svc_raw.c: Likewise.
26707 * sunrpc/svc_run.c: Likewise.
26708 * sunrpc/svc_simple.c: Likewise.
26709 * sunrpc/svc_tcp.c: Likewise.
26710 * sunrpc/svc_udp.c: Likewise.
26711 * sunrpc/svc_unix.c: Likewise.
26712 * sunrpc/svcauth_des.c: Likewise.
26713 * sunrpc/xcrypt.c: Likewise.
26714 * sunrpc/xdr.c: Likewise.
26715 * sunrpc/xdr_array.c: Likewise.
26716 * sunrpc/xdr_float.c: Likewise.
26717 * sunrpc/xdr_mem.c: Likewise.
26718 * sunrpc/xdr_rec.c: Likewise.
26719 * sunrpc/xdr_ref.c: Likewise.
26720 * sunrpc/xdr_sizeof.c: Likewise.
26721 * sunrpc/xdr_stdio.c: Likewise.
26722
9da4bb31
UD
26723 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26724 handling.
26725
bdaa77bc
AS
267262010-08-19 Andreas Schwab <schwab@redhat.com>
26727
26728 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26729
fe2f79db
LM
267302010-08-19 Luis Machado <luisgpm@br.ibm.com>
26731
26732 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26733 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26734 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26735 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26736 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26737 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26738 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26739 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26740 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26741 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26742 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26743 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26744 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26745 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26746
b9b42ee0
AB
267472010-07-26 Anton Blanchard <anton@samba.org>
26748
26749 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26750 * malloc/arena.c (heap_trim): Likewise.
26751
1c06ba31
UD
267522010-08-16 Ulrich Drepper <drepper@redhat.com>
26753
26754 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26755 here. Not...
26756 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26757 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26758
f8392f40
L
267592010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26760
26761 * sysdeps/i386/elf/Makefile: New file.
26762
3162f12e
AS
267632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26764
26765 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26766 from fanotify_init.
26767 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26768 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26769
28c90b2c
UD
267702010-08-15 Ulrich Drepper <drepper@redhat.com>
26771
26772 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26773 of strncasecmp_l.
1feccb6c 26774 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 26775
ca6bb004
UD
267762010-08-14 Ulrich Drepper <drepper@redhat.com>
26777
e9f82e0d
UD
26778 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26779 strncase_l-nonascii.
26780 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26781 Add strncase_l-ssse3.
26782 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26783 * sysdeps/x86_64/strcmp.S: Likewise.
26784 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26785 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26786 * sysdeps/x86_64/strncase.S: New file.
26787 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26788 * sysdeps/x86_64/strncase_l.S: New file.
26789 * string/Makefile (strop-tests): Add strncasecmp.
26790 * string/test-strncasecmp.c: New file.
26791
26792 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26793 warning.
26794
ca6bb004
UD
26795 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26796 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26797
052fa7b3
AS
267982010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26799
26800 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26801
962dba78
UD
268022010-08-12 Ulrich Drepper <drepper@redhat.com>
26803
26804 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26805 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26806 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26807
bebff237
AM
268082010-05-01 Alan Modra <amodra@gmail.com>
26809
26810 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26811 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26812 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26813 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26814 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26815 tidying. Don't tail-call __sigjmp_save for static lib.
26816 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26817 save location.
26818 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26819 (CALL_MCOUNT): Add eh info, and nop after bl.
26820 (TAIL_CALL_SYSCALL_ERROR): New macro.
26821 (PSEUDO_RET): Use it.
26822 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26823 Correct save location of integer regs and cr.
26824 (_dl_profile_resolve): Correct cr save location. Delete nops
26825 after bl when SHARED. Reduce cfi size a little by better
26826 placement of cfi directives.
26827 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26828 make a stack frame. Instead use parm save area as a temp.
26829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26830 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26832 Don't make a stack frame for parent, use parm save area.
26833 Increase child stack frame to 112 bytes. Don't save unused reg,
26834 and adjust reg usage. Set up cfi on error recovery and
26835 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26837 (__makecontext): Add dummy nop after jump to exit.
26838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26839 Use correct parm save area and cr save, reduce stack frame.
26840 Correct cfi for possible PSEUDO_RET frame setup.
26841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26842 Branch to local label emitted by PSEUDO_RET rather than
26843 __syscall_error.
26844
02637374
AS
268452010-08-12 Andreas Schwab <schwab@redhat.com>
26846
26847 [BZ #11904]
26848 * locale/programs/locale.c (print_assignment): New function.
26849 (show_locale_vars): Use it.
26850
c3e2f19b
UD
268512010-08-11 Ulrich Drepper <drepper@redhat.com>
26852
3cdaa6ad
UD
26853 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26854 field.
26855 (struct statfs64): Likewise.
26856 (_STATFS_F_FLAGS): Define.
26857 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26858 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26859 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26860 (ST_VALID): Define locally.
26861 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26862 __statvfs_getflags, use the provided value.
26863 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26864 __ASSUME_STATFS_F_FLAGS.
26865
754f7da3
UD
26866 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26867
10b3bedc
UD
26868 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26869 Add sys/fanotify.h.
26870 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26871 fanotify_mask for GLIBC_2.13.
26872 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26873 fanotify_init and fanotify_mark.
26874 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26875 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26876
c08fb0d7
UD
26877 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26878 Add prlimit.
26879 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26880 prlimit64 for GLIBC_2.13.
26881 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26882 prlimit64.
26883 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26884 syscall.
26885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26886 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26887 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26888 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26889 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26890 add prlimit alias.
26891 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26892
15bac72b
UD
26893 [BZ #11903]
26894 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26895 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26896
c3e2f19b
UD
26897 * nss/Makefile: Add rules to build and run tst-nss-test1.
26898 * shlib-versions: Add entry for libnss_test1.
26899 * nss/nss_test1.c: New file.
26900 * nss/tst-nss-test1.c: New file.
26901
26902 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26903 (__nss_configure_lookup): Set appropriate entry in
26904 __nss_configure_lookup to true.
26905 * nss/nsswitch.h: Define enum with indeces of databases in
26906 databases and __nss_database_custom arrays. Declare
26907 __nss_database_custom.
26908 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26909 to avoid using nscd when custom rules are installed.
26910 * nss/getXXbyYY_r.c: Likewise.
26911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26912
26913 * nss/nss_files/files-parse.c: Whitespace fixes.
26914
f15ce4d8
UD
269152010-08-09 Ulrich Drepper <drepper@redhat.com>
26916
26917 [BZ #11883]
26918 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26919 * posix/fnmatch_loop.c: Likewise.
26920
d22e4cc9
AK
269212010-07-17 Andi Kleen <ak@linux.intel.com>
26922
26923 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26924 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26925 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26926 * Versions.def [GLIBC_2.13]: Add.
26927
805bc17d
UD
269282010-08-06 Ulrich Drepper <drepper@redhat.com>
26929
26930 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26931 Also fail if tpwd after pwuid call is NULL.
26932
5a42321d
ST
269332010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26934
26935 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26936 when converting to ms.
26937
fd3ebeda
ST
269382010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26939
26940 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26941 EOPNOTSUPP errors with ENOTTY.
26942 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26943 EOPNOTSUPP errors with ENOTTY.
26944
73507d3a
UD
269452010-07-31 Ulrich Drepper <drepper@redhat.com>
26946
26947 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26948 Add strcasecmp_l-ssse3.
26949 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26950 strcasecmp.
26951 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26952 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26953 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26954
fe36dd02
UD
269552010-07-30 Ulrich Drepper <drepper@redhat.com>
26956
66f6765a
UD
26957 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26958
42e08a54
UD
26959 * string/Makefile (strop-tests): Add strcasecmp.
26960 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26961 strcasecmp_l-nonascii.
26962 (gen-as-const-headers): Add locale-defines.sym.
26963 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26964 * sysdeps/x86_64/strcasecmp.S: New file.
26965 * sysdeps/x86_64/strcasecmp_l.S: New file.
26966 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26967 * sysdeps/x86_64/locale-defines.sym: New file.
26968 * string/test-strcasecmp.c: New file.
26969
fe36dd02
UD
26970 * string/test-strcasestr.c: Test both ends of the range of characters.
26971 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26972
48cbc0d6
RM
269732010-07-29 Roland McGrath <roland@redhat.com>
26974
76e6d6bc 26975 [BZ #11856]
48cbc0d6
RM
26976 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26977
880113d9
UD
269782010-07-27 Ulrich Drepper <drepper@redhat.com>
26979
26980 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26981 for ld.so.
26982
deb9cabb
AS
269832010-07-27 Andreas Schwab <schwab@redhat.com>
26984
26985 * manual/memory.texi (Malloc Tunable Parameters): Document
26986 M_PERTURB.
26987
1c7570ff
RM
269882010-07-26 Roland McGrath <roland@redhat.com>
26989
26990 [BZ #11840]
26991 * configure.in (-fgnu89-inline check): Set and substitute
26992 gnu89_inline, not libc_cv_gnu89_inline.
26993 * configure: Regenerated.
26994 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26995
24fb0f88
UD
269962010-07-26 Ulrich Drepper <drepper@redhat.com>
26997
26998 * string/test-strnlen.c: New file.
26999 * string/Makefile (strop-tests): Add strnlen.
27000 * string/tester.c (test_strnlen): Add a few more test cases.
27001 * string/tst-strlen.c: Better error reporting.
27002
27003 * sysdeps/x86_64/strnlen.S: New file.
27004
8e96b93a
UD
270052010-07-24 Ulrich Drepper <drepper@redhat.com>
27006
27007 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27008 lower-latency instructions.
27009
dbc676d4
UD
270102010-07-23 Ulrich Drepper <drepper@redhat.com>
27011
27012 * string/test-strcasestr.c: New file.
27013 * string/test-strstr.c: New file.
27014 * string/Makefile (strop-tests): Add strstr and strcasestr.
27015 * string/str-two-way.h: Don't undefine MAX.
27016 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27017
f6a31e0e
AS
270182010-07-21 Andreas Schwab <schwab@redhat.com>
27019
27020 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27021 strcasestr-nonascii.
27022 (CFLAGS-strcasestr-nonascii.c): Define.
27023 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27024 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27025 Remove unused attribute.
27026
5dbc3b6c
RM
270272010-07-20 Roland McGrath <roland@redhat.com>
27028
27029 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27030 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27031 ld.so.cache was broken. With it, there is no way to disable dsocaps
27032 like LD_HWCAP_MASK can disable hwcaps.
27033
23d101d8
EPM
270342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27035
27036 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27037
cc9f2e47
UD
270382010-07-16 Ulrich Drepper <drepper@redhat.com>
27039
27040 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27041 call in strcasestr.
27042 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27043 __strcasestr_sse42_nonascii.
27044 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27045 strcasestr-nonascii.c.
27046 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27047
77c1b069
LM
270482010-06-15 Luis Machado <luisgpm@br.ibm.com>
27049
27050 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27051 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27052 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27053 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27054
440566c3
UD
270552010-07-09 Ulrich Drepper <drepper@redhat.com>
27056
27057 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27058 fcntl.
27059
5be9d05d
AS
270602010-07-06 Andreas Schwab <schwab@redhat.com>
27061
c30b7ee2 27062 [BZ #11577]
5be9d05d
AS
27063 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27064 dl_signal_cerror.
27065
8a492a67
UD
270662010-07-06 Ulrich Drepper <drepper@redhat.com>
27067
27068 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27069 _PC_PIPE_BUF using F_GETPIPE_SZ.
27070
713df3d5
RM
270712010-07-05 Roland McGrath <roland@redhat.com>
27072
27073 * manual/arith.texi (Rounding Functions): Fix rint description
27074 implicit in round description.
27075
702e8f14
UD
270762010-07-02 Ulrich Drepper <drepper@redhat.com>
27077
27078 * elf/Makefile: Fix linking for a few tests to make recent linker
27079 happy.
27080
52ed8be9
AS
270812010-06-30 Andreas Schwab <schwab@redhat.com>
27082
27083 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27084 $(common-objpfx)libc_nonshared.a.
27085
f47c9a11
LM
270862010-06-21 Luis Machado <luisgpm@br.ibm.com>
27087
27088 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27089 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27090 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27091 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27092 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27093 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27094 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27095 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27110 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27111 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27112 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27113 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27114 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27115 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27116 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27117 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27118 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27119 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27120 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27121 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27136
6fb8cbcb
L
271372010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27138
27139 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27140 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27141 * string/memmove.c (memmove): Renamed to ...
27142 (MEMMOVE): ...this. Default to memmove.
27143 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27144 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27145 (END_CHK): Define.
27146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27147 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27148 mempcpy-ssse3-back memmove-ssse3-back.
27149 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27150 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27151 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27152 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27153 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27154 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27155 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27156 * sysdeps/x86_64/multiarch/memmove.c: New file.
27157 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27158 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27159 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27160 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27161 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27162 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27163 Define.
27164 (index_Fast_Copy_Backward): Define.
27165 (HAS_ARCH_FEATURE): Define.
27166 (HAS_FAST_REP_STRING): Define.
27167 (HAS_FAST_COPY_BACKWARD): Define.
27168
4e733bac 271692010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27170
27171 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27172 Restore proper fallback handling.
27173
63c4ed22
UD
271742010-06-19 Ulrich Drepper <drepper@redhat.com>
27175
ac2b484c
UD
27176 [BZ #11701]
27177 * posix/group_member.c (__group_member): Correct checking loop.
27178
63c4ed22
UD
27179 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27180 OOM in getpwuid_r correctly. Return error number when the caller
27181 should return, otherwise -1.
27182 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27183 call returning > 0 value.
27184 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27185
765ade4b
AS
271862010-06-07 Andreas Schwab <schwab@redhat.com>
27187
27188 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27189 libc_nonshared.a from targets in modules-names.
27190
80da2e09
KS
271912010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27192
27193 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27194 requires it.
27195
158db122
LM
271962010-06-10 Luis Machado <luisgpm@br.ibm.com>
27197
27198 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27199 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27200 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27201 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27202
caa78cf8
AS
272032010-06-02 Andreas Schwab <schwab@redhat.com>
27204
27205 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27206
b2ef2c01
UD
272072010-06-14 Ulrich Drepper <drepper@redhat.com>
27208
27209 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27210 and F_GETPIPE_SZ.
27211 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27212 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27214 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27215 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27216 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27217
fbd643b6
RM
272182010-06-14 Roland McGrath <roland@redhat.com>
27219
27220 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27221
f32f2869
JJ
272222010-06-07 Jakub Jelinek <jakub@redhat.com>
27223
27224 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27225 __REDIRECT followed by __THROW.
27226 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27227 * posix/getopt.h (getopt): Likewise.
27228
2a50c078
EPM
272292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27230
27231 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27232 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27233 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27234 in AT_FLAGS.
27235 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27236 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27237
eb5ad2eb
LM
272382010-05-28 Luis Machado <luisgpm@br.ibm.com>
27239
27240 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27241
3c88fe1e
L
272422010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27243
27244 [BZ #11640]
27245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27246 Properly check family and model.
27247
d2f73151
TY
272482010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27249
27250 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27251
ebd2e13d
LM
272522010-05-24 Luis Machado <luisgpm@br.ibm.com>
27253
27254 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27255
b32b8b45
UD
272562010-05-21 Ulrich Drepper <drepper@redhat.com>
27257
27258 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27259 symbol reference.
27260
9acbe24d
AS
272612010-05-19 Andreas Schwab <schwab@redhat.com>
27262
27263 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27264 symbol reference.
27265
f0ccf6ea
AS
272662010-05-21 Andreas Schwab <schwab@redhat.com>
27267
3d04ff3a
AS
27268 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27269 and internal_recvmmsg.
27270 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27271 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27272 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27273 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27274
f0ccf6ea
AS
27275 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27276 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27277 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27278
5b08ac57
AS
272792010-05-20 Andreas Schwab <schwab@redhat.com>
27280
27281 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27282
4828935d
LM
272832010-05-17 Luis Machado <luisgpm@br.ibm.com>
27284
27285 POWER7 optimizations.
27286 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27287 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27288
373d545e
UD
272892010-05-19 Ulrich Drepper <drepper@redhat.com>
27290
27291 * version.h: Update for 2.13 development version.
27292
21a2b1ae
AS
272932010-05-12 Andrew Stubbs <ams@codesourcery.com>
27294
27295 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27296 exceptions. Return 0.
27297
3f7dcb2b
RM
272982010-05-07 Roland McGrath <roland@redhat.com>
27299
27300 * elf/ldconfig.c (main): Add a const.
27301
5f24d53a 273022010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27303
a160f8d8
UD
27304 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27305 (args_options): Add no-idn option.
27306 (ahosts_keys_int): Add idn_flags to ai_flags.
27307 (parse_option): Handle 'i' option to clear idn_flags.
27308
5f24d53a
UD
27309 * malloc/malloc.c (_int_free): Possible race in the most recently
27310 added check. Only act on the data if no current modification
27311 happened.
265bb1ce
UD
27312
27313See ChangeLog.17 for earlier changes.
This page took 3.406271 seconds and 5 git commands to generate.