]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
BZ#11120: fix x86_64/strcmp.S NOT_IN_libc safeguards
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2e0fb521
DL
12013-03-21 Dmitry V. Levin <ldv@altlinux.org>
2
3 [BZ #11120]
4 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5 with NOT_IN_libc.
6
b5784d95
AZ
72013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8
9 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10 symbol.
11
5aa4a1a1
TS
122013-03-21 Thomas Schwinge <thomas@codesourcery.com>
13
bdef0be7
TS
14 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15 wrap blocks consisting of several statements.
16
5aa4a1a1
TS
17 * sysdeps/generic/math-tests.h: New file.
18 * sysdeps/i386/fpu/math-tests.h: Likewise.
19 * math/test-snan.c: Include it.
20 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21
98c48fe5
JM
222013-03-21 Joseph Myers <joseph@codesourcery.com>
23
24 [BZ #15285]
25 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26 (__ieee754_j0l): Do not improve calculations using cos of twice
27 input for inputs above LDBL_MAX / 2.0L.
28 (__ieee754_y0l): Likewise.
29 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30 (__ieee754_j1l): Do not improve calculations using cos of twice
31 input for inputs above LDBL_MAX / 2.0L.
32 (__ieee754_y1l): Likewise.
33 * math/libm-test.inc (j0_test): Add another test.
34 (j1_test): Likewise.
35 (y0_test): Likewise.
36 (y1_test): Likewise.
37 * sysdeps/i386/fpu/libm-test-ulps: Update.
38
3775a8bc
SP
392013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40
41 * Rules ($(objpfx)bench-%.c): Include code from a C source
42 file.
43
0a1b2ae6
JM
442013-03-21 Joseph Myers <joseph@codesourcery.com>
45
46 [BZ #15287]
47 * math/k_casinh.c (__kernel_casinh): Handle arguments with
48 imaginary part 1.0 and real part less than 0.5 specially.
49 * math/k_casinhf.c (__kernel_casinhf): Likewise.
50 * math/k_casinhl.c (__kernel_casinhl): Likewise.
51 * math/libm-test.inc (cacos_test): Add more tests.
52 (casin_test): Likewise.
53 (casinh_test): Likewise.
54 * sysdeps/i386/fpu/libm-test-ulps: Update.
55 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56
b33d4ce4
SP
572013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58
59 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
60 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
61
bef0b507
JM
622013-03-20 Joseph Myers <joseph@codesourcery.com>
63
64 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
65 * config.make.in (config-cflags-sse4): Remove variable.
66 (config-cflags-avx): Likewise.
67 (config-cflags-sse2avx): Likewise.
68 (config-cflags-novzeroupper): Likewise.
69 (config-asflags-i686): Likewise.
70 (have-mfma4): Likewise.
71 (have-as-vis3): Likewise.
72 (MIG): Likewise.
73 * configure.in (MIG): Do not AC_SUBST.
74 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
75 (libc_cv_cc_sse4): Do not AC_SUBST.
76 (libc_cv_cc_avx): Likewise.
77 (libc_cv_cc_sse2avx): Likewise.
78 (libc_cv_cc_novzeroupper): Likewise.
79 (libc_cv_cc_fma4): Likewise.
80 (libc_cv_as_i686): Likewise.
81 (libc_cv_sparc_as_vis3): Likewise.
82 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
83 LIBC_CONFIG_VAR.
84 (config-asflags-i686): Likewise.
85 (config-cflags-avx): Likewise.
86 (config-cflags-sse2avx): Likewise.
87 (have-mfma4): Likewise.
88 (config-cflags-novzeroupper): Likewise.
89 * sysdeps/mach/configure.in (MIG): Likewise.
90 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
91 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
92 LIBC_CONFIG_VAR.
93 (config-cflags-avx): Likewise.
94 (config-cflags-sse2avx): Likewise.
95 (have-mfma4): Likewise.
96 (config-cflags-novzeroupper): Likewise.
97 * configure: Regenerated.
98 * sysdeps/i386/configure: Likewise.
99 * sysdeps/mach/configure: Likewise.
100 * sysdeps/sparc/configure: Likewise.
101 * sysdeps/x86_64/configure: Likewise.
102
912cc4b3
RM
1032013-03-20 Roland McGrath <roland@hack.frob.com>
104
105 [BZ #14812]
106 * locale/programs/localedef.c (options): Put N_ translation marker
107 on argument names, not just descriptions.
108
04eed2b0
MS
1092013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
110
111 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
112
a065ceff
OB
1132013-03-20 Ondřej Bílka <neleai@seznam.cz>
114
9bb2a810 115 [BZ #14176]
a065ceff
OB
116 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
117
a600e5ce
RM
1182013-03-19 Roland McGrath <roland@hack.frob.com>
119
120 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
121 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
122 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
123 [!BEFORE_ABORT] (before_abort): New function.
124 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
125 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
126 (writev_for_fatal): New function.
127 (WRITEV_FOR_FATAL): New macro; call that.
128 (backtrace_and_maps): New function.
129 (BEFORE_ABORT): New macro; call that.
130 (struct str_list): Type removed.
131 (__libc_message, __libc_fatal): Functions removed.
132 Include <sysdeps/posix/libc_fatal.c> instead.
133
6b18bea6
JM
1342013-03-19 Joseph Myers <joseph@codesourcery.com>
135
136 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
137 constants.
138 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
139 double constants.
140
aaa8cb4b
AS
1412013-03-19 Andreas Schwab <schwab@suse.de>
142
44673770
AS
143 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
144 * sysdeps/gnu/configure: Regenerate.
145
aaa8cb4b
AS
146 * configure.in: Substitute libc_cv_rtlddir.
147 * configure: Regenerate.
148 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
149 * Makeconfig (rtlddir, inst_rtlddir): New variables.
150 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
151 * elf/Makefile (install-others, CFLAGS-interp.c)
152 (ldso_install, common-ldd-rewrite): Likewise.
153 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
154 $(inst_slibdir)/$(rtld-installed-name).
155 * scripts/rellns-sh: Add -p option.
156 * Makerules (make-shlib-link): Use rellns-sh to get relative name
157 for source.
158
d3cfc668
SP
1592013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
160
161 * manual/nptl.texi: Renamed to ...
162 * manual/threads.texi: ... this.
163 * manual/Makefile (chapters): Update.
164
0e2b9cdd
RM
1652013-03-18 Roland McGrath <roland@hack.frob.com>
166
167 [BZ #14812]
168 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
169 on argument names, not just descriptions.
0e2b9cdd
RM
170 * malloc/memusagestat.c (options): Likewise.
171 * nss/getent.c (options): Likewise.
63270c24
RM
172
1732013-03-18 Benno Schulenberg <bensberg@justemail.net>
174
175 [BZ #14812]
176 * iconv/iconv_prog.c (options): Put N_ translation marker
177 on argument names, not just descriptions.
178 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 179
b2e1393c
OB
1802013-03-18 Ondrej Bilka <neleai@seznam.cz>
181
182 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
183 implementation which is faster on all x86_64 architectures.
184 Tested on AMD, Intel Nehalem, SNB, IVB.
185 * sysdeps/x86_64/strnlen.S: Likewise.
186
187 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
188 Remove all multiarch strlen and strnlen versions.
189 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
190 Remove strlen and strnlen related parts.
191
192 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
193 Inline strlen part.
194 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
195
196 * sysdeps/x86_64/multiarch/strlen.S: Remove.
197 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
198 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
199 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
200 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
201 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
202
ec4ff04d
CD
2032013-03-17 Carlos O'Donell <carlos@redhat.com>
204
205 * manual/memory.texi (Malloc Tunable Parameters):
206 Sort parameters alphabetically. Add comments for missing entries.
207
cd18e90a
DM
2082013-03-17 David S. Miller <davem@davemloft.net>
209
210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
211
2a185d32
JM
2122013-03-16 Joseph Myers <joseph@codesourcery.com>
213
d2f9799e
JM
214 [BZ #15283]
215 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
216 for arguments at most half maximum finite value.
217 * math/libm-test.inc (j0_test): Add more tests.
218 (j1_test): Likewise.
219 (y0_test): Likewise.
220 (y1_test): Likewise.
221 * sysdeps/i386/fpu/libm-test-ulps: Update.
222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
223
2a185d32
JM
224 [BZ #14155]
225 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
226 1 / x and functions P and Q for arguments above 0x1p256L.
227 (__ieee754_y0l): Likewise.
228 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
229 (__ieee754_y1l): Likewise.
230 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
231 (j1_test): Likewise.
232 (y0_test): Likewise.
233 (y1_test): Likewise.
234
6cbec759
TS
2352013-03-16 Thomas Schwinge <thomas@codesourcery.com>
236
237 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
238 variable.
239
bc16e260
RM
2402013-03-15 Roland McGrath <roland@hack.frob.com>
241
aefc9b8c
RM
242 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
243 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
244 zero since it's initialized to EXEC_PAGESIZE.
245
bc16e260
RM
246 * sysdeps/unix/sysv/linux/ldsodefs.h
247 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
248 * sysdeps/generic/ldsodefs.h: ... here.
249
a57da955
TS
2502013-03-15 Thomas Schwinge <thomas@codesourcery.com>
251
af00a34d
TS
252 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
253
495ded2c
TS
254 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
255 math/test-snan.c.
256 * math/test-snan.c: Renamed from
257 sysdeps/powerpc/fpu/test-powerpc-snan.c.
258 * math/Makefile (tests): Add test-snan.
259 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
260 test-powerpc-snan.
261
777b0332
TS
262 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
263 SUFFIX. Initialize qNaN_var with __builtin_nan family of
264 functions.
265 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
266 __builtin_nan family of functions.
267 * math/libm-test.inc (initialize): Initialize qnan_value with
268 __builtin_nan family of functions.
269 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
270 Remove variables.
271 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
272 Remove functions.
273 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
274 storage class. Initialize qNaN_var and sNaN_var with
275 __builtin_nan and __builtin_nans families of functions,
276 respectively.
277
64d063b8
TS
278 * math/libm-test.inc (acosh_test): Also test with qNaN input.
279 (sqrt_test): Remove duplicate test with qNaN input.
280 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
281 (round_test, signbit_test, significand_test): Note missing +/-Inf
282 as well as qNaN tests.
283
67e971f1
TS
284 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
285 qNaN_var. Fix a few strings, too.
286 * math/libm-test.inc (nan_value): Rename to qnan_value.
287 * math/gen-libm-test.pl (%beautify): Adjust to that.
288 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
289 * math/test-misc.c (main): Likewise.
290 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
291 to __qnan_bytes, and __qnan_union, respectively.
292 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
293 Likewise.
294 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
295 and lqnanval, respectively.
296 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
297 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
298 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
299 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
300
64487e12
TS
301 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
302 * math/test-misc.c (main) [__x86_64__]: Enable test for long
303 doubles.
304
e015e27b
TS
305 * math/test-misc.c (main): Fix copy'n'pastos.
306 * misc/tst-efgcvt.c (special): Likewise.
307
a57da955
TS
308 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
309 Remove declarations.
310
1e380345
SP
3112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
312
313 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
314 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
315 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
316 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
317
ef26eece
AZ
3182013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
319
320 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
321 macro to return vdso values correctly in IFUNC implementations.
322 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
323 Optimization by using IFUNC.
324
8cfdb7e0
SP
3252013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
326 Richard Henderson <rth@redhat.com>
327 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
328
329 * Makefile.in (bench): New target.
330 * NEWS: Mention the benchmark framework.
331 * Rules (bench): Likewise.
332 (binaries-bench): Generate binaries for functions to
333 benchmark.
334 * benchtests/Makefile: New makefile for benchmark tests.
335 * benchtests/bench-skeleton.c: New skeleton file for benchmark
336 programs.
337 * benchtests/exp-inputs: New input file for EXP function.
338 * benchtests/pow-inputs: New input file for POW function.
339 * scripts/bench.pl: New script to generate source files for
340 benchmark programs.
341
bcda9880
SP
3422013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
343
d22ca8cd
SP
344 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
345 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
346 computations on mantissa. Use macros for rounding and
347 division.
348 (denorm): Likewise.
349 (__dbl_mp): Likewise.
350 (add_magnitudes): Likewise.
351 (sub_magnitudes): Likewise.
352 (__mul): Likewise.
353 (__sqr): Likewise.
354 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
355 powers of two in terms of TWOPOW macro.
356 (mp_no): Make type of mantissa as MANTISSA_T.
357 [!RADIXI]: Define RADIXI.
358 [!TWO52]: Define TWO52.
359 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
360
bcda9880
SP
361 * manual/nptl.texi (cindex): Modify threads to pthreads.
362
06d5adfb
JM
3632013-03-15 Joseph Myers <joseph@codesourcery.com>
364
365 * sysdeps/x86_64/preconfigure: Regenerated.
366
41c7328e
JM
3672013-03-14 Joseph Myers <joseph@codesourcery.com>
368
369 [BZ #14155]
370 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
371 0x1p28 and above.
372 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
373 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
374 0x1p28 and above.
375 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
376 * math/libm-test.inc (j0_test): Do not allow one spurious
377 underflow exception.
378 (y1_test): Likewise.
379
e25cfa60
SP
3802013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
381
0409959c
SP
382 * manual/Makefile (chapters): Add nptl.
383 * manual/debug.texi (Debugging Support): Add link to Threads
384 chapter.
385 * manual/nptl.texi: New file.
386
e25cfa60
SP
387 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
388
58a1335e
PB
3892013-03-14 Petr Baudis <pasky@ucw.cz>
390
391 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
392 for non-NULL pointer before the memory validity test. Pointed
393 out by Holger Brunck <holger.brunck@keymile.com>.
394
9dc7c64f
AS
3952013-03-13 Andreas Schwab <schwab@suse.de>
396
397 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
398 instead of .os.
399
54206aa6
JM
4002013-03-13 Joseph Myers <joseph@codesourcery.com>
401
402 * timezone/zic.c: Update from tzcode 2013b.
403
e98cdb38
CD
4042013-03-12 Carlos O'Donell <carlos@redhat.com>
405
406 * manual/install.texi (Configuring and compiling):
407 Mention i686 and i586.
408 * INSTALL: Regenerate.
409
9967e003
RM
4102013-03-12 Roland McGrath <roland@hack.frob.com>
411
412 * sysdeps/init_array/elf-init.c: New file.
413 * csu/elf-init.c
414 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
415 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
416
417 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
418 __gmon_start__ as global, but as static with a .preinit_array pointer.
419 * sysdeps/init_array/gmon-start.c: New file. Use that.
420 * sysdeps/init_array/crti.S: New file, empty except for comments.
421 * sysdeps/init_array/crtn.S: Likewise.
422
e6b5a293 4232013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
424
425 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
426 definining bcopy.
80f844c9
OB
427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
428 Remove Prefer_SSE_for_memop.
429 * sysdeps/x86_64/multiarch/init-arch.h: Remove
430 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
431 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
433 memset-x86-64.
80f844c9 434 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 435 Remove bzero, memset ifunc support.
80f844c9
OB
436 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
437 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
438 * sysdeps/x86_64/multiarch/memset.S: Likewise.
439 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
440
fb6b0fcb
AS
4412013-03-11 Andreas Schwab <schwab@suse.de>
442
443 [BZ #15234]
444 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
445 by SHLIB_COMPAT.
446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
447 (GLIBC_2.16): Remove pthread_atfork.
448
3e6bd4b1
PP
4492013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
450
451 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
452 (ptestcases.h): Likewise.
453
222d7f00
RM
4542013-03-08 Roland McGrath <roland@hack.frob.com>
455
456 * Makeconfig ($(common-objpfx)config.status): Depend on
457 sysdeps/*/preconfigure{,.in} too.
458
1ba4f030
JM
4592013-03-08 Joseph Myers <joseph@codesourcery.com>
460
a222d91a
JM
461 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
462 (__free_hook): Use void * instead of __malloc_ptr_t.
463 (__malloc_hook): Likewise.
464 (__realloc_hook): Likewise.
465 (__memalign_hook): Likewise.
466 (__after_morecore_hook): Likewise.
467 * malloc/arena.c (save_malloc_hook): Likewise.
468 (save_free_hook): Likewise.
469 * malloc/hooks.c (malloc_hook_ini): Likewise.
470 (realloc_hook_ini): Likewise.
471 (memalign_hook_ini): Likewise.
472 * malloc/malloc.c (malloc_hook_ini): Likewise.
473 (realloc_hook_ini): Likewise.
474 (memalign_hook_ini): Likewise.
475 (__free_hook): Likewise.
476 (__malloc_hook): Likewise.
477 (__realloc_hook): Likewise.
478 (__memalign_hook): Likewise.
479 (__libc_malloc): Likewise.
480 (__libc_free): Likewise.
481 (__libc_realloc): Likewise.
482 (__libc_memalign): Likewise.
483 (__libc_valloc): Likewise.
484 (__libc_pvalloc): Likewise.
485 (__libc_calloc): Likewise.
486 (__posix_memalign): Likewise.
487 * malloc/morecore.c (__sbrk): Likewise.
488 (__default_morecore): Likewise.
489
5cc45e10
JM
490 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
491
dd54b864
JM
492 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
493 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
494 __malloc_ptrdiff_t.
495
1ba4f030
JM
496 * malloc/malloc.h (__malloc_size_t): Remove macro.
497 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
498 __malloc_size_t.
499 (old_memalign_hook): Likewise.
500 (old_realloc_hook): Likewise.
501 (struct hdr): Likewise.
502 (flood): Likewise.
503 (mallochook): Likewise.
504 (memalignhook): Likewise.
505 (reallochook): Likewise.
506 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
507 (tr_old_realloc_hook): Likewise.
508 (tr_old_memalign_hook): Likewise.
509 (tr_mallochook): Likewise.
510 (tr_reallochook): Likewise.
511 (tr_memalignhook): Likewise.
512
edf66e57
AZ
5132013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
514
515 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
516 default_ldbl_pack and using as default implementation.
517 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
518 implementation.
519 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
520 redundant definition.
521 (ldbl_insert_mantissa): Likewise.
522 (ldbl_canonicalize): Likewise.
523 (ldbl_nearbyint): Likewise.
524 (ldbl_pack): Rename to ldbl_pack_ppc.
525 (ldbl_unpack): Rename to ldbl_unpack_ppc.
526 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
527 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
528
6d9145d8
SP
5292013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
530
531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
532 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
533 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
534 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
536 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
537 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
538 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
539
4dd4e157
AJ
5402013-03-07 Andreas Jaeger <aj@suse.de>
541
542 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
543 bits/mman-linux.h.
544
adbb8027
SP
5452013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
546
ce544b5b
SP
547 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
548 Include mpa.h and declare __MPEXP.
549 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
550 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
551 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
552 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
553 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
554 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
555 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
556
4cc149fd
SP
557 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
558 (__slowpow): Use long double EXPL and LOGL functions to
559 compute POW.
560 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
561 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
562 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
563 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
564 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
565 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
566
e6ebd4a7
SP
567 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
568 intermediate variable to calculate exponent.
569 (__sqr): Likewise.
570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
571 Likewise.
572 (__sqr): Likewise.
573
82a9811d
SP
574 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
575 [!NO__SQR]: Define __sqr.
576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
577 and NO__SQR. Remove all code except __mul and __sqr. Include
578 sysdeps/ieee754/dbl-64/mpa.c.
579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
580
adbb8027
SP
581 [BZ #12723]
582 * posix/Makefile (tests): Add tst-pathconf.
583 * posix/tst-pathconf.c: New test case.
584 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
585 _PC_PIPE_BUF.
586 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
587
39120df9
PF
5882013-03-06 Patsy Franklin <pfrankli@redhat.com>
589
590 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
591
67525cb8
AJ
5922013-03-06 Andreas Jaeger <aj@suse.de>
593
664a9ce4
AJ
594 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
595 definition via __MAP_ANONYMOUS.
596
8e39047d
AJ
597 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
598 it's not part of Linux headers.
599
67525cb8
AJ
600 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
601 (MAP_HUGE_MASK): Define.
602
603 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
604 Define.
605 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
606 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
607 Define.
608 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
609 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
610 Define.
611 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
612 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
613 Define.
614 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
615
616 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
617 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
618 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
619 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
620 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
621 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
622
623 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
624 Handle f2fs.
625
626 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
627 Handle f2fs and efivarfs.
628
629 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
630 f2fs.
631
632 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
633 (EFIVARFS_MAGIC): Add.
634 (F2FS_LINK_MAX): Add.
635
e1b42695
PP
6362013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
637
638 * stdio-common/vfprintf.c: Replace __builtin_expect with
639 __glibc_unlikely.
640
2d67d91a
JM
6412013-03-06 Joseph Myers <joseph@codesourcery.com>
642
643 [BZ #13550]
644 * sysdeps/generic/bp-sym.h: Remove file.
645 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
646 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
647 <bp-sym.h> and <bp-asm.h>.
648 (__longjmp): Don't use BP_SYM.
649 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
650 and <bp-asm.h>.
651 (memcpy): Don't use BP_SYM.
652 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
653 <bp-sym.h> and <bp-asm.h>.
654 (memcpy): Don't use BP_SYM.
655 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
656 <bp-asm.h>.
657 (memcpy): Don't use BP_SYM.
658 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
659 <bp-asm.h>.
660 (memset): Don't use BP_SYM.
661 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
662 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
663 (__bzero): Don't use BP_SYM.
664 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
665 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
666 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
667 <bp-sym.h> and <bp-asm.h>.
668 (memcmp): Don't use BP_SYM. Remove comment about bounded
669 pointers.
670 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
671 <bp-sym.h> and <bp-asm.h>.
672 (memcpy): Don't use BP_SYM.
673 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
674 <bp-sym.h> and <bp-asm.h>.
675 (memset): Don't use BP_SYM.
676 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
677 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
678 (__bzero): Don't use BP_SYM.
679 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
680 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
681 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
682 <bp-sym.h> and <bp-asm.h>.
683 (strncmp): Don't use BP_SYM. Remove comment about bounded
684 pointers.
685 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
686 <bp-sym.h> and <bp-asm.h>.
687 (memcpy): Don't use BP_SYM.
688 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
689 <bp-sym.h> and <bp-asm.h>.
690 (memset): Don't use BP_SYM.
691 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
692 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
693 (__bzero): Don't use BP_SYM.
694 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
695 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
696 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
697 <bp-sym.h> and <bp-asm.h>.
698 (__memchr): Don't use BP_SYM.
699 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
700 <bp-sym.h> and <bp-asm.h>.
701 (memcmp): Don't use BP_SYM. Remove comment about bounded
702 pointers.
703 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
704 <bp-sym.h> and <bp-asm.h>.
705 (memcpy): Don't use BP_SYM.
706 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
707 <bp-sym.h> and <bp-asm.h>.
708 (__mempcpy): Don't use BP_SYM.
709 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
710 <bp-sym.h> and <bp-asm.h>.
711 (__memrchr): Don't use BP_SYM.
712 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
713 <bp-sym.h> and <bp-asm.h>.
714 (memset): Don't use BP_SYM.
715 (__bzero): Likewise.
716 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
717 <bp-sym.h> and <bp-asm.h>.
718 (__rawmemchr): Don't use BP_SYM.
719 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
720 <bp-sym.h> and <bp-asm.h>.
721 (__STRCMP): Don't use BP_SYM.
722 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
723 <bp-sym.h> and <bp-asm.h>.
724 (strchr): Don't use BP_SYM.
725 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
726 <bp-sym.h> and <bp-asm.h>.
727 (__strchrnul): Don't use BP_SYM.
728 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
729 <bp-sym.h> and <bp-asm.h>.
730 (strlen): Don't use BP_SYM.
731 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
732 <bp-sym.h> and <bp-asm.h>.
733 (strncmp): Don't use BP_SYM. Remove comment about bounded
734 pointers.
735 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
736 <bp-sym.h> and <bp-asm.h>.
737 (__strnlen): Don't use BP_SYM.
738 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
739 <bp-sym.h> and <bp-asm.h>.
740 (__GI__setjmp): Don't use BP_SYM.
741 (_setjmp): Likewise.
742 (__sigsetjmp): Likewise.
743 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
744 (L(start_addresses)): Don't use BP_SYM.
745 (_start): Likewise.
746 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
747 <bp-asm.h>.
748 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
749 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
750 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
751 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
752 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
753 <bp-asm.h>.
754 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
755 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
756 about bounded pointers.
757 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
758 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
759 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
760 <bp-asm.h>.
761 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
762 about bounded pointers. Remove GKM FIXME comments.
763 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
764 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
765 <bp-asm.h>.
766 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
767 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
768 Remove GKM FIXME comments.
769 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
770 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
771 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
772 <bp-asm.h>.
773 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
774 about bounded pointers. Remove GKM FIXME comment.
775 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
776 and <bp-asm.h>.
777 (strncmp): Don't use BP_SYM. Remove comment about bounded
778 pointers.
779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
780 <bp-sym.h> and <bp-asm.h>.
781 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
783 <bp-sym.h> and <bp-asm.h>.
784 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
785 comment.
786
cdcf361f
PP
7872013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
788
789 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
790 call free(NULL).
791
3c4a2b15
DM
7922013-03-05 David S. Miller <davem@davemloft.net>
793
794 * po/es.po: Update from translation team.
795
cdcf361f 7962013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
797
798 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
799 <bits/mman-linux.h>.
800 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
801 is fine.
802 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
803 <bits/mman-linux.h> to end of file.
804 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
805 is fine.
806 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
807 <bits/mman-linux.h> to end of file.
808 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
809 is fine.
810 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
811 <bits/mman-linux.h> to end of file.
812
813 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
814 (MCL_CURRENT, MCL_FUTURE): Define here.
815
5f67c04f
AK
8162013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
817
8a4473cc 818 [BZ #15232]
5f67c04f
AK
819 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
820 attribute_hidden.
821 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
822
c3e94a95
AK
8232013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
824
825 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
826 fourth parameter needed for rt_sigprocmask syscall.
827 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
828 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
829 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
830 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
831 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
832 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
833
cfb6382a
JM
8342013-03-04 Joseph Myers <joseph@codesourcery.com>
835
836 [BZ #13550]
837 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
838 comment about bounded pointers.
839 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
840 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
841
539d8e01
AJ
8422013-03-04 Andreas Jaeger <aj@suse.de>
843
844 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
845 common definitions.
846
847 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
848 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
849 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
850 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
851 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
852 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
853
2e167a70 8542013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
855
856 [BZ #15055]
857 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
858 __ieee754_sqrl instead of __sqrl.
859
68508633
JM
8602013-03-01 Joseph Myers <joseph@codesourcery.com>
861
862 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
863 * sysdeps/powerpc/fpu_control.h: ... here.
864 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
865 * sysdeps/powerpc/bits/fenvinline.h: ... here.
866 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
867 * sysdeps/powerpc/bits/mathinline.h: ... here.
868
7775448e
RM
8692013-03-01 Roland McGrath <roland@hack.frob.com>
870
871 * elf/dl-hwcaps.c (_dl_important_hwcaps):
872 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
873 to just [NEED_DL_SYSINFO_DSO].
874 * elf/dl-support.c: Likewise.
875 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
876 * elf/rtld.c (dl_main): Likewise.
877 * elf/setup-vdso.h (setup_vdso): Likewise.
878 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
879 * sysdeps/unix/sysv/linux/dl-sysdep.c
880 (_dl_discover_osversion): Likewise.
881
4e9b5995
CD
8822013-03-01 Carlos O'Donell <carlos@redhat.com>
883
884 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
885 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
886
e23872c8
SP
8872013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
888
e5c74c63
SP
889 * NEWS: Mention libm performance improvements and non-x86 PI
890 futex support.
891
e23872c8
SP
892 * csu/libc-start.c (__pthread_initialize_minimal): Change
893 function arguments.
894 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
895
b5510883
JM
8962013-02-28 Joseph Myers <joseph@codesourcery.com>
897
898 [BZ #13550]
899 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
900 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
901 <bp-sym.h> and <bp-asm.h>.
902 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
903 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
904 and <bp-asm.h>.
905 (memcpy): Don't use BP_SYM.
906 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
907 <bp-asm.h>.
908 (__mpn_add_n): Don't use BP_SYM.
909 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
910 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
911 and <bp-asm.h>.
912 (__mpn_addmul_1): Don't use BP_SYM.
913 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
914 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
915 <bp-sym.h>.
916 (_setjmp): Don't use BP_SYM.
917 (__novmx_setjmp): Likewise.
918 (__GI__setjmp): Likewise.
919 (__vmx_setjmp): Likewise.
920 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
921 <bp-sym.h>.
922 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
923 (__bzero): Don't use BP_SYM.
924 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
925 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
926 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
927 <bp-sym.h> and <bp-asm.h>.
928 (memcpy): Don't use BP_SYM.
929 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
930 <bp-sym.h> and <bp-asm.h>.
931 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
932 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
933 <bp-sym.h> and <bp-asm.h>.
934 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
935 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
936 <bp-asm.h>.
937 (__mpn_lshift): Don't use BP_SYM.
938 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
939 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
940 <bp-asm.h>.
941 (memset): Don't use BP_SYM.
942 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
943 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
944 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
945 <bp-asm.h>.
946 (__mpn_mul_1): Don't use BP_SYM.
947 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
948 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
949 <bp-sym.h> and <bp-asm.h>.
950 (memcmp): Don't use BP_SYM.
951 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
952 <bp-sym.h> and <bp-asm.h>.
953 (memcpy): Don't use BP_SYM.
954 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
955 <bp-sym.h> and <bp-asm.h>.
956 (memset): Don't use BP_SYM.
957 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
958 <bp-sym.h> and <bp-asm.h>.
959 (strncmp): Don't use BP_SYM.
960 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
961 <bp-sym.h> and <bp-asm.h>.
962 (memcpy): Don't use BP_SYM.
963 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
964 <bp-sym.h> and <bp-asm.h>.
965 (memset): Don't use BP_SYM.
966 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
967 <bp-sym.h> and <bp-asm.h>.
968 (__memchr): Don't use BP_SYM.
969 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
970 <bp-sym.h> and <bp-asm.h>.
971 (memcmp): Don't use BP_SYM.
972 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
973 <bp-sym.h> and <bp-asm.h>.
974 (memcpy): Don't use BP_SYM.
975 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
976 <bp-sym.h> and <bp-asm.h>.
977 (__mempcpy): Don't use BP_SYM.
978 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
979 <bp-sym.h> and <bp-asm.h>.
980 (__memrchr): Don't use BP_SYM.
981 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
982 <bp-sym.h> and <bp-asm.h>.
983 (memset): Don't use BP_SYM.
984 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
985 <bp-sym.h> and <bp-asm.h>.
986 (__rawmemchr): Don't use BP_SYM.
987 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
988 <bp-sym.h> and <bp-asm.h>.
989 (__STRCMP): Don't use BP_SYM.
990 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
991 <bp-sym.h> and <bp-asm.h>.
992 (strchr): Don't use BP_SYM.
993 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
994 <bp-sym.h> and <bp-asm.h>.
995 (__strchrnul): Don't use BP_SYM.
996 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
997 <bp-sym.h> and <bp-asm.h>.
998 (strlen): Don't use BP_SYM.
999 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1000 <bp-sym.h> and <bp-asm.h>.
1001 (strncmp): Don't use BP_SYM.
1002 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1003 <bp-sym.h> and <bp-asm.h>.
1004 (__strnlen): Don't use BP_SYM.
1005 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1006 <bp-asm.h>.
1007 (__mpn_rshift): Don't use BP_SYM.
1008 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1009 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1010 <bp-sym.h> and <bp-asm.h>.
1011 (__sigsetjmp): Don't use BP_SYM.
1012 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1013 (L(start_addresses)): Don't use BP_SYM.
1014 (_start): Likewise.
1015 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1016 <bp-asm.h>.
1017 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1018 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1019 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1020 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1021 <bp-asm.h>.
1022 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1023 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1024 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1025 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1026 <bp-asm.h>.
1027 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1028 comments.
1029 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1030 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1031 <bp-asm.h>.
1032 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1033 FIXME comments.
1034 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1035 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1036 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1037 <bp-asm.h>.
1038 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1039 comment.
1040 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1041 and <bp-asm.h>.
1042 (strncmp): Don't use BP_SYM,
1043 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1044 <bp-asm.h>.
1045 (__mpn_sub_n): Don't use BP_SYM.
1046 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1047 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1048 and <bp-asm.h>.
1049 (__mpn_submul_1): Don't use BP_SYM.
1050 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1052 <bp-sym.h> and <bp-asm.h>.
1053 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1055 <bp-sym.h> and <bp-asm.h>.
1056 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1057 comment.
1058
8d19fe64
SP
10592013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1060
1061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1062 Use ZK to minimize writes to Z.
1063 (sub_magnitudes): Simplify code a bit.
1064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1065 Use ZK to minimize writes to Z.
1066 (sub_magnitudes): Simplify code a bit.
1067
85bd816a
RM
10682013-02-27 Roland McGrath <roland@hack.frob.com>
1069
1070 * csu/gmon-start.c: Add special exception to license text.
1071
b5977bf2
RH
10722013-02-27 Richard Henderson <rth@redhat.com>
1073
1074 * scripts/config.guess: Update from config.git.
1075 * scripts/config.sub: Likewise.
1076
11d6e2f2
SP
10772013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1078
09c14ed2
SP
1079 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1080
a688864e
SP
1081 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1082
6295157a
SP
1083 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1084
b8de2202
SP
1085 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1086
11d6e2f2
SP
1087 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1088
7e80ddb8
RM
10892013-02-26 Roland McGrath <roland@hack.frob.com>
1090
1091 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1092 [$(build-shared = yes].
7e80ddb8 1093
7da6d9ed
SP
10942013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1095
45f05884
SP
1096 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1097 (__mul): Reduce iterations for calculating mantissa.
1098
2236d359
SP
1099 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1100 MPTWO.
1101 (__mpranred): Likewise.
1102
7da6d9ed
SP
1103 [BZ #15160]
1104 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1105 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1106
b7688c42
PE
11072013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1108
1109 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1110 Define __attribute__.
1111
53a5c423
SP
11122013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1113
1114 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1115 unused.
1116 * posix/regex_internal.h (__attribute): Remove.
1117 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1118 (re_string_context_at): Likewise.
1119 (bitset_not): Use __attribute__ and mark function as possibly
1120 unused.
1121 (bitset_merge): Likewise.
1122 (bitset_mask): Likewise.
1123 (re_string_char_size_at): Likewise.
1124 (re_string_wchar_at): Likewise.
1125 (re_string_elem_size_at): Likewise.
1126
60f5a8b5
SP
11272013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1128
2a983a2e
SP
1129 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1130 code.
1131 (cc32): Likewise.
1132
e69804d1
SP
1133 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1134 (__acr): Likewise.
1135 (__cpy): Likewise.
1136 (norm): Likewise.
1137 (denorm): Likewise.
1138 (__dbl_mp): Likewise.
1139 (add_magnitudes): Likewise.
1140 (sub_magnitudes): Likewise.
1141 (__mul): Likewise.
1142 (__inv): Likewise.
1143
2f22a1e8
SP
1144 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1145 style.
1146
8930ddc7
SP
1147 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1148 style.
1149
dc60cb11
SP
1150 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1151 code.
1152
60f5a8b5
SP
1153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1154 up changes with default code.
1155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1156 Likewise.
1157
b4d1fd33
AM
11582013-02-24 Allan McRae <allan@archlinux.org>
1159
faf6f8bc
AM
1160 * manual/socket.texi (The Internet Namespace): Order menu items
1161 to match that in the file.
1162
b4d1fd33
AM
1163 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1164 node listing of the info page menu.
1165
2366713d
JM
11662013-02-21 Joseph Myers <joseph@codesourcery.com>
1167
1168 [BZ #13550]
1169 * sysdeps/i386/bp-asm.h: Remove file.
1170 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1171 (PARMS): Do not use macros from bp-asm.h.
1172 (S1): Likewise.
1173 (S2): Likewise.
1174 (SIZE): Likewise.
1175 (__mpn_add_n): Do not use BP_SYM
1176 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1177 "bp-asm.h".
1178 (PARMS): Do not use macros from bp-asm.h.
1179 (S1): Likewise.
1180 (SIZE): Likewise.
1181 (__mpn_addmul_1): Do not use BP_SYM
1182 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1183 "bp-asm.h".
1184 (PARMS): Do not use macros from bp-asm.h.
1185 (SIGMSK): Likewise.
1186 (_setjmp): Likewise. Do not use BP_SYM.
1187 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1188 "bp-asm.h".
1189 (PARMS): Do not use macros from bp-asm.h.
1190 (SIGMSK): Likewise.
1191 (setjmp): Likewise. Do not use BP_SYM.
1192 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1193 "bp-asm.h".
1194 (PARMS): Do not use macros from bp-asm.h.
1195 (__frexp): Do not use BP_SYM.
1196 (frexp): Likewise.
1197 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1198 "bp-asm.h".
1199 (PARMS): Do not use macros from bp-asm.h.
1200 (__frexpf): Do not use BP_SYM.
1201 (frexpf): Likewise.
1202 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1203 "bp-asm.h".
1204 (PARMS): Do not use macros from bp-asm.h.
1205 (__frexpl): Do not use BP_SYM.
1206 (frexpl): Likewise.
1207 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1208 "bp-asm.h".
1209 (PARMS): Do not use macros from bp-asm.h.
1210 (__remquo): Do not use BP_SYM.
1211 (remquo): Likewise.
1212 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1213 "bp-asm.h".
1214 (PARMS): Do not use macros from bp-asm.h.
1215 (__remquof): Do not use BP_SYM.
1216 (remquof): Likewise.
1217 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1218 "bp-asm.h".
1219 (PARMS): Do not use macros from bp-asm.h.
1220 (__remquol): Do not use BP_SYM.
1221 (remquol): Likewise.
1222 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1223 "bp-asm.h".
1224 (PARMS): Do not use macros from bp-asm.h.
1225 (DEST): Likewise.
1226 (SRC): Likewise.
1227 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1228 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1229 "bp-asm.h".
1230 (PARMS): Do not use macros from bp-asm.h.
1231 (strlen): Do not use BP_SYM.
1232 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1233 "bp-asm.h".
1234 (PARMS): Do not use macros from bp-asm.h.
1235 (S1): Likewise.
1236 (S2): Likewise.
1237 (SIZE): Likewise.
1238 (__mpn_add_n): Do not use BP_SYM.
1239 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1240 "bp-asm.h".
1241 (PARMS): Do not use macros from bp-asm.h.
1242 (S1): Likewise.
1243 (SIZE): Likewise.
1244 (__mpn_addmul_1): Do not use BP_SYM.
1245 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1246 weak_alias.
1247 (bzero): Likewise.
1248 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1249 "bp-asm.h".
1250 (PARMS): Do not use macros from bp-asm.h.
1251 (S): Likewise.
1252 (SIZE): Likewise.
1253 (__mpn_lshift): Do not use BP_SYM.
1254 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1255 "bp-asm.h".
1256 (PARMS): Do not use macros from bp-asm.h.
1257 (DEST): Likewise.
1258 (SRC): Likewise.
1259 (LEN): Likewise.
1260 (memcpy): Likewise. Do not use BP_SYM.
1261 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1262 libc_hidden_def and weak_alias.
1263 (mempcpy): Do not use BP_SYM in weak_alias.
1264 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1265 "bp-asm.h".
1266 (PARMS): Do not use macros from bp-asm.h.
1267 (DEST): Likewise.
1268 (LEN): Likewise.
1269 [!BZERO_P] (CHR): Likewise.
1270 (memset): Likewise. Do not use BP_SYM.
1271 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1272 "bp-asm.h".
1273 (PARMS): Do not use macros from bp-asm.h.
1274 (S1): Likewise.
1275 (SIZE): Likewise.
1276 (__mpn_mul_1): Do not use BP_SYM.
1277 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1278 "bp-asm.h".
1279 (PARMS): Do not use macros from bp-asm.h.
1280 (S): Likewise.
1281 (SIZE): Likewise.
1282 (__mpn_rshift): Do not use BP_SYM.
1283 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1284 "bp-asm.h".
1285 (PARMS): Do not use macros from bp-asm.h.
1286 (STR): Likewise.
1287 (CHR): Likewise.
1288 (strchr): Likewise. Do not use BP_SYM.
1289 (index): Do not use BP_SYM in weak_alias.
1290 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1291 "bp-asm.h".
1292 (PARMS): Do not use macros from bp-asm.h.
1293 (DEST): Likewise.
1294 (SRC): Likewise.
1295 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1296 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1297 "bp-asm.h".
1298 (PARMS): Do not use macros from bp-asm.h.
1299 (strlen): Do not use BP_SYM.
1300 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1301 "bp-asm.h".
1302 (PARMS): Do not use macros from bp-asm.h.
1303 (S1): Likewise.
1304 (S2): Likewise.
1305 (SIZE): Likewise.
1306 (__mpn_sub_n): Do not use BP_SYM.
1307 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1308 "bp-asm.h".
1309 (PARMS): Do not use macros from bp-asm.h.
1310 (S1): Likewise.
1311 (SIZE): Likewise.
1312 (__mpn_submul_1): Do not use BP_SYM.
1313 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1314 "bp-asm.h".
1315 (PARMS): Do not use macros from bp-asm.h.
1316 (S1): Likewise.
1317 (S2): Likewise.
1318 (SIZE): Likewise.
1319 (__mpn_add_n): Do not use BP_SYM.
1320 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1321 weak_alias.
1322 (bzero): Likewise.
1323 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1324 "bp-asm.h".
1325 (PARMS): Do not use macros from bp-asm.h.
1326 (BLK2): Likewise.
1327 (LEN): Likewise.
1328 (memcmp): Do not use BP_SYM.
1329 (bcmp): Do not use BP_SYM in weak_alias.
1330 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1331 "bp-asm.h".
1332 (PARMS): Do not use macros from bp-asm.h.
1333 (DEST): Likewise.
1334 (SRC): Likewise.
1335 (LEN): Likewise.
1336 (memcpy): Likewise. Do not use BP_SYM.
1337 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1338 "bp-asm.h".
1339 (PARMS): Do not use macros from bp-asm.h.
1340 (DEST): Likewise.
1341 (SRC): Likewise.
1342 (LEN): Likewise.
1343 (memmove): Likewise. Do not use BP_SYM.
1344 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1345 "bp-asm.h".
1346 (PARMS): Do not use macros from bp-asm.h.
1347 (DEST): Likewise.
1348 (SRC): Likewise.
1349 (LEN): Likewise.
1350 (__mempcpy): Likewise. Do not use BP_SYM.
1351 (mempcpy): Do not use BP_SYM in weak_alias.
1352 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1353 "bp-asm.h".
1354 (PARMS): Do not use macros from bp-asm.h.
1355 (DEST): Likewise.
1356 (LEN): Likewise.
1357 [!BZERO_P] (CHR): Likewise.
1358 (memset): Likewise. Do not use BP_SYM.
1359 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1360 "bp-asm.h".
1361 (PARMS): Do not use macros from bp-asm.h.
1362 (STR2): Likewise.
1363 (strcmp): Do not use BP_SYM.
1364 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1365 "bp-asm.h".
1366 (PARMS): Do not use macros from bp-asm.h.
1367 (STR): Likewise.
1368 (DELIM): Likewise.
1369 [USE_AS_STRTOK_R] (SAVE): Likewise.
1370 (FUNCTION): Likewise. Do not use BP_SYM.
1371 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1372 aliases.
1373 (strtok_r): Likewise.
1374 (__GI___strtok_r): Likewise.
1375 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1376 (PARMS): Do not use macros from bp-asm.h.
1377 (S): Likewise.
1378 (SIZE): Likewise.
1379 (__mpn_lshift): Do not use BP_SYM.
1380 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1381 (PARMS): Do not use macros from bp-asm.h.
1382 (STR): Likewise.
1383 (CHR): Likewise.
1384 (__memchr): Do not use BP_SYM.
1385 (memchr): Do not use BP_SYM in weak_alias.
1386 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1387 (PARMS): Do not use macros from bp-asm.h.
1388 (BLK2): Likewise.
1389 (LEN): Likewise.
1390 (memcmp): Do not use BP_SYM.
1391 (bcmp): Do not use BP_SYM in weak_alias.
1392 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1393 (PARMS): Do not use macros from bp-asm.h.
1394 (S1): Likewise.
1395 (SIZE): Likewise.
1396 (__mpn_mul_1): Do not use BP_SYM.
1397 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1398 "bp-asm.h".
1399 (PARMS): Do not use macros from bp-asm.h.
1400 (STR): Likewise.
1401 (CHR): Likewise.
1402 (__rawmemchr): Do not use BP_SYM.
1403 (rawmemchr): Do not use BP_SYM in weak_alias.
1404 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1405 (PARMS): Do not use macros from bp-asm.h.
1406 (S): Likewise.
1407 (SIZE): Likewise.
1408 (__mpn_rshift): Do not use BP_SYM.
1409 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1410 (PARMS): Do not use macros from bp-asm.h.
1411 (SIGMSK): Likewise.
1412 (__sigsetjmp): Likewise. Do not use BP_SYM.
1413 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1414 (_start): Do not use BP_SYM.
1415 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1416 (PARMS): Do not use macros from bp-asm.h.
1417 (DEST): Likewise.
1418 (SRC): Likewise.
1419 (__stpcpy): Likewise. Do not use BP_SYM.
1420 (stpcpy): Do not use BP_SYM in weak_alias.
1421 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1422 "bp-asm.h".
1423 (PARMS): Do not use macros from bp-asm.h.
1424 (DEST): Likewise.
1425 (SRC): Likewise.
1426 (LEN): Likewise.
1427 (__stpncpy): Likewise. Do not use BP_SYM.
1428 (stpncpy): Do not use BP_SYM in weak_alias.
1429 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1430 (PARMS): Do not use macros from bp-asm.h.
1431 (STR): Likewise.
1432 (CHR): Likewise.
1433 (strchr): Likewise. Do not use BP_SYM.
1434 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1435 "bp-asm.h".
1436 (PARMS): Do not use macros from bp-asm.h.
1437 (STR): Likewise.
1438 (CHR): Likewise.
1439 (__strchrnul): Likewise. Do not use BP_SYM.
1440 (strchrnul): Do not use BP_SYM in weak_alias.
1441 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1442 "bp-asm.h".
1443 (PARMS): Do not use macros from bp-asm.h.
1444 (STOP): Likewise.
1445 (strcspn): Do not use BP_SYM.
1446 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1447 "bp-asm.h".
1448 (PARMS): Do not use macros from bp-asm.h.
1449 (STR): Likewise.
1450 (STOP): Likewise.
1451 (strpbrk): Likewise. Do not use BP_SYM.
1452 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1453 "bp-asm.h".
1454 (PARMS): Do not use macros from bp-asm.h.
1455 (STR): Likewise.
1456 (CHR): Likewise.
1457 (strrchr): Likewise. Do not use BP_SYM.
1458 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1459 (PARMS): Do not use macros from bp-asm.h.
1460 (SKIP): Likewise.
1461 (strspn): Do not use BP_SYM.
1462 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1463 (PARMS): Do not use macros from bp-asm.h.
1464 (STR): Likewise.
1465 (DELIM): Likewise.
1466 (SAVE): Likewise.
1467 (FUNCTION): Likewise. Do not use BP_SYM.
1468 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1469 aliases.
1470 (strtok_r): Likewise.
1471 (__GI___strtok_r): Likewise.
1472 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1473 (PARMS): Do not use macros from bp-asm.h.
1474 (S1): Likewise.
1475 (S2): Likewise.
1476 (SIZE): Likewise.
1477 (__mpn_sub_n): Do not use BP_SYM.
1478 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1479 "bp-asm.h".
1480 (PARMS): Do not use macros from bp-asm.h.
1481 (S1): Likewise.
1482 (SIZE): Likewise.
1483 (__mpn_submul_1): Do not use BP_SYM.
1484 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1485 <bp-sym.h>.
1486 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1487 and <bp-asm.h>.
1488 (PARMS): Do not use macros from bp-asm.h.
1489 (FLAGS): Likewise.
1490 (PTID): Likewise.
1491 (TLS): Likewise.
1492 (CTID): Likewise.
1493 (__clone): Do not use BP_SYM.
1494 (clone): Do not use BP_SYM in weak_alias.
1495 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1496 and <bp-asm.h>.
1497 (PARMS): Do not use macros from bp-asm.h.
1498 (LEN): Likewise.
1499 (__mmap64): Do not use BP_SYM.
1500 (mmap64): Do not use BP_SYM in weak_alias.
1501 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1502 <bp-sym.h> and <bp-asm.h>.
1503 (PARMS): Do not use macros from bp-asm.h.
1504 (__posix_fadvise64_l64): Do not use BP_SYM.
1505 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1506 (PARMS): Do not use macros from bp-asm.h.
1507 (NSOPS): Likewise.
1508 (semtimedop): Do not use BP_SYM.
1509 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1510 and <bp-asm.h>.
1511
582a3cff
AM
15122013-02-21 Allan McRae <allan@archlinux.org>
1513
1514 * manual/message.texi (Charset conversion in gettext):
1515 Move @end statement to beginning of line.
1516
bab8a695
SP
15172013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1518
80945231
SP
1519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1520 static.
1521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1522 Likewise.
1523
bab8a695
SP
1524 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1525 (denorm): Likewise.
1526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1527 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1528
e21d7aa7
AK
15292013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1530
1531 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1532 tail-call to the resolved function if pltexit isn't needed.
1533
4c7a4263
SP
15342013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1535
1536 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1537 or Y being zero as being unlikely.
1538 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1539 Likewise.
1540
41f49342
CD
15412013-02-20 Carlos O'Donell <carlos@redhat.com>
1542
1543 * manual/nss.texi (System Databases and Name Service Switch):
1544 Remove frobnicate @pxref.
1545
50022a93
TS
15462013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1547
1548 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1549 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1550
08cbd996
PM
15512013-02-20 Petr Machata <pmachata@redhat.com>
1552
1553 * elf/elf.h (R_ARM_TARGET1): New macro.
1554 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1555 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1556 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1557 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1558 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1559 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1560 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1561 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1562 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1563 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1564 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1565 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1566 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1567 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1568 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1569 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1570 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1571 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1572 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1573 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1574 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1575 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1576 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1577 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1578 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1579 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1580 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1581 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1582 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1583 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1584 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1585 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1586 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1587 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1588 (R_ARM_THM_GOT_BREL12): Likewise.
1589 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1590 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1591 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1592 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1593 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1594 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1595 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1596 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1597 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1598
c7b275d6
TS
15992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1600
1601 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1602 __attribute_used__ to __attribute__ ((unused)).
1603
20cd7fb3
SP
16042013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1605
1606 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1607 powerpc mpa.c.
1608 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1609 comment formatting.
1610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1611
92945b52
JM
16122013-02-19 Joseph Myers <joseph@codesourcery.com>
1613
1614 [BZ #13550]
1615 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1616 Remove macro.
1617 (ENTER): Remove both macro definitions.
1618 (LEAVE): Likewise.
1619 (CHECK_BOUNDS_LOW): Likewise.
1620 (CHECK_BOUNDS_HIGH): Likewise.
1621 (CHECK_BOUNDS_BOTH): Likewise.
1622 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1623 (RETURN_BOUNDED_POINTER): Likewise.
1624 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1625 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1626 (POP_ERRNO_LOCATION_RETURN): Likewise.
1627 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1628 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1629 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1630 macros.
1631 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1632 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1633 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1634 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1635 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1636 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1637 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1638 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1639 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1640 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1641 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1642 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1643 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1644 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1645 removed macros.
1646 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1647 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1648 macros.
1649 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1650 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1651 * sysdeps/i386/i586/memset.S (memset): Likewise.
1652 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1653 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1654 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1655 macros.
1656 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1657 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1658 Change uses of L(2) to L(out).
1659 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1660 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1661 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1662 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1663 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1664 removed macros.
1665 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1666 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1667 macros.
1668 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1669 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1670 (RETURN): Do not use macro LEAVE.
1671 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1672 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1673 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1674 * sysdeps/i386/i686/memset.S (memset): Likewise.
1675 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1676 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1677 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1678 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1679 Likewise.
1680 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1681 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1682 L(1_2) and L(1_3) into L(1).
1683 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1684 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1685 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1686 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1687 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1688 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1689 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1690 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1691 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1692 macros.
1693 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1694 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1695 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1696 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1697 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1698 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1699 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1700 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1701 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1702 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1703 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1704 * sysdeps/i386/strspn.S (strspn): Likewise.
1705 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1706 conditional code.
1707 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1708 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1709 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1710 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1711 L(1_3) into L(1_1).
1712 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1713 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1714 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1715 macros.
1716 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1717
2389741a
JJ
17182013-02-19 Jakub Jelinek <jakub@redhat.com>
1719
1720 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1721 macro.
1722
2016b3cd
SP
17232013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1724
e4f22324
SP
1725 * math/atest-exp.c (exp_mpn): Remove ROUND.
1726 * math/atest-exp2.c (exp_mpn): Likewise.
1727 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1728
2016b3cd
SP
1729 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1730 * stdlib/tst-tls-atexit-lib.c: Likewise.
1731 * stdlib/tst-tls-atexit.c: Likewise.
1732
4be9b544
MF
17332013-02-18 Mike Frysinger <vapier@gentoo.org>
1734
1735 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1736 and __attribute_alloc_size__.
1737
2f62b9ee
MF
17382013-02-18 Mike Frysinger <vapier@gentoo.org>
1739
1740 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1741 __attribute_alloc_size__.
1742 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1743 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1744
6ff444c4
MF
17452013-02-18 Mike Frysinger <vapier@gentoo.org>
1746
1747 * include/programs/xmalloc.h: New file.
1748 * catgets/gencat.c: Include it.
1749 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1750 * elf/pldd.c: Likewise.
1751 * iconv/iconv_charmap.c: Likewise.
1752 * iconv/iconvconfig.c: Likewise.
1753 * iconv/strtab.c: Likewise.
1754 * locale/programs/locale.c: Likewise.
1755 * locale/programs/localedef.h: Likewise.
1756 * locale/programs/simple-hash.c: Likewise.
1757 * nscd/nscd.h: Likewise.
1758 * nss/makedb.c: Likewise.
1759 * sysdeps/generic/ldconfig.h: Likewise.
1760
be179c8a
SP
17612013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1762
ba384f6e
SP
1763 * Versions.def: Add GLIBC_2.18.
1764 * include/link.h (struct link_map): New member l_tls_dtor_count.
1765 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1766 (__call_tls_dtors): Likewise.
1767 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1768 __cxa_thread_atexit_impl.
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1770 Likewise.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1772 Likewise.
1773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1774 Likewise.
1775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1776 Likewise.
1777 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1779 Likewise.
1780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1781 Likewise.
1782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1784 Likewise.
1785 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1786 (tests): Add test case tst-tls-atexit.
1787 (modules-names): Add shared library for tst-tls-atexit.
1788 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1789 (GLIBC_PRIVATE): Add __call_tls_dtors.
1790 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1791 for libstdc++.
1792 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1793 * stdlib/tst-tls-atexit.c: New test case.
1794 * stdlib/tst-tls-atexit-lib.c: New test case.
1795
ffaa74cf 1796 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 1797
be179c8a
SP
1798 * elf/Versions (ld): Add _dl_find_dso_for_object.
1799 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1800 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1801 (dl_open_worker): Use _dl_find_dso_for_object.
1802 * elf/dl-sym.c (do_sym): Likewise.
1803 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1804
f78b5caa
AK
18052013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1806
1807 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1808 Syntactic changes only.
1809 (_dl_runtime_profile): Do a tail-call to the resolved function.
1810
29691210
JM
18112013-02-17 Joseph Myers <joseph@codesourcery.com>
1812
1813 [BZ #13550]
1814 * sysdeps/x86_64/bp-asm.h: Remove file.
1815 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1816 <bp-sym.h> and <bp-asm.h>.
1817 (__clone): Do not use BP_SYM.
1818 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1819 <bp-sym.h> and <bp-asm.h>.
1820 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1821 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1822 "bp-asm.h".
1823 (_setjmp): Do not use BP_SYM.
1824 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1825 "bp-asm.h".
1826 (setjmp): Do not use BP_SYM.
1827 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1828 libc_hidden_def.
1829 (mempcpy): Do not use BP_SYM in weak_alias.
1830 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1831 "bp-asm.h".
1832 (strchr): Do not use BP_SYM.
1833 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1834 "bp-asm.h".
1835 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1836 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1837 (_start): Do not use BP_SYM.
1838 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1839 "bp-asm.h".
1840 (strcat): Do not use BP_SYM.
1841 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1842 "bp-asm.h".
1843 (STRCMP): Do not use BP_SYM.
1844 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1845 "bp-asm.h".
1846 (STRCPY): Do not use BP_SYM.
1847 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1848 "bp-asm.h".
1849 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1850 "bp-asm.h".
1851 (FUNCTION): Do not use BP_SYM.
1852 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1853 weak_alias.
1854 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1855
f238fd19
AJ
18562013-02-17 Andreas Jaeger <aj@suse.de>
1857
1858 * time/Versions: Sort entries.
1859 * string/Versions: Likewise.
1860 * resolv/Versions: Likewise.
1861 * posix/Versions: Likewise.
1862 * iconv/Versions: Likewise.
1863 * elf/Versions: Likewise.
1864 * wcsmbs/Versions: Likewise.
1865
bd07f23c 18662013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 1867
22af19f9
SP
1868 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1869 loop termination condition.
1870
4709fe76
SP
1871 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1872 variable to calculate EZ.
1873 (__sqr): Likewise.
2d0e0f29
SP
1874
1875 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1876 the lower precision input.
1877
daaa7713
JM
18782013-02-15 Joseph Myers <joseph@codesourcery.com>
1879
1880 [BZ #13550]
1881 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1882 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1883 (run-via-rtld-prefix): Do not handle %-bp tests.
1884 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1885 (all-object-suffixes): Remove .ob.
1886 (bppfx): Remove variable.
1887 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1888 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1889 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1890 [$(build-bounded) = yes] (libtype.ob): Likewise.
1891 * Makerules (elide-routines.ob): Remove variable.
1892 (do-tests-clean): Do not handle *-bp.out.
1893 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1894 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1895 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1896 (tests): Do not include $(tests-bp.out).
1897 (xtests): Do not include $(xtests-bp.out).
1898 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1899 [$(build-bounded) = yes] ($(addprefix
1900 $(objpfx),$(binaries-bounded))): Remove rule.
1901 ($(objpfx)%-bp.out): Remove rule.
1902 * config.make.in (build-bounded): Remove variable.
1903 * crypt/Makefile [$(build-bounded) = yes]
1904 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1905 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1906 append to variable.
1907 [$(build-bounded) = yes] (install-lib): Likewise.
1908 [$(build-bounded) = yes] (generated): Likewise.
1909 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1910 Remove rule.
1911 * intl/Makefile [$(build-bounded) = yes]
1912 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1913 * math/Makefile [$(build-bounded) = yes]
1914 ($(tests:%=$(objpfx)%-bp): Likewise.
1915 * misc/Makefile [$(build-bounded) = yes]
1916 ($(objpfx)tst-tsearch-bp): Likewise.
1917 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1918 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1919 Remove dependency.
1920 * string/Makefile (o-objects.ob): Remove variable.
1921 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1922 (CFLAGS-.ob): Remove variable.
1923 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1924 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1925 both definitions of variable.
1926 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1927 (ASFLAGS-.ob): Remove variable.
1928
e97ed6dd
JM
19292013-02-14 Joseph Myers <joseph@codesourcery.com>
1930
2bdd4ca6
JM
1931 [BZ #13550]
1932 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1933 Remove __BOUNDED_POINTERS__ from condition.
1934 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1935 * string/bits/string2.h [!__NO_STRING_INLINES &&
1936 !__BOUNDED_POINTERS__]: Likewise.
1937 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1938 Likewise.
1939 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1940 Remove conditional code.
1941 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1942 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1943 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1944 condition.
1945
e97ed6dd
JM
1946 [BZ #13550]
1947 * csu/libc-start.c: Do not include <bp-sym.h>.
1948 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1949 * elf/dl-open.c: Do not include <bp-sym.h>.
1950 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1951 * math/fegetenv.c: Do not include <bp-sym.h>.
1952 (fegetenv): Do not use BP_SYM in versioned symbols.
1953 * nptl/sysdeps/pthread/bits/libc-lockP.h
1954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1955 <bp-sym.h>.
1956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1957 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1959 (__pthread_mutex_destroy): Likewise.
1960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1961 (__pthread_mutex_lock): Likewise.
1962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1963 (__pthread_mutex_trylock): Likewise.
1964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1965 (__pthread_mutex_unlock): Likewise.
1966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1967 (__pthread_mutexattr_init): Likewise.
1968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1969 (__pthread_mutexattr_destroy): Likewise.
1970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1971 (__pthread_mutexattr_settype): Likewise.
1972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1973 (__pthread_rwlock_init): Likewise.
1974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1975 (__pthread_rwlock_destroy): Likewise.
1976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1977 (__pthread_rwlock_rdlock): Likewise.
1978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1979 (__pthread_rwlock_tryrdlock): Likewise.
1980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1981 (__pthread_rwlock_wrlock): Likewise.
1982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1983 (__pthread_rwlock_trywrlock): Likewise.
1984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1985 (__pthread_rwlock_unlock): Likewise.
1986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1987 (__pthread_key_create): Likewise.
1988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1989 (__pthread_setspecific): Likewise.
1990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1991 (__pthread_getspecific): Likewise.
1992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1993 Likewise.
1994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1995 (_pthread_cleanup_push_defer): Likewise.
1996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1997 (_pthread_cleanup_pop_restore): Likewise.
1998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1999 (pthread_setcancelstate): Likewise.
2000 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2001 <bp-sym.h>.
2002 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2003 (memchr): Do not use BP_SYM in weak_alias.
2004 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2005 (fegetenv): Do not use BP_SYM in versioned symbols.
2006 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2007 (fesetenv): Do not use BP_SYM in versioned symbols.
2008 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2009 (feupdateenv): Do not use BP_SYM in versioned symbols.
2010 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2011 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2012 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2013 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2014 (open64): Do not use BP_SYM in weak_alias.
2015 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2016 (fegetenv): Do not use BP_SYM in versioned symbols.
2017 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2018 (fesetenv): Do not use BP_SYM in versioned symbols.
2019 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2020 (feupdateenv): Do not use BP_SYM in versioned symbols.
2021 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2022 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2023 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2024 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2025 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2026 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2027 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2028 <bp-sym.h>.
2029 (__libc_start_main): Do not use BP_SYM.
2030
d6752ccd
SP
20312013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2032
cb57ce60
SP
2033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2034 redundant return line.
2035 (norm): Likewise.
2036 (denorm): Likewise.
2037 (dbl_mp): Likewise.
2038 (sub_magnitudes): Likewise.
2039 (__add): Likewise.
2040 (__sub): Likewise.
2041 (__mul): Likewise.
2042 (__inv): Likewise.
2043 (__dvd): Likewise.
2044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2045 (norm): Likewise.
2046 (denorm): Likewise.
2047 (dbl_mp): Likewise.
2048 (sub_magnitudes): Likewise.
2049 (__add): Likewise.
2050 (__sub): Likewise.
2051 (__mul): Likewise.
2052 (__inv): Likewise.
2053 (__dvd): Likewise.
2054
f414520d
SP
2055 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2056 instead of __mul.
2057 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2058 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2059 (cc32): Likewise.
2060
d6752ccd
SP
2061 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2062 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2063 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2064 of __mul for squares.
2065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2066 function
2067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2068 Likewise.
2069 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2070 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2071
70d9946a
JM
20722013-02-13 Joseph Myers <joseph@codesourcery.com>
2073
2074 [BZ #13550]
2075 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2076 code.
2077 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2078 prototype or function definition. Rename ubp_* variables and
2079 parameters. Remove argv definitions conditional on
2080 [__BOUNDED_POINTERS__].
2081 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2082 * elf/dl-runtime.c (_dl_fixup): Likewise.
2083 * include/set-hooks.h (RUN_HOOK): Likewise.
2084 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2085 definition.
2086 * string/strcpy.c (strcpy): Do not use __unbounded.
2087 * sysdeps/generic/frame.h (struct layout): Likewise.
2088 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2089 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2090 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2091 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2092 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2093 (__backtrace): Likewise.
2094 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2095 use __ptrvalue.
2096 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2097 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2098 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2099 Likewise.
2100 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2101 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2102 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2103 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2104 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2105 Do not use __unbounded.
2106 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2107 Rename __unboundedrlimits parameter to rlimits in prototype.
2108 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2109 Do not use __unbounded.
2110 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2111 not use __ptrvalue.
2112 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2113 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2114 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2115 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2116 __ptrvalue or __unbounded.
2117 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2118 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2119 use __unbounded.
2120 (__new_msgctl): Do not use __ptrvalue.
2121 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2122 __unbounded.
2123 (__libc_msgrcv): Do not use __ptrvalue.
2124 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2125 startup_info): Do not use __unbounded.
2126 (__libc_start_main): Likewise. Rename ubp_* variables and
2127 parameters. Remove argv definitions conditional on
2128 [__BOUNDED_POINTERS__].
2129 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2130 __ptrvalue.
2131 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2132 use __unbounded.
2133 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2134 or __ptrvalue.
2135 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2136 use __unbounded.
2137 (__new_shmctl): Do not use __ptrvalue.
2138 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2139 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2140 Likewise.
2141 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2142 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2143 (__libc_sigaction): Likewise.
2144 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2145 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2146 Likewise.
2147 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2148
cc7834d6
OB
21492013-02-13 Ondřej Bílka <neleai@seznam.cz>
2150
ffb1ec7b 2151 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2152
2153 * string/mempcpy.c: Implement by calling memcpy.
2154
bdf02814
SP
21552013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2156
c2af38aa
SP
2157 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2158
4e92d59e
SP
2159 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2160 evaluation.
2161
909279a5
SP
2162 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2163 values in the mantissa.
2164
bdf02814
SP
2165 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2166 minimize writes to Z.
2167 (sub_magnitudes): Simplify code a bit.
2168
cd525923
RM
21692013-02-12 Roland McGrath <roland@hack.frob.com>
2170
2171 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2172 from the message. The linker prefixes all warnings with that already.
2173
7e2f0d2d
AS
21742013-02-12 Andreas Schwab <schwab@suse.de>
2175
a445af0b
AS
2176 [BZ #15078]
2177 * posix/regexec.c (extend_buffers): Add parameter min_len.
2178 (check_matching): Pass minimum needed length.
2179 (clean_state_log_if_needed): Likewise.
2180 (get_subexp): Likewise.
2181 * posix/Makefile (tests): Add bug-regex34.
2182 (bug-regex34-ENV): Define.
2183 * posix/bug-regex34.c: New file.
2184
7e2f0d2d
AS
2185 [BZ #11561]
2186 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2187 elements compare against the byte sequence of it, not its name.
2188 * posix/Makefile (tests): Add bug-regex35.
2189 (bug-regex35-ENV): Define.
2190 * posix/bug-regex35.c: New file.
2191
a175b684
TV
21922013-02-11 Tom de Vries <tom@codesourcery.com>
2193
2194 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2195 comment.
2196 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2197 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2198 (CHECK_EOL): Add undef.
2199
310998fe 22002013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2201
2202 * bits/stdlib-bsearch.h: New file.
2203 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2204 * stdlib/stdlib.h: Likewise.
41eda41d 2205
8ded91fb
RM
22062013-02-11 Roland McGrath <roland@hack.frob.com>
2207
2208 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2209 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2210 declaration.
2211 * manual/search.texi (Array Search Function): Add missing const in
2212 lfind prototype.
2213 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2214 declaration to use rlim_t.
2215 (Basic Scheduling Functions): Remove erroneous const from
2216 sched_getparam prototype. Remove erroneous * from
2217 sched_get_priority_max and sched_get_priority_min prototypes.
2218 (Resource Usage): Fix summary @comment on vtimes to refer to
2219 sys/vtimes.h rather than vtimes.h.
2220 Add missing *s in vtimes prototype.
2221 (Limits on Resources): Fix ulimit prototype to return long int.
2222 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2223 prototypes to use long int rather than double.
2224 (BSD Random): Fix initstate and setstate to use char *, not void *.
2225 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2226 prototype to make second argument 'struct aiocb64 *const[]'.
2227 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2228 (Status of AIO Operations): Remove erroneous const in aio_return and
2229 aio_return64 prototypes.
2230 (Synchronizing I/O): Fix sync prototype to return void.
2231 * manual/startup.texi (Suboptions): Remove an erroneous const in
2232 getsubopt prototype.
2233 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2234 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2235 use size_t rather than int.
2236 (Scanning All Users): Likewise for getpwent_r.
2237 (Setting Groups): Add missing const to setgroups prototype.
2238 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2239 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2240 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2241 'const void *' rather than 'const char *'.
2242 (Host Address Functions): Likewise for inet_ntop.
2243 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2244 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2245 ssize_t for return value.
2246 (Sending Data): Likewise for send, sendto, sendmsg.
2247 (Socket Option Functions): Add a missing const in setsockopt prototype.
2248 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2249 use wchar_t for the argument.
2250 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2251 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2252 take no arguments.
2253 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2254 double/float/long double for second argument.
2255 Fix return types of significand, significandf, significandl.
2256 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2257 argument in fchmod prototype.
2258 (File Owner): Use uid_t and gid_t in fchown prototype.
2259 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2260 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2261 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2262 use 'const struct dirent **' as argument types to CMP function pointer
2263 argument.
2264 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2265 (File Times): Fix summary magic @comment for struct utimbuf and utime
2266 to refer to utime.h, not time.h.
2267 * manual/string.texi (Argz Functions): Add missing const in
2268 argz_extract and argz_next prototypes.
2269 (Finding Tokens in a String): Likewise for basename.
2270 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2271 (Copying and Concatenation): Fix typo in wmemmove prototype.
2272 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2273 (Signal Stack): Remove erroneous const in sigstack prototype.
2274 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2275 prototype.
2276 (Simple Calendar Time): Likewise for stime.
2277 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2278 prototype.
2279 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2280 say sys/sysctl.h instead.
2281 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2282 and vsyslog prototypes.
2283
fe77fe6d
TV
22842013-02-11 Tom de Vries <tom@codesourcery.com>
2285
2286 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2287 Remove.
2288
3a09b620
RM
22892013-02-11 Roland McGrath <roland@hack.frob.com>
2290
2291 * misc/sys/mman.h: Fix typo in mremap comment.
2292
550a0b89
RM
22932013-02-08 Roland McGrath <roland@hack.frob.com>
2294
2295 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2296 the '\0' terminator.
2297
a2da1673
JM
22982013-02-08 Joseph Myers <joseph@codesourcery.com>
2299
2300 [BZ #13550]
2301 * debug/segfault.c: Don't include <bp-checks.h>.
2302 * sysdeps/generic/bp-checks.h: Remove file.
2303 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2304 (__GETDENTS): Don't use CHECK_N.
2305 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2306 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2307 (__getgroups): Don't use CHECK_N.
2308 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2309 (setgroups): Don't use CHECK_N.
2310 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2311 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2312 (__libc_msgrcv): Don't use CHECK_N.
2313 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2314 (__libc_msgsnd): Don't use CHECK_N.
2315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2316 <bp-checks.h>.
2317 (__libc_pread): Don't use CHECK_N.
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2319 include <bp-checks.h>.
2320 (__libc_pread64): Don't use CHECK_N.
2321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2322 include <bp-checks.h>.
2323 (__libc_pwrite): Don't use CHECK_N.
2324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2325 include <bp-checks.h>.
2326 (__libc_pwrite64): Don't use CHECK_N.
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2328 <bp-checks.h>.
2329 (__libc_pread): Don't use CHECK_N.
2330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2331 include <bp-checks.h>.
2332 (__libc_pread64): Don't use CHECK_N.
2333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2334 include <bp-checks.h>.
2335 (__libc_pwrite): Don't use CHECK_N.
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2337 include <bp-checks.h>.
2338 (__libc_pwrite64): Don't use CHECK_N.
2339 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2340 (do_pread): Don't use CHECK_N.
2341 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2342 (do_pread64): Don't use CHECK_N.
2343 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2344 (do_pwrite): Don't use CHECK_N.
2345 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2346 (do_pwrite64): Don't use CHECK_N.
2347 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2348 (__libc_readv): Don't use CHECK_N.
2349 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2350 (semop): Don't use CHECK_N.
2351 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2352 <bp-checks.h>.
2353 (semtimedop): Don't use CHECK_N.
2354 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2355 (__libc_pread): Don't use CHECK_N.
2356 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2357 <bp-checks.h>.
2358 (__libc_pread64): Don't use CHECK_N.
2359 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2360 <bp-checks.h>.
2361 (__libc_pwrite): Don't use CHECK_N.
2362 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2363 <bp-checks.h>.
2364 (__libc_pwrite64): Don't use CHECK_N.
2365 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2366 <bp-checks.h>.
2367 (__libc_msgrcv): Don't use CHECK_N.
2368 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2369 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2370 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2371 (__libc_writev): Don't use CHECK_N.
2372
b84660a8
RM
23732013-02-08 Roland McGrath <roland@hack.frob.com>
2374
7f3e75f8
RM
2375 * string/strcpy.c: Removed unused variable.
2376
b84660a8
RM
2377 * Makeconfig (+sysdep-includes): Define with := rather than =.
2378 Use an existing include/ subdir of each sysdeps dir before it.
2379
471514d3
CD
23802013-02-08 Carlos O'Donell <carlos@redhat.com>
2381
2382 * nscd/connection.c (register_traced_file): Comment function.
2383 [HAVE_INOTIFY] (union __inev): Define.
2384 [HAVE_INOTIFY] (inotify_check_files): New function.
2385 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2386 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2387 clear_db_cache.
2388 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2389
b2d3c3be
CD
23902013-02-08 Carlos O'Donell <carlos@redhat.com>
2391
2392 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2393 loaded if not already and that a failure is permanent.
2394
b39949d2
CD
23952013-02-08 Carlos O'Donell <carlos@redhat.com>
2396
ddacd1db 2397 [BZ #15006]
b39949d2
CD
2398 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2399 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2400
b2c9eff4
JM
24012013-02-08 Joseph Myers <joseph@codesourcery.com>
2402
f3aae3f3
JM
2403 [BZ #13550]
2404 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2405 (CHECK_1_NULL_OK): Likewise.
2406 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2407 (__fxstat): Do not use CHECK_1.
2408 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2409 <bp-checks.h>.
2410 (___fxstat64): Do not use CHECK_1.
2411 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2412 <bp-checks.h>.
2413 (__fxstatat): Do not use CHECK_1.
2414 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2415 <bp-checks.h>.
2416 (__fxstatat64): Do not use CHECK_1.
2417 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2418 <bp-checks.h>.
2419 (__fxstat): Do not use CHECK_1.
2420 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2421 <bp-checks.h>.
2422 (__fxstatat): Do not use CHECK_1.
2423 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2424 <bp-checks.h>.
2425 (__getresgid): Do not use CHECK_1.
2426 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2427 <bp-checks.h>.
2428 (__getresuid): Do not use CHECK_1.
2429 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2430 <bp-checks.h>.
2431 (__lxstat): Do not use CHECK_1.
2432 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2433 <bp-checks.h>.
2434 (__old_msgctl): Do not use CHECK_1.
2435 (__new_msgctl): Likewise.
2436 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2437 <bp-checks.h>.
2438 (__new_setrlimit): Do not use CHECK_1.
2439 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2440 <bp-checks.h>.
2441 (__old_shmctl): Do not use CHECK_1.
2442 (__new_shmctl): Likewise.
2443 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2444 <bp-checks.h>.
2445 (__xstat): Do not use CHECK_1.
2446 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2447 (__lxstat): Do not use CHECK_1.
2448 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2449 <bp-checks.h>.
2450 (___lxstat64): Do not use CHECK_1.
2451 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2452 (__old_msgctl): Do not use CHECK_1.
2453 (__new_msgctl): Likewise.
2454 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2455 <bp-checks.h>.
2456 (__gettimeofday): Do not use CHECK_1.
2457 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2458 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2459 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2460 <bp-checks.h>.
2461 (__gettimeofday): Do not use CHECK_1.
2462 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2463 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2464 (__new_shmctl): Do not use CHECK_1.
2465 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2466 <bp-checks.h>.
2467 (do_sigtimedwait): Do not use CHECK_1.
2468 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2469 <bp-checks.h>.
2470 (do_sigwaitinfo): Do not use CHECK_1.
2471 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2472 <bp-checks.h>.
2473 (msgctl): Do not use CHECK_1.
2474 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2475 <bp-checks.h>.
2476 (shmctl): Do not use CHECK_1.
2477 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2478 (ustat): Do not use CHECK_1.
2479 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2480 <bp-checks.h>.
2481 (__fxstat): Do not use CHECK_1.
2482 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2483 <bp-checks.h>.
2484 (__fxstatat): Do not use CHECK_1.
2485 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2486 <bp-checks.h>.
2487 (__lxstat): Do not use CHECK_1.
2488 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2489 <bp-checks.h>.
2490 (__xstat): Do not use CHECK_1.
2491 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2492 (__xstat): Do not use CHECK_1.
2493 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2494 (___xstat64): Do not use CHECK_1.
2495
b2c9eff4
JM
2496 [BZ #13550]
2497 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2498 definitions.
2499 (CHECK_BOUNDS_HIGH): Likewise.
2500 * string/strcpy.c: Do not include <bp-checks.h>.
2501 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2502
f1d70dad
RM
25032013-02-07 Roland McGrath <roland@hack.frob.com>
2504
2505 * nscd/nscd-client.h (__nscd_drop_map_ref):
2506 Add __attribute__ ((unused)).
2507 * nis/nss-nisplus.h (niserr2nss): Likewise.
2508
2509 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2510 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2511
2512 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2513 Remove inline keyword.
2514 * include/rounding-mode.h (round_away): Likewise.
2515 * libio/wfileops.c (adjust_wide_data): Likewise.
2516 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2517 (__m128i_strloadu_tolower): Likewise.
2518 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2519 (__m128i_strloadu_tolower): Likewise.
2520 * time/mktime.c (ydhms_diff): Likewise.
2521 * locale/elem-hash.h (elem_hash): Likewise.
2522 * locale/setlocale.c (setdata): Likewise.
2523 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2524 (re_string_wchar_at): Likewise.
2525 (bitset_not, bitset_merge, bitset_mask): Likewise.
2526 [!(__GNUC__ > 3)] (inline): Remove macro.
2527 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2528 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2529 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2530 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2531 * string/memcmp.c (memcmp_bytes): Likewise.
2532 * locale/programs/locarchive.c (compute_hashval): Likewise.
2533 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2534 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2535 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2536 * nss/getent.c (print_rpc, print_protocols): Likewise.
2537 (print_passwd, print_group, print_aliases): Likewise.
2538 * nis/nss-nisplus.h (niserr2nss): Likewise.
2539 * nscd/connections.c (restart_p): Likewise.
2540 Change return type to bool.
2541
eab55bfb
RM
25422013-02-05 Roland McGrath <roland@hack.frob.com>
2543
7bd642f5
RM
2544 * Makeconfig (all-Depend-files): Add existing
2545 $(sorted-subdirs:=/Depend) files.
2546 (all-subdirs): Remove nss.
2547 * sysdeps/unix/inet/Subdirs: Add it here instead.
2548 * hesiod/Depend: New file.
2549
573c29b2
RM
2550 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2551 instead of calling alloca.
2552
b2e25af0
RM
2553 * io/lseek.c (__lseek): Rename to __libc_lseek.
2554 Define __lseek as an alias.
2555
eab55bfb
RM
2556 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2557
9a0d1941
CD
25582013-02-04 Carlos O'Donell <carlos@redhat.com>
2559
2560 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2561 else clause and remove check for non-standard endianness.
2562
b83bbec4
DM
25632013-02-04 David S. Miller <davem@davemloft.net>
2564
2565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2566
6277fdab
JM
25672013-02-04 Joseph Myers <joseph@codesourcery.com>
2568
2569 [BZ #13550]
2570 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2571 (__ubp_memchr): Remove prototype.
2572 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2573 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2574 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2575 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2576 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2577 Remove alias.
2578 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2579 (__ubp_memchr): Likewise.
2580 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2581 (__ubp_memchr): Likewise.
2582 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2583 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2584 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2585 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2586 CHECK_STRING.
2587 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2588 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2589 (__getcwd): Do not use CHECK_STRING.
2590 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2591 <bp-checks.h>.
2592 (__real_chown): Do not use CHECK_STRING.
2593 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2594 <bp-checks.h>.
2595 (fchownat): Do not use CHECK_STRING.
2596 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2597 CHECK_STRING.
2598 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2599 <bp-checks.h>.
2600 (__lchown): Do not use CHECK_STRING.
2601 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2602 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2603 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2604 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2606 include <bp-checks.h>.
2607 (truncate64): Do not use CHECK_STRING.
2608 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2609 <bp-checks.h>.
2610 (__real_chown): Do not use CHECK_STRING.
2611 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2612 <bp-checks.h>.
2613 (__lchown): Do not use CHECK_STRING.
2614 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2615 <bp-checks.h>.
2616 (__chown): Do not use CHECK_STRING.
2617 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2618 <bp-checks.h>.
2619 (truncate64): Do not use CHECK_STRING.
2620 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2621 Likewise.
2622 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2623 (__xmknod): Do not use CHECK_STRING.
2624 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2625 <bp-checks.h>.
2626 (__xmknodat): Do not use CHECK_STRING.
2627 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2628 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2629
903ae060
AS
26302013-02-04 Andreas Schwab <schwab@suse.de>
2631
2632 [BZ #14142]
2633 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2634 * include/netdb.h: Likewise for h_errno.
2635 * elf/tst-stackguard1.c: Include <tls.h>.
2636
542f9466
JK
26372013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2638
2639 * elf/link.h (struct link_map): Extend the l_addr comment.
2640 * include/link.h (struct link_map): Likewise.
2641
e782a927
JM
26422013-02-01 Joseph Myers <joseph@codesourcery.com>
2643
2644 [BZ #13550]
2645 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2646 (BOUNDED_1): Remove macro.
2647 * debug/backtrace.c: Don't include <bp-checks.h>.
2648 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2649 (__backtrace): Likewise.
2650 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2651 <bp-checks.h>.
2652 (__backtrace): Don't use BOUNDED_1.
2653 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2654 <bp-checks.h>.
2655 (__backtrace): Don't use BOUNDED_1.
2656 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2657 (__backtrace): Don't use BOUNDED_1.
2658 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2659 (shmat): Don't use BOUNDED_N.
2660
8cf28c5e
JM
26612013-01-31 Joseph Myers <joseph@codesourcery.com>
2662
3a7ac8a0
JM
2663 [BZ #13550]
2664 * sysdeps/generic/bp-start.h: Remove file.
2665 * csu/libc-start.c: Don't include <bp-start.h>.
2666 (LIBC_START_MAIN): Set up __environ directly instead of using
2667 INIT_ARGV_and_ENVIRON.
2668 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2669 <bp-start.h>.
2670
f3499f95
JM
2671 [BZ #13550]
2672 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2673 definitions.
2674 (CHECK_FCNTL): Likewise.
2675 (CHECK_N_PAGES): Likewise.
2676
32a45bea
JM
2677 [BZ #13550]
2678 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2679 definitions.
2680 (CHECK_SIGSET_NULL_OK): Likewise.
2681 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2682 <bp-checks.h>.
2683 (sigpending): Don't use CHECK_SIGSET.
2684 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2685 <bp-checks.h>.
2686 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2687 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2688 <bp-checks.h>.
2689 (do_sigsuspend): Don't use CHECK_SIGSET.
2690 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2691 use CHECK_SIGSET.
2692 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2693 (do_sigwait): Don't use CHECK_SIGSET.
2694 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2695 use CHECK_SIGSET.
2696 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2697 include <bp-checks.h>.
2698 (sigpending): Don't use CHECK_SIGSET.
2699 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2700 include <bp-checks.h>.
2701 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2702 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2703 <bp-checks.h>.
2704 (sigpending): Don't use CHECK_SIGSET.
2705 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2706 <bp-checks.h>.
2707 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2708
2e8a5c8c
JM
2709 [BZ #13550]
2710 * sysdeps/generic/bp-semctl.h: Remove file.
2711 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2712 <bp-checks.h> and <bp-semctl.h>.
2713 (__old_semctl): Don't use CHECK_SEMCTL.
2714 (__new_semctl): Likewise.
2715 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2716 and <bp-semctl.h>.
2717 (__old_semctl): Don't use CHECK_SEMCTL.
2718 (__new_semctl): Likewise.
2719 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2720 <bp-checks.h> and <bp-semctl.h>.
2721 (__old_semctl): Don't use CHECK_SEMCTL.
2722 (__new_semctl): Likewise.
2723 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2724 <bp-checks.h> and <bp-semctl.h>.
2725 (semctl): Don't use CHECK_SEMCTL.
2726
c2d54929
JM
2727 [BZ #13550]
2728 * Makerules (elide-bp-thunks): Remove variable.
2729 (elide-routines.oS): Don't use $(elide-bp-thunks).
2730 (elide-routines.os): Likewise.
2731 (elide-routines.o): Likewise.
2732 (elide-routines.op): Likewise.
2733 (elide-routines.og): Likewise.
2734 (objects): Don't use $(bp-thunks).
2735 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2736 include.
2737 (common-generated): Do not add s-proto-bp.d.
2738 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2739 (int): Likewise.
2740 (typ): Likewise.
2741 Do not generate makefile rules for bounded-pointer thunks.
2742 * sysdeps/generic/bp-thunks.h: Remove file.
2743 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2744 * sysdeps/unix/s-proto-bp.S: Likewise.
2745
8cf28c5e
JM
2746 [BZ #15062]
2747 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2748 parts of result separately when argument is not close to line from
2749 -i to i and one part of argument is small.
2750 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2751 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2752 * math/libm-test.inc (cacos_test): Add more tests.
2753 (casin_test): Likewise.
2754 (casinh_test): Likewise.
2755 * sysdeps/i386/fpu/libm-test-ulps: Update.
2756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2757
c4e33b8d
DM
27582013-01-31 David S. Miller <davem@davemloft.net>
2759
2760 * po/de.po: Update from translation team.
2761
3b60b421
MK
27622013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2763
2764 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2765
bb931195
TS
27662013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2767
b5a5da23
TS
2768 * configure.in (_AC_PROG_CC_C89): New definition.
2769 * configure: Regenerate.
2770
bb931195
TS
2771 * configure.in (AC_PROG_CPP): New definition.
2772 * configure: Regenerate.
2773
8c53a12c
JM
27742013-01-23 Joseph Myers <joseph@codesourcery.com>
2775
2776 * debug/tst-backtrace.h: New file.
2777 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2778 (ret): Remove variable.
2779 (x): Likewise.
2780 (FAIL): Remove macro.
2781 (NO_INLINE): Likewise.
2782 (fn1): Use match function instead of strstr.
2783 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2784 (ret): Remove variable.
2785 (x): Likewise.
2786 (FAIL): Remove macro.
2787 (NO_INLINE): Likewise.
2788 (fn): Use match function instead of strstr.
2789 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2790 (ret): Remove variable.
2791 (x): Likewise.
2792 (FAIL): Remove macro.
2793 (NO_INLINE): Likewise.
2794 (handle_signal): Use match function instead of strstr.
2795 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2796 (ret): Remove variable.
2797 (x): Likewise.
2798 (FAIL): Remove macro.
2799 (NO_INLINE): Likewise.
2800 (handle_signal): Use match function instead of strstr.
2801
4858fa2a
RM
28022013-01-23 Roland McGrath <roland@hack.frob.com>
2803
2804 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2805
bae8e7f5
DM
28062013-01-23 David S. Miller <davem@davemloft.net>
2807
2808 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2809 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2810 argument of CAS if possible.
2811 * sysdeps/sparc/sparc64/bits/atomic.h
2812 (__arch_compare_and_exchange_val_32_acq): Likewise.
2813 (__arch_compare_and_exchange_val_64_acq): Likewise.
2814
9cbbc4ae
PT
28152013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2816
2817 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2818 * sysdeps/posix/ulimit.c: ... this.
92a601b8 2819 Include <limits.h>.
67b3f58c 2820 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 2821
5655a0b5
AC
28222013-01-23 Adam Conrad <adconrad@0c3.net>
2823
2824 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2825 (LDFLAGS-tst-array5): Likewise.
2826
052aff95
JM
28272013-01-23 Joseph Myers <joseph@codesourcery.com>
2828
2829 [BZ #15036]
2830 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2831 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2832 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2833 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2834
7c1e01aa
DM
28352013-01-21 David S. Miller <davem@davemloft.net>
2836
2837 * sysdeps/sparc/backtrace.c: New file.
2838 * sysdeps/sparc/sparc32/backtrace.h: New file.
2839 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2840 * sysdeps/sparc/sparc64/backtrace.h: New file.
2841 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2842 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2843 -funwind-tables.
2844
ab087e0a
AS
28452013-01-21 Andreas Schwab <schwab@suse.de>
2846
2847 [BZ #15020]
2848 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2849 closed its stdout.
2850
ed689c2f
AS
28512013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2852
2853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2854 "mpa2.h".
2855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2856
31d470ac
JM
28572013-01-18 Joseph Myers <joseph@codesourcery.com>
2858 Mark Mitchell <mark@codesourcery.com>
2859 Tom de Vries <tom@codesourcery.com>
2860 Paul Pluzhnikov <ppluzhnikov@google.com>
2861
2862 * debug/tst-backtrace2.c: New file.
2863 * debug/tst-backtrace3.c: Likewise.
2864 * debug/tst-backtrace4.c: Likewise.
2865 * debug/tst-backtrace5.c: Likewise.
2866 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2867 (CFLAGS-tst-backtrace3.c): Likewise.
2868 (CFLAGS-tst-backtrace4.c): Likewise.
2869 (CFLAGS-tst-backtrace5.c): Likewise.
2870 (LDFLAGS-tst-backtrace2): Likewise.
2871 (LDFLAGS-tst-backtrace3): Likewise.
2872 (LDFLAGS-tst-backtrace4): Likewise.
2873 (LDFLAGS-tst-backtrace5): Likewise.
2874 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2875 tst-backtrace4 and tst-backtrace5.
2876
90567f30 28772013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
2878 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2879
2880 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2881 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2882 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2883 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2885 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2886 "+r" and remove output regs list as redundant. Add explicit inline
2887 asm to specify register of return val to work around compiler codegen
2888 bug. Remove (int) cast on return value. Add return type parameter to
2889 use in macro so that this macro does not truncate return value for
2890 64-bit values.
2891 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2892 pass to INTERNAL_VSYSCALL_NCS.
2893 (INLINE_VSYSCALL): Add 'long int' as return type to
2894 INTERNAL_VSYSCALL_NCS macro invocation.
2895 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2896 INTERNAL_VSYSCALL_NCS macro invocation.
2897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2898
d3b9ea61
SP
28992013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2900
0b57daeb
SP
2901 [BZ #14496]
2902 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2903 Fix application of SIMD FP exception mask.
2904
caa99d06
SP
2905 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2906 mp_no from a power of two.
2907 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2908 __mpexp_twomm1. Use __pow_mp.
2909
d3b9ea61
SP
2910 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2911 multiplication.
2912
1dbaee3c
DM
29132013-01-17 David S. Miller <davem@davemloft.net>
2914
2915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2916
728d7b43
JM
29172013-01-17 Joseph Myers <joseph@codesourcery.com>
2918
2919 [BZ #15023]
2920 * include/complex.h: Condition contents on [!_COMPLEX_H].
2921 (__kernel_casinhf): New prototype.
2922 (__kernel_casinh): Likewise.
2923 (__kernel_casinhl): Likewise.
2924 * math/Makefile (libm_calls): Add k_casinh.
2925 * math/k_casinh.c: New file.
2926 * math/k_casinhf.c: Likewise.
2927 * math/k_casinhl.c: Likewise.
2928 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2929 finite nonzero arguments.
2930 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2931 finite nonzero arguments.
2932 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2933 finite nonzero arguments.
2934 * math/s_casinh.c: Do not include <float.h>.
2935 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2936 * math/s_casinhf.c: Do not include <float.h>.
2937 (__casinhf): Move code for finite nonzero arguments to
2938 k_casinhf.c.
2939 * math/s_casinhl.c: Do not include <float.h>.
2940 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2941 redefine.
2942 (__casinhl): Move code for finite nonzero arguments to
2943 k_casinhl.c.
2944 * math/libm-test.inc (cacos_test): Add more tests.
2945 * sysdeps/i386/fpu/libm-test-ulps: Update.
2946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2947
2a26ef3a
PT
29482013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2949
2950 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2951 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2952 [!HAVE_MREMAP]: Remove [defined linux] case.
2953 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2954
a897655d
SP
29552013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2956
2957 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2958
881ebe89 29592013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
2960
2961 * elf/elf.h (R_386_SIZE32): New relocation.
2962 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2963 R_386_SIZE32.
2964 (elf_machine_rela): Likewise.
2965 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2966 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2967
59981e9b
JM
29682013-01-17 Joseph Myers <joseph@codesourcery.com>
2969
2970 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2971 (FP_FAST_FMA): Do not define.
2972 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2973 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2974 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2975 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2976 !_SOFT_FLOAT]: Likewise.
2977 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2978 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2979 value.
2980 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2981 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2982 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2983 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2984 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2985 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2986 file.
2987
cfa8054f
AS
29882013-01-16 Andreas Schwab <schwab@suse.de>
2989
2990 [BZ #14327]
2991 * include/stdlib.h (__mktemp): Add declaration.
2992 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2993 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2994
dd930cc5
SP
29952013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2996
881ebe89
SP
2997 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2998 definitions.
2999 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3000 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3001 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3002 definitions here.
3003 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3004 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3005 definitions.
3006 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3007 and ONE.
3008 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3009 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3010 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3011 definitions.
3012 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3013 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3014 definitions.
3015 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3016
dd930cc5
SP
3017 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3018
c19a9f89
DM
30192013-01-15 David S. Miller <davem@davemloft.net>
3020
1aa61767
DM
3021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3022 trunc{,f} to libm-sysdep_routes.
3023 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3025 file.
3026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3028 file.
3029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3030 file.
3031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3033 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3034 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3035 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3036 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3037 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3038 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3039
c42d5e98
DM
3040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3041 nearbyint{,f} to libm-sysdep_routes.
3042 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3044 New file.
3045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3046 file.
3047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3048 New file.
3049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3050 file.
3051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3053 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3054 file.
3055 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3056 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3057 file.
3058 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3059 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3060 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3061
c19a9f89
DM
3062 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3063 libc_feholdexcept and libc_fesetenv.
3064
357679d2
MF
30652013-01-15 Mike Frysinger <vapier@gentoo.org>
3066
3067 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3068
65a82e3d
DM
30692013-01-14 David S. Miller <davem@davemloft.net>
3070
8b954ab9
DM
3071 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3072 (SPARC_ASM_VIS2_IFUNC): Likewise.
3073 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3075 use of 'siam' instruction.
3076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3077 Likewise.
3078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3079 Likewise.
3080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3081 Likewise.
3082 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3083 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3085 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3087 file.
3088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3089 file.
3090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3091 file.
3092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3093 file.
3094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3099 new VIS2 routines.
3100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3103 Likewise.
3104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3109 routines to libm-sysdep_routines.
3110 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3111
65a82e3d
DM
3112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3113 fdim/fdimf to libm-sysdep_routines.
3114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3115 file.
3116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3118 file.
3119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3122 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3123 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3124 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3125 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3126
e34ab705
SP
31272013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3128
2a91b573
SP
3129 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3130 to optimize copies.
3131
1066a534
SP
3132 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3134 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3135
e34ab705
SP
3136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3137 local variable MPTWO.
3138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3139 Likewise.
3140
aba5e596
MF
31412013-01-13 Mike Frysinger <vapier@gentoo.org>
3142
3143 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3144 GLOB_NOESCAPE.
3145
e557e9e5
MF
31462013-01-13 Mike Frysinger <vapier@gentoo.org>
3147
3148 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3149
0428cec9
MF
31502013-01-13 Mike Frysinger <vapier@gentoo.org>
3151
3152 * manual/pattern.texi (glob_t): Document gl_flags.
3153 (glob64_t): Likewise.
3154
8794a964
DM
31552013-01-11 David S. Miller <davem@davemloft.net>
3156
66438c3f
RM
3157 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3158 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3159 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3160 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3161 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3162 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3163 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3164 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3165 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3166 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3167 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3168 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3169 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3170
4ae4244d
DM
3171 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3172 sparc V9 rather than using V8 code.
3173 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3174 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3175
8794a964
DM
3176 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3177 Move to...
3178 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3179 Here.
3180
6270516e
RM
31812013-01-11 Roland McGrath <roland@hack.frob.com>
3182
3183 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3184 not in the main loop.
3185 * configure: Regenerated.
3186
6a57d931
JM
31872013-01-11 Joseph Myers <joseph@codesourcery.com>
3188
3189 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3190 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3191 to just #else.
3192 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3193 [!__GLIBC_HAVE_LONG_LONG] case.
3194 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3195 condition to just #else.
3196 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3197 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3198 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3199 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3200 unconditional.
3201 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3202 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3203 #elif condition to just #else.
3204 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3205 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3206 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3207 #elif condition to just #else.
3208
0e8529e9
SE
32092013-01-11 Steve Ellcey <sellcey@mips.com>
3210
3211 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3212 (EF_MIPS_ARCH_64): Fix value.
3213 (EF_MIPS_ARCH_32R2): New.
3214 (EF_MIPS_ARCH_64R2): New.
3215
740b3dbe
L
32162013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3217
3218 * Makeconfig (+link-pie-before-libc): New.
3219 (+link-pie-after-libc): Likewise.
3220 (+link-pie-tests): Likewise.
3221 (+link-pie): Rewritten.
3222 (link-before-libc): Remove $(config-LDFLAGS).
3223 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3224 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3225 (config-LDFLAGS): Renamed to ...
3226 (rtld-LDFLAGS): This.
3227 (rtld-tests-LDFLAGS): New macro.
3228 (link-libc-rpath-link): Likewise.
3229 (link-libc-tests-rpath-link): Likewise.
3230 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3231 (link-libc): Prepand $(link-libc-rpath-link).
3232 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3233 (test-program-prefix): New macro.
3234 (test-via-rtld-prefix): Likewise.
3235 (test-program-cmd): Likewise.
3236 (host-test-program-cmd): Likewise.
3237 * Makefile ($(common-objpfx)testrun.sh): Replace
3238 $(run-program-prefix) with $(test-program-prefix).
3239 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3240 $(rtld-LDFLAGS).
3241 ($(common-objpfx)shlib.lds): Likewise.
3242 (build-module-helper): Likewise.
3243 ($(common-objpfx)format.lds): Likewise.
3244 * Rules (binaries-pie-tests): New.
3245 (binaries-pie-notests): Likewise.
3246 (binaries-pie): Rewritten.
3247 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3248 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3249 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3250 (make-test-out): Replace $(host-built-program-cmd) with
3251 $(host-test-program-cmd).
3252 * config.make.in (build-hardcoded-path-in-tests): New variable.
3253 * configure.in (--enable-hardcoded-path-in-tests): New configure
3254 option.
3255 (hardcoded_path_in_tests): New AC_SUBST.
3256 * configure: Regenerated.
3257 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3258 $(built-program-cmd) with $(test-program-cmd).
3259 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3260 (test_program_cmd): This.
3261 * elf/Makefile ($(objpfx)order.out): Run test with
3262 $(test-program-prefix).
3263 ($(objpfx)order2.out): Likewise.
3264 ($(objpfx)tst-initorder.out): Likewise.
3265 ($(objpfx)tst-initorder2.out): Likewise.
3266 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3267 $(test-program-cmd).
3268 ($(objpfx)tst-array1-static.out): Likewise.
3269 ($(objpfx)tst-array2.out): Likewise.
3270 ($(objpfx)tst-array3.out): Likewise.
3271 ($(objpfx)tst-array4.out): Likewise.
3272 ($(objpfx)tst-array5.out): Likewise.
3273 ($(objpfx)tst-array5-static.out): Likewise.
3274 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3275 $(test-program-cmd).
3276 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3277 $(run-program-prefix) with $(test-program-prefix).
3278 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3279 (test_program_prefix): This.
3280 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3281 $(run-program-prefix) with $(test-program-prefix).
3282 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3283 (test_program_prefix): This.
3284 * iconvdata/tst-tables.sh: Likewise.
3285 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3286 $(run-program-prefix) with $(test-program-prefix).
3287 ($(objpfx)tst-translit.out): Likewise.
3288 ($(objpfx)tst-gettext2.out): Likewise.
3289 ($(objpfx)tst-gettext4.out): Likewise.
3290 ($(objpfx)tst-gettext6.out): Likewise.
3291 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3292 (test_program_prefix): This.
3293 * intl/tst-gettext2.sh: Likewise.
3294 * intl/tst-gettext4.sh Likewise.
3295 * intl/tst-gettext6.sh: Likewise.
3296 * intl/tst-translit.sh: Likewise.
3297 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3298 with $(test-program-cmd).
3299 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3300 $(run-program-prefix) with $(test-program-prefix).
3301 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3302 (test_program_prefix): This.
3303 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3304 $(run-program-prefix) with $(test-program-prefix).
3305 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3306 (test_program_prefix): This.
3307 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3308 * posix/Makefile ($(objpfx)globtest.out): Replace
3309 $(run-via-rtld-prefix) and $(test-wrapper) with
3310 $(test-program-prefix) and $(test-via-rtld-prefix).
3311 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3312 $(test-program-prefix).
3313 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3314 $(host-test-program-cmd).
3315 (tst-spawn-ARGS): Likewise.
3316 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3317 $(test-program-prefix).
3318 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3319 (test_via_rtld_prefix): This.
3320 (test_wrapper): Renamed to ...
3321 (test_program_prefix): This.
3322 (run_program_prefix): Replaced by test_program_prefix.
3323 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3324 (test_program_prefix): This.
3325 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3326 with $(host-test-program-cmd).
3327 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3328 $(run-program-prefix) with $(test-program-prefix).
3329 ($(objpfx)tst-printf.out): Likewise.
3330 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3331 $(test-program-cmd).
3332 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3333 (test_program_prefix): This.
3334 * stdio-common/tst-unbputc.sh: Likewise.
3335 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3336 $(run-program-prefix) with $(test-program-prefix).
3337 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3338 (test_program_prefix): This.
3339 * string/Makefile ($(objpfx)tst-svc.out): Replace
3340 $(built-program-cmd) with $(test-program-cmd).
3341
c6fe55cf
AJ
33422013-01-11 Andreas Jaeger <aj@suse.de>
3343
3344 [BZ #15003]
3345 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3346 value. Sync with Linux 3.7.
3347
9e6919c8
DM
33482013-01-10 David S. Miller <davem@davemloft.net>
3349
3350 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3351 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3352 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3353
1c9f1a02
RM
33542013-01-10 Roland McGrath <roland@hack.frob.com>
3355
3356 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3357 never set.
3358 * configure: Regenerated.
3359
b9de2dde
DM
33602013-01-10 David S. Miller <davem@davemloft.net>
3361
3362 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3363 sparc V9 rather than using V8 code.
3364 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3365 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3366
e7f68ef4
RM
33672013-01-10 Roland McGrath <roland@hack.frob.com>
3368
3369 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3370 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3371 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3372 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3373 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3374 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3375 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3376 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3377 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3378 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3379 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3380 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3381 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3382 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3383 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3384 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3385 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3386 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3387 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3388 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3389 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3390 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3391 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3392 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3393 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3394 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3395 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3396
5a47cc9c
DM
33972013-01-10 David S. Miller <davem@davemloft.net>
3398
3399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3400
4cf8f209
L
34012013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3402
3403 * posix/Makefile (tests-static): New variable.
3404 (tests): Add $(tests-static).
3405 (tst-exec-static-ARGS): New variable.
3406 (tst-spawn-static-ARGS): Likewise.
3407 * posix/tst-exec-static.c: New file.
3408 * posix/tst-spawn-static.c: Likewise.
3409 * posix/tst-exec.c: Support run directly.
3410 * posix/tst-spawn.c: Likewise.
3411
fed0faa1
JM
34122013-01-10 Joseph Myers <joseph@codesourcery.com>
3413
828beb13
JM
3414 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3415 long.
3416 * math/bits/mathcalls.h (llrint): Likewise.
3417 (llround): Likewise.
3418 * stdlib/stdlib.h (struct drand48_data): Likewise.
3419 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3420 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3421 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3422 Likewise.
3423 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3424 Likewise.
3425 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3426 (elf_greg_t): Likewise.
3427 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3428 (__jmp_buf): Likewise.
3429 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3430 definitions.
3431 (llrint): Likewise, for all definitions.
3432 (llrintl): Likewise.
3433
fed0faa1
JM
3434 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3435 Remove [__GNUC__] condition.
3436 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3437 condition to just [__USE_ISOC99].
3438 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3439
1a20cb20
L
34402013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3441
3442 [BZ #14200]
3443 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3444 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3445 defined.
3446 (_POSIX_V6_ILP32_OFF32): Likewise.
3447 (_XBS5_ILP32_OFF32): Likewise.
3448 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3449 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3450
751b85f7
SP
34512013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3452
7490eb81
SP
3453 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3454
751b85f7
SP
3455 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3456 doubles __mpexp_twomm1. Adjust usage.
3457 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3458 Remove.
3459
988197f0
AS
34602013-01-10 Andreas Schwab <schwab@suse.de>
3461
3462 [BZ #14964]
3463 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3464 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3465
e83d7298
DM
34662013-01-09 David S. Miller <davem@davemloft.net>
3467
034ed64b 3468 [BZ #15003]
e83d7298
DM
3469 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3470 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3471 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3472 TCP_FASTOPEN): Define.
3473 (tcp_repair_opt): New structure.
3474 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3475 enum values.
3476 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3477 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3478 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3479 (tcp_cookie_transactions): New structure.
3480
d5e0b9bd
AB
34812013-01-09 Anton Blanchard <anton@samba.org>
3482
3483 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3484 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3485 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3486 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3487
0c07e3ea
JM
34882013-01-09 Joseph Myers <joseph@codesourcery.com>
3489
3490 * include/features.h (__USE_ANSI): Remove.
3491
232f7002
RM
34922013-01-09 Roland McGrath <roland@hack.frob.com>
3493
ad98e30c
RM
3494 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3495
232f7002
RM
3496 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3497
950c99ca
SP
34982013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3499
b5792741
SP
3500 * sysdeps/s390/fpu/libm-test-ulps: Update.
3501
47cf2278
SP
3502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3503
950c99ca
SP
3504 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3505 (__acr): Likewise.
3506 (__cpy): Likewise.
3507 (norm): Likewise.
3508 (denorm): Likewise.
3509 (__mp_dbl): Likewise.
3510 (__dbl_mp): Likewise.
3511 (add_magnitudes): Likewise.
3512 (sub_magnitudes): Likewise.
3513 (__add): Likewise.
3514 (__sub): Likewise.
3515 (__mul): Likewise.
3516 (__inv): Likewise.
3517 (__dvd): Likewise.
3518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3519 (__acr): Likewise.
3520 (__cpy): Likewise.
3521 (norm): Likewise.
3522 (denorm): Likewise.
3523 (__mp_dbl): Likewise.
3524 (__dbl_mp): Likewise.
3525 (add_magnitudes): Likewise.
3526 (sub_magnitudes): Likewise.
3527 (__add): Likewise.
3528 (__sub): Likewise.
3529 (__mul): Likewise.
3530 (__inv): Likewise.
3531 (__dvd): Likewise.
3532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3533 (__acr): Likewise.
3534 (__cpy): Likewise.
3535 (norm): Likewise.
3536 (denorm): Likewise.
3537 (__mp_dbl): Likewise.
3538 (__dbl_mp): Likewise.
3539 (add_magnitudes): Likewise.
3540 (sub_magnitudes): Likewise.
3541 (__add): Likewise.
3542 (__sub): Likewise.
3543 (__mul): Likewise.
3544 (__inv): Likewise.
3545 (__dvd): Likewise.
3546
eede9df9
JM
35472013-01-08 Joseph Myers <joseph@codesourcery.com>
3548
3549 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3550 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3551 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3552 2 && __USE_EXTERN_INLINES]: Likewise.
3553
c40ea3d9
AJ
35542013-01-08 Andreas Jaeger <aj@suse.de>
3555
3556 [BZ# 14985]
3557 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3558 Remove.
3559 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3560 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3561
2ccdea26
AB
35622013-01-07 Anton Blanchard <anton@samba.org>
3563
3564 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3565 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3566 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3567 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3568 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3569 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3570 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3571 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3572 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3573 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3574 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3575 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3576 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3577 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3578 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3579 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3580 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3581 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3582 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3583 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3584 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3585 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3587 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3588 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3589 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3590 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3591 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3592 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3593 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3594 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3596 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3597 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3598 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3599 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3600 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3601 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3602 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3603 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3604 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3605 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3606 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3607
a9708fed
JM
36082013-01-07 Joseph Myers <joseph@codesourcery.com>
3609
375607b9
JM
3610 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3611 (__MALLOC_PMT): Likewise.
3612 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3613 [__GNUC__], only on [_LIBC].
3614 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3615 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3616 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3617 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3618 forward declaration.
3619 (realloc_hook_ini): Likewise.
3620 (memalign_hook_ini): Likewise.
3621 (__libc_memalign): Do not use __MALLOC_PMT in variable
3622 declaration.
3623 (__libc_valloc): Likewise.
3624 (__libc_pvalloc): Likewise.
3625 (__libc_calloc): Likewise.
3626 (__posix_memalign): Likewise.
3627
a9708fed
JM
3628 [BZ #14996]
3629 * math/s_casinh.c: Include <float.h>.
3630 (__casinh): Do not do computation with squaring and square root
3631 for large arguments.
3632 * math/s_casinhf.c: Include <float.h>.
3633 (__casinhf): Do not do computation with squaring and square root
3634 for large arguments.
3635 * math/s_casinhl.c: Include <float.h>.
3636 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3637 (__casinhl): Do not do computation with squaring and square root
3638 for large arguments.
3639 * math/libm-test.inc (casin_test): Add more tests.
3640 (casinh_test): Likewise.
3641 * sysdeps/i386/fpu/libm-test-ulps: Update.
3642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3643
afec409a
L
36442013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3645
3646 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3647 (__x86_64_raw_data_cache_size): Likewise.
3648 (__x86_64_data_cache_size_half): Likewise.
3649 (__x86_64_raw_data_cache_size_half): Likewise.
3650 (__x86_64_shared_cache_size): Likewise.
3651 (__x86_64_raw_shared_cache_size): Likewise.
3652 (__x86_64_shared_cache_size_half): Likewise.
3653 (__x86_64_raw_shared_cache_size_half): Likewise.
3654 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3655 to ...
3656 (__x86_data_cache_size): This.
3657 (__x86_64_raw_data_cache_size): Renamed to ...
3658 (__x86_raw_data_cache_size): This.
3659 (__x86_64_data_cache_size_half): Renamed to ...
3660 (__x86_data_cache_size_half): This.
3661 (__x86_64_raw_data_cache_size_half): Renamed to ...
3662 (__x86_raw_data_cache_size_half): This.
3663 (__x86_64_shared_cache_size): Renamed to ...
3664 (__x86_shared_cache_size): This.
3665 (__x86_64_raw_shared_cache_size): Renamed to ...
3666 (__x86_raw_shared_cache_size): This.
3667 (__x86_64_shared_cache_size_half): Renamed to ...
3668 (__x86_shared_cache_size_half): This.
3669 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3670 (__x86_raw_shared_cache_size_half): This.
3671 * sysdeps/x86_64/memcpy.S: Updated.
3672 * sysdeps/x86_64/memset.S: Likewise.
3673 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3674 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3675 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3676
0b3986d0
DM
36772013-01-04 David S. Miller <davem@davemloft.net>
3678
3679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3680
e47686e9
AS
36812013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3682
d643bac1
AS
3683 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3684 1 to avoid redefinition warning.
3685 (__USE_GNU): Don't define.
3686 (init_signaling_nan): Protoize.
3687
e47686e9
AS
3688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3689
b18decba
SP
36902013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3691
fffb407f
SP
3692 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3694 (__cpymn): Likewise.
3695 (norm): Remove commented code.
3696 (denorm): Likewise.
3697 (__mp_dbl): Likewise.
3698 (__inv): Likewise.
3699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3700 (__cpymn): Likewise.
3701 (norm): Remove commented code.
3702 (denorm): Likewise.
3703 (__mp_dbl): Likewise.
3704 (__inv): Likewise.
3705
b18decba
SP
3706 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3707 mp_no value for 1.0 and 2.0.
3708 (norm): Use RADIXI instead of radixi.d.
3709 (denorm): Likewise.
3710 (__mul): Use 0.0 instead of zero.d.
3711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3712 mp_no value for 1.0 and 2.0.
3713 (norm): Use RADIXI instead of radixi.d.
3714 (denorm): Likewise.
3715 (__mul): Use 0.0 instead of zero.d.
3716
cdc1c96f
JM
37172013-01-04 Joseph Myers <joseph@codesourcery.com>
3718
3719 [BZ #14994]
3720 * math/s_casinh.c (__casinh): Reduce finite argument to first
3721 quadrant then set signs of results at the end.
3722 * math/s_casinhf.c (__casinhf): Likewise.
3723 * math/s_casinhl.c (__casinhl): Likewise.
3724 * math/libm-test.inc (casin_test): Add more tests.
3725 (casinh_test): Likewise.
3726 * sysdeps/i386/fpu/libm-test-ulps: Update.
3727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3728
302913e1
SP
37292013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3730
6420d207
SP
3731 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3732
a9e48ab4
SP
3733 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3734
b7837264
SP
3735 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3736 declarations.
3737 (denorm): Likewise.
3738 (__mp_dbl): Likewise.
3739 (__inv): Likewise.
3740
f8af25d2
SP
3741 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3742 and adjust the header comment.
3743
302913e1
SP
3744 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3745 variable name from declaration.
3746
5d7dd1ca
L
37472013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3748
3749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3750 Initialize COMMON_CPUID_INDEX_7 element.
3751 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3752 (CPUID_RTM): Likewise.
3753 (HAS_RTM): Likewise.
3754 (COMMON_CPUID_INDEX_7): New enum.
3755
2f5f40f4
AS
37562013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3757
3758 [BZ #14981]
3759 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3760 size is zero, record memory as freed.
3761
4056f4a0
AJ
37622013-01-03 Andreas Jaeger <aj@suse.de>
3763
3764 * po/ia.po: Add new Interlingua translation.
3765
ab15736f 37662012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
3767
3768 * locale/programs/localedef.c: Fix description of '--posix' flag.
3769
568035b7
JM
37702013-01-02 Joseph Myers <joseph@codesourcery.com>
3771
e6898b8d
JM
3772 * NEWS: Update dates in second copyright notice.
3773 * README: Update copyright dates in example.
3774 * manual/libc.texinfo: Update copyright dates.
3775 * scripts/test-installation.pl: Update copyright date in --version
3776 output.
3777
0e2f9562
JM
3778 * hurd/ctty-input.c: Fix copyright notice formatting.
3779 * hurd/ctty-output.c: Likewise.
3780 * hurd/dtable.c: Likewise.
3781 * hurd/hurd-raise.c: Likewise.
3782 * hurd/hurdprio.c: Likewise.
3783 * hurd/msgportdemux.c: Likewise.
3784 * misc/sys/file.h: Likewise.
3785 * misc/sys/ioctl.h: Likewise.
3786 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3787 * sysdeps/mach/hurd/chdir.c: Likewise.
3788 * sysdeps/mach/hurd/fchdir.c: Likewise.
3789 * sysdeps/mach/hurd/rename.c: Likewise.
3790 * sysdeps/mach/hurd/rmdir.c: Likewise.
3791 * sysdeps/mach/hurd/seekdir.c: Likewise.
3792 * sysdeps/mach/hurd/setsid.c: Likewise.
3793 * sysdeps/posix/wait3.c: Likewise.
3794
568035b7
JM
3795 * All files with FSF copyright notices: Update copyright dates
3796 using scripts/update-copyrights.
3797 * intl/plural.c: Regenerated.
3798 * locale/programs/charmap-kw.h: Likewise.
3799 * locale/programs/locfile-kw.h: Likewise.
3800
da08f647
SP
38012013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3802
0f5477af
SP
3803 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3804 four values.
3805
44e0d4c2
SP
3806 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3807 calculation loop and add branch prediction.
3808
4d55b4e5
SP
3809 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3810 check access beyond bounds of m1np.
3811
da08f647
SP
3812 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3813 MPTWO.
3814 (__inv): Remove local variable MPTWO to use the global
3815 constant.
3816 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3817 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3818 variable MPTWO.
3819 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3820 MP3HALFS static const.
3821
8e051029
DM
38222013-01-01 David S. Miller <davem@davemloft.net>
3823
3824 * po/ca.po: Update from translation team.
3825
f4cf5f2d
JM
38262013-01-01 Joseph Myers <joseph@codesourcery.com>
3827
3828 * scripts/update-copyrights: New file.
3829 * Makeconfig: Reformat copyright notice.
3830 * ctype/ctype.h: Likewise.
3831 * debug/swprintf_chk.c: Likewise.
3832 * elf/dl-cache.c: Likewise.
3833 * elf/dl-debug.c: Likewise.
3834 * elf/dl-object.c: Likewise.
3835 * grp/initgroups.c: Likewise.
3836 * hurd/Makefile: Likewise.
3837 * hurd/hurd/signal.h: Likewise.
3838 * hurd/hurdfault.c: Likewise.
3839 * hurd/hurdioctl.c: Likewise.
3840 * hurd/hurdlookup.c: Likewise.
3841 * hurd/intr-msg.c: Likewise.
3842 * iconv/gconv_open.c: Likewise.
3843 * libio/swprintf.c: Likewise.
3844 * locale/lc-ctype.c: Likewise.
3845 * locale/nl_langinfo.c: Likewise.
3846 * mach/Machrules: Likewise.
3847 * mach/Makefile: Likewise.
3848 * malloc/obstack.h: Likewise.
3849 * manual/Makefile: Likewise.
3850 * manual/tsort.awk: Likewise.
3851 * misc/bits/stab.def: Likewise.
3852 * nis/nis_print_group_entry.c: Likewise.
3853 * nis/nis_table.c: Likewise.
3854 * nis/nss_compat/compat-pwd.c: Likewise.
3855 * nis/nss_compat/compat-spwd.c: Likewise.
3856 * po/Makefile: Likewise.
3857 * posix/fnmatch.c: Likewise.
3858 * posix/regex.h: Likewise.
3859 * resolv/Makefile: Likewise.
3860 * resolv/nss_dns/dns-network.c: Likewise.
3861 * resolv/res_hconf.c: Likewise.
3862 * scripts/gen-sorted.awk: Likewise.
3863 * soft-fp/soft-fp.h: Likewise.
3864 * stdio-common/printf.h: Likewise.
3865 * stdlib/monetary.h: Likewise.
3866 * stdlib/random.c: Likewise.
3867 * stdlib/random_r.c: Likewise.
3868 * sysdeps/generic/Makefile: Likewise.
3869 * sysdeps/gnu/Makefile: Likewise.
3870 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3871 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3872 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3874 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3875 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3876 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3877 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3878 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3879 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3880 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3881 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3882 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3883 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3884 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3885 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3886 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3887 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3888 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3890 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3891 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3892 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3893 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3894 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3897 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3898 * sysdeps/mach/hurd/errnos.awk: Likewise.
3899 * sysdeps/mach/hurd/fork.c: Likewise.
3900 * sysdeps/mach/hurd/getcwd.c: Likewise.
3901 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3902 * sysdeps/mach/hurd/mmap.c: Likewise.
3903 * sysdeps/mach/hurd/utimes.c: Likewise.
3904 * sysdeps/mach/hurd/xmknod.c: Likewise.
3905 * sysdeps/posix/profil.c: Likewise.
3906 * sysdeps/posix/readdir_r.c: Likewise.
3907 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3908 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3909 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3910 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3912 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3913 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3914 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3916 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3917 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3918 * sysdeps/pthread/lio_listio.c: Likewise.
3919 * sysdeps/sparc/dl-procinfo.h: Likewise.
3920 * sysdeps/unix/i386/sysdep.S: Likewise.
3921 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3922 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3923 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3924 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3926 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3927 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3928 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3929 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3930 * sysdeps/wordsize-32/divdi3.c: Likewise.
3931 * time/sys/time.h: Likewise.
3932 * wcsmbs/Makefile: Likewise.
3933
0549fbba
DM
39342013-01-01 David S. Miller <davem@davemloft.net>
3935
a141f1a7
DM
3936 * po/fr.po: Update from translation team.
3937
0549fbba
DM
3938 * catgets/gencat.c: Update copyright year.
3939 * csu/version.c: Likewise.
3940 * debug/catchsegv.sh: Likewise.
3941 * debug/pcprofiledump.c: Likewise.
3942 * debug/xtrace.sh: Likewise.
3943 * elf/ldconfig.c: Likewise.
3944 * elf/ldd.bash.in: Likewise.
3945 * elf/pldd.c: Likewise.
3946 * elf/sotruss.ksh: Likewise.
3947 * elf/sprof.c: Likewise.
3948 * iconv/iconv_prog.c: Likewise.
3949 * iconv/iconvconfig.c: Likewise.
3950 * locale/programs/locale.c: Likewise.
3951 * locale/programs/localedef.c: Likewise.
3952 * login/programs/pt_chown.c: Likewise.
3953 * malloc/memusage.sh: Likewise.
3954 * malloc/memusagestat.c: Likewise.
3955 * malloc/mtrace.pl: Likewise.
3956 * nscd/nscd.c: Likewise.
3957 * nss/getent.c: Likewise.
3958 * nss/makedb.c: Likewise.
3959 * posix/getconf.c: Likewise.
3960
18ea052c
SP
39612012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3962
3963 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3964 numbers.
3965
9c89fca6
MF
39662012-12-30 Mike Frysinger <vapier@gentoo.org>
3967
3968 * math/bits/mathcalls.h (modf): Use __nonnull.
3969
085ec079
SP
39702012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3971
3972 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3973 (split): Use macro CN instead of the bare value.
3974 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3975 could be used.
3976 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3977 instead of the bare value.
3978 (power1): Likewise.
3979
6d9f97e1
SP
39802012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3981
d63f73be
SP
3982 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3983 __ATAN_TWOM.
3984 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3985
6d9f97e1
SP
3986 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3987 their values.
3988 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3989 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3990 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3991 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3992
4c4febf5
AJ
39932012-12-28 Andreas Jaeger <aj@suse.de>
3994
af5843ef
AJ
3995 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3996 values are from Linux 3.7.
3997
4c4febf5
AJ
3998 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3999 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4000
99136f82
SP
40012012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4002
2f216c3c 4003 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4004 TRUE case.
4005
99136f82
SP
4006 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4007 (norm): Likewise.
4008 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4009 variables with preprocessor constants.
4010 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4011 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4012 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4013
7fffbdff
BH
40142012-12-27 Bruno Haible <bruno@clisp.org>
4015
4016 [BZ #14317]
4017 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4018 only if needed.
4019
b76eb5f0
SP
40202012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4021
31a7fe5c
SP
4022 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4023 and use variable directly.
4024 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4025
b76eb5f0
SP
4026 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4027 MPONE.
4028 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4029 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4030 variable MPONE.
4031 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4032 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4033 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4034 include directive. Remove local variable MPONE.
4035 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4036 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4037 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4038
2c8bfe7d
DM
40392012-12-25 David S. Miller <davem@davemloft.net>
4040
4041 * version.h (RELEASE): Set to "development".
4042 (VERSION): Set to "2.17.90".
4043 * NEWS: Add 2.18 section.
4044
147d03b0
DM
40452012-12-21 David S. Miller <davem@davemloft.net>
4046
4047 * po/hr.po: Update from translation team.
4048
a8ebb2b9
AK
40492012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4050
4051 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4052
95b4f1b6
SE
40532012-12-19 Steve Ellcey <sellcey@mips.com>
4054
b2d94007 4055 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4056
cedb2a90
MS
40572012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4058
4059 * manual/contrib.texi (Contributors): Spelling correction.
4060
bbf527d6
DM
40612012-12-15 David S. Miller <davem@davemloft.net>
4062
4063 * po/ru.po: Update from translation team.
4064
bc38c906
DM
40652012-12-13 David S. Miller <davem@davemloft.net>
4066
85429b1a
DM
4067 * NEWS: Mention IFUNC testsuite enhancements.
4068
d283e353
DM
4069 * po/pl.po: Update from translation team.
4070 * po/bg.po: Likewise.
4071
bc38c906
DM
4072 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4073 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4074
a181b0d7
DM
40752012-12-11 David S. Miller <davem@davemloft.net>
4076
4641d57e
DM
4077 * po/sv.po: Update from translation team.
4078
f7bc6495
DM
4079 * po/vi.po: Update from translation team.
4080
6fc9048f
DM
4081 * po/cs.po: Update from translation team.
4082
a181b0d7
DM
4083 * po/de.po: Update from translation team.
4084 * po/eo.po: Likewise.
4085 * po/nl.po: Likewise.
4086
f70bfe80
SP
40872012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4088
3c8b4190
SP
4089 [BZ #14246]
4090 * manual/argp.texi (Argp Helper Functions): Move node to follow
4091 Argp Parsing State.
4092
f70bfe80
SP
4093 [BZ #14872]
4094 * manual/conf.texi (Limits on File System Capacity): Mention if
4095 terminating null is included in the max size.
4096
188f0adf
AJ
40972012-12-10 Andreas Jaeger <aj@suse.de>
4098
4099 * po/cs.po: Update from translation team.
4100
56e7d3ad
SP
41012012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4102
4103 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4104 void pointer and cast to uintptr_t.
4105 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4106 path.
4107 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4108 * sysdeps/s390/s390-64/memset.S: Likewise.
4109
76f2d2ea 41102012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4111
4112 [BZ #14833]
4113 * menual/message.texi (Message Translation): Fix typos.
4114 (Helper programs for gettext): Likewise.
4115
67cbf9a2
AS
41162012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4117
4118 [BZ #14898]
4119 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4120 Change to -1.
4121
682d0e9a
DM
41222012-12-07 David S. Miller <davem@davemloft.net>
4123
4124 * po/libc.pot: Update.
4125
573cd484
RH
41262012-12-07 Richard Henderson <rth@redhat.com>
4127
7e9da188 4128 [BZ #10114]
573cd484
RH
4129 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4130 normal/normal case to before the switch.
4131 (_FP_DIV): Likewise.
4132
e933a943
MF
41332012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4134 Mike Frysinger <vapier@gentoo.org>
4135
4136 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4137 check for __NR_fadvise64_64.
4138
82123268
CM
41392012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4140
4141 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4142 0, not just to plain "0" as a statement.
4143 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4144 with cw.
4145
d9814526
JM
41462012-12-06 Joseph Myers <joseph@codesourcery.com>
4147
4148 * NEWS: Use sourceware.org in Bugzilla URL.
4149
7728c574
SP
41502012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4151
f16946dd
SP
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4153 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4154
5704bbcb
SP
4155 * stdio-common/tst-put-error.c (do_test): Add newline to the
4156 padded test to ensure flush.
4157
17aa0516
JL
41582012-12-05 Jeff Law <law@redhat.com>
4159
4160 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4161
363313b5
JM
41622012-12-05 Joseph Myers <joseph@codesourcery.com>
4163
effbd42a
JM
4164 * README: Don't refer to ports add-on as distributed separately.
4165 Mention AArch64 in list of systems supported in the ports add-on.
4166
87600365
JM
4167 * LICENSES: Add more non-FSF copyright and license notices.
4168
a0d7066a
JM
4169 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4170 ((unused)).
4171
66ca5a5b
JM
4172 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4173
363313b5
JM
4174 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4175 10000 as width of padded output.
4176
b37984ad
JM
41772012-12-04 Joseph Myers <joseph@codesourcery.com>
4178
9003570a
JM
4179 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4180
b37984ad
JM
4181 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4182 variable LX with __attribute__ ((unused)).
4183 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4184 Likewise.
4185 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4186 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4187 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4188 with __attribute__ ((unused)).
4189
c8df52ec
DM
41902012-12-04 David S. Miller <davem@abraco.davemloft.net>
4191
4192 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4193
b3b099af
JM
41942012-12-04 Joseph Myers <joseph@codesourcery.com>
4195
c33aa6e3
JM
4196 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4197 (CFLAGS-nldbl-acos.c): New variable.
4198 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4199 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4200 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4201 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4202 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4203 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4204 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4205 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4206 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4207 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4208 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4209 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4210 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4211 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4212 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4213 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4214 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4215 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4216 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4217 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4218 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4219 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4220 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4221 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4222 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4223 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4224 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4225 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4226 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4227 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4228 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4229 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4230 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4231 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4232 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4233 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4234 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4235 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4236 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4237 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4238 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4239 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4240 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4241 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4242 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4243 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4244 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4245 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4246 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4247 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4248 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4249 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4250 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4251 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4252 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4253 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4254 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4255 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4256 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4257 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4258 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4259 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4260 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4261 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4262 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4263 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4264 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4265 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4266 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4267 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4268 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4269 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4270 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4271 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4272 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4273 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4274 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4275 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4276 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4277 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4278 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4279 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4280 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4281 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4282 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4283 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4284 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4285 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4286 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4287 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4288 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4289 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4290 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4291 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4292 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4293 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4294 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4295
20f0018d
JM
4296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4297 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4298
b3b099af
JM
4299 [BZ #14914]
4300 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4301 whole low double instead of just low 47 bits when splitting values
4302 into two parts.
4303
029264d1
AM
43042012-12-03 Allan McRae <allan@archlinux.org>
4305
4306 * manual/stdio.texi (Predefined Printf Handlers): Remove
4307 @hsep and @vsep usage.
4308
c9d6789e
MF
43092012-12-03 Mike Frysinger <vapier@gentoo.org>
4310
4311 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4312 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4313
4b7634a5
JL
43142012-12-03 Jeff Law <law@redhat.com>
4315
4316 * time/sys/time.h (settimeofday): Do not mark TV argument
4317 as __nonnull.
4318
eb6cbd24
MF
43192012-12-01 Mike Frysinger <vapier@gentoo.org>
4320
4321 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4322 when currently writing and seek to current position when not.
4323 * libio/Makefile (tests): Remove bug-fclose1.
4324 * libio/bug-fclose1.c: Delete.
4325
f638872a
JM
43262012-12-01 Joseph Myers <joseph@codesourcery.com>
4327
4328 * manual/arith.texi (feenableexcept): Fix typo.
4329 (fedisableexcept): Likewise.
4330
48085d14
RM
43312012-11-30 Roland McGrath <roland@hack.frob.com>
4332
4333 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4334 second, differently-typed declaration, rather than a cast.
4335
1a538b9f
SP
43362012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4337
4338 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4339 * include/rpc/svc.h: ... here.
4340
d07f2ff1 43412012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4342
4343 [BZ #13013]
4344 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4345 depending n and resplen2 to catch cases where answer
4346 equals answerp2.
4347
c93ec1f0
CD
43482012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4349
4350 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4351 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4352
37db69de
MF
43532012-11-29 Mike Frysinger <vapier@gentoo.org>
4354
4355 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4356
e10c4e4f
RM
43572012-11-29 Roland McGrath <roland@hack.frob.com>
4358
4359 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4360
2af1b328
JL
43612012-11-28 Jeff Law <law@redhat.com>
4362
4363 [BZ #13761]
4364 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4365 dataset_temporary. Track alloca usage into alloca_used.
4366 If dataset is large allocate and release it via malloc/free.
4367
111db5b1
FW
43682012-06-04 Florian Weimer <fweimer@redhat.com>
4369
f06cc227 4370 [BZ #14197]
111db5b1
FW
4371 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4372
dd694abd
DM
43732012-11-28 David S. Miller <davem@davemloft.net>
4374
4375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4376
9984dd01
JM
43772012-11-28 Joseph Myers <joseph@codesourcery.com>
4378
4379 [BZ #14803]
4380 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4381 of pi/2 rounded to nearest to 64 bits.
4382 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4383 nearest to 64 bits.
4384 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4385 bits.
4386
14bc93a9
JL
43872012-11-28 Jeff Law <law@redhat.com>
4388 Martin Osvald <mosvald@redhat.com>
4389
4390 [BZ #14889]
4391 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4392 * sunrpc/svc.c: Include time.h.
4393 (__svc_accept_failed): New function.
4394 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4395 any reason other than EINTR, call __svc_accept_failed.
4396 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4397 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4398
e3c6aa3a
AS
43992012-11-28 Andreas Schwab <schwab@suse.de>
4400
4401 * scripts/abilist.awk: Also handle indirect functions in .opd
4402 section.
4403
1bead169
JM
44042012-11-28 Joseph Myers <joseph@codesourcery.com>
4405
4406 [BZ #13881]
4407 * sysdeps/x86/fpu/powl_helper.c: New file.
4408 * sysdeps/x86/fpu/Makefile: Likewise.
4409 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4410 (p3): New object.
4411 (__ieee754_powl): Use __powl_helper for finite arguments except
4412 integer exponents below 8.
4413 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4414 (p3): New object.
4415 (__ieee754_powl): Use __powl_helper for finite arguments except
4416 integer exponents below 8.
4417 * math/libm-test.inc (pow_test): Add more tests and enable some
4418 previously disabled tests.
4419 * sysdeps/i386/fpu/libm-test-ulps: Update.
4420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4421
0817d63d
SP
44222012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4423 Carlos O'Donell <carlos_odonell@mentor.com>
4424
4425 * nss/makedb.c (is_prime): Assert that input is odd and greater
4426 than 4. Note that fact in a comment too.
4427 (next_prime): Add 4 to input.
4428
de2fd463
SP
44292012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4430
4431 [BZ #11741]
4432 * libio/Makefile (tests): Add test case tst-fwrite-error.
4433 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4434 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4435 * libio/tst-fwrite-error.c: New test case.
4436
c515fb51
L
44372012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4438
4439 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4440 before casting to void *.
4441 * include/libc-internal.h (__pointer_type): New macro.
4442 (__integer_if_pointer_type_sub): Likewise.
4443 (__integer_if_pointer_type): Likewise.
4444 (cast_to_integer): Likewise.
4445 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4446 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4447 before casting to atomic64_t.
4448 (atomic_exchange_acq): Likewise.
4449 (__arch_exchange_and_add_body): Likewise.
4450 (__arch_add_body): Likewise.
4451 (atomic_add_negative): Likewise.
4452 (atomic_add_zero): Likewise.
4453
4cf77aa9
JM
44542012-11-26 Joseph Myers <joseph@codesourcery.com>
4455
4456 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4457 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4458 (add_fdes): Likewise.
4459 (linear_search_fdes): Likewise.
4460 (binary_search_unencoded_fdes): Likewise.
4461
d260b3b4
AS
44622012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4463
4464 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4465
67060746
AC
44662012-11-24 Adam Conrad <adconrad@0c3.net>
4467
4468 * configure.in: Autodetect C++ header directories.
4469 * configure: Regenerated.
4470
800938a1
MF
44712012-11-23 Mike Frysinger <vapier@gentoo.org>
4472
4473 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4474
4e6e34e6
AS
44752012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4476
4477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4478
7c7feb47
JM
44792012-11-22 Joseph Myers <joseph@codesourcery.com>
4480
7184dcdf
JM
4481 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4482 LDBL_MANT_DIG == 106]: Disable some tests.
4483 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4484 Likewise.
4485 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4486 Likewise.
4487
0a42601f
JM
4488 [BZ #14871]
4489 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4490 input for small inputs. Return +/- pi/2 for large inputs.
4491 * math/libm-test.inc (atan_test): Add more tests.
4492
79c9b9fe
JM
4493 * sysdeps/generic/unwind-dw2-fde-glibc.c
4494 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4495 __attribute__ ((unused)).
4496
c60d3bf2
JM
4497 [BZ #14645]
4498 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4499 x * y if x and y are nonzero and z is zero.
4500
ef1e0867
JM
4501 [BZ #14811]
4502 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4503 nonzero exponents with absolute value below 0x1p-117 to +/-
4504 0x1p-117.
4505
1468ded3
JM
4506 [BZ #14869]
4507 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4508 up arguments below 2**-450, not just those below 2**-500.
4509 * math/libm-test.inc (hypot_test): Add another test.
4510
8e27e3cc
JM
4511 [BZ #14868]
4512 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4513 Return a+b for ratio over 2**120, not 2**60.
4514 * math/libm-test.inc (hypot_test): Add another test.
4515
c9c0279b
JM
4516 * math/libm-test.inc (clog_test): Use
4517 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4518 (clog10_test): Likewise.
4519
7c7feb47
JM
4520 [BZ #6778]
4521 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4522
fff1530e
AS
45232012-11-22 Andreas Schwab <schwab@suse.de>
4524
4525 * sysdeps/i386/fpu/libm-test-ulps: Update.
4526
94558d30
PT
45272012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4528
4529 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4530 printf output with newline.
4531
7e1be741
L
45322012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4533
6bfea974
L
4534 [BZ #14865]
4535 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4536 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4537 -z nodlopen, -z initfirst and -z execstack support.
4538 * configure: Regenerated.
4539
7e1be741
L
4540 * elf/elf.h (DF_1_NODIRECT): New macro.
4541 (DF_1_IGNMULDEF): Likewise.
4542 (DF_1_NOKSYMS): Likewise.
4543 (DF_1_NOHDR): Likewise.
4544 (DF_1_EDITED): Likewise.
4545 (DF_1_NORELOC): Likewise.
4546 (DF_1_SYMINTPOSE): Likewise.
4547 (DF_1_GLOBAUDIT): Likewise.
4548 (DF_1_SINGLETON): Likewise.
4549 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4550 DT_1_SUPPORTED_MASK bits.
4551 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4552
105ce2ce
CD
45532012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4554
4555 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4556
123be9de
TS
45572012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4558
d072f3f7
TS
4559 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4560 macro.
4561
123be9de
TS
4562 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4563 (sendmmsg): Move declarations...
4564 * socket/sys/socket.h: ... here.
4565 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4566 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4567 include it from...
4568 * socket/recvmmsg.c: ... this new file.
4569 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4570 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4571 definition of __sendmmsg hidden.
4572 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4573 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4574 Move ENOSYS stub into and include it from...
4575 * socket/sendmmsg.c: ... this new file.
4576 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4577 (sysdep_routines): Move recvmmsg and sendmmsg...
4578 * socket/Makefile (routines): ... here.
4579 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4580 (GLIBC_PRIVATE): Add __sendmmsg.
4581 * include/sys/socket.h (__sendmmsg): Add declarations.
4582 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4583 sendmmsg.
4584
cf9a5d18
JM
45852012-11-20 Joseph Myers <joseph@codesourcery.com>
4586
4587 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4588 variable I1 with __attribute__ ((unused)).
4589 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4590
ecd4caf9
JM
45912012-11-19 Joseph Myers <joseph@codesourcery.com>
4592
be14d48f
JM
4593 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4594 DUMMY variables with __attribute__ ((unused)).
4595
ecd4caf9
JM
4596 * bits/byteswap.h: Include <bits/types.h>.
4597 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4598
986cab95
PT
45992012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4600
4601 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4602 string_t. Do not manually set errno.
4603 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4604 length with __strnlen. Make sure to both set errno and return it on
4605 failure.
4606
6d33cc9d
DM
46072012-11-19 David S. Miller <davem@davemloft.net>
4608
4609 With help from Joseph Myers.
4610 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4611 very large arguments properly.
4612 * math/libm-test.inc (atan_test): New tests.
4613 (atan2_test): New tests.
4614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4616
ee663277
JM
46172012-11-19 Joseph Myers <joseph@codesourcery.com>
4618
877f2d8e
JM
4619 [BZ #14856]
4620 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4621 Define to 3.
4622
116fc08a
JM
4623 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4624 [POSIX] (EADDRNOTAVAIL): Likewise.
4625 [POSIX] (EAFNOSUPPORT): Likewise.
4626 [POSIX] (EALREADY): Likewise.
4627 [POSIX] (ECONNABORTED): Likewise.
4628 [POSIX] (ECONNREFUSED): Likewise.
4629 [POSIX] (ECONNRESET): Likewise.
4630 [POSIX] (EDESTADDRREQ): Likewise.
4631 [POSIX] (EDQUOT): Likewise.
4632 [POSIX] (EHOSTUNREACH): Likewise.
4633 [POSIX] (EIDRM): Likewise.
4634 [POSIX] (EISCONN): Likewise.
4635 [POSIX] (ELOOP): Likewise.
4636 [POSIX] (EMULTIHOP): Likewise.
4637 [POSIX] (ENETDOWN): Likewise.
4638 [POSIX] (ENETUNREACH): Likewise.
4639 [POSIX] (ENOBUFS): Likewise.
4640 [POSIX] (ENODATA): Likewise.
4641 [POSIX] (ENOLINK): Likewise.
4642 [POSIX] (ENOMSG): Likewise.
4643 [POSIX] (ENOPROTOOPT): Likewise.
4644 [POSIX] (ENOSR): Likewise.
4645 [POSIX] (ENOSTR): Likewise.
4646 [POSIX] (ENOTCONN): Likewise.
4647 [POSIX] (ENOTSOCK): Likewise.
4648 [POSIX] (EOPNOTSUPP): Likewise.
4649 [POSIX] (EOVERFLOW): Likewise.
4650 [POSIX] (EPROTO): Likewise.
4651 [POSIX] (EPROTONOSUPPORT): Likewise.
4652 [POSIX] (EPROTOTYPE): Likewise.
4653 [POSIX] (ESTALE): Likewise.
4654 [POSIX] (ETIME): Likewise.
4655 [POSIX] (ETXTBSY): Likewise.
4656 [POSIX] (EWOULDBLOCK): Likewise.
4657 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4658 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4659 [POSIX] (SEEK_CUR): Likewise.
4660 [POSIX] (SEEK_END): Likewise.
4661 [POSIX || UNIX98] (mode_t): Do not require.
4662 [POSIX] (off_t): Likewise.
4663 [POSIX] (pid_t): Likewise.
4664 [POSIX] (sys/stat.h): Do not allow header.
4665 [POSIX] (unistd.h): Likewise.
4666 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4667 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4668 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4669 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4670 require.
4671 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4672 sigevent): Specify elements.
4673 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4674 entry.
4675 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4676 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4677
a483863f
JM
4678 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4679 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4680 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4681 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4682 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4683 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4684 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4685 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4686 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4687 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4688 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4689 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4690 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4691 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4692 Likewise.
4693 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4694 Likewise.
4695 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4696 Likewise.
4697 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4698 Likewise.
4699 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4700 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4701 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4702 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4703 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4704 Specify lower bound on value.
4705 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4706 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4707 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4708 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4709 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4710 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4711 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4712 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4713 value.
4714 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4715 as optional.
4716 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4717 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4718 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4719 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4720 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4721 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4722 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4723 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4724 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4725 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4726 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4727 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4728 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4729 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4730 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4731 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4732 entry.
4733 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4734 optional.
4735 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4736 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4737 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4738 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4739 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4740 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4741 Likewise.
4742 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4743 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4744 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4745 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4746 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4747 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4748 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4749 as optional.
4750 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4751 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4752 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4753 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4754 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4755 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4756 specify as optional.
4757 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4758 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4759 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4760 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4761 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4762 [XPG3] (NL_LANGMAX): Likewise.
4763 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4764 [POSIX || XPG3] (NL_NMAX): Likewise.
4765 [POSIX || XPG3] (NL_SETMAX): Likewise.
4766 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4767 [XPG3] (NZERO): Likewise.
4768 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4769 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4770 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4771 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4772 (REG_ERANGE): Expect.
4773 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4774 optional-constant.
4775 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4776 Use (void) in prototype.
4777 [POSIX] (*_t): Allow.
4778 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4779 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4780 (WRDE_BADVAL): Expect.
4781
5ba924e3
JM
4782 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4783 expect.
4784 [XPG3 || XPG4] (O_RSYNC): Likewise.
4785 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4786 Likewise.
4787 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4788 [XPG3 || XPG4] (sigqueue): Likewise.
4789 [XPG3 || XPG4] (sigtimedwait): Likewise.
4790 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4791 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4792 [XPG3 || XPG4] (vsnprintf): Likewise.
4793 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4794 Likewise.
4795 [XPG3 || XPG4] (blksize_t): Likewise.
4796 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4797 Likewise.
4798 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4799 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4800 [XPG3 || XPG4] (struct itimerspec): Likewise.
4801 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4802 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4803 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4804 [XPG3 || XPG4] (clockid_t): Likewise.
4805 [XPG3 || XPG4] (timer_t): Likewise.
4806 [XPG3 || XPG4] (clock_getres): Likewise.
4807 [XPG3 || XPG4] (clock_gettime): Likewise.
4808 [XPG3 || XPG4] (clock_settime): Likewise.
4809 [XPG3 || XPG4] (nanosleep): Likewise.
4810 [XPG3 || XPG4] (timer_create): Likewise.
4811 [XPG3 || XPG4] (timer_delete): Likewise.
4812 [XPG3 || XPG4] (timer_gettime): Likewise.
4813 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4814 [XPG3 || XPG4] (timer_settime): Likewise.
4815 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4816 [XPG3 || XPG4] (getlogin_r): Likewise.
4817 [XPG3 || XPG4] (pread): Likewise.
4818 [XPG3 || XPG4] (pthread_atfork): Likewise.
4819 [XPG3 || XPG4] (pwrite): Likewise.
4820
ee663277
JM
4821 [BZ #14835]
4822 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4823 <bits/siginfo.h>.
4824
942caa16
PT
48252012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4826
e19af380
PT
4827 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4828 finalizing MALLSTREAM.
4829
942caa16
PT
4830 * sysdeps/mach/hurd/syncfs.c: New file.
4831
cfde9b46
SP
48322012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4833
4834 [BZ #14719]
4835 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4836 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4837 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4838 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4839 (_nss_dns_gethostbyname4_r): Likewise.
4840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4841 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4842
f6da27e5
PH
48432012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4844
4845 [BZ #13763]
4846 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4847
6665d4a2
SM
48482012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4849
1f51ee92
SM
4850 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4851 * elf/cache.c (print_entry): Print ",AArch64" for
4852 FLAG_AARCH64_LIB64
4853
6665d4a2
SM
4854 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4855 * elf/cache.c (print_entry): Print ",hard-float" for
4856 FLAG_ARM_LIBHF.
4857
05b227bd
DM
48582012-11-18 David S. Miller <davem@davemloft.net>
4859
4860 With help from Joseph Myers.
4861 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4862 cutoff to 2**-13.
4863 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4864 cutoff to 2**-25.
4865 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4866 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4867 small.
4868 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4869 * math/libm-test.inc (y0_test): New tests.
4870 (y1_test): New tests.
4871 * sysdeps/i386/fpu/libm-test-ulps: Update.
4872 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4874
786b0b67
AS
48752012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4876
4877 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4878 64-bit targets.
4879 * configure: Regenerated.
4880
8e18b86d
DM
48812012-11-17 David S. Miller <davem@davemloft.net>
4882
4883 [BZ #14811]
4884 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4885 nonzero exponents with absolute value below 0x1p-128 to +/-
4886 0x1p-128.
4887
531f1ae0
JM
48882012-11-17 Joseph Myers <joseph@codesourcery.com>
4889
12df29e2
JM
4890 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4891
150dc1a0
JM
4892 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4893
531f1ae0
JM
4894 * posix/getconf-speclist.c: New file.
4895 * posix/posix-envs.def: Likewise.
4896 * posix/confstr.c (START_ENV_GROUP): New macro.
4897 (END_ENV_GROUP): Likewise.
4898 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4899 (KNOWN_PRESENT_ENV_STRING): Likewise.
4900 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4901 (UNKNOWN_ENVIRONMENT): Likewise.
4902 (confstr): Include posix-envs.def instead of handling
4903 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4904 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4905 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4906 (END_ENV_GROUP): Likewise.
4907 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4908 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4909 (UNKNOWN_ENVIRONMENT): Likewise.
4910 (__sysconf): Include posix-envs.def instead of handling associated
4911 cases directly here.
4912 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4913 preprocessing getconf-speclist.c rather than running getconf or
4914 generating empty file.
4915
a93f9cbc
PT
49162012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4917
4918 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4919
d64d9f87
AL
49202012-11-16 Andrej Lajovic <natrij@gmail.com>
4921
4922 [BZ #14672]
4923 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4924
447885eb
DM
49252012-11-16 David S. Miller <davem@davemloft.net>
4926
4927 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4928 smaller than LDBL_EPSILON/2.0L, just return xm1.
4929
bcbf9830
L
49302012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4931
4932 * elf/tst-array1.c (init): Set constructor priority to 1000.
4933 (fini): Set destructor priority to 1000.
4934 * elf/tst-array2dep.c: Likewise.
4935
2b766585
SP
49362012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4937
4938 [BZ #11741]
4939 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4940 (_IO_new_file_xsputn): Also return EOF if none of the input
4941 data was written when overflow failed.
4942 * libio/iopadn.c (_IO_padn): Likewise.
4943 * libio/iowpadn.c (_IO_wpadn): Likewise.
4944 * stdio-common/tst-put-error.c: Add copyright notice.
4945 (do_test): Add case for printing padded string.
4946 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4947 _IO_padn returned error.
4948 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4949 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4950 return EOF.
4951
b1848fde
SP
49522012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4953
4954 * libio/libioP.h: Add comment note that the references to C++
4955 bits are now obsolete.
4956
2fd89785
MS
49572012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4958
4959 * math/libm-test.inc (check_complex): Use asprintf.
4960
e3ea5409
JM
49612012-11-14 Joseph Myers <joseph@codesourcery.com>
4962
4963 * debug/pcprofiledump.c (print_version): Update copyright year.
4964 * malloc/memusagestat.c (print_version): Likewise.
4965
2e64d265
L
49662012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4967
4968 [BZ #14831]
4969 * elf/Makefile (tests): Add tst-audit8.
4970 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4971 ($(objpfx)tst-audit8.out): New target.
4972 (tst-audit8-ENV): New variable.
4973 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4974 audit if l_reloc_result is NULL.
4975 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4976 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4977 * elf/tst-audit8.c: New file.
4978
c485e4d2
MS
49792012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4980
4981 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4982 * misc/Makefile (CFLAGS-select.c): Define.
4983 * posix/Makefile (CFLAGS-pause.c): Define.
4984
3a0d900a
DM
49852012-11-13 David S. Miller <davem@davemloft.net>
4986
4987 * crypt/Makefile: Move test targets after toplevel Rules
4988 inclusion. Grab any necessary sysdep routines when linking.
4989 * crypt/md5.c (md5_process_block): Remove define, we will always
4990 name it __md5_process_block.
4991 (md5_finish_ctx): Update md5_process_block call.
4992 (md5_stream): Likewise.
4993 (md5_process_bytes): Likewise.
4994 (md5_process_block): Rename to __md5_process_block and move to ...
4995 * crypt/md5-block.c: ... here.
4996 * crypt/sha256.c (sha256_process_block): Move to ...
4997 * crypt/sha256-block.c: ... here.
4998 * crypt/sha512.c (sha512_process_block): Move to ...
4999 * crypt/sha512-block.c: ... here.
5000 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5001 path.
5002 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5003 * sysdeps/sparc/sparc64/multiarch/Makefile
5004 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5005 crypt subdir.
5006 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5007 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5008 multiarch changes.
5009 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5010 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5011 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5012 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5013 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5014 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5015 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5016 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5017 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5018 file.
5019 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5020 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5021 file.
5022 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5023
8ca89318
JM
50242012-11-13 Joseph Myers <joseph@codesourcery.com>
5025
e27d476a
JM
5026 * timezone/tzselect.ksh: Update from tzcode git revision
5027 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5028 * timezone/zdump.c: Likewise.
5029 * timezone/zic.c: Likewise.
5030 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5031 in TZVERSION setting, not $(PKGVERSION).
5032 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5033 REPORT_BUGS_TO settings.
5034
8ca89318
JM
5035 [BZ #14838]
5036 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5037 macro.
5038
47594329
MS
50392012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5040
5041 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5042 detection to immediately after _FP_ROUND().
5043 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5044 bits are 0.
5045
640ac3f1
DM
50462012-11-11 David S. Miller <davem@davemloft.net>
5047
5048 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5049 inttypes.h
5050 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5051 __close rather than their public counterparts.
5052
3d2577bb
JM
50532012-11-10 Joseph Myers <joseph@codesourcery.com>
5054
5055 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5056 file.
5057 [UNIX98] (sem_timedwait): Do not expect.
5058 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5059 [XPG4 || UNIX98] (sockatmark): Do not expect.
5060 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5061 (clock_getcpuclockid): Do not expect.
5062 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5063 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5064 Do not expect.
5065 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5066 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5067 [UNIX98] (vwscanf): Likewise.
5068 [UNIX98] (vswscanf): Likewise.
5069
fb1ae1ee
JM
50702012-11-09 Joseph Myers <joseph@codesourcery.com>
5071
9ec6f8bd
JM
5072 * timezone/version.h: Remove file.
5073 * timezone/README: Do not refer to version.h.
5074 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5075 $(objpfx)version.h.
5076 ($(objpfx)zdump.o): Likewise.
c3f81911 5077 ($(objpfx)version.h): New target.
9ec6f8bd 5078
0aa8f8a1
JM
5079 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5080 2012i.
5081 * timezone/README: Don't mention modification to tzselect.ksh.
5082 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5083 work on unmodified tzselect.ksh. Substitute version numbers in
5084 tzselect.ksh.
5085
4e87147f
JM
5086 * Makefile (format-me): Remove.
5087 (INSTALL): Adjust indentation. Use commands directly instead of
5088 using $(format-me).
5089
8b748aed
JM
5090 * aclocal.m4 (ACX_PKGVERSION): New macro.
5091 (ACX_BUGURL): Likewise.
5092 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5093 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5094 (REPORT_BUGS_TO): Likewise.
5095 * configure: Regenerated.
5096 * config.h.in (PKGVERSION): New macro.
5097 (REPORT_BUGS_TO): Likewise.
5098 * config.make.in (PKGVERSION): New variable.
5099 (PKGVERSION_TEXI): Likewise.
5100 (REPORT_BUGS_TO): Likewise.
5101 (REPORT_BUGS_TEXI): Likewise.
5102 * Makefile (format-me): Use -I$(common-objpfx)manual.
5103 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5104 ($(common-objpfx)manual/%): New target.
5105 (manual/%): Remove target.
5106 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5107 (print_version): Use PKGVERSION.
5108 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5109 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5110 and REPORT_BUGS_TO.
5111 ($(objpfx)xtrace): Likewise.
5112 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5113 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5114 (print_version): Use PKGVERSION.
5115 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5116 (do_version): Use PKGVERSION.
5117 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5118 REPORT_BUGS_TO.
5119 (common-ldd-rewrite): Likewise.
5120 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5121 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5122 (print_version): Use PKGVERSION.
5123 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5124 * elf/pldd.c (argp_program_bug_address): Remove variable.
5125 (more_help): New function.
5126 (argp): Use more_help.
5127 (print_version): Use PKGVERSION.
5128 * elf/sln.c (main): Use PKGVERSION.
5129 (usage): Use REPORT_BUGS_TO.
5130 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5131 (top level): Use PKGVERSION.
5132 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5133 (print_version): Use PKGVERSION.
5134 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5135 (print_version): Use PKGVERSION.
5136 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5137 (print_version): Use PKGVERSION.
5138 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5139 (print_version): Use PKGVERSION.
5140 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5141 (print_version): Use PKGVERSION.
5142 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5143 (print_version): Use PKGVERSION.
5144 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5145 and BUGURL.
5146 ($(objpfx)memusage): Likewise.
5147 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5148 (do_version): Use PKGVERSION.
5149 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5150 (print_version): Use PKGVERSION.
5151 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5152 ($PKGVERSION): New variable.
5153 ($REPORT_BUGS_TO): Likewise.
5154 (usage): Use $REPORT_BUGS_TO.
5155 (top level): Use $PKGVERSION.
5156 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5157 ($(objpfx)pkgvers.texi): New rule.
5158 ($(objpfx)stamp-pkgvers): Likewise.
5159 * manual/install.texi: Include pkgvers.texi.
5160 (--with-pkgversion): Document new configure option.
5161 (--with-bugurl): Likewise.
5162 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5163 than necessarily for this particular distribution. Use
5164 REPORT_BUGS_TO for where to report bugs.
5165 * INSTALL: Regenerated.
5166 * manual/libc.texinfo: Include pkgvers.texi.
5167 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5168 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5169 (print_version): Use PKGVERSION.
5170 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5171 (print_version): Use PKGVERSION.
5172 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5173 (print_version): Use PKGVERSION.
5174 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5175 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5176 macro.
5177 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5178 (print_version): Use PKGVERSION.
5179 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5180 (print_version): Use PKGVERSION.
5181 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5182 and PKGVERSION.
5183
92e4b6a9
JM
5184 * timezone/checktab.awk: Update from tzcode 2012i.
5185 * timezone/ialloc.c: Likewise.
5186 * timezone/private.h: Likewise.
5187 * timezone/scheck.c: Likewise.
5188 * timezone/tzfile.h: Likewise.
5189 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5190 (TZVERSION): Hardcode tzcode version number.
5191 * timezone/zdump.c: Update from tzcode 2012i.
5192 * timezone/zic.c: Likewise.
5193 * timezone/version.h: New file.
5194 * timezone/README: Describe version.h. Update upstream location.
5195
9bde902c
JM
5196 [BZ #14824]
5197 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5198 (mktemp): Enable declaration.
5199 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5200 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5201 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5202 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5203 Likewise.
5204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5205 Likewise.
5206 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5207 Likewise.
5208 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5209 Likewise.
5210 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5211 Likewise.
5212 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5213 Likewise.
5214
fb1ae1ee
JM
5215 [BZ #14821]
5216 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5217 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5218 for copies of such integer values.
5219 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5220 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5221
2c1adbcb
AJ
52222012-11-09 Andreas Jaeger <aj@suse.de>
5223
5224 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5225 definitions and declarations that are provided by
5226 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5227
d0f8457e
AK
52282012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5229
3a235abb 5230 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5231 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5232 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5233 definition.
5234
57241e26
MS
52352012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5236
5237 * elf/elf.h: Update comment before AArch64 relocations.
5238
60e8270d
DM
52392012-11-07 David S. Miller <davem@davemloft.net>
5240
5241 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5242 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5243 (__start_context): Declare.
5244 (__makecontext_ret): Delete.
5245 (__makecontext): Hook up __start_context instead of
5246 __makecontext_ret.
5247 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5248 (sysdep_routines): Add __start_context when in stdlib.
5249
0fbb0fbc
JM
52502012-11-07 Joseph Myers <joseph@codesourcery.com>
5251
5252 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5253 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5254 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5255 hardcoded "nm".
5256 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5257 (READELF): New variable. Use it instead of hardcoded "readelf".
5258
eb48db7e
L
52592012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5260
5261 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5262 * sysdeps/x86/Makefile: Here.
5263 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5264 * sysdeps/x86/tst-xmmymm.sh: This.
5265
05bcf62a
JM
52662012-11-07 Joseph Myers <joseph@codesourcery.com>
5267
c4b6cf53
JM
5268 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5269 expectations.
5270 [UNIX98] (pthread_barrier_t): Do not expect.
5271 [UNIX98] (pthread_barrierattr_t): Likewise.
5272 [UNIX98] (pthread_spinlock_t): Likewise.
5273 [UNIX98] (pthread_barrier_destroy): Likewise.
5274 [UNIX98] (pthread_barrier_init): Likewise.
5275 [UNIX98] (pthread_barrier_wait): Likewise.
5276 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5277 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5278 [UNIX98] (pthread_barrierattr_init): Likewise.
5279 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5280 [UNIX98] (pthread_getcpuclockid): Likewise.
5281 [UNIX98] (pthread_mutex_timedlock): Likewise.
5282 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5283 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5284 [UNIX98] (pthread_sigmask): Likewise.
5285 [UNIX98] (pthread_spin_destroy): Likewise.
5286 [UNIX98] (pthread_spin_init): Likewise.
5287 [UNIX98] (pthread_spin_lock): Likewise.
5288 [UNIX98] (pthread_spin_trylock): Likewise.
5289 [UNIX98] (pthread_spin_unlock): Likewise.
5290 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5291 Do not expect.
5292 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5293 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5294 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5295 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5296 [XPG3 || XPG4] (pthread_key_t): Likewise.
5297 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5298 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5299 [XPG3 || XPG4] (pthread_once_t): Likewise.
5300 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5301 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5302 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5303 [XPG3 || XPG4] (pthread_t): Likewise.
5304
cbe6e120
JM
5305 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5306 not expect.
5307 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5308
1b126443
JM
5309 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5310 Change function return type to int.
5311
b961a573
JM
5312 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5313 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5314 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5315 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5316 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5317 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5318 [!POSIX] (posix_madvise): Likewise.
5319 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5320 && !UNIX98].
5321 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5322 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5323 (mode_t): Likewise.
5324 (posix_mem_offset): Likewise.
5325 (posix_typed_mem_get_info): Likewise.
5326 (posix_typed_mem_open): Likewise.
5327
9e188909
JM
5328 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5329 Change condition to [XOPEN2K8].
5330
05bcf62a
JM
5331 * conform/conformtest.pl: Preprocess allow-header data with -x c
5332 instead of from stdin.
5333 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5334 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5335 [C99-based standards] (cerfc): Likewise.
5336 [C99-based standards] (cexp2): Likewise.
5337 [C99-based standards] (cexpm1): Likewise.
5338 [C99-based standards] (clog10): Likewise.
5339 [C99-based standards] (clog1p): Likewise.
5340 [C99-based standards] (clog2): Likewise.
5341 [C99-based standards] (clgamma): Likewise.
5342 [C99-based standards] (ctgamma): Likewise.
5343 [C99-based standards] (cerff): Likewise.
5344 [C99-based standards] (cerfcf): Likewise.
5345 [C99-based standards] (cexp2f): Likewise.
5346 [C99-based standards] (cexpm1f): Likewise.
5347 [C99-based standards] (clog10f): Likewise.
5348 [C99-based standards] (clog1pf): Likewise.
5349 [C99-based standards] (clog2f): Likewise.
5350 [C99-based standards] (clgammaf): Likewise.
5351 [C99-based standards] (ctgammaf): Likewise.
5352 [C99-based standards] (cerfl): Likewise.
5353 [C99-based standards] (cerfcl): Likewise.
5354 [C99-based standards] (cexp2l): Likewise.
5355 [C99-based standards] (cexpm1l): Likewise.
5356 [C99-based standards] (clog10l): Likewise.
5357 [C99-based standards] (clog1pl): Likewise.
5358 [C99-based standards] (clog2l): Likewise.
5359 [C99-based standards] (clgammal): Likewise.
5360 [C99-based standards] (ctgammal): Likewise.
5361 * conform/data/inttypes.h-data [C99-based standards]: Include
5362 stdint.h-data. Remove all expectations for stdint.h contents.
5363 [C99-based standards] (PRI*): Do not allow.
5364 [C99-based standards] (SCN*): Likewise.
5365 [C99-based standards] (*_t): Likewise.
5366 [C99-based-standards] (PRId8): Expect macro.
5367 [C99-based-standards] (PRIi8): Likewise.
5368 [C99-based-standards] (PRIo8): Likewise.
5369 [C99-based-standards] (PRIu8): Likewise.
5370 [C99-based-standards] (PRIx8): Likewise.
5371 [C99-based-standards] (PRIX8): Likewise.
5372 [C99-based-standards] (SCNd8): Likewise.
5373 [C99-based-standards] (SCNi8): Likewise.
5374 [C99-based-standards] (SCNo8): Likewise.
5375 [C99-based-standards] (SCNu8): Likewise.
5376 [C99-based-standards] (SCNx8): Likewise.
5377 [C99-based-standards] (PRIdLEAST8): Likewise.
5378 [C99-based-standards] (PRIiLEAST8): Likewise.
5379 [C99-based-standards] (PRIoLEAST8): Likewise.
5380 [C99-based-standards] (PRIuLEAST8): Likewise.
5381 [C99-based-standards] (PRIxLEAST8): Likewise.
5382 [C99-based-standards] (PRIXLEAST8): Likewise.
5383 [C99-based-standards] (SCNdLEAST8): Likewise.
5384 [C99-based-standards] (SCNiLEAST8): Likewise.
5385 [C99-based-standards] (SCNoLEAST8): Likewise.
5386 [C99-based-standards] (SCNuLEAST8): Likewise.
5387 [C99-based-standards] (SCNxLEAST8): Likewise.
5388 [C99-based-standards] (PRIdFAST8): Likewise.
5389 [C99-based-standards] (PRIiFAST8): Likewise.
5390 [C99-based-standards] (PRIoFAST8): Likewise.
5391 [C99-based-standards] (PRIuFAST8): Likewise.
5392 [C99-based-standards] (PRIxFAST8): Likewise.
5393 [C99-based-standards] (PRIXFAST8): Likewise.
5394 [C99-based-standards] (SCNdFAST8): Likewise.
5395 [C99-based-standards] (SCNiFAST8): Likewise.
5396 [C99-based-standards] (SCNoFAST8): Likewise.
5397 [C99-based-standards] (SCNuFAST8): Likewise.
5398 [C99-based-standards] (SCNxFAST8): Likewise.
5399 [C99-based-standards] (PRId16): Likewise.
5400 [C99-based-standards] (PRIi16): Likewise.
5401 [C99-based-standards] (PRIo16): Likewise.
5402 [C99-based-standards] (PRIu16): Likewise.
5403 [C99-based-standards] (PRIx16): Likewise.
5404 [C99-based-standards] (PRIX16): Likewise.
5405 [C99-based-standards] (SCNd16): Likewise.
5406 [C99-based-standards] (SCNi16): Likewise.
5407 [C99-based-standards] (SCNo16): Likewise.
5408 [C99-based-standards] (SCNu16): Likewise.
5409 [C99-based-standards] (SCNx16): Likewise.
5410 [C99-based-standards] (PRIdLEAST16): Likewise.
5411 [C99-based-standards] (PRIiLEAST16): Likewise.
5412 [C99-based-standards] (PRIoLEAST16): Likewise.
5413 [C99-based-standards] (PRIuLEAST16): Likewise.
5414 [C99-based-standards] (PRIxLEAST16): Likewise.
5415 [C99-based-standards] (PRIXLEAST16): Likewise.
5416 [C99-based-standards] (SCNdLEAST16): Likewise.
5417 [C99-based-standards] (SCNiLEAST16): Likewise.
5418 [C99-based-standards] (SCNoLEAST16): Likewise.
5419 [C99-based-standards] (SCNuLEAST16): Likewise.
5420 [C99-based-standards] (SCNxLEAST16): Likewise.
5421 [C99-based-standards] (PRIdFAST16): Likewise.
5422 [C99-based-standards] (PRIiFAST16): Likewise.
5423 [C99-based-standards] (PRIoFAST16): Likewise.
5424 [C99-based-standards] (PRIuFAST16): Likewise.
5425 [C99-based-standards] (PRIxFAST16): Likewise.
5426 [C99-based-standards] (PRIXFAST16): Likewise.
5427 [C99-based-standards] (SCNdFAST16): Likewise.
5428 [C99-based-standards] (SCNiFAST16): Likewise.
5429 [C99-based-standards] (SCNoFAST16): Likewise.
5430 [C99-based-standards] (SCNuFAST16): Likewise.
5431 [C99-based-standards] (SCNxFAST16): Likewise.
5432 [C99-based-standards] (PRId32): Likewise.
5433 [C99-based-standards] (PRIi32): Likewise.
5434 [C99-based-standards] (PRIo32): Likewise.
5435 [C99-based-standards] (PRIu32): Likewise.
5436 [C99-based-standards] (PRIx32): Likewise.
5437 [C99-based-standards] (PRIX32): Likewise.
5438 [C99-based-standards] (SCNd32): Likewise.
5439 [C99-based-standards] (SCNi32): Likewise.
5440 [C99-based-standards] (SCNo32): Likewise.
5441 [C99-based-standards] (SCNu32): Likewise.
5442 [C99-based-standards] (SCNx32): Likewise.
5443 [C99-based-standards] (PRIdLEAST32): Likewise.
5444 [C99-based-standards] (PRIiLEAST32): Likewise.
5445 [C99-based-standards] (PRIoLEAST32): Likewise.
5446 [C99-based-standards] (PRIuLEAST32): Likewise.
5447 [C99-based-standards] (PRIxLEAST32): Likewise.
5448 [C99-based-standards] (PRIXLEAST32): Likewise.
5449 [C99-based-standards] (SCNdLEAST32): Likewise.
5450 [C99-based-standards] (SCNiLEAST32): Likewise.
5451 [C99-based-standards] (SCNoLEAST32): Likewise.
5452 [C99-based-standards] (SCNuLEAST32): Likewise.
5453 [C99-based-standards] (SCNxLEAST32): Likewise.
5454 [C99-based-standards] (PRIdFAST32): Likewise.
5455 [C99-based-standards] (PRIiFAST32): Likewise.
5456 [C99-based-standards] (PRIoFAST32): Likewise.
5457 [C99-based-standards] (PRIuFAST32): Likewise.
5458 [C99-based-standards] (PRIxFAST32): Likewise.
5459 [C99-based-standards] (PRIXFAST32): Likewise.
5460 [C99-based-standards] (SCNdFAST32): Likewise.
5461 [C99-based-standards] (SCNiFAST32): Likewise.
5462 [C99-based-standards] (SCNoFAST32): Likewise.
5463 [C99-based-standards] (SCNuFAST32): Likewise.
5464 [C99-based-standards] (SCNxFAST32): Likewise.
5465 [C99-based-standards] (PRId64): Likewise.
5466 [C99-based-standards] (PRIi64): Likewise.
5467 [C99-based-standards] (PRIo64): Likewise.
5468 [C99-based-standards] (PRIu64): Likewise.
5469 [C99-based-standards] (PRIx64): Likewise.
5470 [C99-based-standards] (PRIX64): Likewise.
5471 [C99-based-standards] (SCNd64): Likewise.
5472 [C99-based-standards] (SCNi64): Likewise.
5473 [C99-based-standards] (SCNo64): Likewise.
5474 [C99-based-standards] (SCNu64): Likewise.
5475 [C99-based-standards] (SCNx64): Likewise.
5476 [C99-based-standards] (PRIdLEAST64): Likewise.
5477 [C99-based-standards] (PRIiLEAST64): Likewise.
5478 [C99-based-standards] (PRIoLEAST64): Likewise.
5479 [C99-based-standards] (PRIuLEAST64): Likewise.
5480 [C99-based-standards] (PRIxLEAST64): Likewise.
5481 [C99-based-standards] (PRIXLEAST64): Likewise.
5482 [C99-based-standards] (SCNdLEAST64): Likewise.
5483 [C99-based-standards] (SCNiLEAST64): Likewise.
5484 [C99-based-standards] (SCNoLEAST64): Likewise.
5485 [C99-based-standards] (SCNuLEAST64): Likewise.
5486 [C99-based-standards] (SCNxLEAST64): Likewise.
5487 [C99-based-standards] (PRIdFAST64): Likewise.
5488 [C99-based-standards] (PRIiFAST64): Likewise.
5489 [C99-based-standards] (PRIoFAST64): Likewise.
5490 [C99-based-standards] (PRIuFAST64): Likewise.
5491 [C99-based-standards] (PRIxFAST64): Likewise.
5492 [C99-based-standards] (PRIXFAST64): Likewise.
5493 [C99-based-standards] (SCNdFAST64): Likewise.
5494 [C99-based-standards] (SCNiFAST64): Likewise.
5495 [C99-based-standards] (SCNoFAST64): Likewise.
5496 [C99-based-standards] (SCNuFAST64): Likewise.
5497 [C99-based-standards] (SCNxFAST64): Likewise.
5498 [C99-based-standards] (PRIdMAX): Likewise.
5499 [C99-based-standards] (PRIiMAX): Likewise.
5500 [C99-based-standards] (PRIoMAX): Likewise.
5501 [C99-based-standards] (PRIuMAX): Likewise.
5502 [C99-based-standards] (PRIxMAX): Likewise.
5503 [C99-based-standards] (PRIXMAX): Likewise.
5504 [C99-based-standards] (SCNdMAX): Likewise.
5505 [C99-based-standards] (SCNiMAX): Likewise.
5506 [C99-based-standards] (SCNoMAX): Likewise.
5507 [C99-based-standards] (SCNuMAX): Likewise.
5508 [C99-based-standards] (SCNxMAX): Likewise.
5509 [C99-based-standards] (PRIdPTR): Likewise.
5510 [C99-based-standards] (PRIiPTR): Likewise.
5511 [C99-based-standards] (PRIoPTR): Likewise.
5512 [C99-based-standards] (PRIuPTR): Likewise.
5513 [C99-based-standards] (PRIxPTR): Likewise.
5514 [C99-based-standards] (PRIXPTR): Likewise.
5515 [C99-based-standards] (SCNdPTR): Likewise.
5516 [C99-based-standards] (SCNiPTR): Likewise.
5517 [C99-based-standards] (SCNoPTR): Likewise.
5518 [C99-based-standards] (SCNuPTR): Likewise.
5519 [C99-based-standards] (SCNxPTR): Likewise.
5520 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5521 allow.
5522 * conform/data/stdint.h-data: Update comments to clarify
5523 requirements.
5524 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5525 type.
5526 [C99-based standards] (INT8_MAX): Likewise.
5527 [C99-based standards] (INT16_MIN): Likewise.
5528 [C99-based standards] (INT16_MAX): Likewise.
5529 [C99-based standards] (INT32_MIN): Likewise.
5530 [C99-based standards] (INT32_MAX): Likewise.
5531 [C99-based standards] (INT64_MIN): Likewise.
5532 [C99-based standards] (INT64_MAX): Likewise.
5533 [C99-based standards] (UINT8_MAX): Likewise.
5534 [C99-based standards] (UINT16_MAX): Likewise.
5535 [C99-based standards] (UINT32_MAX): Likewise.
5536 [C99-based standards] (UINT64_MAX): Likewise.
5537 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5538 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5539 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5540 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5541 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5542 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5543 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5544 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5545 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5546 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5547 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5548 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5549 [C99-based standards] (INT_FAST8_MIN): Likewise.
5550 [C99-based standards] (INT_FAST8_MAX): Likewise.
5551 [C99-based standards] (INT_FAST16_MIN): Likewise.
5552 [C99-based standards] (INT_FAST16_MAX): Likewise.
5553 [C99-based standards] (INT_FAST32_MIN): Likewise.
5554 [C99-based standards] (INT_FAST32_MAX): Likewise.
5555 [C99-based standards] (INT_FAST64_MIN): Likewise.
5556 [C99-based standards] (INT_FAST64_MAX): Likewise.
5557 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5558 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5559 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5560 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5561 [C99-based standards] (INTPTR_MIN): Likewise.
5562 [C99-based standards] (INTPTR_MAX): Likewise.
5563 [C99-based standards] (UINTPTR_MAX): Likewise.
5564 [C99-based standards] (INTMAX_MIN): Likewise.
5565 [C99-based standards] (INTMAX_MAX): Likewise.
5566 [C99-based standards] (UINTMAX_MAX): Likewise.
5567 [C99-based standards] (PTRDIFF_MIN): Likewise.
5568 [C99-based standards] (PTRDIFF_MAX): Likewise.
5569 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5570 [C99-based standards] (SIZE_MAX): Likewise.
5571 [C99-based standards] (WCHAR_MAX): Likewise.
5572 [C99-based standards] (WINT_MAX): Likewise.
5573 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5574 constraint on value.
5575 [C99-based standards] (WCHAR_MIN): Likewise.
5576 [C99-based standards] (WINT_MIN): Likewise.
5577 [C99-based standards] (*_t): Allow.
5578 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5579 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5580 Include math.h-data and complex.h-data. Remove all expectations
5581 of math.h and complex.h contents.
5582 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5583 at end of line.
5584 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5585 (struct tm): Expect tag.
5586 [C99-based-standards] (wcstof): Expect function.
5587 [C99-based-standards] (wcstold): Likewise.
5588 [C99-based-standards] (wcstoll): Likewise.
5589 [C99-based-standards] (wcstoull): Likewise.
5590 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5591 macro-int-constant. Specify type.
5592 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5593 constraint on value.
5594 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5595 Specify type.
5596 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5597 Specify value.
5598 [ISO C standards]: Do not allow headers.
5599 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5600 wcs[abcdefghijklmnopqrstuvwxyz]*.
5601 [ISO C standards] (*_t): Do not allow.
5602 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5603 Expect function.
5604 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5605 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5606 Specify type.
5607 [ISO C standards]: Do not allow headers.
5608 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5609 is[abcdefghijklmnopqrstuvwxyz]*.
5610 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5611 to[abcdefghijklmnopqrstuvwxyz]*.
5612 [ISO C standards] (*_t): Do not allow.
5613 * conform/data/stdalign.h-data: New file.
5614 * conform/data/stdbool.h-data: Likewise.
5615 * conform/data/stdnoreturn.h-data: Likewise.
5616
7514feb8
RM
56172012-11-07 Roland McGrath <roland@hack.frob.com>
5618
5619 [BZ #14815]
5620 * manual/filesys.texi (Directory Entries): Typo fix.
5621 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5622
19b2ecfc
MS
56232012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5624
5625 * elf/elf.h (EM_AARCH64): New macro.
5626 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5627 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5628 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5629 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5630 (R_AARCH64_TLSDESC): Likewise.
5631 (NT_ARM_TLS): Likewise.
5632 (NT_ARM_HW_BREAK): Likewise.
5633 (NT_ARM_HW_WATCH): Likewise.
5634
60e235ee
JM
56352012-11-07 Joseph Myers <joseph@codesourcery.com>
5636
5637 [BZ #14811]
5638 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5639 (__ieee754_powl): Saturate nonzero exponents with absolute value
5640 below 0x1p-79 to +/- 0x1p-79.
5641 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5642 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5643 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5644 nonzero exponents with absolute value below 0x1p-32 to +/-
5645 0x1p-32.
5646 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5647 (__ieee754_powl): Saturate nonzero exponents with absolute value
5648 below 0x1p-79 to +/- 0x1p-79.
5649 * math/libm-test.inc (pow_test): Add more tests.
5650
0ab234b7
AK
56512012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5652
5653 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5654 _dl_s390_cap_flags with kernel. Increase string length.
5655 (_dl_s390_platforms): Add z196 and zEC12.
5656
45832f74
JM
56572012-11-07 Joseph Myers <joseph@codesourcery.com>
5658
5659 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5660 Change XOPEN21K to XOPEN2K.
5661
19218757
MK
56622012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5663
5664 * string/memmove.c: Use memcpy when possible.
5665
c5f45721
AJ
56662012-11-06 Andreas Jaeger <aj@suse.de>
5667
5668 * po/eo.po: Update from translation team.
5669
82477c28
JM
56702012-11-06 Joseph Myers <joseph@codesourcery.com>
5671
5672 [BZ #14793]
5673 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5674 exponent and small x and y exponents, scale x or y up. Increase
5675 by 2 the exponent used in scaling up.
5676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5677 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5678 * math/libm-test.inc (fma_test): Add more tests.
5679 (fma_test_towardzero): Likewise.
5680 (fma_test_downward): Likewise.
5681 (fma_test_upward): Likewise.
5682
99252c8c
JM
56832012-11-05 Joseph Myers <joseph@codesourcery.com>
5684
acfa885f
JM
5685 [BZ #14805]
5686 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5687 fenv_t *.
5688
99252c8c
JM
5689 [BZ #14801]
5690 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5691 namespace for names of struct fields.
5692 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5693 fenv_t fields.
5694 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5695 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5696
d6d98dea
ST
56972012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5698
5699 [BZ #3665]
5700 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5701
e10bb107
TS
57022012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5703
5704 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5705 PTR_DEMANGLE.
5706
5707 [BZ #5246]
5708 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5709 PTR_DEMANGLE.
5710
a0c2940d
JM
57112012-11-04 Joseph Myers <joseph@codesourcery.com>
5712
5713 [BZ #14797]
5714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5715 definitely overflow as x * y not x * y + z.
5716 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5717 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5718 * math/libm-test.inc (fma_test): Add more tests.
5719 (fma_test_towardzero): Likewise.
5720 (fma_test_downward): Likewise.
5721 (fma_test_upward): Likewise.
5722
b830319d
TS
57232012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5724
5725 [BZ #157]
5726
5727 * include/stub-tag.h: Remove file.
5728 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5729 '#include' of it.
5730 * manual/maint.texi (Porting): Don't reference it.
5731 * Makerules ($(objpfx)stubs): Likewise.
5732 * dirent/closedir.c: Don't include <stub-tag.h>.
5733 * dirent/dirfd.c: Likewise.
5734 * dirent/fdopendir.c: Likewise.
5735 * dirent/getdents.c: Likewise.
5736 * dirent/getdents64.c: Likewise.
5737 * dirent/opendir.c: Likewise.
5738 * dirent/readdir.c: Likewise.
5739 * dirent/readdir64.c: Likewise.
5740 * dirent/readdir64_r.c: Likewise.
5741 * dirent/readdir_r.c: Likewise.
5742 * dirent/rewinddir.c: Likewise.
5743 * dirent/seekdir.c: Likewise.
5744 * dirent/telldir.c: Likewise.
5745 * gmon/profil.c: Likewise.
5746 * grp/setgroups.c: Likewise.
5747 * inet/if_index.c: Likewise.
5748 * io/access.c: Likewise.
5749 * io/chdir.c: Likewise.
5750 * io/chmod.c: Likewise.
5751 * io/chown.c: Likewise.
5752 * io/close.c: Likewise.
5753 * io/dup.c: Likewise.
5754 * io/dup2.c: Likewise.
5755 * io/dup3.c: Likewise.
5756 * io/euidaccess.c: Likewise.
5757 * io/faccessat.c: Likewise.
5758 * io/fchdir.c: Likewise.
5759 * io/fchmod.c: Likewise.
5760 * io/fchmodat.c: Likewise.
5761 * io/fchown.c: Likewise.
5762 * io/fchownat.c: Likewise.
5763 * io/fcntl.c: Likewise.
5764 * io/flock.c: Likewise.
5765 * io/fstatfs.c: Likewise.
5766 * io/fstatfs64.c: Likewise.
5767 * io/fstatvfs.c: Likewise.
5768 * io/fstatvfs64.c: Likewise.
5769 * io/futimens.c: Likewise.
5770 * io/fxstat.c: Likewise.
5771 * io/fxstat64.c: Likewise.
5772 * io/fxstatat.c: Likewise.
5773 * io/fxstatat64.c: Likewise.
5774 * io/getcwd.c: Likewise.
5775 * io/isatty.c: Likewise.
5776 * io/lchmod.c: Likewise.
5777 * io/lchown.c: Likewise.
5778 * io/link.c: Likewise.
5779 * io/linkat.c: Likewise.
5780 * io/lseek.c: Likewise.
5781 * io/lseek64.c: Likewise.
5782 * io/lxstat64.c: Likewise.
5783 * io/mkdir.c: Likewise.
5784 * io/mkdirat.c: Likewise.
5785 * io/mkfifo.c: Likewise.
5786 * io/mkfifoat.c: Likewise.
5787 * io/open.c: Likewise.
5788 * io/open64.c: Likewise.
5789 * io/openat.c: Likewise.
5790 * io/openat64.c: Likewise.
5791 * io/pipe.c: Likewise.
5792 * io/pipe2.c: Likewise.
5793 * io/poll.c: Likewise.
5794 * io/posix_fadvise.c: Likewise.
5795 * io/posix_fadvise64.c: Likewise.
5796 * io/posix_fallocate.c: Likewise.
5797 * io/posix_fallocate64.c: Likewise.
5798 * io/read.c: Likewise.
5799 * io/readlink.c: Likewise.
5800 * io/readlinkat.c: Likewise.
5801 * io/rmdir.c: Likewise.
5802 * io/sendfile.c: Likewise.
5803 * io/sendfile64.c: Likewise.
5804 * io/statfs.c: Likewise.
5805 * io/statfs64.c: Likewise.
5806 * io/statvfs.c: Likewise.
5807 * io/statvfs64.c: Likewise.
5808 * io/symlink.c: Likewise.
5809 * io/symlinkat.c: Likewise.
5810 * io/ttyname.c: Likewise.
5811 * io/ttyname_r.c: Likewise.
5812 * io/umask.c: Likewise.
5813 * io/unlink.c: Likewise.
5814 * io/unlinkat.c: Likewise.
5815 * io/utime.c: Likewise.
5816 * io/utimensat.c: Likewise.
5817 * io/write.c: Likewise.
5818 * io/xmknod.c: Likewise.
5819 * io/xmknodat.c: Likewise.
5820 * io/xstat.c: Likewise.
5821 * io/xstat64.c: Likewise.
5822 * login/getpt.c: Likewise.
5823 * login/grantpt.c: Likewise.
5824 * login/unlockpt.c: Likewise.
5825 * math/e_acoshl.c: Likewise.
5826 * math/e_acosl.c: Likewise.
5827 * math/e_asinl.c: Likewise.
5828 * math/e_atan2l.c: Likewise.
5829 * math/e_atanhl.c: Likewise.
5830 * math/e_coshl.c: Likewise.
5831 * math/e_expl.c: Likewise.
5832 * math/e_fmodl.c: Likewise.
5833 * math/e_gammal_r.c: Likewise.
5834 * math/e_hypotl.c: Likewise.
5835 * math/e_j0l.c: Likewise.
5836 * math/e_j1l.c: Likewise.
5837 * math/e_jnl.c: Likewise.
5838 * math/e_lgammal_r.c: Likewise.
5839 * math/e_log10l.c: Likewise.
5840 * math/e_log2l.c: Likewise.
5841 * math/e_logl.c: Likewise.
5842 * math/e_powl.c: Likewise.
5843 * math/e_rem_pio2l.c: Likewise.
5844 * math/e_sinhl.c: Likewise.
5845 * math/e_sqrtl.c: Likewise.
5846 * math/fclrexcpt.c: Likewise.
5847 * math/fedisblxcpt.c: Likewise.
5848 * math/feenablxcpt.c: Likewise.
5849 * math/fegetenv.c: Likewise.
5850 * math/fegetexcept.c: Likewise.
5851 * math/fegetround.c: Likewise.
5852 * math/feholdexcpt.c: Likewise.
5853 * math/fesetenv.c: Likewise.
5854 * math/fesetround.c: Likewise.
5855 * math/feupdateenv.c: Likewise.
5856 * math/fgetexcptflg.c: Likewise.
5857 * math/fraiseexcpt.c: Likewise.
5858 * math/fsetexcptflg.c: Likewise.
5859 * math/ftestexcept.c: Likewise.
5860 * math/k_cosl.c: Likewise.
5861 * math/k_rem_pio2l.c: Likewise.
5862 * math/k_sinl.c: Likewise.
5863 * math/k_tanl.c: Likewise.
5864 * math/s_asinhl.c: Likewise.
5865 * math/s_atanl.c: Likewise.
5866 * math/s_cbrtl.c: Likewise.
5867 * math/s_erfl.c: Likewise.
5868 * math/s_expm1l.c: Likewise.
5869 * math/s_log1pl.c: Likewise.
5870 * math/s_tanhl.c: Likewise.
5871 * misc/acct.c: Likewise.
5872 * misc/brk.c: Likewise.
5873 * misc/chflags.c: Likewise.
5874 * misc/chroot.c: Likewise.
5875 * misc/fchflags.c: Likewise.
5876 * misc/fgetxattr.c: Likewise.
5877 * misc/flistxattr.c: Likewise.
5878 * misc/fremovexattr.c: Likewise.
5879 * misc/fsetxattr.c: Likewise.
5880 * misc/fsync.c: Likewise.
5881 * misc/ftruncate.c: Likewise.
5882 * misc/futimes.c: Likewise.
5883 * misc/futimesat.c: Likewise.
5884 * misc/getdomain.c: Likewise.
5885 * misc/getdtsz.c: Likewise.
5886 * misc/gethostid.c: Likewise.
5887 * misc/gethostname.c: Likewise.
5888 * misc/getloadavg.c: Likewise.
5889 * misc/getpagesize.c: Likewise.
5890 * misc/getsysstats.c: Likewise.
5891 * misc/getxattr.c: Likewise.
5892 * misc/gtty.c: Likewise.
5893 * misc/ioctl.c: Likewise.
5894 * misc/lgetxattr.c: Likewise.
5895 * misc/listxattr.c: Likewise.
5896 * misc/llistxattr.c: Likewise.
5897 * misc/lremovexattr.c: Likewise.
5898 * misc/lsetxattr.c: Likewise.
5899 * misc/lutimes.c: Likewise.
5900 * misc/madvise.c: Likewise.
5901 * misc/mincore.c: Likewise.
5902 * misc/mlock.c: Likewise.
5903 * misc/mlockall.c: Likewise.
5904 * misc/mmap.c: Likewise.
5905 * misc/mprotect.c: Likewise.
5906 * misc/msync.c: Likewise.
5907 * misc/munlock.c: Likewise.
5908 * misc/munlockall.c: Likewise.
5909 * misc/munmap.c: Likewise.
5910 * misc/preadv.c: Likewise.
5911 * misc/preadv64.c: Likewise.
5912 * misc/ptrace.c: Likewise.
5913 * misc/pwritev.c: Likewise.
5914 * misc/pwritev64.c: Likewise.
5915 * misc/readv.c: Likewise.
5916 * misc/reboot.c: Likewise.
5917 * misc/remap_file_pages.c: Likewise.
5918 * misc/removexattr.c: Likewise.
5919 * misc/revoke.c: Likewise.
5920 * misc/select.c: Likewise.
5921 * misc/setdomain.c: Likewise.
5922 * misc/setegid.c: Likewise.
5923 * misc/seteuid.c: Likewise.
5924 * misc/sethostid.c: Likewise.
5925 * misc/sethostname.c: Likewise.
5926 * misc/setregid.c: Likewise.
5927 * misc/setreuid.c: Likewise.
5928 * misc/setxattr.c: Likewise.
5929 * misc/sstk.c: Likewise.
5930 * misc/stty.c: Likewise.
5931 * misc/swapoff.c: Likewise.
5932 * misc/swapon.c: Likewise.
5933 * misc/sync.c: Likewise.
5934 * misc/syncfs.c: Likewise.
5935 * misc/syscall.c: Likewise.
5936 * misc/truncate.c: Likewise.
5937 * misc/ualarm.c: Likewise.
5938 * misc/usleep.c: Likewise.
5939 * misc/ustat.c: Likewise.
5940 * misc/utimes.c: Likewise.
5941 * misc/vhangup.c: Likewise.
5942 * misc/writev.c: Likewise.
5943 * posix/_exit.c: Likewise.
5944 * posix/alarm.c: Likewise.
5945 * posix/execve.c: Likewise.
5946 * posix/fexecve.c: Likewise.
5947 * posix/fork.c: Likewise.
5948 * posix/fpathconf.c: Likewise.
5949 * posix/getaddrinfo.c: Likewise.
5950 * posix/getegid.c: Likewise.
5951 * posix/geteuid.c: Likewise.
5952 * posix/getgid.c: Likewise.
5953 * posix/getgroups.c: Likewise.
5954 * posix/getlogin.c: Likewise.
5955 * posix/getlogin_r.c: Likewise.
5956 * posix/getpgid.c: Likewise.
5957 * posix/getpid.c: Likewise.
5958 * posix/getppid.c: Likewise.
5959 * posix/getresgid.c: Likewise.
5960 * posix/getresuid.c: Likewise.
5961 * posix/getsid.c: Likewise.
5962 * posix/getuid.c: Likewise.
5963 * posix/glob64.c: Likewise.
5964 * posix/nanosleep.c: Likewise.
5965 * posix/pathconf.c: Likewise.
5966 * posix/pause.c: Likewise.
5967 * posix/posix_madvise.c: Likewise.
5968 * posix/pread.c: Likewise.
5969 * posix/pread64.c: Likewise.
5970 * posix/pwrite.c: Likewise.
5971 * posix/pwrite64.c: Likewise.
5972 * posix/sched_getaffinity.c: Likewise.
5973 * posix/sched_getp.c: Likewise.
5974 * posix/sched_gets.c: Likewise.
5975 * posix/sched_primax.c: Likewise.
5976 * posix/sched_primin.c: Likewise.
5977 * posix/sched_rr_gi.c: Likewise.
5978 * posix/sched_setaffinity.c: Likewise.
5979 * posix/sched_setp.c: Likewise.
5980 * posix/sched_sets.c: Likewise.
5981 * posix/sched_yield.c: Likewise.
5982 * posix/setgid.c: Likewise.
5983 * posix/setlogin.c: Likewise.
5984 * posix/setpgid.c: Likewise.
5985 * posix/setresgid.c: Likewise.
5986 * posix/setresuid.c: Likewise.
5987 * posix/setsid.c: Likewise.
5988 * posix/setuid.c: Likewise.
5989 * posix/sleep.c: Likewise.
5990 * posix/spawni.c: Likewise.
5991 * posix/sysconf.c: Likewise.
5992 * posix/times.c: Likewise.
5993 * posix/wait.c: Likewise.
5994 * posix/wait3.c: Likewise.
5995 * posix/wait4.c: Likewise.
5996 * posix/waitpid.c: Likewise.
5997 * resolv/gai_sigqueue.c: Likewise.
5998 * resource/getpriority.c: Likewise.
5999 * resource/getrlimit.c: Likewise.
6000 * resource/getrusage.c: Likewise.
6001 * resource/nice.c: Likewise.
6002 * resource/setpriority.c: Likewise.
6003 * resource/setrlimit.c: Likewise.
6004 * resource/ulimit.c: Likewise.
6005 * rt/aio_cancel.c: Likewise.
6006 * rt/aio_fsync.c: Likewise.
6007 * rt/aio_read.c: Likewise.
6008 * rt/aio_sigqueue.c: Likewise.
6009 * rt/aio_suspend.c: Likewise.
6010 * rt/aio_write.c: Likewise.
6011 * rt/clock_getres.c: Likewise.
6012 * rt/clock_gettime.c: Likewise.
6013 * rt/clock_nanosleep.c: Likewise.
6014 * rt/clock_settime.c: Likewise.
6015 * rt/lio_listio.c: Likewise.
6016 * rt/mq_close.c: Likewise.
6017 * rt/mq_getattr.c: Likewise.
6018 * rt/mq_notify.c: Likewise.
6019 * rt/mq_open.c: Likewise.
6020 * rt/mq_receive.c: Likewise.
6021 * rt/mq_send.c: Likewise.
6022 * rt/mq_setattr.c: Likewise.
6023 * rt/mq_timedreceive.c: Likewise.
6024 * rt/mq_timedsend.c: Likewise.
6025 * rt/mq_unlink.c: Likewise.
6026 * rt/shm_open.c: Likewise.
6027 * rt/shm_unlink.c: Likewise.
6028 * rt/timer_create.c: Likewise.
6029 * rt/timer_delete.c: Likewise.
6030 * rt/timer_getoverr.c: Likewise.
6031 * rt/timer_gettime.c: Likewise.
6032 * rt/timer_settime.c: Likewise.
6033 * setjmp/__longjmp.c: Likewise.
6034 * setjmp/setjmp.c: Likewise.
6035 * signal/kill.c: Likewise.
6036 * signal/killpg.c: Likewise.
6037 * signal/raise.c: Likewise.
6038 * signal/sigaction.c: Likewise.
6039 * signal/sigaltstack.c: Likewise.
6040 * signal/sigblock.c: Likewise.
6041 * signal/sigignore.c: Likewise.
6042 * signal/sigintr.c: Likewise.
6043 * signal/signal.c: Likewise.
6044 * signal/sigpause.c: Likewise.
6045 * signal/sigpending.c: Likewise.
6046 * signal/sigqueue.c: Likewise.
6047 * signal/sigreturn.c: Likewise.
6048 * signal/sigset.c: Likewise.
6049 * signal/sigsetmask.c: Likewise.
6050 * signal/sigstack.c: Likewise.
6051 * signal/sigsuspend.c: Likewise.
6052 * signal/sigtimedwait.c: Likewise.
6053 * signal/sigvec.c: Likewise.
6054 * signal/sigwait.c: Likewise.
6055 * signal/sigwaitinfo.c: Likewise.
6056 * signal/sysv_signal.c: Likewise.
6057 * socket/accept.c: Likewise.
6058 * socket/accept4.c: Likewise.
6059 * socket/bind.c: Likewise.
6060 * socket/connect.c: Likewise.
6061 * socket/getpeername.c: Likewise.
6062 * socket/getsockname.c: Likewise.
6063 * socket/getsockopt.c: Likewise.
6064 * socket/isfdtype.c: Likewise.
6065 * socket/listen.c: Likewise.
6066 * socket/recv.c: Likewise.
6067 * socket/recvfrom.c: Likewise.
6068 * socket/recvmsg.c: Likewise.
6069 * socket/send.c: Likewise.
6070 * socket/sendmsg.c: Likewise.
6071 * socket/sendto.c: Likewise.
6072 * socket/setsockopt.c: Likewise.
6073 * socket/shutdown.c: Likewise.
6074 * socket/sockatmark.c: Likewise.
6075 * socket/socket.c: Likewise.
6076 * socket/socketpair.c: Likewise.
6077 * stdio-common/ctermid.c: Likewise.
6078 * stdio-common/cuserid.c: Likewise.
6079 * stdio-common/remove.c: Likewise.
6080 * stdio-common/rename.c: Likewise.
6081 * stdio-common/renameat.c: Likewise.
6082 * stdio-common/tempname.c: Likewise.
6083 * stdlib/getcontext.c: Likewise.
6084 * stdlib/makecontext.c: Likewise.
6085 * stdlib/setcontext.c: Likewise.
6086 * stdlib/swapcontext.c: Likewise.
6087 * stdlib/system.c: Likewise.
6088 * streams/fattach.c: Likewise.
6089 * streams/fdetach.c: Likewise.
6090 * streams/getmsg.c: Likewise.
6091 * streams/getpmsg.c: Likewise.
6092 * streams/putmsg.c: Likewise.
6093 * streams/putpmsg.c: Likewise.
6094 * sysdeps/unix/bsd/getpt.c: Likewise.
6095 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6096 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6097 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6099 Likewise.
6100 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6101 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6102 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6103 * sysvipc/msgctl.c: Likewise.
6104 * sysvipc/msgget.c: Likewise.
6105 * sysvipc/msgrcv.c: Likewise.
6106 * sysvipc/msgsnd.c: Likewise.
6107 * sysvipc/semctl.c: Likewise.
6108 * sysvipc/semget.c: Likewise.
6109 * sysvipc/semop.c: Likewise.
6110 * sysvipc/semtimedop.c: Likewise.
6111 * sysvipc/shmat.c: Likewise.
6112 * sysvipc/shmctl.c: Likewise.
6113 * sysvipc/shmdt.c: Likewise.
6114 * sysvipc/shmget.c: Likewise.
6115 * termios/tcdrain.c: Likewise.
6116 * termios/tcflow.c: Likewise.
6117 * termios/tcflush.c: Likewise.
6118 * termios/tcgetattr.c: Likewise.
6119 * termios/tcgetpgrp.c: Likewise.
6120 * termios/tcsendbrk.c: Likewise.
6121 * termios/tcsetattr.c: Likewise.
6122 * termios/tcsetpgrp.c: Likewise.
6123 * time/adjtime.c: Likewise.
6124 * time/clock.c: Likewise.
6125 * time/getitimer.c: Likewise.
6126 * time/gettimeofday.c: Likewise.
6127 * time/setitimer.c: Likewise.
6128 * time/settimeofday.c: Likewise.
6129 * time/stime.c: Likewise.
6130 * time/time.c: Likewise.
6131
61322012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6133
a20492cf
PT
6134 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6135 /usr/old/bin.
6136
72e182e3
PT
6137 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6138 instead of spaces.
6139 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6140
fbeafede
JM
61412012-11-03 Joseph Myers <joseph@codesourcery.com>
6142
5b5b04d6
JM
6143 [BZ #14796]
6144 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6145 FE_TONEAREST before applying Dekker multiplication and Knuth
6146 addition. Clear inexact exceptions and check for exact zero
6147 results afterwards.
6148 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6149 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6150 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6151 * math/libm-test.inc (fma_test): Add more tests.
6152 (fma_test_towardzero): Likewise.
6153 (fma_test_downward): Likewise.
6154 (fma_test_upward): Likewise.
6155 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6156 function.
6157 (libc_fesetround): New macro.
6158 (libc_fesetroundf): Likewise.
6159 (libc_fesetroundl): Likewise.
6160 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6161 function.
6162 (libc_fesetround_387): Likewise.
6163 (libc_fesetroundf): New macro.
6164 (libc_fesetround): Likewise.
6165 (libc_fesetroundl): Likewise.
6166 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6167 function.
6168 (libc_fesetroundf): New macro.
6169 (libc_fesetround): Likewise.
6170 (libc_fesetroundl): Likewise.
6171 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6172 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6173 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6174 libm_hidden_ver.
6175 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6176 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6177 libm_hidden_def.
6178 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6179 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6180 libm_hidden_ver.
6181 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6182 libm_hidden_def.
6183
fbeafede
JM
6184 [BZ #3439]
6185 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6186 integer constant usable in #if and use that to give value to enum
6187 constant.
6188 (FE_DIVBYZERO): Likewise.
6189 (FE_UNDERFLOW): Likewise.
6190 (FE_OVERFLOW): Likewise.
6191 (FE_INVALID): Likewise.
6192 (FE_INVALID_SNAN): Likewise.
6193 (FE_INVALID_ISI): Likewise.
6194 (FE_INVALID_IDI): Likewise.
6195 (FE_INVALID_ZDZ): Likewise.
6196 (FE_INVALID_IMZ): Likewise.
6197 (FE_INVALID_COMPARE): Likewise.
6198 (FE_INVALID_SOFTWARE): Likewise.
6199 (FE_INVALID_SQRT): Likewise.
6200 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6201 (FE_TONEAREST): Likewise.
6202 (FE_TOWARDZERO): Likewise.
6203 (FE_UPWARD): Likewise.
6204 (FE_DOWNWARD): Likewise.
6205 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6206 (FE_DIVBYZERO): Likewise.
6207 (FE_OVERFLOW): Likewise.
6208 (FE_UNDERFLOW): Likewise.
6209 (FE_INEXACT): Likewise.
6210 (FE_TONEAREST): Likewise.
6211 (FE_DOWNWARD): Likewise.
6212 (FE_UPWARD): Likewise.
6213 (FE_TOWARDZERO): Likewise.
6214 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6215 (FE_UNDERFLOW): Likewise.
6216 (FE_OVERFLOW): Likewise.
6217 (FE_DIVBYZERO): Likewise.
6218 (FE_INVALID): Likewise.
6219 (FE_TONEAREST): Likewise.
6220 (FE_TOWARDZERO): Likewise.
6221 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6222 (FE_OVERFLOW): Likewise.
6223 (FE_UNDERFLOW): Likewise.
6224 (FE_DIVBYZERO): Likewise.
6225 (FE_INEXACT): Likewise.
6226 (FE_TONEAREST): Likewise.
6227 (FE_TOWARDZERO): Likewise.
6228 (FE_UPWARD): Likewise.
6229 (FE_DOWNWARD): Likewise.
6230 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6231 (FE_DIVBYZERO): Likewise.
6232 (FE_OVERFLOW): Likewise.
6233 (FE_UNDERFLOW): Likewise.
6234 (FE_INEXACT): Likewise.
6235 (FE_TONEAREST): Likewise.
6236 (FE_DOWNWARD): Likewise.
6237 (FE_UPWARD): Likewise.
6238 (FE_TOWARDZERO): Likewise.
6239
105ca950
CM
62402012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6241
6242 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6243
a542b389
AS
62442012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6245
6246 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6247 commands. Quote $PWD.
6248 (blacklist_exports): Don't use remove_newlines. Replace "declare
6249 -x" by "export".
6250 (remove_newlines): Remove.
6251
f62c8abc
L
62522012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6253
6254 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6255 * stdlib/stdlib.h (atof): Moved to ...
6256 * include/bits/stdlib-float.h: Here. New file.
6257 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6258 * stdlib/bits/stdlib-float.h: New file.
6259 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6260 -mno-sse -mno-mmx.
6261 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6262 <xmmintrin.h>.
6263
0155d5b2
JM
62642012-11-02 Joseph Myers <joseph@codesourcery.com>
6265
a68d0680
JM
6266 * conform/conformtest.pl (@headers): Add fenv.h.
6267 * conform/data/fenv.h-data: New file.
6268 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6269 include of <math/fenv.h>.
6270
caf7f573
JM
6271 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6272 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6273 && !UNIX98]. Enables tests for XOPEN2K8.
6274 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6275 POSIX2008]: Likewise.
6276
6c073ad6
JM
6277 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6278 (struct rusage): Do not expect type or its members.
6279
0155d5b2
JM
6280 [BZ #3439]
6281 * math/math.h (FP_NAN): Define macro to integer constant usable in
6282 #if and use that to give value to enum constant.
6283 (FP_INFINITE): Likewise.
6284 (FP_ZERO): Likewise.
6285 (FP_SUBNORMAL): Likewise.
6286 (FP_NORMAL): Likewise.
6287
b5dcacb4
AS
62882012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6289
6290 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6291 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6292 arguments.
6293
f7934be8
RM
62942012-11-02 Roland McGrath <roland@hack.frob.com>
6295
6296 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6297 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6298 autoconf-time if not.
6299 * configure.in: Remove AC_PREREQ.
6300
d7d08bde
TMQMF
63012012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6302
6303 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6304 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6305 of the internal implementation.
6306
dcdae19a
JM
63072012-11-02 Joseph Myers <joseph@codesourcery.com>
6308
6309 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6310 except include of <misc/sys/syslog.h>.
6311
d6cffd3e
AS
63122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6313
6314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6315 function returns with a NULL context exit with zero.
6316
b3563932
TMQMF
63172012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6318
6319 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6320
b288a93d
L
63212012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6322
6323 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6324 (run_program_cmd): This.
6325 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6326 (tst_langinfo): New variable. Use it.
6327
a2421a68
SAS
63282012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6329
6330 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6331 floating point opcodes.
6332
6f796e1b
TS
63332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6334
7402596b
TS
6335 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6336 variable.
6337
d0d4f868
TS
6338 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6339
6f796e1b
TS
6340 * sysdeps/mach/hurd/powerpc: Remove directory.
6341 * sysdeps/mach/powerpc: Likewise.
6342
4da224a2
AS
63432012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6344
6345 * scripts/check-local-headers.sh: Ignore c++ headers.
6346
341dd673
TS
63472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6348
6349 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6350 __libc_cleanup_region_start argument.
6351
473611b2
JM
63522012-11-01 Joseph Myers <joseph@codesourcery.com>
6353
6354 [BZ #14784]
6355 [BZ #14785]
6356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6357 x * y using scaling, not as x * y + z.
6358 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6359 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6360 * math/libm-test.inc (fma_test): Add more tests.
6361 (fma_test_towardzero): Likewise.
6362 (fma_test_downward): Likewise.
6363 (fma_test_upward): Likewise.
6364
4078da3d
TS
63652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6366
6367 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6368
903252aa
JM
63692012-10-31 Joseph Myers <joseph@codesourcery.com>
6370
6371 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6372 New variable.
6373
cbc818d0
TS
63742012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6375
6376 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6377
5a03cb1e
AS
63782012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6379
6380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6381 Fix sort order.
6382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6383 Likewise.
6384
90aff2ff
TMQMF
63852012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6386
6387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6388 Fix the order of the list for glibc 2.17.
6389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6390 Likewise.
6391
1818fcb7
AS
63922012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6393
6394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6395
ef82f4da
JM
63962012-10-31 Joseph Myers <joseph@codesourcery.com>
6397
16a0e2ec
JM
6398 [BZ #14610]
6399 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6400 for low part of x being zero before using __atanl (y).
6401 * math/libm-test.inc (atan2_test): Add another test.
6402
0eb69512
JM
6403 * manual/install.texi (Configuring and compiling): Document
6404 general use of test-wrapper and test-wrapper-env.
6405 * INSTALL: Regenerated.
6406
ef82f4da
JM
6407 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6408 (__fma): Do not extract and scale down low bits on after-rounding
6409 systems when result rounded to normal precision would have normal
6410 exponent.
6411 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6412 (__fmal): Do not extract and scale down low bits on after-rounding
6413 systems when result rounded to normal precision would have normal
6414 exponent.
6415 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6416 (__fmal): Do not extract and scale down low bits on after-rounding
6417 systems when result rounded to normal precision would have normal
6418 exponent.
6419 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6420 macro.
6421 (fma_test): Add more tests.
6422 (fma_test_towardzero): Likewise.
6423 (fma_test_downward): Likewise.
6424 (fma_test_upward): Likewise.
6425
954ef0d9
L
64262012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6427
6428 * sysdeps/i386/tininess.h: Renamed to ...
6429 * sysdeps/x86/tininess.h: This.
6430 * sysdeps/x86_64/tininess.h: Removed.
6431
df61ffb2
JM
64322012-10-30 Joseph Myers <joseph@codesourcery.com>
6433
6434 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6435 input. Use $(build-program-cmd).
6436 ($(objpfx)tst-array1-static.out): Likewise.
6437 ($(objpfx)tst-array2.out): Likewise.
6438 ($(objpfx)tst-array3.out): Likewise.
6439 ($(objpfx)tst-array4.out): Likewise.
6440 ($(objpfx)tst-array5.out): Likewise.
6441 ($(objpfx)tst-array5-static.out): Likewise.
6442
01767843
CM
64432012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6444
47cc1490
CM
6445 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6446 if defined.
6447
01767843
CM
6448 * nss/nsswitch.h (nss_interface_function): Provide new
6449 macro for use with NSS functions.
6450 * grp/initgroups.c: Use new macro.
6451 * nss/getXXbyYY.c: Likewise.
6452 * nss/getXXbyYY_r.c: Likewise.
6453 * nss/getXXent.c: Likewise.
6454 * nss/getXXent_r.c: Likewise.
6455 * sysdeps/posix/getaddrinfo.c: Likewise.
6456
8321aa97
AJ
64572012-10-30 Andreas Jaeger <aj@suse.de>
6458
6459 * po/ru.po: Update Russion translation from translation project.
6460
2a27fd6d
JM
64612012-10-30 Joseph Myers <joseph@codesourcery.com>
6462
8627a232
JM
6463 [BZ #14152]
6464 [BZ #14783]
6465 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6466 result and shift together with sticky bit instead of replicating
6467 round-to-nearest rounding.
6468 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6469 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6470 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6471 missing underflow exceptions.
6472 (fma_test_towardzero): Add more tests.
6473 (fma_test_downward): Likewise.
6474 (fma_test_upward): Likewise.
6475
2a27fd6d
JM
6476 [BZ #14047]
6477 * sysdeps/generic/tininess.h: New file.
6478 * sysdeps/i386/tininess.h: Likewise.
6479 * sysdeps/sh/tininess.h: Likewise.
6480 * sysdeps/x86_64/tininess.h: Likewise.
6481 * stdlib/tst-strtod-underflow.c: Likewise.
6482 * stdlib/tst-tininess.c: Likewise.
6483 * stdlib/strtod_l.c: Include <tininess.h>.
6484 (round_and_return): Do not set errno for exact underflow cases.
6485 Force an underflow exception when setting errno for underflow.
6486 Determine underflow based on rounding to normal precision if
6487 TININESS_AFTER_ROUNDING.
6488 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6489 ERANGE for exact underflow cases.
6490 * stdlib/Makefile (tests): Add tst-tininess and
6491 tst-strtod-underflow.
6492 ($(objpfx)tst-tininess): Use $(link-libm).
6493 ($(objpfx)tst-strtod-underflow): Likewise.
6494
e7170363
AJ
64952012-10-30 Andreas Jaeger <aj@suse.de>
6496
e5088dc6
AJ
6497 [BZ#14767]
6498 * elf/Makefile (tests): Remove conditional for have-initfini-array
6499 since this is now always required and the variable does not exist
6500 anymore.
6501 (tests-static): Likewise.
6502 (modules-names): Likewise.
6503
e7170363 6504 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6505
6506 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6507 merged with constructor/destructor.
6508 (init_array): Likewise.
6509 * elf/tst-array2dep.c (fini_array): Likewise.
6510 (init_array): Likewise.
6511
60457d8a
MF
65122012-10-29 Mike Frysinger <vapier@gentoo.org>
6513
6514 * manual/message.texi: Delete @cartouche tags.
6515
8bece752
PT
65162012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6517
94ce799f
PT
6518 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6519 EOPNOTSUPP.
6520 * sysdeps/mach/hurd/fsync.c: Likewise.
6521
8bece752
PT
6522 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6523 [_POSIX_REALTIME_SIGNALS]: Change condition to
6524 [_POSIX_REALTIME_SIGNALS > 0].
6525
86ebe6b1
AJ
65262012-10-27 Andreas Jaeger <aj@suse.de>
6527
6528 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6529 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6530 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6531 [__WORDSIZE != 64]: Likewise.
6532
54399c08
L
65332012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6534
6535 * iconvdata/tst-table.sh: Remove ${SHELL}.
6536 * iconvdata/tst-tables.sh: Likewise.
6537
e2211bed
DM
65382012-10-25 David S. Miller <davem@davemloft.net>
6539
6540 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6541 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6542 of strtoull.
6543
f303f97c
DM
6544 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6545 ifunc-impl-list.c
6546 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6547 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6548 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6549 file.
6550
1e9d84cd
RM
65512012-10-25 Roland McGrath <roland@hack.frob.com>
6552
6553 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6554 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6555 __getdirentries.
6556
df381762
JM
65572012-10-25 Joseph Myers <joseph@codesourcery.com>
6558 Jim Blandy <jimb@codesourcery.com>
6559
6560 * scripts/cross-test-ssh.sh: New file.
6561 * manual/install.texi (Configuring and compiling): Document use of
6562 cross-test-ssh.sh.
6563 * INSTALL: Regenerated.
6564
bff64913
PT
65652012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6566
6567 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6568 EOPNOTSUPP.
6569
25fe8932
JM
65702012-10-25 Joseph Myers <joseph@codesourcery.com>
6571
6572 * Makeconfig (run-program-prefix): Fix comment.
6573
cc1290d0
JM
65742012-10-24 Joseph Myers <joseph@codesourcery.com>
6575 Jim Blandy <jimb@codesourcery.com>
6576
6577 * Makeconfig (test-wrapper): New variable,
6578 (test-wrapper-env): Likewise.
6579 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6580 (run-built-tests): Define to yes.
6581 (run-program-prefix): Use $(test-wrapper).
6582 (built-program-cmd): Likewise.
6583 * Rules (make-test-out): Use $(test-wrapper-env) and
6584 $(host-built-program-cmd).
6585 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6586 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6587 tst-pathopt.sh.
6588 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6589 $(test-wrapper-env) to tst-rtld-load-self.sh.
6590 ($(objpfx)order2.out): Use $(test-wrapper).
6591 ($(objpfx)tst-initorder.out): Likewise.
6592 ($(objpfx)tst-initorder2.out): Likewise.
6593 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6594 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6595 (test_wrapper_env): New variable. Use it to run ld.so.
6596 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6597 Use it to run ld.so.
6598 (test_wrapper_env): Likewise.
6599 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6600 $(test-wrapper) to run-iconv-test.sh.
6601 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6602 (ICONV): Use $test_wrapper.
6603 * posix/Makefile ($(objpfx)globtest.out): Pass
6604 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6605 globtest.sh, not $(run-program-prefix).
6606 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6607 (test_wrapper): Likewise.
6608 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6609 set together with run_via_rtld_prefix.
6610 (run_program_prefix): Define in terms of test_wrapper and
6611 run_via_rtld_prefix.
6612
6e6249d0
RM
66132012-10-24 Roland McGrath <roland@hack.frob.com>
6614
6615 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6616 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6617 Targets removed.
6618
6619 [BZ #14743]
6620 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6621 Declare __clock_getres, __clock_gettime, __clock_settime,
6622 __clock_nanosleep, and __clock_getcpuclockid.
6623 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6624 Remove librt_hidden_def (clock_gettime).
6625 * sysdeps/unix/clock_gettime.c: Likewise.
6626 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6627 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6628 * rt/clock_getres.c: Define __clock_getres as an alias.
6629 * sysdeps/posix/clock_getres.c: Likewise.
6630 * rt/clock_settime.c: Define __clock_settime as an alias.
6631 * sysdeps/unix/clock_settime.c: Likewise.
6632 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6633 * sysdeps/unix/clock_nanosleep.c: Likewise.
6634 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6635 * rt/clock-compat.c: New file.
6636 * rt/Makefile (librt-routines): Add clock-compat and move
6637 $(clock-routines) to ...
6638 (routines): ... here, new variable.
6639 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6640 Don't add get_clockfreq here.
6641 * rt/Versions (libc: GLIBC_2.17): New version set.
6642 Add clock_* symbols here.
6643 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6644 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6645 (GLIBC_2.17): Add clock_* symbols.
6646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6648 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6650 Likewise.
6651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6652 Likewise.
6653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6657 * NEWS: Mention the move.
6658
6659 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6660 Use __open, __read, __close rather than their public counterparts.
6661 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6662 (__get_clockfreq_via_cpuinfo): Likewise.
6663 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6664 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6665
6666 * config.h.in (HAVE_IFUNC): New #undef.
6667 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6668 was successful.
6669 * configure: Regenerated.
6670
0cae3f4b
MF
66712012-10-24 Mike Frysinger <vapier@gentoo.org>
6672
6673 * configure.in: Move READELF check to start of file.
6674 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6675 libc_cv_asm_gnu_indirect_function in the process.
6676 * configure: Regenerated.
6677
8175a253
MF
66782012-10-24 Mike Frysinger <vapier@gentoo.org>
6679
6680 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6681 send the output to /dev/null.
6682 (libc_cv_cc_with_libunwind): Likewise.
6683 (libc_cv_as_noexecstack): Likewise.
6684 * configure: Regenerate.
6685
0708a7d1
JM
66862012-10-24 Joseph Myers <joseph@codesourcery.com>
6687
10b40d85
JM
6688 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6689
0708a7d1
JM
6690 * posix/globtest.sh (TMPDIR): Do not set.
6691 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6692 (testout): Likewise.
6693
9fddec1a
AJ
66942012-10-24 Andreas Jaeger <aj@suse.de>
6695
3a8db22f
AJ
6696 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6697 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6698 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6699 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6700 posix_fadvise64, posix_fallocate64.
6701
9fddec1a
AJ
6702 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6703 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6704 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6705 Likewise.
6706 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6707 Likewise.
6708 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6709
6710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6711 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6712 <bits/fcntl-linux.h>.
6713 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6714
6715 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6716 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6717 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6718 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6719 [__WORDSIZE != 64]: Likewise.
6720
ebfd1bbd
JM
67212012-10-23 Joseph Myers <joseph@codesourcery.com>
6722
03ac099f
JM
6723 * Makeconfig (run-built-tests): New variable.
6724 * Rules [$(cross-compiling) = yes]: Change condition to
6725 [$(run-built-tests) = no].
6726 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6727 to [$(run-built-tests) = yes].
6728 * elf/Makefile [$(cross-compiling) = no]: Likewise
6729 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6730 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6731 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6732 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6733 * io/Makefile [$(cross-compiling) = no]: Likewise.
6734 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6735 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6736 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6737 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6738 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6739 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6740 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6741 * string/Makefile [$(cross-compiling) = no]: Likewise.
6742
ebfd1bbd
JM
6743 * posix/Makefile ($(objpfx)globtest.out): Pass
6744 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6745 $(rtld-installed-name).
6746 * posix/globtest.sh (elf_objpfx): Remove variable.
6747 (rtld_installed_name): Likewise.
6748 (library_path): Likewise.
6749 (run_program_prefix): New variable. Use for running globtest
6750 binary.
6751
166bca24
JB
67522012-10-23 Jim Blandy <jimb@codesourcery.com>
6753 Joseph Myers <joseph@codesourcery.com>
6754
6755 * Makeconfig (host-built-program-cmd): New variable.
6756 * elf/Makefile (tst-stackguard1-ARGS): Use
6757 $(host-built-program-cmd).
6758 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6759 (tst-spawn-ARGS): Likewise.
6760 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6761
88866099
JM
67622012-10-23 Joseph Myers <joseph@codesourcery.com>
6763 Jim Blandy <jimb@codesourcery.com>
6764
6765 * Makeconfig (run-via-rtld-prefix): New variable.
6766 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6767 (built-program-cmd): Likewise.
6768
b4b4c296
AJ
67692012-10-22 Andreas Jaeger <aj@suse.de>
6770
6771 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6772 __O_RSYNC if it exists, otherwise to O_SYNC.
6773
6fb54a22
JB
67742012-10-22 Jim Blandy <jimb@codesourcery.com>
6775 Joseph Myers <joseph@codesourcery.com>
6776
6777 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6778 /dev/null.
6779 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6780 from /dev/null
6781 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6782 /dev/null.
6783
481b90b9
AJ
67842012-10-22 Andreas Jaeger <aj@suse.de>
6785
2a0e2669
AJ
6786 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6787 Define always.
6788 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6789
76e38f9a
AJ
6790 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6791 bits/fcntl-linux.h.
6792
7cd37b43
AJ
6793 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6794 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6795
481b90b9
AJ
6796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6797 to __O_LARGEFILE.
6798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6799 to __O_LARGEFILE.
6800
aba75984
JB
68012012-10-21 Jim Blandy <jimb@codesourcery.com>
6802 Joseph Myers <joseph@codesourcery.com>
6803
6804 * config.make.in (NM): New variable.
6805
88d4247f
AJ
68062012-10-21 Andreas Jaeger <aj@suse.de>
6807
6808 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6809 definitions and declarations that are provided by
6810 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6811
f2eed205
L
68122012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6813
6814 [BZ #14683]
6815 * elf/Makefile (tests-static): Add tst-leaks1-static.
6816 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6817 ($(objpfx)tst-leaks1-static): New rule.
6818 ($(objpfx)tst-leaks1-static-mem): Likewise.
6819 (tst-leaks1-static-ENV): New macro.
6820 * elf/dl-open.c (dl_open_worker): Check the main application
6821 only if SHARED is defined.
6822 * elf/tst-leaks1-static.c: New file.
6823
335e6931
AJ
68242012-10-20 Andreas Jaeger <aj@suse.de>
6825
6826 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6827 generic values for Linux.
6828 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6829 and declarations that are provided by <bits/fcntl-linux.h> and
6830 include <bits/fcntl-linux.h>.
6831 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6832 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6833
ac5c94d3
RM
68342012-10-20 Roland McGrath <roland@hack.frob.com>
6835
6836 * io/fcntl.h: Move include of <bits/types.h> to the top and
6837 include it unconditionally.
6838
de54b33a
L
68392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6840
228cfb01
L
6841 * wcsmbs/Makefile (tests-ifunc): New variable.
6842 (tests): Add $(tests-ifunc).
6843 * wcsmbs/test-wcschr-ifunc.c: New file.
6844 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6845 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6846 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6847 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6848 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6849
69f07e5f
L
6850 * string/Makefile (tests-ifunc): New variable.
6851 (tests): Add $(tests-ifunc).
6852 * string/test-memccpy.c (TEST_NAME): New macro.
6853 * string/test-memchr.c (TEST_NAME): Likewise.
6854 * string/test-memcmp.c (TEST_NAME): Likewise.
6855 * string/test-memcpy.c (TEST_NAME): Likewise.
6856 * string/test-memmem.c (TEST_NAME): Likewise.
6857 * string/test-memmove.c (TEST_NAME): Likewise.
6858 * string/test-memset.c (TEST_NAME): Likewise.
6859 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6860 * string/test-stpcpy.c (TEST_NAME): Likewise.
6861 * string/test-stpncpy.c (TEST_NAME): Likewise.
6862 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6863 * string/test-strcasestr.c (TEST_NAME): Likewise.
6864 * string/test-strcat.c (TEST_NAME): Likewise.
6865 * string/test-strchr.c (TEST_NAME): Likewise.
6866 * string/test-strcmp.c(TEST_NAME): Likewise.
6867 * string/test-strcpy.c (TEST_NAME): Likewise.
6868 * string/test-strcspn.c (TEST_NAME): Likewise.
6869 * string/test-strlen.c (TEST_NAME): Likewise.
6870 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6871 * string/test-strncmp.c (TEST_NAME): Likewise.
6872 * string/test-strncpy.c (TEST_NAME): Likewise.
6873 * string/test-strnlen.c (TEST_NAME): Likewise.
6874 * string/test-strpbrk.c (TEST_NAME): Likewise.
6875 * string/test-strrchr.c (TEST_NAME): Likewise.
6876 * string/test-strspn.c (TEST_NAME): Likewise.
6877 * string/test-strstr.c (TEST_NAME): Likewise.
6878 * string/test-bcopy-ifunc.c: New file.
6879 * string/test-bzero-ifunc.c: Likewise.
6880 * string/test-memccpy-ifunc.c: Likewise.
6881 * string/test-memchr-ifunc.c: Likewise.
6882 * string/test-memcmp-ifunc.c: Likewise.
6883 * string/test-memcpy-ifunc.c: Likewise.
6884 * string/test-memmem-ifunc.c: Likewise.
6885 * string/test-memmove-ifunc.c: Likewise.
6886 * string/test-mempcpy-ifunc.c: Likewise.
6887 * string/test-memset-ifunc.c: Likewise.
6888 * string/test-rawmemchr-ifunc.c: Likewise.
6889 * string/test-stpcpy-ifunc.c: Likewise.
6890 * string/test-stpncpy-ifunc.c: Likewise.
6891 * string/test-strcasecmp-ifunc.c: Likewise.
6892 * string/test-strcasestr-ifunc.c: Likewise.
6893 * string/test-strcat-ifunc.c: Likewise.
6894 * string/test-strchr-ifunc.c: Likewise.
6895 * string/test-strchrnul-ifunc.c: Likewise.
6896 * string/test-strcmp-ifunc.c: Likewise.
6897 * string/test-strcpy-ifunc.c: Likewise.
6898 * string/test-strcspn-ifunc.c: Likewise.
6899 * string/test-strlen-ifunc.c: Likewise.
6900 * string/test-strncasecmp-ifunc.c: Likewise.
6901 * string/test-strncat-ifunc.c: Likewise.
6902 * string/test-strncmp-ifunc.c: Likewise.
6903 * string/test-strncpy-ifunc.c: Likewise.
6904 * string/test-strnlen-ifunc.c: Likewise.
6905 * string/test-strpbrk-ifunc.c: Likewise.
6906 * string/test-strrchr-ifunc.c: Likewise.
6907 * string/test-strspn-ifunc.c: Likewise.
6908 * string/test-strstr-ifunc.c: Likewise.
6909
de54b33a
L
6910 * debug/Makefile (tests-ifunc): New variable.
6911 (tests): Add $(tests-ifunc).
6912 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6913 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6914 * debug/test-stpcpy_chk-ifunc.c: New file.
6915 * debug/test-strcpy_chk-ifunc.c: Likewise.
6916
88481c16
SP
69172012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6918
6919 [BZ #13601]
6920 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6921 header is not read in.
6922
135948bd
JM
69232012-10-19 Joseph Myers <joseph@codesourcery.com>
6924
89f1c388
JM
6925 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6926 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6927 directly. Pass built executable to script as
6928 $(built-program-cmd).
6929 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6930 $testprogram without using LD_LIBRARY_PATH and $ldso.
6931
e40a0d21
JM
6932 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6933 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6934 $(rtld-installed-name).
6935 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6936 (rtld_installed_name): Likewise.
6937 (library_path): Likewise.
6938 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6939 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6940 $(run-program-prefix) to tst-tables.sh.
6941 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6942 it to run tst-table-from and tst-table-to.
6943 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6944 Pass it to tst-table.sh.
6945 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6946 $(run-program-prefix) to tst-gettext.sh.
6947 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6948 tst-translit.sh.
6949 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6950 tst-gettext2.sh.
6951 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6952 to run tst-gettext.
6953 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6954 to run tst-gettext2.
6955 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6956 to run tst-translit.
6957 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6958 $(run-program-prefix) to tst-mtrace.sh.
6959 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6960 to run tst-mtrace.
6961 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6962 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6963 $(rtld-installed-name).
6964 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6965 (rtld_installed_name): Likewise.
6966 (run_program_prefix): New variable. Use it to run wordexp-test.
6967
728e272a
JM
6968 * Makeconfig (ARCH): Remove all definitions.
6969 (machine): Likewise.
6970 [ARCH]: Remove conditional code.
6971 [!objdir]: Give error.
6972 [!objdir] (objpfx): Remove.
6973 [!objdir] (common-objpfx): Likewise.
6974 [!objdir] (common-objdir): Likewise.
6975 * configure.in (config_makefile): Remove. Hardcode Makefile in
6976 AC_CONFIG_FILES call.
6977 * configure: Regenerated.
6978
d528cdcf
JM
6979 [BZ #13888]
6980 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6981 or TMPDIR.
6982 (testout): Likewise.
6983
135948bd
JM
6984 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6985 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6986 $(rtld-installed-name).
6987 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6988 (rtld_installed_name): Likwise.
6989 (runit): Remove function.
6990 (run_getconf): New variable, Use it for running getconf binary.
6991
38c78296
L
69922012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6993
6994 [BZ #14716]
6995 * string/test-memmem.c (check_result): New function.
6996 (do_one_test): Use it.
6997 (check1): New function.
6998 (test_main): Use it.
6999
d077f65f
MT
70002012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7001
7002 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7003
ced52c71
JM
70042012-10-18 Joseph Myers <joseph@codesourcery.com>
7005
7006 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7007 (_G_LSEEK64): Likewise.
7008 (_G_MMAP64): Likewise.
7009 (_G_FSTAT64): Likewise.
7010 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7011 (_G_LSEEK64): Likewise.
7012 (_G_MMAP64): Likewise.
7013 (_G_FSTAT64): Likewise.
7014 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7015 unconditional. Call __mmap64 directly.
7016 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7017 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7018 __lseek64 directly.
7019 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7020 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7021 __mmap64 directly.
7022 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7023 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7024 __lseek64 directly.
7025 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7026 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7027 __lseek64 directly.
7028 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7029 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7030 __lseek64 directly.
7031 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7032 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7033 __fxstat64 directly.
7034 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7035 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7036 unconditional.
7037 (freopen64) [!_G_OPEN64]: Remove conditional code.
7038 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7039 unconditional.
7040 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7041 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7042 unconditional.
7043 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7044 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7045 unconditional.
7046 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7047 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7048 unconditional.
7049 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7050 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7051 unconditional.
7052 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7053 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7054 unconditional.
7055 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7056 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7057 unconditional.
7058 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7059
b741de23
SP
70602012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7061
7062 [BZ #12140]
7063 * manual/memory.texi (Malloc Tunable Parameters): Add note
7064 about free list pointers overwriting some perturb bytes.
7065 Wording suggested by Roland McGrath.
7066
f9b9d9c9
JM
70672012-10-17 Joseph Myers <joseph@codesourcery.com>
7068
7069 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7070 (lgamma_test): Likewise.
7071 (tgamma_test): Likewise.
7072
172a631a
FW
70732012-10-16 Florian Weimer <fweimer@redhat.com>
7074
7075 [BZ #14700]
7076 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7077 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7078
e9f37252
MK
70792012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7080
7081 * NEWS: Mention BZ #14716.
7082 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7083 when removing AVAILABLE1_USES_J macro.
7084
d394eb74
L
70852012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7086
7087 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7088 (__bswap_64): __uint64_t for unsigned 64-bit int.
7089
ca38dc17
AS
70902012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7091
7092 * include/string.h (memmem): Declare libc hidden alias.
7093 * string/memmem.c (memmem): Define libc hidden alias.
7094 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7095 __read, __close instead of open, read, close.
7096
9a387d1f
L
70972012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7098
ac49ecaf
L
7099 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7100 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7101 global and hidden.
7102 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7103 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7104 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7105 Likewise.
7106 (__rawmemchr_sse2): Likewise.
7107 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7108 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7109 (__strchr_sse2): Likewise.
7110 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7111 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7112 (__strcasecmp_sse2): Likewise.
7113 (__strncasecmp_sse2): Likewise.
7114 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7115 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7116 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7117 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7118 (__strrchr_sse2): Likewise.
7119 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7120 ifunc-impl-list.c.
7121 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7122 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7123 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7124 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7125 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7126 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7127 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7128 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7129 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7130 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7131 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7132 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7133 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7134 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7135 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7136 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7137 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7138 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7139 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7140 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7141 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7142 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7143 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7144 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7145 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7146 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7147 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7148 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7149 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7150 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7151
b090e8ea
L
7152 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7153 global and hidden.
7154 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7155 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7156 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7157 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7158 Likewise.
7159 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7160 Likewise.
7161 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7162 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7163 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7164 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7165 ifunc-impl-list.c.
7166 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7167 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7168 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7169 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7170 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7171 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7172 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7173 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7174 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7175 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7176 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7177 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7178 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7179 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7180 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7181 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7182 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7183 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7184 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7185 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7186 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7187 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7188 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7189 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7190 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7191 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7192 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7193 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7194 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7195 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7196 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7197 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7198 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7199 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7200 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7201 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7202 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7203 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7204 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7205 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7206 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7207
11dd4af6
L
7208 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7209 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7210 * include/ifunc-impl-list.h: New file.
7211 * misc/ifunc-impl-list.c: Likewise.
7212 * misc/Makefile (routines): Add ifunc-impl-list.
7213 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7214 * string/test-string.h: Include <ifunc-impl-list.h>.
7215 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7216 impl_array): New variables.
7217 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7218 are defined.
7219 (test_init): Call __libc_ifunc_impl_list to initialize
7220 func_list if TEST_IFUNC and TEST_NAME are defined.
7221
9a387d1f
L
7222 * string/Makefile (strop-tests): Add bcopy and bzero.
7223 * string/test-bcopy.c: New file.
7224 * string/test-bzero.c: Likewise.
7225 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7226 defined.
7227 * string/test-memset.c: Support bzero test if TEST_BZERO is
7228 defined.
7229 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7230 __libc_memmove.
7231 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7232 __libc_memset.
7233 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7234 of memset.
7235
472371b9
JM
72362012-10-10 Joseph Myers <joseph@codesourcery.com>
7237
1e4a9536
JM
7238 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7239 * configure: Regenerated.
7240
d173d12e
JM
7241 * Makeconfig (+link-static-before-libc): Don't include
7242 $(link-static-libc).
7243
472371b9
JM
7244 * libio/libio.h (_IO_pos_t): Remove.
7245
89a3ad0b
AO
72462012-10-10 Alexandre Oliva <aoliva@redhat.com>
7247
7248 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7249 McGrath.
7250
e7451425
AO
72512012-10-10 Alexandre Oliva <aoliva@redhat.com>
7252
7253 * crypt/crypt-entry.c: Include fips-private.h.
7254 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7255 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7256 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7257 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7258
4ba74a35
AO
72592012-10-10 Alexandre Oliva <aoliva@redhat.com>
7260
7261 * crypt/crypt-private.h: Include stdbool.h.
7262 (_ufc_setup_salt_r): Return bool.
7263 * crypt/crypt-entry.c: Include errno.h.
7264 (__crypt_r): Return NULL with EINVAL for bad salt.
7265 * crypt/crypt_util.c (bad_for_salt): New.
7266 (_ufc_setup_salt_r): Check that salt is long enough and within
7267 the specified alphabet.
7268 * crypt/badsalttest.c: New file.
7269 * crypt/Makefile (tests): Add it.
7270 ($(objpfx)badsalttest): New.
7271
f96f1242
MK
72722012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7273
7274 * NEWS: Add entry for BZ #14602.
7275
0e8e0c1c
JM
72762012-10-09 Joseph Myers <joseph@codesourcery.com>
7277
7278 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7279 type-generic.
7280 * math/libm-test.inc: Update comment listing what functions and
7281 macros are tested.
7282 (isgreater_test): New function.
7283 (isgreaterequal_test): Likewise.
7284 (isless_test): Likewise.
7285 (islessequal_test): Likewise.
7286 (islessgreater_test): Likewise.
7287 (isunordered_test): Likewise.
7288 (main): Call the new functions.
7289
273edc5e
RM
72902012-10-09 Roland McGrath <roland@hack.frob.com>
7291
b8493de0
RM
7292 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7293 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7294 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7295 * sysdeps/i386/configure: Regenerated.
7296 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7297 * sysdeps/mach/configure: Regenerated.
7298 * sysdeps/mach/hurd/configure: Regenerated.
7299 * sysdeps/powerpc/configure: Regenerated.
7300 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7301 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7302 * sysdeps/s390/s390-32/configure: Regenerated.
7303 * sysdeps/s390/s390-64/configure: Regenerated.
7304 * sysdeps/sh/configure: Regenerated.
7305 * sysdeps/sparc/configure: Regenerated.
7306 * sysdeps/unix/sysv/linux/configure: Regenerated.
7307 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7308 * sysdeps/x86_64/configure: Regenerated.
7309
273edc5e
RM
7310 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7311 defined. Don't check if MAP is NULL.
7312
c8450f70
JM
73132012-10-09 Joseph Myers <joseph@codesourcery.com>
7314
7315 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7316 (_G_stat64): Likewise.
7317 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7318 (_G_stat64): Likewise.
7319 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7320 instead of struct _G_stat64.
7321 * libio/fileops.c (mmap_remap_check): Likewise.
7322 (decide_maybe_mmap): Likewise.
7323 (_IO_new_file_seekoff): Likewise.
7324 (_IO_file_stat): Likewise.
7325 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7326 _G_off64_t.
7327 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7328 instead of struct _G_stat64.
7329 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7330
57e605ba
MK
73312012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7332
7333 [BZ #14602]
7334 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7335 Replace with ...
7336 (CHECK_EOL): New macro.
7337 (two_way_short_needle): Check beginning of haystack for EOL. Use
7338 CHECK_EOL.
7339 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7340 Replace with CHECK_EOL.
7341 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7342 Replace with CHECK_EOL.
7343
ef1bb361
JM
73442012-10-08 Joseph Myers <joseph@codesourcery.com>
7345
7346 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7347 type-generic.
7348 * math/libm-test.inc: Update comment listing what functions and
7349 macros are tested.
7350 (finite_test): New function.
7351 (isinf_test): Likewise.
7352 (isnan_test): Likewise.
7353 (fpclassify_test): Test subnormal input.
7354 (isfinite_test): Likewise.
7355 (isnormal_test): Likewise.
7356 (main): Call the new functions.
7357
55f11534
JN
73582012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7359
7360 [BZ #14660]
7361 * Makerules (%.dynsym): Force C locale when running
7362 $(OBJDUMP) --dynamic-syms.
7363
1ab29350
AS
73642012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7365
7366 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7367 <stdint.h>.
7368
f1ecb7ef
DM
73692012-10-06 David S. Miller <davem@davemloft.net>
7370
7371 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7372 upper 32-bits of the length value in %o2 since we use branch-on-register
7373 tests which consider the entire 64-bit register.
7374
5d41d91a
L
73752012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7376
7377 * string/test-strstr.c (check2): Add a test for page boundary.
7378
3baddb72
DM
73792012-10-05 David S. Miller <davem@davemloft.net>
7380
7381 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7382 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7383 file.
7384 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7385 sysdep_routines.
7386 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7387 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7388 and bzero when HWCAP_SPARC_CRYPTO is present.
7389
9cee5585
L
73902012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7391
d7e0dab9
L
7392 [BZ #14602]
7393 * string/test-strstr.c (check2): New function.
7394 (test_main): Call check2.
7395
03759f47
L
7396 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7397 and bug-strchr1.
7398 * string/bug-strcasestr1.c (do_test): Moved to ...
7399 * string/test-strcasestr.c (check1): Here. New function.
7400 (do_one_test): Break out result checking code into ...
7401 (check_result): This. New function.
7402 (do_one_test): Call check_result.
7403 (test_main): Call check1.
7404 * string/bug-strchr1.c (do_test): Moved to ...
7405 * string/test-strchr.c (check1): Here. New function.
7406 (do_one_test): Break out result checking code into ...
7407 (check_result): This. New function.
7408 (do_one_test): Call check_result.
7409 (test_main): Call check1.
7410 * string/bug-strstr1.c (main): Moved to ...
046f153e 7411 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7412 (do_one_test): Break out result checking code into ...
7413 (check_result): This. New function.
7414 (do_one_test): Call check_result.
7415 (test_main): Call check1.
7416 * string/bug-strcasestr1.c: Removed.
7417 * string/bug-strchr1.c: Likewise.
7418 * string/bug-strstr1.c: Likewise.
7419
53cea63e
L
7420 * elf/Makefile (dl-routines): Add hwcaps.
7421 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7422 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7423 (_dl_important_hwcaps): Moved to ...
7424 * elf/dl-hwcaps.c: Here. New file.
7425 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7426
9cee5585 7427 [BZ #14557]
bb859b06
L
7428 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7429 if IS_IN_rtld isn't defined.
7430
9cee5585
L
7431 * elf/dl-support.c (_dl_sysinfo_map): New.
7432 Include "get-dynamic-info.h" and "setup-vdso.h".
7433 (_dl_non_dynamic_init): Call setup_vdso.
7434 * elf/dynamic-link.h: Don't include <assert.h>.
7435 (elf_get_dynamic_info): Moved to ...
7436 * elf/get-dynamic-info.h: Here. New file.
7437 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7438 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7439 * elf/setup-vdso.h: Here. New file.
7440 * elf/rtld.c: Include "setup-vdso.h".
7441 (dl_main): Call setup_vdso.
7442
23c31b76
JM
74432012-10-05 Joseph Myers <joseph@codesourcery.com>
7444
28234b07
JM
7445 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7446 creal in comment listing functions tested. List finite, isinf,
7447 isnan, isless, islessequal, isgreater, isgreaterequal,
7448 islessgreater, isunordered, lgamma_r and pow10 as functions and
7449 macros not tested. Mention which functions not tested are aliases
7450 for other functions. Fix typo. Note that signs of NaNs are not
7451 tested.
7452
23c31b76
JM
7453 * scripts/config.guess: Update from config.git.
7454 * scripts/config.sub: Likewise.
7455
9043e228
RM
74562012-10-04 Roland McGrath <roland@hack.frob.com>
7457
7458 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7459 * misc/madvise.c (madvise): Renamed to __madvise.
7460 Make madvise a weak alias.
7461 * include/sys/mman.h: Declare __madvise.
7462 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7463 * sysdeps/unix/syscalls.list
7464 (madvise): Make __madvise the strong name, and madvise a weak alias.
7465 * sysdeps/unix/sysv/linux/syscalls.list
7466 (madvise, mmap): Remove redundant entries.
7467 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7468 * malloc/malloc.c (mtrim): Likewise.
7469 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7470
f57f8055
RM
74712012-10-03 Roland McGrath <roland@hack.frob.com>
7472
7473 * sysdeps/mach/hurd/dl-cache.c: File removed.
7474 * config.h.in (USE_LDCONFIG): New #undef.
7475 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7476 * configure: Regenerated.
7477 * elf/Makefile (dl-routines): Add dl-cache only under
7478 [$(use-ldconfig) = yes].
7479 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7480 cache on [USE_LDCONFIG].
7481 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7482 [USE_LDCONFIG].
7483 * elf/rtld.c (dl_main): Likewise.
7484
5bb0c10a
PT
74852012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7486
7487 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7488 _SC_LEVEL4_CACHE_LINESIZE.
7489
010188c6
RM
74902012-10-03 Roland McGrath <roland@hack.frob.com>
7491
7492 * sysdeps/unix/bsd/confstr.h: File removed.
7493
b6c5ec07
AO
74942012-10-02 Alexandre Oliva <aoliva@redhat.com>
7495
7496 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7497 sys/sdt-config.h.
7498
408223d4
RM
74992012-10-02 Roland McGrath <roland@hack.frob.com>
7500
7501 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7502 Make 'mapoff' field ElfW(Off) rather than off_t.
7503
bb9510dc
DL
75042012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7505
fc997c6e
DL
7506 * nscd/Makefile: Remove nscd-cflags and all its users.
7507 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7508 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7509
bb9510dc
DL
7510 [BZ #10631]
7511 * malloc.c (malloc_printerr): Clarify error message.
7512
05699367
L
75132012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7514
7515 [BZ #14648]
7516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7517 Set bit_FMA_Usable if FMA is supported.
7518 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7519 macro.
7520 (bit_FMA4_Usable): Updated.
7521 (index_FMA_Usable): New macro.
7522 (CPUID_FMA): Likewise
7523 (HAS_FMA): Defined with bit_FMA_Usable.
7524
51367701
RM
75252012-10-01 Roland McGrath <roland@hack.frob.com>
7526
7527 * bits/types.h (__swblk_t): Type removed.
7528 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7529 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7530 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7531 (__SWBLK_T_TYPE): Likewise.
7532 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7533 (__SWBLK_T_TYPE): Likewise.
7534 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7535 (__SWBLK_T_TYPE): Likewise.
7536 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7537 (__SWBLK_T_TYPE): Likewise.
7538
4d57bf63 75392012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7540 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7541
7542 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7543 (xdr_mapname): Use YPMAXMAP as maxsize.
7544 (xdr_peername): Use YPMAXPEER as maxsize.
7545 (xdr_keydat): Use YPAXRECORD as maxsize.
7546 (xdr_valdat): Use YPMAXRECORD as maxsize.
7547
93c65d43
RM
75482012-10-01 Roland McGrath <roland@hack.frob.com>
7549
497a03d6
RM
7550 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7551
93c65d43
RM
7552 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7553 * csu/init-first.c: ... here.
7554 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7555 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7556 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7557 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7558 * sysdeps/i386/init-first.c: File removed.
7559 * sysdeps/sh/init-first.c: File removed.
7560
bec749fd
JM
75612012-10-01 Joseph Myers <joseph@codesourcery.com>
7562
7563 [BZ #14645]
7564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7565 if x * y might underflow to zero and z is zero.
7566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7567 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7568 * math/libm-test.inc (min_subnorm_value): New variable.
7569 (fma_test): Add more tests.
7570 (fma_test_towardzero): Likewise.
7571 (fma_test_downward): Likewise
7572 (fma_test_upward): Likewise.
7573 (initialize): Set min_subnorm_value.
7574
8ec5b013
JM
75752012-09-29 Joseph Myers <joseph@codesourcery.com>
7576
7577 [BZ #14638]
7578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7579 0 + 0.
7580 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7581 mode for addition resulting in exact zero.
7582 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7583 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7584 exact 0 + 0.
7585 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7586 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7587 * math/libm-test.inc (fma_test): Add more tests.
7588 (fma_test_towardzero): New function.
7589 (fma_test_downward): Likewise.
7590 (fma_test_upward): Likewise.
7591 (main): Call the new functions.
7592
b1fa802e
DM
75932012-09-28 David S. Miller <davem@davemloft.net>
7594
7595 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7596
d3b9fd9e
RM
75972012-09-28 Roland McGrath <roland@hack.frob.com>
7598
ea4d37b3
RM
7599 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7600 instead of SIGALRM.
7601
ac51c949
RM
7602 * sysdeps/gnu/_G_config.h: Moved to ...
7603 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7604 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7605 * sysdeps/generic/_G_config.h: ... here.
7606
28c195f7
RM
7607 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7608
848917f9
RM
7609 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7610
6bacf05b
RM
7611 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7612 Conditionalize target on [libnss_test1.so-version].
7613
91363dbb
RM
7614 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7615
cc87f7d8
RM
7616 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7617 (elfobjdir): Move out of conditionals.
7618
b1c608fe
RM
7619 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7620 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7621 (__nss_lookup_function): Conditionalize label remove_from_tree on
7622 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7623
1d9a6d96
DM
76242012-09-28 David S. Miller <davem@davemloft.net>
7625
7626 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7627 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7628 file.
7629 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7630 sysdep_routines.
7631 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7633 when HWCAP_SPARC_CRYPTO is present.
7634
72581615
PT
76352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7636
7637 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7638
715a900c
JL
76392012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7640
7641 [BZ #6530]
7642 * stdio-common/vfprintf.c (process_string_arg): Revert
7643 2000-07-22 change.
7644
76452011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7646
7647 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7648 for testcase.
7649 * stdio-common/tst-sprintf.c: Include <locale.h>
7650 (main): Test sprintf's handling of incomplete multibyte
7651 characters.
7652
9bac1d86
L
76532012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7654
7655 * elf/dl-runtime.c (VERSYMIDX): Removed.
7656 * elf/dl-version.c (VERSYMIDX): Likewise.
7657 * elf/do-rel.h (VERSYMIDX): Likewise.
7658 (VALIDX): Likewise.
7659 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7660 * elf/rtld.c (VALIDX): Likewise.
7661 (ADDRIDX): Likewise.
9bac1d86
L
7662 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7663 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7664 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
7665 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7666 (VALIDX): Likewise.
7667 (ADDRIDX): Likewise.
9bac1d86 7668
b31606c0
PT
76692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7670
7671 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7672
11541177
JL
76732012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7674
7675 [BZ #11438]
7676 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7677 to global scope.
7678 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7679 addresses are in the same scope as 192.0.2/24.
7680 * posix/gai.conf: Document new scope table defaults.
7681
adb26fae
SP
76822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7683
7684 [BZ #5298]
7685 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7686 for ftell. Compute offsets from write pointers instead.
7687 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7688
4573c6b0
SP
76892012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7690
7691 [BZ #14543]
7692 * libio/Makefile (tests): New test case tst-fseek.
7693 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7694 combination works in wide mode.
7695 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7696 state when the external buffer state changes.
7697
aa9bbfe6
DM
76982012-09-27 David S. Miller <davem@davemloft.net>
7699
7700 [BZ #14376]
7701 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7702 pass reloc->r_addend in as the 'high' argument to
7703 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7704
784421e7
DM
7705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7706
c39bc8b8
PT
77072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7708
7709 * rt/tst-aio2.c: Include <pthread.h>.
7710 * rt/tst-aio3.c: Likewise.
7711
1ccc2399
SE
77122012-09-27 Steve Ellcey <sellcey@mips.com>
7713
7714 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7715
31ed4153
L
77162012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7717
25f5f885
L
7718 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7719 contents on [SHARED].
31ed4153 7720
b7bfe116
MP
77212012-09-26 Marek Polacek <polacek@redhat.com>
7722
7723 [BZ #14530]
7724 [BZ #13741]
7725 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7726 for C++ and GCC <4.3 as well as for non GCC compilers.
7727
43c4edba
MT
77282012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7729
7730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7731
6a1bf82f
RM
77322012-09-25 Roland McGrath <roland@hack.frob.com>
7733
7734 * Makefile.in (all, install): Declare with .PHONY.
7735 Reported by Michael Hope <michael.hope@linaro.org>.
7736
8ad11b9a
TMQMF
77372012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7738
7739 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7740 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7741 system header.
7742 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7743 Likewise.
7744 (sydep_routines): Add the new and the internal functions.
7745 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7746 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7748 (GLIBC_2.17): Add the new function.
7749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7750 (GLIBC_2.17): Likewise.
7751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7752 (GLIBC_2.17): Likewise.
7753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7754 (GLIBC_2.17): Likewise.
7755 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7756
7e2fca8d
AM
77572012-09-25 Alan Modra <amodra@gmail.com>
7758
7759 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7760 Add release barrier before setting once_control to say
7761 initialisation is done. Add hints on lwarx. Use macro in
7762 place of isync.
7763 (clear_once_control): Add release barrier.
7764
b87c4b24
JM
77652012-09-25 Joseph Myers <joseph@codesourcery.com>
7766
d032e0d2
JM
7767 [BZ #13629]
7768 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7769 specially.
7770 * math/s_clog10.c (__clog10): Likewise.
7771 * math/s_clog10f.c (__clog10f): Likewise.
7772 * math/s_clog10l.c (__clog10l): Likewise.
7773 * math/s_clogf.c (__clogf): Likewise.
7774 * math/s_clogl.c (__clogl): Likewise.
7775 * math/Makefile (libm-calls): Add x2y2m1.
7776 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7777 (__x2y2m1): Likewise.
7778 (__x2y2m1l): Likewise.
7779 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7780 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7781 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7782 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7783 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7784 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7785 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7786 * sysdeps/i386/fpu/libm-test-ulps: Update.
7787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7788
b87c4b24
JM
7789 [BZ #14621]
7790 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7791 int as type of variable DEPTH.
7792 (glob): Use size_t instead of int as type of variables NEWCOUNT
7793 and OLD_PATHC.
7794
6d3bf199
LD
77952012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7796
22bf5c17
LD
7797 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7798 Add s_sincosf-sse2.
7799 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7800 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7801 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7802 macros for using routine as __sincosf_ia32.
7803 Use macro for function declaration and weak_alias.
7804 * sysdeps/i386/fpu/libm-test-ulps: Update.
7805
7806 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7808
7809 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
7810 subnormal argument.
7811 * math/s_cexpf.c (__cexpf): Likewise.
7812 * math/s_csinf.c (__csinf): Likewise.
7813 * math/s_csinhf.c (__csinhf): Likewise.
7814 * math/s_ctanf.c (__ctanf): Likewise.
7815 * math/s_ctanhf.c (__ctanhf): Likewise.
7816 * math/s_ccosh.c (__ccoshf): Likewise.
7817 * math/s_cexp.c (__cexpl): Likewise.
7818 * math/s_csin.c (__csin): Likewise.
7819 * math/s_csinh.c (__csinh): Likewise.
7820 * math/s_ctan.c (__ctan): Likewise.
7821 * math/s_ctanh.c (ctanh): Likewise.
7822 * math/s_ccoshl.c (__ccoshl): Likewise.
7823 * math/s_cexpl.c (__cexpl): Likewise.
7824 * math/s_csinl.c (__csinl): Likewise.
7825 * math/s_csinhl.c (__csinhl): Likewise.
7826 * math/s_ctanl.c (__ctanl): Likewise.
7827 * math/s_ctanhl.c (__ctanhl): Likewise.
7828
203e5603
JM
78292012-09-25 Joseph Myers <joseph@codesourcery.com>
7830
7831 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7832 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7833 (_IO_off_t): Define to __off_t, not _G_off_t.
7834 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7835 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7836 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7837 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7838 type of __dummy and __dummy2 fields.
7839 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7840 (_G_ssize_t): Likewise.
7841 (_G_off_t): Likewise.
7842 (_G_pid_t): Likewise.
7843 (_G_uid_t): Likewise.
7844 (_G_wchar_t): Likewise.
7845 (_G_wint_t): Likewise.
7846 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7847 (_G_ssize_t): Likewise.
7848 (_G_off_t): Likewise.
7849 (_G_pid_t): Likewise.
7850 (_G_uid_t): Likewise.
7851 (_G_wchar_t): Likewise.
7852 (_G_wint_t): Likewise.
7853 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7854 (_G_ssize_t): Likewise.
7855 (_G_off_t): Likewise.
7856 (_G_pid_t): Likewise.
7857 (_G_uid_t): Likewise.
7858 (_G_wchar_t): Likewise.
7859 (_G_wint_t): Likewise.
7860
9fab36eb
SP
78612012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7862
7863 * malloc/arena.c: Include malloc-sysdep.h.
7864 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7865 is sufficient to shrink the heap or an unmap is needed.
7866 * sysdeps/generic/malloc-sysdep.h: New file. Define
7867 new function check_may_shrink_heap.
7868 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7869 new function check_may_shrink_heap.
7870
2b4f00d1
SP
78712012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7872
7873 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7874 comments.
7875
9a9028b1
DL
78762012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7877
57c69bef
DL
7878 * catgets/test-gencat.sh: Add "set -e".
7879 * elf/tst-pathopt.sh: Likewise.
7880 * grp/tst_fgetgrent.sh: Likewise.
7881 * iconvdata/run-iconv-test.sh: Likewise.
7882 * intl/tst-gettext.sh: Likewise.
7883 * intl/tst-gettext2.sh: Likewise.
7884 * intl/tst-gettext4.sh: Likewise.
7885 * intl/tst-gettext6.sh: Likewise.
7886 * intl/tst-translit.sh: Likewise.
7887 * io/ftwtest-sh: Likewise.
7888 * libio/test-freopen.sh: Likewise.
7889 * malloc/tst-mtrace.sh: Likewise.
7890 * posix/globtest.sh: Likewise.
7891 * posix/tst-getconf.sh: Likewise.
7892 * posix/wordexp-tst.sh: Likewise.
7893 * stdio-common/tst-printf.sh: Likewise.
7894 * stdio-common/tst-unbputc.sh: Likewise.
7895 * stdlib/tst-fmtmsg.sh: Likewise.
7896 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7897 * catgets/Makefile: Do not specify -e option when running
7898 testsuite shell scripts.
7899 * elf/Makefile: Likewise.
7900 * grp/Makefile: Likewise.
7901 * iconvdata/Makefile: Likewise.
7902 * intl/Makefile: Likewise.
7903 * io/Makefile: Likewise.
7904 * libio/Makefile: Likewise.
7905 * malloc/Makefile: Likewise.
7906 * posix/Makefile: Likewise.
7907 * stdio-common/Makefile: Likewise.
7908 * stdlib/Makefile: Likewise.
7909 * sysdeps/x86_64/Makefile: Likewise.
7910
9a9028b1
DL
7911 * io/ftwtest-sh: Add copyright header.
7912 * posix/globtest.sh: Likewise.
7913 * posix/tst-getconf.sh: Likewise.
7914 * posix/wordexp-tst.sh: Likewise.
7915 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7916
ced6f16e
L
79172012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7918
94b32c39
L
7919 [BZ #13679]
7920 * Makeconfig (+link): Defined as $(+link-static) if
7921 $(build-shared) isn't yes.
7922 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7923 isn't yes.
7924 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7925
189e935b
L
7926 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7927
ced6f16e
L
7928 [BZ #14562]
7929 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7930 new chunk size with MALLOC_ALIGN_MASK.
7931
a9f8e53a
JM
79322012-09-24 Joseph Myers <joseph@codesourcery.com>
7933
7934 [BZ #5044]
7935 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7936 <rounding-mode.h>.
7937 (__printf_fphex): Determine rounding using get_rounding_mode and
7938 round_away.
7939 * stdio-common/tst-printf-round.c (struct hex_test): New
7940 structure.
7941 (hex_tests): New variable.
7942 (test_hex_in_one_mode): New function.
7943 (do_test): Also run tests for hex float output.
7944
43153109
JM
79452012-09-21 Joseph Myers <joseph@codesourcery.com>
7946
7947 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7948 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7949 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7950 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7951 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7952 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7953 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7954 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7955
8a26625d
JM
79562012-09-20 Joseph Myers <joseph@codesourcery.com>
7957
7958 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7959 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7960 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7961 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7962
f3fd569c
DL
79632012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7964
7965 [BZ #14579]
7966 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7967 mode only.
7968 * elf/tst-rtld-load-self.sh: New test.
7969 * elf/Makefile: Run it.
7970
63bbedd4
JM
79712012-09-18 Joseph Myers <joseph@codesourcery.com>
7972
7973 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7974 (tst-writev-ENV): Remove.
7975 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7976
626f8b6a
CM
79772012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7978
7979 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7980
b7aaa4d6
JM
79812012-09-17 Joseph Myers <joseph@codesourcery.com>
7982
7983 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7984 unconditional.
7985 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7986 Likewise.
7987 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7988 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7989 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7990 Likewise.
7991
65513990
L
79922012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7993
7994 [BZ #14587]
7995 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7996 * config.make.in (have-cpp-asm-debuginfo): Removed.
7997 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7998 * configure: Regenerated.
7999
784761be
JM
80002012-09-14 Joseph Myers <joseph@codesourcery.com>
8001
8002 [BZ #5044]
8003 * stdio-common/printf_fp.c: Include <stdbool.h> and
8004 <rounding-mode.h>.
8005 (___printf_fp): Determine rounding using get_rounding_mode and
8006 round_away.
8007 * stdio-common/tst-printf-round.c: New file.
8008 * stdio-common/Makefile (tests): Add tst-printf-round.
8009 (link-libm): New variable.
8010 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8011
9503345f
L
80122012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8013
8014 [BZ #14576]
8015 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8016 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8017 Likewise.
8018 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8019 Likewise.
8020
ad35fc00
JM
80212012-09-13 Joseph Myers <joseph@codesourcery.com>
8022
8023 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8024 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8025 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8026 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8027
6c9b0f68
JM
80282012-09-12 Joseph Myers <joseph@codesourcery.com>
8029
8030 [BZ #14518]
8031 * include/rounding-mode.h: New file.
8032 * sysdeps/generic/get-rounding-mode.h: Likewise.
8033 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8034 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8035 (MAX_VALUE): New macro.
8036 (MIN_VALUE): Likewise.
8037 (overflow_value): New function.
8038 (underflow_value): Likewise.
8039 (round_and_return): Use overflow_value and underflow_value to
8040 determine return values in overflow and underflow cases. Use
8041 round_away to determine rounding depending on rounding mode.
8042 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8043 determine return values in overflow and underflow cases.
8044 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8045 (struct test_results): New structure.
8046 (struct test): Use struct test_results to store expected results
8047 for all rounding modes.
8048 (TEST): Include expected results for all rounding modes.
8049 (test_in_one_mode): New function.
8050 (do_test): Use test_in_one_mode to compute and check results.
8051 Check results for all rounding modes.
8052 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8053 $(link-libm).
8054
19fcedd5
AM
80552012-12-09 Allan McRae <allan@archlinux.org>
8056
1e9d84cd 8057 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8058
8bbfd2f1
JM
80592012-09-11 Joseph Myers <joseph@codesourcery.com>
8060
8061 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8062 (_G_int32_t): Likewise.
8063 (_G_uint16_t): Likewise.
8064 (_G_uint32_t): Likewise.
8065 (_G_HAVE_BOOL): Likewise.
8066 (_G_HAVE_ATEXIT): Likewise.
8067 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8068 (_G_HAVE_IO_FILE_OPEN): Likewise.
8069 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8070 (_G_int32_t): Likewise.
8071 (_G_uint16_t): Likewise.
8072 (_G_uint32_t): Likewise.
8073 (_G_HAVE_BOOL): Likewise.
8074 (_G_HAVE_ATEXIT): Likewise.
8075 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8076 (_G_HAVE_IO_FILE_OPEN): Likewise.
8077 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8078 (_G_int32_t): Likewise.
8079 (_G_uint16_t): Likewise.
8080 (_G_uint32_t): Likewise.
8081 (_G_HAVE_BOOL): Likewise.
8082 (_G_HAVE_ATEXIT): Likewise.
8083 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8084 (_G_HAVE_IO_FILE_OPEN): Likewise.
8085
b1dc5912
L
80862012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8087
8088 * csu/libc-tls.c: Update copyright years.
8089
0e886ef9
JM
80902012-09-10 Joseph Myers <joseph@codesourcery.com>
8091
28361c5e
JM
8092 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8093 [!_G_USING_THUNKS]: Remove conditional code.
8094 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8095 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8096
0e886ef9
JM
8097 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8098 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8099 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8100 (_G_VTABLE_LABEL_PREFIX): Likewise.
8101 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8102 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8103 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8104 (_G_VTABLE_LABEL_PREFIX): Likewise.
8105 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8106 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8107 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8108 (_G_VTABLE_LABEL_PREFIX): Likewise.
8109 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8110
bcba7aa2
L
81112012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8112
8113 * libio/Makefile: Include ../Makeconfig before tests.
8114 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8115 only if $(build-shared) is yes.
8116
06585ee8
L
8117 * iconv/gconv_db.c: Update copyright years.
8118
80ccd52c
LD
81192012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8120
8121 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8122 unwind info if defined PIC. Fix special cases description.
8123 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8124
8125 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8126 DP_HI_MASK entry.
8127 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8128
691bc9c1
L
81292012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8130
3d9b46b3
L
8131 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8132
de2139a9
L
8133 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8134 is NULL.
8135
5ca78dd0
L
8136 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8137 (LDLIBS-tst-chk4): This.
8138 (LDFLAGS-tst-chk5): Renamed to ...
8139 (LDLIBS-tst-chk5): This.
8140 (LDFLAGS-tst-chk6): Renamed to ...
8141 (LDLIBS-tst-chk6): This.
8142 (LDFLAGS-tst-lfschk4): Renamed to ...
8143 (LDLIBS-tst-lfschk4): This.
8144 (LDFLAGS-tst-lfschk5): Renamed to ...
8145 (LDLIBS-tst-lfschk5): This.
8146 (LDFLAGS-tst-lfschk6): Renamed to ...
8147 (LDLIBS-tst-lfschk6): This.
8148
691bc9c1
L
8149 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8150 on $(common-objpfx)soversions.mk.
8151
65cafb1c
JM
81522012-09-07 Joseph Myers <joseph@codesourcery.com>
8153
8154 [BZ #10014]
8155 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8156 example host name.
8157
c78ab094
SP
81582012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8159
8160 * malloc/arena.c (arena_get_retry): New function that gets
8161 another arena for the caller to try its request on.
8162 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8163 current arena cannot fulfill the request.
8164 (__libc_memalign): Likewise.
8165 (__libc_memalign): Likewise.
8166 (__libc_pvalloc): Likewise.
8167 (__libc_calloc): Likewise.
8168
01f49f59
JT
81692012-09-05 John Tobey <john.tobey@gmail.com>
8170
8171 [BZ #13542]
8172 * manual/arith.texi (Operations on Complex): Fix description
8173 of carg branch cut.
8174
4c23fed5
JM
81752012-09-06 Joseph Myers <joseph@codesourcery.com>
8176
1d3c8572
JM
8177 [BZ #10014]
8178 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8179 host name.
8180
4c23fed5
JM
8181 [BZ #10038]
8182 * manual/memory.texi (Memory): Make order of menu items match
8183 order of sections.
8184
04570aaa
L
81852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8186
8187 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8188 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8189 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8190
b80af2f4
L
81912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8192
8193 * csu/libc-tls.c (static_dtv): Renamed to ...
8194 (_dl_static_dtv): This. Make it global.
8195 (_dl_initial_dtv): Removed.
8196 (__libc_setup_tls): Updated.
8197 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8198 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8199 DL_INITIAL_DTV.
8200
2abe9f15
PM
82012012-09-06 Petr Machata <pmachata@redhat.com>
8202
8203 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8204 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8205 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8206 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8207
0948c3af
L
82082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8209
8210 [BZ #14545]
8211 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8212 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8213 freeing dtv[-1].
8214
a5055ad1
L
82152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8216
8217 [BZ #14544]
8218 * Makeconfig (link-static-before-libc): Replace $(+prector)
8219 with $(+prectorT).
8220 (link-static-after-libc): Replace $(+postctor) with
8221 $(+postctorT).
8222 (link-bounded): Replace $(+prector)/$(+postctor) with
8223 $(+prectorT)/$(+postctorT).
8224 (+prectorT): New macro.
8225 (+postctorT): Likewise.
8226
ed8c2ecd
JM
82272012-09-06 Joseph Myers <joseph@codesourcery.com>
8228
8229 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8230 (round_str): Handle values above the maximum for IBM long double
8231 as inexact.
8232 * stdlib/tst-strtod-round.c (tests): Regenerated.
8233
14c996c8
AK
82342012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8235
8236 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8237 assembler flag.
8238 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8239 zarch_nohighgprs around the zarch optimized routines.
8240 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8241 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8242 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8243 for zarch.
8244
430d6ce6
DM
82452012-09-05 David S. Miller <davem@davemloft.net>
8246
8247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8248
ff04dda4
DM
8249 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8250 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8251 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8252 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8253 entries.
8254
24d4e01b
AO
82552012-09-05 Alexandre Oliva <aoliva@redhat.com>
8256
8257 * malloc/arena.c: Fold copyright years.
8258 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8259
61d58174
AO
82602012-09-05 Alexandre Oliva <aoliva@redhat.com>
8261
8262 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8263
20196a5e
AO
82642012-09-05 Alexandre Oliva <aoliva@redhat.com>
8265
8266 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8267
5c447383
AO
82682012-09-05 Alexandre Oliva <aoliva@redhat.com>
8269
8270 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8271 change internal state upon failure.
8272
fad64255
AO
82732012-09-05 Alexandre Oliva <aoliva@redhat.com>
8274
8275 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8276 * malloc/memusage.c (mmap): Likewise.
8277 (mmap64, mremap): Likewise. Adjust name in comment.
8278
1ffb8c90
SP
82792012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8280
8281 * libio/fileops.c: Fix typos in comments.
8282 * libio/oldfileops.c: Likewise.
8283 * libio/wfileops.c: Likewise.
8284
6ef9cc37
SP
82852012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8286
8287 [BZ #1349]
8288 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8289 (tst-malloc-usable-ENV): Set environment for test case.
8290 * malloc/hooks.c (malloc_check_get_size): New function to get
8291 requested size.
8292 * malloc/malloc.c (musable): Use malloc_check_get_size.
8293 * malloc/tst-malloc-usable.c: New test case.
8294
4d038ae3
AS
82952012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8296
8297 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8298
c4e85184
AM
82992012-09-05 Allan McRae <allan@archlinux.org>
8300
b9dafc56 8301 [BZ #13966]
c4e85184
AM
8302 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8303 determine header location.
8304 * configure: Regenerated.
8305
e1343020
AS
83062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8307
8308 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8309 float format.
8310 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8311 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8312 format.
e1343020
AS
8313 (test): Regenerate.
8314
0a9f1987
DM
83152012-09-04 David S. Miller <davem@davemloft.net>
8316
8317 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8318 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8319 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8320
29237804
FW
83212012-09-04 Florian Weimer <fweimer@redhat.com>
8322
8323 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8324 failures.
8325
edb3cb88
FW
8326 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8327
60160d83
JM
83282012-09-04 Joseph Myers <joseph@codesourcery.com>
8329
8330 [BZ #9914]
8331 * libio/iogetdelim.c: Include <limits.h>.
8332 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8333 + len + 1 would overflow.
8334
bcd6c8dc
AJ
83352012-09-03 Andreas Jaeger <aj@suse.de>
8336
8337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8338 * sysdeps/i386/fpu/libm-test-ulps: Update.
8339
4ffffbd2
LD
83402012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8341
8342 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8343 Add s_sinf-sse2, s_conf-sse2.
8344
8345 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8346 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8347 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8348 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8349
8350 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8351 for using routine as __sinf_ia32.
8352 Use macro for function declaration and weak_alias.
8353 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8354 for using routine as __cosf_ia32.
8355 Use macro for function declaration and weak_alias.
8356
8357 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8358 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8359
8360 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8361 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8363
8364 * math/libm-test.inc (cos_test): Add more test cases.
8365 (sin_test): Likewise.
8366 (sincos_test): Likewise.
8367
511fa286
AK
83682012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8369
8370 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8371 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8372 hidden.
8373 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8374
5f30cfec
L
83752012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8376
8377 [BZ #14538]
8378 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8379 first element of the GOT.
8380 (elf_machine_load_address): Return the difference between
8381 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8382
0786794f
AM
83832012-09-01 Allan McRae <allan@archlinux.org>
8384
5f30cfec
L
8385 [BZ #13412]
8386 * configure.in (AWK): Require gawk version 3.0 or later.
8387 * configure: Regenerated.
0786794f 8388
26889eac
JM
83892012-09-01 Joseph Myers <joseph@codesourcery.com>
8390
8391 * sysdeps/unix/sysv/linux/kernel-features.h
8392 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8393 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8394 [__NR_clock_getres]: Make code unconditional.
8395 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8396 (clock_getcpuclockid): Remove code left unreachable by removal of
8397 conditionals.
8398 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8399 code unconditional.
8400 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8401 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8402 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8403 Make code unconditional.
8404 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8405 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8406 * sysdeps/unix/sysv/linux/clock_settime.c
8407 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8408 conditional code.
8409 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8410 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8411
d22e28b0
L
84122012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8413
8414 [BZ #14476]
8415 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8416 scripts/test-installation.pl.
8417
8418 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8419 and $ld_so_version if it is set.
8420
050af9c4
SP
84212012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8422
8423 [BZ #14516]
8424 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8425 failure if reading from procfs failed.
8426 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8427
ad845c0b
JM
84282012-08-27 Joseph Myers <joseph@codesourcery.com>
8429
8430 * sysdeps/unix/sysv/linux/kernel-features.h
8431 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8432 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8433 Remove conditional code.
8434 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8435 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8436 Remove conditional code.
8437 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8438 * sysdeps/unix/sysv/linux/i386/fxstat.c
8439 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8440 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8441 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8442 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8443 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8444 * sysdeps/unix/sysv/linux/i386/lxstat.c
8445 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8446 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8447 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8448 Remove conditional code.
8449 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8450 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8451 Remove conditional code.
8452 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8453 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8454 <kernel-features.h>.
8455 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8456 Remove.
8457 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8458 Remove conditional code.
8459 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8460 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8461 Remove conditional.
8462
5dbf56af
MF
84632012-08-27 Mike Frysinger <vapier@gentoo.org>
8464
8465 [BZ #5400]
8466 * NEWS: Add fixed bug number.
8467
d6e70f43
JM
84682012-08-27 Joseph Myers <joseph@codesourcery.com>
8469
7efb4737
JM
8470 [BZ #14519]
8471 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8472 underflowing exponent in case of negative sign.
8473 * stdlib/tst-strtod-round-data: Add more tests.
8474 * stdlib/tst-strtod-round.c (tests): Regenerated.
8475
af92131a
JM
8476 [BZ #3479]
8477 * stdlib/strtod_l.c (NDIG): Remove.
8478 (HEXNDIG): Likewise.
8479 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8480 smallest representable value.
8481 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8482 lie within an exact representation of 1/2 ulp of the result.
8483 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8484 unconditionally.
8485 (TENS_P9_IDX): Define unconditionally.
8486 (TENS_P9_SIZE): Likewise.
8487 (TENS_P10_IDX): Likewise.
8488 (TENS_P10_SIZE): Likewise.
8489 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8490 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8491 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8492 entries for 10^2^13 and 10^2^14.
8493 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8494 (TENS_P13_IDX): Define.
8495 (TENS_P13_SIZE): Likewise.
8496 (TENS_P14_IDX): Likewise.
8497 (TENS_P14_SIZE): Likewise.
8498 (_fpioconst_pow10): Change array size to
8499 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8500 unconditional.
8501 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8502 1024]: Add entries for 10^2^13 and 10^2^14.
8503 [LAST_POW10 > _LAST_POW10]: Remove #error.
8504 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8505 (_fpioconst_pow10): Change array size to
8506 FPIOCONST_POW10_ARRAY_SIZE.
8507 * stdlib/gen-fpioconst.c: New file.
8508 * stdlib/gen-tst-strtod-round.c: Likewise.
8509 * stdlib/tst-strtod-round-data: Likewise.
8510 * stdlib/tst-strtod-round.c: Likewise.
8511 * stdlib/Makefile (tests): Add tst-strtod-round.
8512
d6e70f43
JM
8513 [BZ #14459]
8514 * stdlib/strtod_l.c: Include <stdint.h>.
8515 (NDEBUG): Do not define.
8516 (round_and_return): Change EXPONENT parameter to type intmax_t.
8517 Rearrange calculations to avoid internal overflow possibilities.
8518 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8519 Rearrange calculations to avoid internal overflow possibilities.
8520 Assert that number fits inside MPNSIZE limbs.
8521 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8522 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8523 calculations and add assertions to avoid internal overflow
8524 possibilities. Add casts to avoid signed/unsigned operations.
8525 * stdlib/tst-strtod-overflow.c: New file.
8526 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8527
1f529f7d
MP
85282012-08-25 Marek Polacek <polacek@redhat.com>
8529
8530 * time/time.h: Fix some typos in comments.
8531
59a629f1
RM
85322012-08-23 Roland McGrath <roland@hack.frob.com>
8533
8534 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8535 * posix/tst-rfc3484-2.c: Likewise.
8536 * posix/tst-rfc3484-3.c: Likewise.
8537
d3bafbc9
SM
85382012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8539
8540 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8541 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8542
4efcc022
JM
85432012-08-23 Joseph Myers <joseph@codesourcery.com>
8544
8545 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8546 #include of fxstatat64.c.
8547
3cc3ef96
RM
85482012-08-22 Roland McGrath <roland@hack.frob.com>
8549
f04e2132
RM
8550 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8551 * shadow/getspent_r.c: Likewise.
8552 * shadow/getspnam.c: Likewise.
8553 * shadow/getspnam_r.c: Likewise.
8554 * gshadow/getsgent.c: Likewise.
8555 * gshadow/getsgent_r.c: Likewise.
8556 * gshadow/getsgnam.c: Likewise.
8557 * gshadow/getsgnam_r.c: Likewise.
8558 * inet/getnetbyad.c: Likewise.
8559 * inet/getnetbyad_r.c: Likewise.
8560 * inet/getnetbynm.c: Likewise.
8561 * inet/getnetbynm_r.c: Likewise.
8562 * inet/getnetent.c: Likewise.
8563 * inet/getnetent_r.c: Likewise.
8564 * inet/getproto.c: Likewise.
8565 * inet/getproto_r.c: Likewise.
8566 * inet/getprtent.c: Likewise.
8567 * inet/getprtent_r.c: Likewise.
8568 * inet/getprtname.c: Likewise.
8569 * inet/getprtname_r.c: Likewise.
8570 * inet/getrpcbyname.c: Likewise.
8571 * inet/getrpcbyname_r.c: Likewise.
8572 * inet/getrpcbynumber.c: Likewise.
8573 * inet/getrpcbynumber_r.c: Likewise.
8574 * inet/getrpcent.c: Likewise.
8575 * inet/getrpcent_r.c: Likewise.
8576 * inet/getaliasent.c: Likewise.
8577 * inet/getaliasent_r.c: Likewise.
8578 * inet/getaliasname.c: Likewise.
8579 * inet/getaliasname_r.c: Likewise.
8580 * nscd/getgrgid_r.c: Likewise.
8581 * nscd/getgrnam_r.c: Likewise.
8582 * nscd/gethstbyad_r.c: Likewise.
8583 * nscd/gethstbynm3_r.c: Likewise.
8584 * nscd/getpwnam_r.c: Likewise.
8585 * nscd/getpwuid_r.c: Likewise.
8586 * nscd/getsrvbynm_r.c: Likewise.
8587 * nscd/getsrvbypt_r.c: Likewise.
8588 * nscd/gai.c: Likewise.
8589
c53d909c
RM
8590 * configure.in (build_nscd): New substituted variable, set
8591 by --disable-build-nscd and defaults to $use_nscd.
8592 * configure: Regenerated.
8593 * config.make.in (build-nscd): New substituted variable.
8594 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8595 Change conditional to require [$(build-nscd) = yes] as well.
8596 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8597
3cc3ef96
RM
8598 [BZ# 13696]
8599 * configure.in (use_nscd): New substituted variable, set by
8600 --disable-nscd. If enabled, define USE_NSCD.
8601 * configure: Regenerated.
8602 * config.h.in: Add USE_NSCD.
8603 * config.make.in (use-nscd): New substituted variable.
8604 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8605 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8606 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8607 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8608 (CFLAGS-getgrnam_r.c): Likewise.
8609 (CFLAGS-initgroups.c): Likewise.
8610 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8611 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8612 Variables removed.
8613 * inet/getnetgrent_r.c
8614 (nscd_setnetgrent): New function, broken out of ...
8615 (setnetgrent): ... here. Call it.
8616 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8617 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8618 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8619 * nscd/Makefile (routines, aux): Move definitions after include of
8620 Makeconfig. Conditionalize on [$(use-nscd) != no].
8621 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8622 Conditionalize on [USE_NSCD].
8623 (is_nscd, nscd_init_cb): Likewise.
8624 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8625 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8626 * nss/nss_db/db-init.c: Likewise.
8627 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8628 [USE_NSCD].
8629 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8630 (make_request): Use it.
8631 (cache_valid_p): New function.
8632 (__check_pf): Use it.
8633 * NEWS: Add item for --disable-nscd.
8634
07e51550
DL
86352012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8636
8637 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8638 to support sed >= 4.2.1-20-ga9bf076.
8639 * configure: Regenerated.
8640
35a5b08b
RM
86412012-08-22 Roland McGrath <roland@hack.frob.com>
8642
8643 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8644 Conditionalize whole body on [IREL].
8645
8479f23a
JL
86462012-08-22 Jeff Law <law@redhat.com>
8647
8648 [BZ #14505]
8649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8650 if the family is PF_UNSPEC.
8651
48da0b21
MF
86522012-08-22 Mike Frysinger <vapier@gentoo.org>
8653
8654 * Makerules (lib-version): Rename from V.
8655 (install-lib-nosubdir): Change V to lib-version.
8656
15d0da8c
WS
86572012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8658
8659 [BZ #14252]
8660 * powerpc32/power6/wcschr.c: New file.
8661 * powerpc32/power6/wcscpy.c: New file.
8662 * powerpc32/power6/wcsrchr.c: New file.
8663 * powerpc64/power6/wcschr.c: New file.
8664 * powerpc64/power6/wcscpy.c: New file.
8665 * powerpc64/power6/wcsrchr.c: New file.
8666
bcca0895
MK
86672012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8668
8669 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8670 (two_way_short_needle): Use it.
5a4aaa33
RM
8671 * string/strstr.c (AVAILABLE1_USES_J): Define.
8672 * string/strcasestr.c: Likewise.
99677e57
MK
8673
8674 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8675 array references.
8676 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8677
400726de
MK
8678 [BZ #11607]
8679 * NEWS: Add an entry.
8680 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8681 define their defaults.
8682 (two_way_short_needle): Detect end-of-string on-the-fly.
8683 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8684 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8685 * string/bug-strcasestr1.c: New test.
8686 * string/Makefile: Run it.
8687
20a71f2c
MK
86882012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8689
8690 [BZ #11607]
8691 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8692 the first character.
8693
21ad0558
RM
86942012-08-21 Roland McGrath <roland@hack.frob.com>
8695
8696 * csu/elf-init.c (__libc_csu_irel): Function removed.
8697 * csu/libc-start.c (apply_irel): New function.
8698 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8699
0e1d9911
JM
87002012-08-21 Joseph Myers <joseph@codesourcery.com>
8701
8702 * sysdeps/unix/sysv/linux/kernel-features.h
8703 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8704 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8705 <kernel-features.h>.
8706 [__NR_fadvise64_64]: Make code unconditional.
8707 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8708 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8709 !__NR_fadvise64_64)]: Likewise.
8710 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8711 !__NR_fadvise64_64))]: Likewise.
8712 [__NR_fadvise64]: Make code unconditional.
8713 [!__NR_fadvise64]: Remove conditional code.
8714 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8715 <kernel-features.h>.
8716 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8717 unconditional.
8718 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8719 conditional code.
8720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8721 not include <kernel-features.h>.
8722 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8723 unconditional.
8724 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8725 conditional code.
8726 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8727 include <kernel-features.h>.
8728 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8729 unconditional.
8730 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8731 conditional code.
8732
14a50c9d
WS
87332012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8734
8735 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8736 slight instruction rearrangements per scrollpipe analysis.
8737 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8738
c0f4faf0
RM
87392012-08-20 Roland McGrath <roland@hack.frob.com>
8740
696da859
RM
8741 * manual/syslog.texi (syslog; vsyslog, closelog):
8742 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8743 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8744
c0f4faf0
RM
8745 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8746 DSOCAPS to match condition on defining it.
8747
348363b2
JM
87482012-08-20 Joseph Myers <joseph@codesourcery.com>
8749
a35cbf28
JM
8750 * sysdeps/unix/sysv/linux/kernel-features.h
8751 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8753 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8754 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8756 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8757 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8759 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8760 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8761
445f7ecd
JM
8762 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8763 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8764
348363b2
JM
8765 * sysdeps/unix/sysv/linux/kernel-features.h
8766 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8767 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8768 unconditional.
8769 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8770 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8771 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8772 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8773 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8774 Make code unconditional.
8775 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8776 (__mmap64) [!__NR_mmap2]: Likewise.
8777 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8778 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8779 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8780 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8781 [__NR_mmap2]: Make code unconditional.
8782 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8783 (__mmap64) [!__NR_mmap2]: Likewise.
8784
bc5bc0e5
AK
87852012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8786
8787 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8788
88d506de
AJ
87892012-08-18 Andreas Jaeger <aj@suse.de>
8790
8791 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8792
493387d2
MF
87932012-08-18 Mike Frysinger <vapier@gentoo.org>
8794
8795 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8796 * include/unistd.h (__have_sock_cloexec): Likewise.
8797 (__have_pipe2): Likewise.
8798 (__have_dup3): Likewise.
8799
a277af22
MF
88002012-08-18 Mike Frysinger <vapier@gentoo.org>
8801
8802 [BZ #9685]
8803 * include/unistd.h (__have_pipe2): Change define into an extern int.
8804 (__have_dup3): Likewise.
8805 * socket/have_sock_cloexec.c: Include fcntl.h.
8806 (__have_pipe2): New variable.
8807 (__have_dup3): Likewise.
8808
fdab8fd3
MF
88092012-08-17 Mike Frysinger <vapier@gentoo.org>
8810
8811 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8812
31035e80
MP
88132012-08-17 Marek Polacek <polacek@redhat.com>
8814
8815 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8816 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8817
3bd9e993
RM
88182012-08-17 Roland McGrath <roland@hack.frob.com>
8819
c91c505f
RM
8820 * configure.in: Add AC_SUBST for sysheaders.
8821 * configure: Regenerated.
8822 * config.make.in (sysheaders): New substituted variable.
8823
7c6f9d53
RM
8824 * sysdeps/unix/mkfifo.c: Moved ...
8825 * sysdeps/posix/mkfifo.c: ... here.
8826 * sysdeps/unix/mkfifoat.c: Moved ...
8827 * sysdeps/posix/mkfifoat.c: ... here.
8828
8829 * sysdeps/unix/utime.c: Moved ...
8830 * sysdeps/posix/utime.c: ... here.
8831
8832 * sysdeps/unix/time.c: Moved ...
8833 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
8834 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8835 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
8836
8837 * sysdeps/unix/nice.c: Moved ...
8838 * sysdeps/posix/nice.c: ... here.
8839
8840 * sysdeps/unix/alarm.c: Moved ...
8841 * sysdeps/posix/alarm.c: ... here.
8842
3bd9e993
RM
8843 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8844
d1f09384
JL
88452012-08-17 Jeff Law <law@redhat.com>
8846
8847 * intl/Makefile (codeset_mo): New variable.
8848 ($(codeset_mo)): New target.
8849 (tst-codeset.out): Depend on that. Remove explicit rule.
8850 (tst-gettext3.out, tst-gettext5.out): Likewise.
8851 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8852 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8853 * intl/tst-codeset.sh: Remove.
8854 * intl/tst-gettext3.sh: Likewise.
8855 * intl/tst-gettext5.sh: Likewise.
8856
2ae1ae5c
RM
88572012-08-17 Roland McGrath <roland@hack.frob.com>
8858
c31fdb83
RM
8859 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8860 * sysdeps/unix/syscalls.list: ... here.
8861
a0844057
RM
8862 * sysdeps/posix/getaddrinfo.c
8863 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8864 (gaiconf_init, gaiconf_reload): Use them.
8865 [!_STATBUF_ST_NSEC]
8866 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8867 Define using time_t rather than struct timespec.
8868
750c1f2a
RM
8869 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8870 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8871 Macros removed.
8872 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8873 [!NO_THREADS].
8874 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8875 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8876 Likewise.
8877
2ae1ae5c
RM
8878 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8879 __libc_cleanup_push argument.
8880
e66a42f5
RM
8881 * bits/param.h: New file.
8882 * misc/sys/param.h: New file.
8883 * include/sys/param.h: New file.
8884 * misc/Makefile (headers): Add bits/param.h.
8885 * sysdeps/generic/sys/param.h: File removed.
8886 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8887 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8888 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 8889 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 8890
b7c08a66
RM
8891 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8892 last change.
8893
b2e1c562
RM
8894 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8895 [_IO_MTSAFE_IO].
8896 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8897 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8898 New macros.
8899
c75ccd4c
RM
8900 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8901 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8902 rather than -D_IO_MTSAFE_IO conditionally.
8903 * stdio-common/Makefile (CPPFLAGS): Likewise.
8904 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8905 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8906 Use $(libio-mtsafe).
8907 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8908 of -D_IO_MTSAFE_IO.
8909 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8910 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8911 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8912 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8913 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8914 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8915 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8916 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8917 (CFLAGS-fread_u_chk.c): Likewise.
8918 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8919 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8920 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8921 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8922 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8923 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8924 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8925 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8926 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8927
8928 * libio/Makefile: Test [$(libc-reentrant) = yes]
8929 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8930
8931 * Makeconfig
8932 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8933 * sysdeps/pthread/configure: File removed.
8934 * sysdeps/pthread/Makeconfig: New file.
8935 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8936 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8937
d9195db8
GB
89382012-08-16 Gary Benson <gbenson@redhat.com>
8939
8940 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8941 unmapping the first object in a namespace.
8942
86466cd9
RM
89432012-08-16 Roland McGrath <roland@hack.frob.com>
8944
8945 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8946 (__internal_setnetgrent): ... this. Add internal_function to
8947 definition. Add libc_hidden_def.
8948 (setnetgrent): Update caller.
8949 (internal_endnetgrent): Renamed to ...
8950 (__internal_endnetgrent): ... this. Add internal_function to
8951 definition. Add libc_hidden_def.
8952 (endnetgrent): Update caller.
8953 (internal_getnetgrent_r): Renamed to ...
8954 (__internal_getnetgrent_r): ... this. Add internal_function to
8955 definition. Add libc_hidden_def.
8956 (__getnetgrent_r): Update caller.
8957 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8958
c3c8283c
JM
89592012-08-16 Joseph Myers <joseph@codesourcery.com>
8960
8961 * stdlib/longlong.h: Update from GCC.
8962
db1ee0a8
RM
89632012-08-16 Roland McGrath <roland@hack.frob.com>
8964
8965 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8966 on _QL, which is set by umul_ppmm but never used.
8967 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8968 variables, which are set by GMP macros but never used.
8969 * stdio-common/_itowa.c (_itowa): Likewise.
8970 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8971 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8972
30f69637
CD
89732012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8974
8975 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8976 struct La_sh_regs is not constant.
8977 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8978 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8979 and struct La_sparc64_regs are not constant.
8980
93a78ac4
JM
89812012-08-16 Joseph Myers <joseph@codesourcery.com>
8982
8983 * sysdeps/unix/sysv/linux/kernel-features.h
8984 (__ASSUME_POSIX_TIMERS): Remove.
8985 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8986 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8987 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8988 Make code unconditional.
8989 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8990 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8991 Make code unconditional.
8992 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8993 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8994 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8995 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8996 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8997 Make code unconditional.
8998 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8999 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9000 (__libc_missing_posix_timers): Remove.
9001
dd924cd7
RM
90022012-08-15 Roland McGrath <roland@hack.frob.com>
9003
4b4f2771
RM
9004 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9005 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9006
601c888b
RM
9007 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9008
176790a7
RM
9009 * elf/dl-sym.c: Include <stdlib.h>.
9010
329bc018
RM
9011 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9012 constants, which avoids warnings in 32-bit builds.
9013
e04e272d
RM
9014 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9015 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9016
952bf94a
RM
9017 * misc/lseek.c: File moved to ...
9018 * io/lseek.c: ... here.
9019
7c99b50a
RM
9020 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9021
dd924cd7
RM
9022 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9023 shifting LEN more than 31 bits at once.
9024
b3f479a8
LD
90252012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9026
9027 [BZ #14195]
8c4ae0d4
RM
9028 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9029 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9030 * string/test-strncasecmp.c (check1): Renamed to...
9031 (bz12205): ...this.
9032 (bz14195): Add new testcase for two empty input strings and N > 0.
9033 (test_main): Call new testcase, adapt for renamed function.
9034
9c55864e
AJ
90352012-08-15 Andreas Jaeger <aj@suse.de>
9036
9037 [BZ #14090]
9038 * crypt/md5test2.c: New test, based on test supplied by Serge
9039 Belyshev <belyshev@depni.sinp.msu.ru>.
9040 * crypt/Makefile (xtests): Add md5test-giant..
9041 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9042
02dcb6c5
PE
90432012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9044
9045 [BZ #14090]
9046 * crypt/md5.c (md5_process_block): Don't assume the buffer
9047 length is less than 2**32.
9048 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9049 length is less than 2**64.
9050
a3f95dcc
RM
90512012-08-15 Roland McGrath <roland@hack.frob.com>
9052
be75d758
RM
9053 * string/str-two-way.h: Include <sys/param.h>.
9054 (MAX): Macro removed.
9055
7312ca90
RM
9056 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9057 Move #define and #undef of memmove to just before and after
9058 including <string.h>.
9059
9a0a5486
RM
9060 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9061 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9062 and after including <string.h>. Move declarations of
9063 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9064 to before #include "string/memmove.c".
9065
67cc348d
RM
9066 * include/dirent.h: Declare __getdirentries.
9067
a3f95dcc
RM
9068 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9069 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9070
ca98e171
MF
90712012-08-14 Mike Frysinger <vapier@gentoo.org>
9072
9073 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9074 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9075 * sysdeps/i386/configure: Regenerated.
9076 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9077 STABS_CURRENT_FILE, and STABS_FUN.
9078 (END): Remove call to STABS_FUN_END.
9079 (STABS_CURRENT_FILE1): Delete.
9080 (STABS_CURRENT_FILE): Likewise.
9081 (STABS_FUN): Likewise.
9082 (STABS_FUN_END): Likewise.
9083 (STABS_FUN2): Likewise.
9084 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9085 * sysdeps/x86_64/configure: Regenerated.
9086
5908bf46
RM
90872012-08-14 Roland McGrath <roland@hack.frob.com>
9088
9089 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9090 * elf/dl-lookup.c: Likewise.
5908bf46 9091
f2c05b9e
JM
90922012-08-14 Joseph Myers <joseph@codesourcery.com>
9093
9094 * sysdeps/unix/sysv/linux/kernel-features.h
9095 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9096 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9097 unconditionally.
9098 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9099 unconditionally.
9100 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9101 condition on __ASSUME_CLONE_THREAD_FLAGS.
9102
e11f5155
AJ
91032012-08-14 Andreas Jaeger <aj@suse.de>
9104
9105 * sysdeps/i386/fpu/libm-test-ulps: Update.
9106
51a9ba86
MK
91072012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9108
2fdd4f78
AJ
9109 * include/atomic.h (atomic_exchange_and_add): Split into ...
9110 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9111 New atomic macros.
51a9ba86 9112
ba6cba9e
MT
91132012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9114
9115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9116
42443a47
JL
91172012-08-13 Jeff Law <law@redhat.com>
9118
9119 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9120 null byte in the output string.
9121
121dce05
JM
91222012-08-10 Joseph Myers <joseph@codesourcery.com>
9123
9124 * sysdeps/unix/sysv/linux/kernel-features.h
9125 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9126 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9127 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9128 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9129 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9130 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9131 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9132
bf51f568
JL
91332012-08-09 Jeff Law <law@redhat.com>
9134
9135 [BZ #13939]
9136 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9137 When avoid_arena is set, don't retry in the that arena. Pick the
9138 next one, whatever it might be.
9139 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9140 (arena_lock): Pass in new parameter to arena_get2.
9141 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9142 arena_get2.
9143 (__libc_malloc): Unify retrying after main arena failure with
9144 __libc_memalign version.
9145 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9146
f85fa270
L
91472012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9148
9149 [BZ #14166]
9150 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9151 to __redirect_strstr.
9152 (__strstr_sse42): Use typeof __redirect_strstr.
9153 (__strstr_ia32): Likewise.
9154 (__libc_strstr): New prototype.
9155 (strstr): Renamed to ...
9156 (__libc_strstr): This.
9157 (strstr): New strong alias of __libc_strstr.
9158 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9159 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9160 __redirect_time.
9161 Include <time.h>.
9162 (__libc_time): New prototype.
9163 (time_ifunc): Replace time with __libc_time.
9164 (time): New strong alias and hidden definition of __libc_time.
9165 (__GI_time): Remove strong alias.
9166 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9167 Include <stddef.h>.
9168 (memmove): Redefined to __redirect_memmove.
9169 (__memmove_sse2): Use typeof __redirect_memmove.
9170 (__memmove_ssse3): Likewise.
9171 (__memmove_ssse3_back): Likewise.
9172 (__libc_memmove): New prototype.
9173 (memmove): Renamed to ...
9174 (__libc_memmove): This.
9175 (memmove): New strong alias of __libc_memmove.
9176
33b4a91e
MS
91772012-08-08 Mark Salter <msalter@redhat.com>
9178
9179 * elf/elf.h
9180 (R_MN10300_TLS_GD): Define.
9181 (R_MN10300_TLS_LD): Likewise.
9182 (R_MN10300_TLS_LDO): Likewise.
9183 (R_MN10300_TLS_GOTIE): Likewise.
9184 (R_MN10300_TLS_IE): Likewise.
9185 (R_MN10300_TLS_LE): Likewise.
9186 (R_MN10300_TLS_DTPMOD): Likewise.
9187 (R_MN10300_TLS_DTPOFF): Likewise.
9188 (R_MN10300_TLS_TPOFF): Likewise.
9189 (R_MN10300_SYM_DIFF): Likewise.
9190 (R_MN10300_ALIGN): Likewise.
9191 (R_MN10300_NUM): Update.
9192
b36137f1
JM
91932012-08-08 Joseph Myers <joseph@codesourcery.com>
9194
9195 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9196 Remove.
9197
cdd915fd
RM
91982012-08-08 Roland McGrath <roland@hack.frob.com>
9199
a2433aac
RM
9200 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9201
cdd915fd
RM
9202 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9203 sysdeps/unix -> sysdeps/posix move.
9204 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9205
bf9b740a
AM
92062012-08-07 Allan McRae <allan@archlinux.org>
9207
9208 [BZ #14303]
9209 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9210 (SUNOS_CPP): Likewise.
9211 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9212 not found.
9213 (open_input): Call CPP using execvp.
9214
93df14ee
JM
92152012-08-07 Joseph Myers <joseph@codesourcery.com>
9216
9217 * sysdeps/unix/sysv/linux/kernel-features.h
9218 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9219 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9220 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9221 (__ASSUME_WAITID_SYSCALL): Likewise.
9222 * sysdeps/unix/sysv/linux/dl-execstack.c
9223 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9224 code unconditional.
9225 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9226 conditional code.
9227 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9228 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9229 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9230 code.
9231 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9232 unconditional.
9233 [__ASSUME_WAITID_SYSCALL]: Likewise.
9234 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9235
d34689de
RM
92362012-08-07 Roland McGrath <roland@hack.frob.com>
9237
a281decc
RM
9238 * sysdeps/unix/closedir.c: Renamed to ...
9239 * sysdeps/posix/closedir.c: ... here.
9240 * sysdeps/unix/dirfd.c: Renamed to ...
9241 * sysdeps/posix/dirfd.c: ... here.
9242 * sysdeps/unix/dirstream.h: Renamed to ...
9243 * sysdeps/posix/dirstream.h: ... here.
9244 * sysdeps/unix/fdopendir.c: Renamed to ...
9245 * sysdeps/posix/fdopendir.c: ... here.
9246 * sysdeps/unix/opendir.c: Renamed to ...
9247 * sysdeps/posix/opendir.c: ... here.
9248 * sysdeps/unix/readdir.c: Renamed to ...
9249 * sysdeps/posix/readdir.c: ... here.
9250 * sysdeps/unix/readdir_r.c: Renamed to ...
9251 * sysdeps/posix/readdir_r.c: ... here.
9252 * sysdeps/unix/rewinddir.c: Renamed to ...
9253 * sysdeps/posix/rewinddir.c: ... here.
9254 * sysdeps/unix/seekdir.c: Renamed to ...
9255 * sysdeps/posix/seekdir.c: ... here.
9256 * sysdeps/unix/telldir.c: Renamed to ...
9257 * sysdeps/posix/telldir.c: ... here.
9258 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9259 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9260 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9261 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9262
22895b47
RM
9263 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9264 * bits/fcntl.h: ... here.
9265
707a53b6
RM
9266 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9267 not 0.
9268 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9269 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9270 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9271 (struct flock): Move l_start, l_len to the beginning.
9272 Use __pid_t for l_pid.
9273 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9274 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9275 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9276 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9277 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9278 [__USE_LARGEFILE64] (struct flock64): New type.
9279 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9280
f0bd3e25
RM
9281 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9282 * bits/dirent.h: ... here.
9283
d34689de
RM
9284 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9285 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9286
6dad2c06
JM
92872012-08-07 Joseph Myers <joseph@codesourcery.com>
9288
9289 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9290 Change from 2.6.0 to 2.6.16.
9291 * sysdeps/unix/sysv/linux/configure: Regenerated.
9292 * sysdeps/unix/sysv/linux/kernel-features.h
9293 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9294 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9295 version.
9296 (__ASSUME_UTIMES): Likewise.
9297 (__ASSUME_CLONE_STOPPED): Remove.
9298 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9299 architectures, not kernel version.
9300 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9301 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9302 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9303 (__ASSUME_WAITID_SYSCALL): Likewise.
9304 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9305 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9306 * README: State 2.6.16 as minimum Linux kernel version. Do not
9307 refer to older versions.
9308
03af9520
RM
93092012-08-06 Roland McGrath <roland@hack.frob.com>
9310
8e49df1d
RM
9311 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9312 Define alphasort64 as an alias.
9313 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9314 Define versionsort64 as an alias.
9315 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9316 Define scandir64 as an alias.
9317 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9318 Define scandirat64 as an alias.
9319 * dirent/alphasort64.c (alphasort64):
9320 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9321 * dirent/versionsort64.c: Likewise.
9322 * dirent/scandir64.c: Likewise.
9323 * dirent/scandirat64.c: Likewise.
9324 * sysdeps/wordsize-64/alphasort.c: File removed.
9325 * sysdeps/wordsize-64/alphasort64.c: File removed.
9326 * sysdeps/wordsize-64/scandir.c: File removed.
9327 * sysdeps/wordsize-64/scandir64.c: File removed.
9328 * sysdeps/wordsize-64/scandirat.c: File removed.
9329 * sysdeps/wordsize-64/scandirat64.c: File removed.
9330 * sysdeps/wordsize-64/versionsort.c: File removed.
9331 * sysdeps/wordsize-64/versionsort64.c: File removed.
9332 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9333 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9334 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9335 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9336 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9337 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9338 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9339 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9340
9341 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9342 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9343 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9344 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9345 [defined __arch64__ || defined __sparcv9]
9346 (__INO_T_MATCHES_INO64_T): New macro.
9347 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9348 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9349 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9350 * sysdeps/unix/sysv/linux/bits/dirent.h
9351 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9352 (_DIRENT_MATCHES_DIRENT64): New macro.
9353
03af9520
RM
9354 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9355 Define lockf64 as an alias.
9356 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9357 Define fseeko64 as an alias.
9358 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9359 Define ftello64 as an alias.
9360 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9361 Define _IO_fgetpos64 and fgetpos64 as aliases.
9362 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9363 Define _IO_fsetpos64 and fsetpos64 as aliases.
9364 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9365 Conditionalize body on this.
9366 * libio/fseeko64.c: Likewise.
9367 * libio/ftello64.c: Likewise.
9368 * libio/iofgetpos64.c: Likewise.
9369 * libio/iofsetpos64.c: Likewise.
9370 * sysdeps/wordsize-64/lockf.c: File removed.
9371 * sysdeps/wordsize-64/lockf64.c: File removed.
9372 * sysdeps/wordsize-64/fseeko.c: File removed.
9373 * sysdeps/wordsize-64/fseeko64.c: File removed.
9374 * sysdeps/wordsize-64/ftello.c: File removed.
9375 * sysdeps/wordsize-64/ftello64.c: File removed.
9376 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9377 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9378 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9379 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9380 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9381 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9382 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9383 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9384 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9385 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9386 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9387 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9388 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9389 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9390
9391 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9392 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9393 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9394 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9395 [defined __arch64__ || defined __sparcv9]
9396 (__OFF_T_MATCHES_OFF64_T): New macro.
9397 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9398 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9399 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9400 (__OFF_T_MATCHES_OFF64_T): New macro.
9401
c5757acd
L
94022012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9403
9404 * stdlib/secure-getenv.c (__secure_getenv): Replace
9405 GLIBC_2_16 with GLIBC_2_17.
9406
3a31811e
L
94072012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9408
9409 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9410 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9411
faa2bccb
DM
94122012-08-03 David S. Miller <davem@davemloft.net>
9413
9414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9415
85fe1997
JM
94162012-08-03 Joseph Myers <joseph@codesourcery.com>
9417
9418 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9419 Remove.
9420 (__ASSUME_CORRECT_SI_PID): Likewise.
9421 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9422 (__ASSUME_TMPFS_NAME): Likewise.
9423 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9424 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9425 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9426 (HAVE_AUX_SECURE): Make definition unconditional.
9427 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9428 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9429
4f75b7a0
RM
94302012-08-03 Roland McGrath <roland@hack.frob.com>
9431
9432 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9433 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9434 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9435 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9436 __eloop_threshold instead of SYMLOOP_MAX.
9437
9438 * sysdeps/generic/eloop-threshold.h: New file.
9439 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9440 of MAXSYMLINKS.
9441 * elf/chroot_canon.c (chroot_canon): Likewise.
9442
7aab07e4
JM
94432012-08-03 Joseph Myers <joseph@codesourcery.com>
9444
9445 [BZ #13717]
9446 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9447 Change to 2.6.0 everywhere.
9448 * sysdeps/unix/sysv/linux/configure: Regenerated.
9449 * sysdeps/unix/sysv/linux/kernel-features.h
9450 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9451 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9452 kernel versions.
9453 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9454 (__ASSUME_FUTEX_REQUEUE): Remove.
9455 (__ASSUME_STATFS64): Define unconditionally.
9456 (__ASSUME_AT_SECURE): Likewise.
9457 (__ASSUME_CORRECT_SI_PID): Likewise.
9458 (__ASSUME_TGKILL): Define without depending on kernel version for
9459 i386.
9460 (__ASSUME_UTIMES): Likewise.
9461 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9462 kernel version.
9463 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9464 (__ASSUME_TMPFS_NAME): Likewise.
9465 * README: Update reference to Linux kernel versions.
9466
b67e9372
MP
94672012-08-02 Marek Polacek <polacek@redhat.com>
9468
1f529f7d 9469 [BZ# 14150]
b67e9372
MP
9470 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9471 libc_cv_asm_type_prefix with %.
9472 * configure: Regenerated.
d2441631
RM
9473 * include/libc-symbols.h: Remove comment about
9474 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9475 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9476 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9477 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9478 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9479 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9480 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9481 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9482 * elf/tst-unique2mod1.c: Likewise.
9483 * elf/tst-unique1mod2.c: Likewise.
9484 * elf/tst-unique1mod1.c: Likewise.
9485 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9486 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9487 Replace ASM_TYPE_DIRECTIVE with .type.
9488 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9489 * sysdeps/i386/sysdep.h: Likewise.
9490 * sysdeps/x86_64/sysdep.h: Likewise.
9491 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9493 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9494 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9495 * sysdeps/powerpc/powerpc32/sysdep.h:
9496 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9497 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9498 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9499 * sysdeps/i386/fpu/e_powf.S: Likewise.
9500 * sysdeps/i386/fpu/e_expl.S: Likewise.
9501 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9502 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9503 * sysdeps/i386/fpu/e_pow.S: Likewise.
9504 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9505 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9506 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9507 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9508 * sysdeps/i386/fpu/e_log2.S: Likewise.
9509 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9510 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9511 * sysdeps/i386/fpu/e_powl.S: Likewise.
9512 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9513 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9514 * sysdeps/i386/fpu/e_logl.S: Likewise.
9515 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9516 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9517 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9518 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9519 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9520 * sysdeps/i386/fpu/e_log.S: Likewise.
9521 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9522 * sysdeps/i386/fpu/e_logf.S: Likewise.
9523 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9524 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9525 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9526 * sysdeps/i386/fpu/e_log10.S: Likewise.
9527 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9528 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9529 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9530 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9531 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9532 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9533 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9534 * sysdeps/i386/i686/strtok.S: Likewise.
9535 * sysdeps/i386/i386-mcount.S: Likewise.
9536 * sysdeps/i386/strtok.S: Likewise.
9537 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9538 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9539 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9540 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9541 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9542 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9543 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9544 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9545 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9546 * sysdeps/x86_64/_mcount.S: Likewise.
9547 * sysdeps/x86_64/strtok.S: Likewise.
9548 * sysdeps/sh/_mcount.S: Likewise.
9549
2747bf9a
RM
95502012-08-01 Roland McGrath <roland@hack.frob.com>
9551
9552 * libio/iofopen.c: Include <fcntl.h>.
9553 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9554 (_IO_fopen64, fopen64): Define as aliases.
9555 * libio/iofopen64.c: Include <fcntl.h>.
9556 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9557 Conditionalize body on this.
9558 * sysdeps/wordsize-64/iofopen.c: File removed.
9559 * sysdeps/wordsize-64/iofopen64.c: File removed.
9560
3fb791b8
MP
95612012-08-01 Marek Polacek <polacek@redhat.com>
9562
9563 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9564 Use dlfcn directly instead of a variable.
9565 (binfmt-subdir): Do not define.
9566 (dlfcn): Likewise.
9567
a9f1039f
JM
95682012-08-01 Joseph Myers <joseph@codesourcery.com>
9569
23bddc06
JM
9570 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9571 Remove all definitions.
9572 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9573 <kernel-features.h>.
9574 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9575 (miss_F_GETOWN_EX): Remove all definitions.
9576 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9577 macro definition.
9578 [!__ASSUME_FCNTL64]: Remove conditional code.
9579 [__ASSUME_FCNTL64]: Make code unconditional.
9580 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9581 <kernel-features.h>.
9582 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9583 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9584 (lockf64) [__NR_fcntl64]: Make code unconditional.
9585 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9586
a9f1039f
JM
9587 * sysdeps/unix/sysv/linux/kernel-features.h
9588 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9589 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9590 Make code unconditional.
9591 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9592 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9594 [__NR_vfork]: Make code unconditional.
9595 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9596 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9598 [__NR_vfork]: Make code unconditional.
9599 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9600 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9601
09c0ee5f
RM
96022012-08-01 Roland McGrath <roland@hack.frob.com>
9603
48aec5b9
RM
9604 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9605 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9606
cd97c966
RM
9607 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9608 Define mkstemp64 as an alias.
3f55550c
RM
9609 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9610 Define mkstemps64 as an alias.
cd97c966
RM
9611 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9612 Define mkostemp64 as an alias.
b8625cfc
RM
9613 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9614 Define mkostemps64 as an alias.
cd97c966
RM
9615 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9616 Conditionalize body on this.
9617 * misc/mkostemp64.c: Likewise.
b8625cfc 9618 * misc/mkostemps64.c: Likewise.
3f55550c 9619 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9620 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9621 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9622 * sysdeps/wordsize-64/mkostemp.c: File removed.
9623 * sysdeps/wordsize-64/mkstemp.c: File removed.
9624 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9625 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9626 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9627 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9628
09c0ee5f
RM
9629 [BZ #14138]
9630 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9631 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9632 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9633 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9634
9635 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9636 compat_symbol macros from <shlib-compat.h> rather than the underlying
9637 default_symbol_version and symbol_version macros, so that DEFAULT
9638 lines in shlib-versions are respected.
9639 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9640
7e66ee51
FW
96412012-08-01 Florian Weimer <fweimer@redhat.com>
9642
9643 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9644 Declare with warn_unused_result.
9645 (setgid, setregid, setegid, setresgid): Likewise.
9646 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9647 Likewise.
9648 * WUR-REPORT: Remove set*id functions.
9649
d2a54255
PT
96502012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9651
9652 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9653
7ecdb005
RM
96542012-07-31 Roland McGrath <roland@hack.frob.com>
9655
789bd351
RM
9656 * include/sys/socket.h (__libc_accept, __libc_accept4):
9657 Add attribute_hidden.
9658 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9659
40ce302d
RM
9660 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9661 use of PTR_MANGLE.
9662 * inet/getnetgrent_r.c (setup): Likewise.
9663
7ecdb005
RM
9664 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9665
e2eabb2c
DM
96662012-07-31 David S. Miller <davem@davemloft.net>
9667
9668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9669
d0419dbf
JM
96702012-07-31 Joseph Myers <joseph@codesourcery.com>
9671
9672 [BZ #13629]
9673 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9674 value between 1.0 and 2.0 and smaller part has absolute value less
9675 than 1.0.
9676 * math/s_clog10.c (__clog10): Likewise.
9677 * math/s_clog10f.c (__clog10f): Likewise.
9678 * math/s_clog10l.c (__clog10l): Likewise.
9679 * math/s_clogf.c (__clogf): Likewise.
9680 * math/s_clogl.c (__clogl): Likewise.
9681 * math/libm-test.inc (clog_test): Add more tests.
9682 (clog10_test): Likewise.
9683 * sysdeps/i386/fpu/libm-test-ulps: Update.
9684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9685
2bc13872
FW
96862012-07-31 Florian Weimer <fweimer@redhat.com>
9687
9688 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9689 Exit with zero in case no suitable GID is found, and write a
9690 message to standard error.
9691
bea9b193
RM
96922012-07-30 Roland McGrath <roland@hack.frob.com>
9693
9694 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9695 rather than to 1.
9696 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9697 (MAXPATHLEN): Removed.
9698 (NOGROUP, NODEV): New macros.
9699 (setbit, clrbit, isset, isclr): New macros.
9700 (howmany, roundup, powerof2): New macros.
9701 (DEV_BSIZE): New macro.
9702
9703 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9704 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9705
9706 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9707 definition on [!__NO_LONG_DOUBLE_MATH].
9708
9709 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9710 PTR_MANGLE and PTR_DEMANGLE.
9711
9712 * socket/accept4.c (accept4): Rename to __libc_accept4.
9713 Define accept4 as a weak alias.
9714
9715 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9716 on [_DIRENT_HAVE_D_TYPE].
9717 * io/ftw.c (ftw_dir): Likewise.
9718
9719 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9720
9721 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9722
9723 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9724 Use the BSD numbers rather than the arbitrary ones we had.
9725 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9726 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9727 (SIGXCPU, SIGXFSZ): New macros.
9728 (_NSIG): Now 32.
9729
9730 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9731 initializer on [_LIBC_REENTRANT].
9732
9733 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9734 definitions inside [_POSIX_MAPPED_FILES].
9735
9736 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9737
9738 * dirent/opendir.c: Include <fcntl.h>.
9739
9740 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9741 (__libc_getspecific): Likewise.
9742 (__libc_key_create): Likewise.
9743
9744 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9745 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9746 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9747 (tmpfile64): Define as alias.
9748 * sysdeps/wordsize-64/tmpfile.c: File removed.
9749 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9750 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9751 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9752
9753 * stdio-common/vfscanf.c: Include <stdbool.h>.
9754 * nss/makedb.c: Likewise.
9755 * stdio-common/_i18n_number.h: Likewise.
9756 * argp/argp-help.c: Likewise.
9757 * posix/wordexp.c: Likewise.
9758 * sysdeps/posix/spawni.c: Likewise.
9759 * nss/nss_files/files-initgroups.c: Likewise.
9760 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9761 * nss/nss_files/files-initgroups.c: Likewise.
9762 * nss/nss_db/db-netgrp.c: Likewise.
9763 * nss/nss_db/db-initgroups.c: Likewise.
9764 * io/fchmodat.c: Include <sys/stat.h>.
9765
9766 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9767 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9768
9769 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9770 [HAVE_MMAP].
9771
9772 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9773 Add multiple inclusion protection.
9774
e5abc686
DM
97752012-07-27 David S. Miller <davem@davemloft.net>
9776
9777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9778
815e6fa3
GB
97792012-07-27 Gary Benson <gbenson@redhat.com>
9780
9781 [BZ #14298]
9782 * elf/rtld.c: Include <stap-probe.h>.
9783 (dl_main): Added static probes "init_start" and "init_complete".
9784 * elf/dl-load.c: Include <stap-probe.h>.
9785 (lose): Take new parameter "nsid".
9786 Added static probe "map_failed".
9787 (_dl_map_object_from_fd): Pass namespace id to lose.
9788 Added static probe "map_start".
9789 (open_verify): Pass namespace id to lose.
9790 * elf/dl-open.c: Include <stap-probe.h>.
9791 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9792 and "reloc_complete".
9793 * elf/dl-close.c: Include <stap-probe.h>.
9794 (_dl_close_worker): Added static probes "unmap_start" and
9795 "unmap_complete".
9796 * elf/rtld-debugger-interface.txt: New file documenting the above.
9797
9f98c16c
RM
97982012-07-26 Roland McGrath <roland@hack.frob.com>
9799
9800 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9801 rather than a string variable.
9802 * sunrpc/rpc_main.c (h_output): Likewise.
9803 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9804
f3c22df3
PT
98052012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9806
9807 * inet/check_native.c: New file.
9808
3129cfc6
JM
98092012-07-26 Joseph Myers <joseph@codesourcery.com>
9810
da865e95
JM
9811 [BZ #13629]
9812 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9813 if larger part has absolute value 1.0.
9814 * math/s_clog10.c (__clog10): Likewise.
9815 * math/s_clog10f.c (__clog10f): Likewise.
9816 * math/s_clog10l.c (__clog10l): Likewise.
9817 * math/s_clogf.c (__clogf): Likewise.
9818 * math/s_clogl.c (__clogl): Likewise.
9819 * math/libm-test.inc (clog_test): Add more tests.
9820 (clog10_test): Likewise.
9821 * sysdeps/i386/fpu/libm-test-ulps: Update.
9822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9823
3129cfc6
JM
9824 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9825 (pltexit): Likewise.
9826 (La_regs): Likewise.
9827 (La_retval): Likewise.
9828 (int_retval): Likewise.
9829 Update #error for removed macros to refer only to definitions in
9830 tst-audit.h.
9831 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9832 macro.
9833 (pltexit): Likewise.
9834 (La_regs): Likewise.
9835 (La_retval): Likewise.
9836 (int_retval): Likewise.
9837 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9838 macro.
9839 (pltexit): Likewise.
9840 (La_regs): Likewise.
9841 (La_retval): Likewise.
9842 (int_retval): Likewise.
9843 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9844 macro.
9845 (pltexit): Likewise.
9846 (La_regs): Likewise.
9847 (La_retval): Likewise.
9848 (int_retval): Likewise.
9849 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9850 macro.
9851 (pltexit): Likewise.
9852 (La_regs): Likewise.
9853 (La_retval): Likewise.
9854 (int_retval): Likewise.
9855 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9856 macro.
9857 (pltexit): Likewise.
9858 (La_regs): Likewise.
9859 (La_retval): Likewise.
9860 (int_retval): Likewise.
9861 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9862 macro.
9863 (pltexit): Likewise.
9864 (La_regs): Likewise.
9865 (La_retval): Likewise.
9866 (int_retval): Likewise.
9867 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9868 macro definitions in tst-audit.h.
9869 * sysdeps/i386/tst-audit.h: New file.
9870 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9871 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9872 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9873 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9874 * sysdeps/sh/tst-audit.h: Likewise.
9875 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9876 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9877 * sysdeps/x86_64/tst-audit.h: Likewise.
9878
bfc07087
AJ
98792012-07-26 Andreas Jaeger <aj@suse.de>
9880
b1b2aaf8
AJ
9881 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9882 ptrace.
9883
9884 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9885 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9886 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9887 PTRACE_O_MASK.
9888 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9889 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9890 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9891
bfc07087
AJ
9892 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9893 value.
9894
9895 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9896 _sigsys.
9897 (si_call_addr, si_syscall, si_arch): Define new macro.
9898 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9899 _sigsys.
9900 (si_call_addr, si_syscall, si_arch): Define new marcro.
9901 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9902 _sigsys.
9903 (si_call_addr, si_syscall, si_arch): Define new macro.
9904 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9905 _sigsys.
9906 (si_call_addr, si_syscall, si_arch): Define new macro.
9907
89b4b02f
JM
99082012-07-25 Joseph Myers <joseph@codesourcery.com>
9909
9910 [BZ #13717]
9911 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9912 Change to 2.4.21 where previously 2.4.1.
9913 * sysdeps/unix/sysv/linux/configure: Regenerated.
9914 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9915 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9916 Linux kernel version.
9917 (__ASSUME_STD_AUXV): Remove.
9918 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9919 kernel version.
9920 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9921 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9922 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9923 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9924 (__ASSUME_NETLINK_SUPPORT): Likewise.
9925 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9926 (__no_netlink_support): Remove conditional definition.
9927 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9928 Remove.
9929 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9930 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9931 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9932 (if_nameindex_ioctl): Remove.
9933 (if_nameindex_netlink): Do not handle __no_netlink_support.
9934 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9935 code.
9936 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9937 Remove conditional code.
9938 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9939 code.
9940 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9941 unconditional.
9942 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9943 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9944 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9945 Remove.
9946 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9947 [!__ASSUME_STD_AUXV]: Remove conditional code.
9948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9949 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9950 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9952 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9953 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9954 code.
9955 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9957 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9958 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9959 conditional code.
9960 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9962 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9963 code.
9964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9965 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9966 conditional code.
9967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9968 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9969 code unconditional.
9970 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9971 conditional code.
9972 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9973 unconditional.
9974 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9975 conditional code.
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9977 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9978 unconditional.
9979 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9980 conditional code.
9981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9982 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9983 code unconditional.
9984 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9985 conditional code.
9986 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9987 unconditional.
9988 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9989 conditional code.
9990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9991 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9992 code unconditional.
9993 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9994 conditional code.
9995 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9996 unconditional.
9997 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9998 conditional code.
9999
842a39cd
AS
100002012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10001
10002 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10003 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10004 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10005 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10006 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10007 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10008 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10009 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10010 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10011 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10012 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10013 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10014 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10015 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10016 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10017 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10018 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10019 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10020 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10022 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10023 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10024 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10025
84b3fd84
FW
100262012-07-25 Florian Weimer <fweimer@redhat.com>
10027
10028 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10029 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10030 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10031 Introduce __libc_secure_getenv.
0c7936d5
FW
10032 * stdlib/Versions (2.17): Add secure_getenv
10033 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10034 * stdlib/secure-getenv.c: Rename __secure_getenv to
10035 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10036 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10037 * stdlib/tst-secure-getenv.c: New.
10038 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10039 * manual/startup.texi (Environment Access): Document
10040 secure_getenv.
84b3fd84
FW
10041 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10042 __libc_secure_getenv.
10043 * inet/ruserpass.c (ruserpass): Likewise.
10044 * malloc/mtrace.c (mtrace): Likewise.
10045 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10046 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10047 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10048 * sysdeps/posix/tempname.c: Likewise. Evaluate
10049 HAVE_SECURE_GETENV.
10050 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10051 __secure_getenv to __libc_secure_getenv.
84b3fd84 10052 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10054 Likewise.
10055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10056 Likewise.
10057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10059 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10064
56e49b71
JM
100652012-07-25 Joseph Myers <joseph@codesourcery.com>
10066
10067 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10068 (struct La_i86_retval): Likewise.
10069 (struct La_x86_64_regs): Likewise.
10070 (struct La_x86_64_retval): Likewise.
10071 (struct La_x32_regs): Likewise.
10072 (struct La_x32_retval): Likewise.
10073 (struct La_ppc32_regs): Likewise.
10074 (struct La_ppc32_retval): Likewise.
10075 (struct La_ppc64_regs): Likewise.
10076 (struct La_ppc64_retval): Likewise.
10077 (struct La_sh_regs): Likewise.
10078 (struct La_sh_retval): Likewise.
10079 (struct La_s390_32_regs): Likewise.
10080 (struct La_s390_32_retval): Likewise.
10081 (struct La_s390_64_regs): Likewise.
10082 (struct La_s390_64_retval): Likewise.
10083 (struct La_sparc32_regs): Likewise.
10084 (struct La_sparc32_retval): Likewise.
10085 (struct La_sparc64_regs): Likewise.
10086 (struct La_sparc64_retval): Likewise.
10087 (struct audit_ifaces): Remove architecture-specific pltenter and
10088 pltexit members.
10089 * sysdeps/i386/ldsodefs.h: New file.
10090 * sysdeps/powerpc/ldsodefs.h: Likewise.
10091 * sysdeps/s390/ldsodefs.h: Likewise.
10092 * sysdeps/sh/ldsodefs.h: Likewise.
10093 * sysdeps/sparc/ldsodefs.h: Likewise.
10094 * sysdeps/x86_64/ldsodefs.h: Likewise.
10095
354691b7
MP
100962012-07-25 Marek Polacek <polacek@redhat.com>
10097
10098 [BZ #6808]
10099 * math/libm-test.inc (yn_test): Add another test.
10100 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10101 to ERANGE when the result is +-Inf.
10102 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10103 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10104 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10105 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10106
bf9e2071
JM
101072012-07-24 Joseph Myers <joseph@codesourcery.com>
10108
10109 * conform/data/time.h-data (NULL): Use macro-constant. Require
10110 equal to 0.
10111 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10112 clock_t.
10113 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10114
57633811
TS
101152012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10116
10117 * configure.in <sysdeps resolving>: Correct printing
10118 Implies_before.
10119 * configure: Regenerate.
10120
c23c33b0
TS
101212012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10122
10123 * math/w_ilogb.c: Include <limits.h>.
10124 * math/w_ilogbl.c: Likewise.
10125
b5982523
JM
101262012-07-20 Joseph Myers <joseph@codesourcery.com>
10127
10128 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10129 va_copy. Document allowing for unavailable va_copy only as
10130 pre-C99 compatibility.
10131 * manual/string.texi (Copying and Concatenation): Use va_copy
10132 instead of __va_copy in concat example.
10133
ac4ea442
PT
101342012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10135
10136 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10137 (__sendto): Use create_address_port. Initialize APORT and deallocate
10138 it if not null.
10139
f98eafbd
PT
10140 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10141 with O_NOLINK passed to __file_name_lookup.
10142
898c7aab
PT
10143 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10144 with O_NOLINK passed to __file_name_lookup.
10145
0ced335a
PT
10146 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10147 negative N or less than NGIDS.
10148
b3404dbd
PT
10149 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10150 type to string_t. Set ERANGE as errno and return it if NAME is not big
10151 enough. Use memcpy instead of strncpy.
10152
0f48659e
JM
101532012-07-20 Joseph Myers <joseph@codesourcery.com>
10154
10155 * elf/Makefile (check-data): Remove.
10156 (localplt.data): New vpath directive.
10157 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10158 instead of $(check-data).
10159 * scripts/data/localplt-generic.data: Move to ...
10160 * sysdeps/generic/localplt.data: ... here.
10161 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10162 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10163 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10165 ... here.
10166 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10168 ... here.
10169 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10171 ... here.
10172 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10174 ... here.
10175 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10177 ... here.
10178 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10180 ... here.
10181
d37cbdaa
AZ
101822012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10183
10184 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10185 PPC32 and PPC64 files.
10186 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10187 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10188
46f85fc2
AK
101892012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10190
10191 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10192 __makecontext_ret to ...
10193 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10194 ... here and call exit if uc_link is NULL. New file.
10195 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10196 __makecontext_ret.S.
10197 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10198 __makecontext_ret to ...
10199 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10200 ... here and call exit if uc_link is NULL. New file.
10201 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10202 __makecontext_ret.S.
10203
08f43f9b
AK
102042012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10205
10206 * elf/elf.h (R_390_IRELATIVE): New definition.
10207 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10208 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10209 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10210 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10211 (elf_machine_lazy_rel): Likewise.
10212 * sysdeps/s390/dl-irel.h: New file.
10213 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10214 * sysdeps/s390/s390-64/memset.S: New asm code.
10215 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10216 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10217 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10218 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10219 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10220 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10221 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10222 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10223 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10224 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10225 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10226 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10227 * sysdeps/s390/s390-32/memset.S: New asm code.
10228 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10229
3b05db33
MP
102302012-07-17 Marek Polacek <polacek@redhat.com>
10231
10232 [BZ #14349]
10233 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10234 * sysdeps/s390/s390-64/configure.in: Likewise.
10235 * sysdeps/sparc/configure.in: Likewise.
10236 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10237 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10238 * sysdeps/i386/configure.in: Likewise.
10239 * sysdeps/x86_64/configure.in: Likewise.
10240 * sysdeps/sh/configure.in: Likewise.
10241 * sysdeps/s390/s390-32/configure: Regenerated.
10242 * sysdeps/s390/s390-64/configure: Likewise.
10243 * sysdeps/x86_64/configure: Likewise.
10244 * sysdeps/sh/configure: Likewise.
10245 * sysdeps/powerpc/powerpc64/configure: Likewise.
10246 * sysdeps/powerpc/powerpc32/configure: Likewise.
10247 * sysdeps/sparc/configure: Likwise.
10248 * sysdeps/i386/configure: Likewise.
10249
a66877c6
MP
10250 * elf/dl-open.c: Comment fixes.
10251
cfc82fd8
JM
102522012-07-17 Joseph Myers <joseph@codesourcery.com>
10253
bd29910a
JM
10254 * Makefile [CXX] (check-data): Remove.
10255 [CXX] (c++-types.data): New vpath directive.
10256 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10257 vpath. Do not allow for C++ type data being missing.
10258 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10259 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10260 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10261 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10262 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10263 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10264 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10266 ... here.
10267 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10269 ... here.
10270 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10272 ... here.
10273 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10275 ... here.
10276 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10278 ... here.
10279 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10281 ... here.
10282 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10284 ... here.
10285 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10287
cfc82fd8
JM
10288 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10289 definitions to architecture-specific files.
10290 (TLS_IE): Likewise.
10291 (TLS_LD): Likewise.
10292 (TLS_GD): Likewise.
10293 * sysdeps/i386/tls-macros.h: New file.
10294 * sysdeps/powerpc/tls-macros.h: Likewise.
10295 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10296 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10297 * sysdeps/sh/tls-macros.h: Likewise.
10298 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10299 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10300 * sysdeps/x86_64/tls-macros.h: Likewise.
10301
f7db3170
TS
103022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10303
07cbfc23
TS
10304 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10305 zero value for regular exit case.
10306
f7db3170
TS
10307 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10308 (__start_context): Preserve zero value for regular exit case.
10309
dc97c227
TS
103102012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10311 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10312
10313 * manual/setjmp.texi (setcontext): Clarify normal process
10314 termination when uc_link is the null pointer.
10315 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10316 exit call.
10317
d0cd7d02
AS
103182012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10319
10320 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10321 preprocessor. Test for each exception mask separately.
10322
dd318934
AJ
103232012-07-16 Andreas Jaeger <aj@suse.de>
10324
10325 * po/ru.po: Update from translation team.
10326
8048311a
JM
103272012-07-15 Joseph Myers <joseph@codesourcery.com>
10328
10329 * conform/data/string.h-data (NULL): Use macro-constant. Require
10330 equal to 0.
10331 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10332 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10333 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10334 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10335 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10336
b637d46e
AJ
103372012-07-13 Andreas Jaeger <aj@suse.de>
10338
10339 * po/fr.po: Update from translation team.
10340
541428fe
MP
103412012-07-12 Marek Polacek <polacek@redhat.com>
10342
10343 [BZ #14173]
10344 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10345 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10346 loop condition.
10347
ec332e94
JM
103482012-07-12 Joseph Myers <joseph@codesourcery.com>
10349
10350 [BZ #13717]
10351 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10352 Change to 2.4.1 where previously 2.4.0.
10353 * sysdeps/unix/sysv/linux/configure: Regenerated.
10354 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10355 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10356 version.
10357 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10358 (__ASSUME_AT_CLKTCK): Remove.
10359 (__ASSUME_AT_PAGESIZE): Likewise.
10360 (__ASSUME_AT_XID): Likewise.
10361 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10362 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10363 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10364 unconditionally.
10365 (HAVE_AUX_PAGESIZE): Likewise.
10366 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10367 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10368 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10369
7b6e99be
JB
103702012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10371
10372 [BZ #14307]
10373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10374 the temporary buffer used to invoke __gethostbyname2_r,
10375 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10376 host_data / struct gaih_addrtuple.
10377 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10378 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10379 header file nss/nsswitch.h.
10380 * nss/nsswitch.h (global scope): Add definition of implementation
10381 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10382 resolv/nss_dns/dns-host.c).
10383
608404eb
AJ
103842012-07-11 Andreas Jaeger <aj@suse.de>
10385
10386 * po/fr.po: Update from translation team.
10387
71220aca
AJ
10388 * po/sv.po: Update from translation team
10389 * po/fr.po: Another update from translation team.
10390
28cfe843
AZ
103912012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10392
10393 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10394 for subnormals or multiply small sinh result by itself.
10395 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10397
6b90f981
DM
103982012-07-11 David S. Miller <davem@davemloft.net>
10399
10400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10401
c6825772
AS
104022012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10403
10404 [BZ #14347]
10405 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10406 (INTERNAL_MARK): Shift it here.
10407
7b8e0d49
MP
104082012-07-10 Marek Polacek <polacek@redhat.com>
10409
10410 [BZ #14151]
10411 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10412 libc_cv_asm_global_directive with .globl.
10413 * configure: Regenerated.
10414 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10415 with .globl.
10416 * sysdeps/i386/configure: Regenerated.
10417 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10418 with .globl.
10419 * sysdeps/x86_64/configure: Regenerated.
10420 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10421 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10422 * elf/tst-unique2mod2.c: Likewise.
10423 * elf/tst-unique2mod1.c: Likewise.
10424 * elf/tst-unique1mod2.c: Likewise.
10425 * elf/tst-unique1mod1.c: Likewise.
10426 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10427 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10428 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10429 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10430 * sysdeps/mach/sysdep.h: Likewise.
10431 * sysdeps/i386/sysdep.h: Likewise.
10432 * sysdeps/i386/i386-mcount.S: Likewise.
10433 * sysdeps/x86_64/_mcount.S: Likewise.
10434 * sysdeps/x86_64/sysdep.h: Likewise.
10435 * sysdeps/sh/_mcount.S: Likewise.
10436 * sysdeps/sh/sysdep.h: Likewise.
10437 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10438 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10439 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10440 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10441 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10442 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10443 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10444 * locale/localeinfo.h: Likewise.
10445 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10446 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10447
6c55cda3
RM
104482012-07-09 Roland McGrath <roland@hack.frob.com>
10449
10450 [BZ #14336]
10451 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10452 system".
10453 * manual/message.texi (The Uniforum approach): Likewise.
10454 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10455 (glibc iconv Implementation): Likewise.
10456
638a572e
JM
104572012-07-09 Joseph Myers <joseph@codesourcery.com>
10458
10459 [BZ #14337]
10460 * math/s_clog.c (__clog): Avoid scaling a value down where that
10461 could result in underflow.
10462 * math/s_clog10.c (__clog10): Likewise.
10463 * math/s_clog10f.c (__clog10f): Likewise.
10464 * math/s_clog10l.c (__clog10l): Likewise.
10465 * math/s_clogf.c (__clogf): Likewise.
10466 * math/s_clogl.c (__clogl): Likewise.
10467 * math/libm-test.inc (clog_test): Add more tests.
10468 (clog10_test): Likewise.
10469 * sysdeps/i386/fpu/libm-test-ulps: Update.
10470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10471
261f4859
AS
104722012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10473
0abaf3e4
AS
10474 [BZ #14283]
10475 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10476 by 7 not 8 to examine high bit of fractional part.
10477
261f4859
AS
10478 [BZ #14042]
10479 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10480 for call to __mcount_internal.
10481 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10482 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10483 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10484
f17ac40d
JM
104852012-07-06 Joseph Myers <joseph@codesourcery.com>
10486
9ad63c23
JM
10487 [BZ #14154]
10488 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10489 approximation for values within 0x1p-13f of an odd multiple of
10490 pi/4.
10491 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10492 exception. Add more tests.
10493 * sysdeps/i386/fpu/libm-test-ulps: Update.
10494
f17ac40d
JM
10495 [BZ #6778]
10496 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10497 inputs and return -1 for them. Do not check for +Inf in case not
10498 reachable for +Inf.
10499 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10500 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10501 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10502 and return -1 for them. Do not check for +Inf in case not
10503 reachable for +Inf.
10504 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10505 define.
10506 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10507 and return -1 for them. Do not check for +Inf in case not
10508 reachable for +Inf.
10509 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10510 spurious underflow.
10511 * sysdeps/i386/fpu/libm-test-ulps: Update.
10512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10513
fb21f89b
MF
105142012-07-06 Mike Frysinger <vapier@gentoo.org>
10515
10516 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10517
cdfe2c5e
JM
105182012-07-05 Joseph Myers <joseph@codesourcery.com>
10519
10520 [BZ #14157]
10521 [BZ #14331]
10522 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10523 could result in spurious underflow. Scale down values above
10524 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10525 * math/s_csqrtf.c (__csqrtf): Likewise.
10526 * math/s_csqrtl.c (__csqrtl): Likewise.
10527 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10528 spurious underflow.
10529 * sysdeps/i386/fpu/libm-test-ulps: Update.
10530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10531
70d35b67
AS
105322012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10533
704bc459
AS
10534 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10535 xopen-msg.sed.
10536 * catgets/xopen-msg.awk: New file.
10537 * catgets/xopen-msg.sed: Removed.
10538
70d35b67
AS
10539 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10540 po2text.sed.
10541 * intl/po2test.awk: New file.
10542 * intl/po2test.sed: Removed.
10543
ca61cf32
JM
105442012-07-04 Joseph Myers <joseph@codesourcery.com>
10545
10546 [BZ #14328]
10547 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10548 or multiply small sinh result by itself.
10549 * math/s_ctanf.c (__ctanf): Likewise.
10550 * math/s_ctanh.c (__ctanh): Likewise.
10551 * math/s_ctanhf.c (__ctanhf): Likewise.
10552 * math/s_ctanhl.c (__ctanhl): Likewise.
10553 * math/s_ctanl.c (__ctanl): Likewise.
10554 * math/libm-test.inc (ctan_test_tonearest): New function.
10555 (ctan_test_towardzero): Likewise.
10556 (ctan_test_downward): Likewise.
10557 (ctan_test_upward): Likewise.
10558 (ctanh_test_tonearest): Likewise.
10559 (ctanh_test_towardzero): Likewise.
10560 (ctanh_test_downward): Likewise.
10561 (ctanh_test_upward): Likewise.
10562 (main): Call these new functions.
10563 * sysdeps/i386/fpu/libm-test-ulps: Update.
10564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10565
ca48a46a
MF
105662012-07-03 Mike Frysinger <vapier@gentoo.org>
10567
10568 * .gitignore: Delete /ports entry.
10569
9d63d37d
AJ
105702012-07-03 Andreas Jaeger <aj@suse.de>
10571
10572 * po/bg.po: Update from translation team.
10573 * po/cs.po: Likewise.
10574 * po/de.po: Likewise.
10575 * po/hr.po: Likewise.
10576 * po/nl.pl: Likewise.
10577 * po/pl.po: Likewise.
10578 * po/vi.po: Likewise.
10579
370ca3d2
JM
105802012-07-03 Joseph Myers <joseph@codesourcery.com>
10581
95f5a9a8
JM
10582 * Makeconfig [!+link] (+link-before-libc): New variable.
10583 [!+link] (+link-after-libc): Likewise.
10584 [!+link] (+link-tests): Likewise.
10585 [!+link] (+link): Define in terms of $(+link-before-libc) and
10586 $(+link-after-libc).
10587 [!+link-static] (+link-static-before-libc): New variable.
10588 [!+link-static] (+link-static-after-libc): Likewise.
10589 [!+link-static] (+link-static-tests): Likewise.
10590 [!+link-static] (+link-static): Define in terms of
10591 $(+link-static-before-libc) and $(+link-static-after-libc).
10592 [build-shared] (link-libc-before-gnulib): New variable.
10593 [build-shared] (link-libc-tests): Likewise.
10594 [build-shared] (link-libc): Define in terms of
10595 $(link-libc-before-gnulib).
10596 [!build-shared] (link-libc-tests): New variable.
10597 (link-libc-static-tests): New variable.
10598 [!gnulib] (gnulib-arch): New variable.
10599 [!gnulib] (gnulib-tests): Likewise.
10600 [!gnulib] (static-gnulib-arch): Likewise.
10601 [!gnulib] (static-gnulib-tests): Likewise.
10602 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10603 Define with "=" instead of ":=".
10604 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10605 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10606 * Rules (binaries-all-notests): New variable.
10607 (binaries-all-tests): Likewise.
10608 (binaries-static-notests): Likewise.
10609 (binaries-static-tests): Likewise.
10610 (binaries-all): Define using $(binaries-all-notests) and
10611 $(binaries-all-tests).
10612 (binaries-static): Define using $(binaries-static-notests) and
10613 $(binaries-static-tests).
10614 (binaries-shared-tests): New variable.
10615 (binaries-shared-notests): Likewise.
10616 (binaries-shared): Remove variable.
10617 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10618 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10619 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10620 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10621 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10622 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10623 * elf/Makefile (sln-modules): New variable.
10624 (extra-objs): Add $(sln-modules:=.o).
10625 (ldconfig-modules): Add static-stubs.
10626 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10627 * elf/static-stubs.c: New file.
10628
7a845b2c
JM
10629 [BZ #14283]
10630 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10631 by 7 not 8 to examine high bit of fractional part. Use volatile
10632 variables when splitting into final array of floats if
10633 __FLT_EVAL_METHOD__ != 0.
10634 * math/libm-test.inc (cos_test): Add another test.
10635 (sin_test): Likewise.
10636 * sysdeps/i386/fpu/libm-test-ulps: Update.
10637
e2283f38
JM
10638 [BZ #14273]
10639 * math/libm-test.inc (cosh_test): Add more tests.
10640
370ca3d2
JM
10641 * version.h (RELEASE): Set to "development".
10642 (VERSION): Set to "2.16.90".
10643
ee9247c3
CD
106442012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10645
10646 * NEWS: Update copyright. Remove last-updated date.
10647 Mention math library bug fixes and timezone data changes.
10648 * README: Mention GNU/Hurd, x32, and HPPA support status.
10649
4648c381
TS
106502012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10651
10652 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10653
aac78a43
AJ
106542012-06-27 Andreas Jaeger <aj@suse.de>
10655
10656 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10657
ed3dbfad
AJ
106582012-06-25 Andreas Jaeger <aj@suse.de>
10659
10660 * sysdeps/s390/fpu/libm-test-ulps: Update.
10661
4d0ee855
AS
106622012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10663 Thomas Schwinge <thomas@codesourcery.com>
10664
10665 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10666 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10667 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10668 fanotify_mark.
10669
af1bce34
TS
106702012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10671
a9fa33ba
TS
10672 * sysdeps/mach/start.c: Remove file.
10673 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10674 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10675 * sysdeps/sh/init-first.c: Likewise.
10676
58f902b8
TS
10677 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10678 registers for frame unwinding purposes, add CFI directives.
10679 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10680 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10681 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10682 Likewise.
10683
1518f58b
TS
10684 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10685 __fortify_fail returning.
10686 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10687
db9b5059
TS
10688 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10689 sysdeps/sh/____longjmp_chk.S.
10690 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10691 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10692 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10693 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10694
967705fe
TS
10695 * sysdeps/sh/abort-instr.h: New file.
10696 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10697 process in case exit returns.
10698
a9def8c4
TS
10699 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10700 initialize the GOT register before use.
10701
2a649725
TS
10702 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10703 calculation of ARGC > 4.
10704
af1bce34
TS
10705 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10706 meaningful names to some local labels.
10707
d230f50a
KK
107082012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10709 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10710
10711 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10712 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10713 (__arch_compare_and_exchange_val_16_acq): Likewise.
10714 (__arch_compare_and_exchange_val_32_acq): Likewise.
10715 (atomic_exchange_and_add): Fix gUSA sequence.
10716 (atomic_add): Likewise.
10717 (atomic_add_negative): Likewise.
10718 (atomic_add_zero): Likewise.
10719 (atomic_bit_test_set): Likewise.
10720
0479b305
AS
107212012-06-22 Andreas Schwab <schwab@redhat.com>
10722
10723 [BZ #13579]
10724 * include/link.h (struct link_map): Add l_free_initfini.
10725 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10726 l_initfini.
10727 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10728 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10729 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10730 set.
10731
0e3933b9
CD
107322012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10733
10734 * configure.in: Use AC_LANG_SOURCE.
10735 * configure: Regenerate.
10736
4248b1b1
RM
107372012-06-22 Roland McGrath <roland@hack.frob.com>
10738
10739 * configure.in (libc_cv_localstatedir): New substituted variable.
10740 * configure: Regenerated.
10741 * config.make.in (localstatedir): New variable, substituted from
10742 libc_cv_localstatedir.
10743 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10744 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10745 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10746 * sysdeps/gnu/configure: Regenerated.
10747
006dd861
JL
107482012-06-21 Jeff Law <law@redhat.com>
10749
10750 [BZ #14277]
10751 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10752 free. Simplify list management for _LIBC case.
10753
79662d42
JM
107542012-06-21 Joseph Myers <joseph@codesourcery.com>
10755
b7abb4bf
JM
10756 [BZ #14273]
10757 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10758 Clear sign bit of 64-bit integer value before comparing against
10759 overflow value.
10760
79662d42
JM
10761 * sysdeps/mach/configure: Regenerated.
10762
1f150908
L
107632012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10764
10765 [BZ #14278]
10766 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10767
28363bbf
JL
107682012-06-21 Jeff Law <law@redhat.com>
10769
10770 [BZ #13882]
10771 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10772 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 10773 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
10774 * elf/dl-open.c (dl_open_worker): Likewise.
10775
09615db4
CD
107762012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10777
10778 * scripts/list-sources.sh: Scan PORTS for translations.
10779 * po/libc.pot: Regenerated.
10780
2174c6dd
AJ
107812012-06-21 Andreas Jaeger <aj@suse.de>
10782
10783 [BZ #12194]
10784 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10785 warning.
10786 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10787 * bits/byteswap-16.h (__bswap_16): Likewise.
10788 * bits/byteswap.h (__bswap_constant_16): Likewise.
10789
3ee947b1
L
107902012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10791
10792 [BZ #14117]
a2f34833
L
10793 * sysdeps/i386/fpu_control.h: Removed.
10794 * sysdeps/x86_64/fpu_control.h: Moved to ...
10795 * sysdeps/x86/fpu_control.h: Here.
10796
3ee947b1
L
10797 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10798 (_FPU_SETCW): Likewise.
10799
ed1825f8
L
108002012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10801
25f1282a
L
10802 [BZ #14117]
10803 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10804 * sysdeps/x86/fpu/bits/mathinline.h: This.
10805 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10806
ed1825f8
L
10807 [BZ #14050]
10808 [BZ #14117]
10809 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10810 functions if __x86_64__ is defined.
10811
36d54b74
CLT
108122012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10813
10814 * string/endian.h: Add !__ASSEMBLER__ condition for including
10815 conversion interfaces.
10816
10285c21
JM
108172012-06-15 Joseph Myers <joseph@codesourcery.com>
10818
10819 [BZ #14241]
10820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10821 of ABS(x) in calculating zero to negative powers other than odd
10822 integers.
10823 * math/libm-test.inc (pow_test): Add more tests.
10824
06c5abbd
AJ
108252012-06-15 Andreas Jaeger <aj@suse.de>
10826
10827 * manual/contrib.texi (Contributors): Update entry of Liubov
10828 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10829 Machado Filho.
10830
a3aeac40
CH
108312012-06-15 Cyril Hrubis <metan@ucw.cz>
10832
10833 * string/string.h: Add __wur to GNU version of strerror_r.
10834
49bdf4c1
L
108352012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10836
10837 [BZ #14229]
10838 * string/Makefile (tests): Add tst-strtok_r.
10839 * string/tst-strtok_r.c: New file.
10840 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10841 RAX_LP/RDX_LP on SAVE_PTR.
10842
834f9b8d
RM
108432012-06-14 Roland McGrath <roland@hack.frob.com>
10844
10845 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10846
75fa1921
JM
108472012-06-14 Joseph Myers <joseph@codesourcery.com>
10848
10849 * libm_test.inc (csqrt_test): Allow more spurious underflow
10850 exceptions.
10851 (j0_test): Likewise.
10852 (j1_test): Likewise.
10853 (y0_test): Likewise.
10854 (y1_test): Likewise.
10855
771766df
CD
108562012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10857
10858 * po/Makefile (libc.pot): Use UTF-8 charset.
10859
ceb9e56b
PP
108602012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10861
10862 [BZ #14210]
10863 Suppress sign-conversion warning from FD_SET.
10864 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10865 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10866 not unsigned long int.
10867 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10868
ddb28975
L
108692012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10870
10871 [BZ #14050]
10872 [BZ #14117]
10873 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10874 __extern_always_inline instead of __extern_inline.
10875 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10876 (__signbit): Likewise.
10877 (__signbitl): Support C++ namespace.
10878 (lrintf): New inline function.
10879 (lrint): Likewise.
10880 (llrintf): Likewise.
10881 (llrint): Likewise.
10882 (fmaxf): Likewise.
10883 (fmax): Likewise.
10884 (fminf): Likewise.
10885 (fmin): Likewise.
10886 (rint): Likewise.
10887 (rintf): Likewise.
10888 (ceil): Likewise.
10889 (ceilf): Likewise.
10890 (floor): Likewise.
10891 (floorf): Likewise.
10892 (nearbyint): Likewise.
10893 (nearbyintf): Likewise.
10894
d7b4fb26
TS
108952012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10896
10897 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10898 non-default versions.
10899
eb55f5c2
RM
109002012-06-11 Roland McGrath <roland@hack.frob.com>
10901
10902 [BZ #14218]
10903 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10904
366af02c
TS
109052012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10906
99ff6e5c
TS
10907 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10908 (FE_UPWARD, FE_DOWNWARD): Don't define.
10909 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10910 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10911
366af02c
TS
10912 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10913 reading it.
10914 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10915 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10916
793ea851
KK
109172012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10918
10919 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10920 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10921 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10922 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10923
a728a38f
L
109242012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10925
10926 [BZ #14117]
c08010c7
L
10927 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10928 * sysdeps/i386/fpu/Implies: New file.
10929 * sysdeps/x86_64/fpu/Implies: Likewise.
10930 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10931 * sysdeps/x86/fpu/bits/fenv.h: This.
10932
a728a38f
L
10933 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10934 __SSE_MATH__.
10935
6e230d11
SP
109362012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10937
10938 [BZ #14134]
10939 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10940 character 0xffff that matches the last element of the
10941 conversion table.
10942
1b671feb
AZ
109432012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10944
10945 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10946 fmodl commit.
10947
6043738b
AZ
109482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10949
10950 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10951 values higher than 25.6283.
10952
34ae0b32
AZ
109532012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10954
10955 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10956 subnormal exponent extraction and add some __builtin_expect.
10957 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10958 Fix for subnormal mantissa calculation.
10959
1214ec8f
MF
109602012-06-04 Mike Frysinger <vapier@gentoo.org>
10961
10962 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10963 cpu2 is -1 and errno is not ENOSYS.
10964
f3d1f93c
L
109652012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10966
10967 [BZ #14117]
0e4a3cd7
L
10968 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10969 * sysdeps/x86/bits/string.h: This.
10970 * sysdeps/x86_64/bits/string.h: Removed.
10971
6704c645
L
10972 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10973 if not compiling for x86-64, but compiling for >= i486.
10974
48495318
L
10975 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10976 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10977
14adcbfc
L
10978 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10979 New macro from Linux kernel 3.4.0.
10980 (FP_XSTATE_MAGIC2): Likewise.
10981 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10982 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10983 (struct _fpx_sw_bytes): New struct.
10984 (struct _xsave_hdr): Likewise.
10985 (struct _ymmh_state): Likewise.
10986 (struct _xstate): Likewise.
10987
68e408ab
L
10988 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10989 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10990 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10991 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10992 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10993 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10994
f3d1f93c
L
10995 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10996 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10997 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10998 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10999 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11000 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11001
d9dc34cd
TMQMF
110022012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11003
11004 [BZ #13743]
11005 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11006 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11007 (sysdep_headers): Include sys/platform/ppc.h.
11008 * sysdeps/powerpc/test-gettimebase.c: Test for
11009 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11010 * manual/Makefile (appendices): Include platform.texi.
11011 * manual/contrib.texi (Contributors): Update @node pointers.
11012 * manual/maint.texi (Maintenance): Likewise.
11013 (Platform): New node.
11014 * manual/platform.texi: New file. Document the new features.
11015
4af3879c
SP
110162012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11017 Jakub Jelinek <jakub@redhat.com>
11018
11019 [BZ #14188]
11020 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11021 where __builtin_expect is unavailable.
11022
2fd6ff13
DM
110232012-06-03 David S. Miller <davem@davemloft.net>
11024
11025 * stdlib/longlong.h: Updated from GCC.
11026
173f7220
AS
110272012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11028
11029 [BZ #14042]
11030 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11031 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11032 __mcount_internal.
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11034 (GLIBC_2.16): Likewise.
11035
f34a1c6f
L
110362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11037
11038 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11039
88a4576f
JM
110402012-06-01 Joseph Myers <joseph@codesourcery.com>
11041
ea32bcdd
JM
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11043 (default-abi): New variable.
11044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11045 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11046 variable.
11047 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11048 Likewise.
11049 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11050 Likewise.
11051 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11052 Likewise.
11053
88a4576f
JM
11054 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11055 definition. Document in comment.
11056
402fe938
DM
110572012-06-01 David S. Miller <davem@davemloft.net>
11058
11059 * stdlib/longlong.h: Updated from GCC.
11060
3553723f
L
110612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11062
11063 [BZ #14117]
3bd872c4
L
11064 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11065 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11066 sys/debugreg.h sys/io.h here.
11067 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11068 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11069 sys/io.h.
11070 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11071 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11072 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11073 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11074 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11075 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11076
3553723f
L
11077 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11078 Define only if __x86_64__ is defined.
11079
4842e4fe
JM
110802012-06-01 Joseph Myers <joseph@codesourcery.com>
11081
c5bfe3d5
JM
11082 [BZ #14048]
11083 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11084 Use int64_t for variable i.
11085 * math/libm-test.inc (fmod_test): Add more tests.
11086
4842e4fe
JM
11087 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11088 z computation is not scheduled after fetestexcept.
11089 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11090 Use math_force_eval instead of asm to ensure calculation scheduled
11091 before exception test.
11092 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11093 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11094
efb73488
AJ
110952012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11096
11097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11098 computation is not scheduled after fetestexcept.
11099
29bcce7c
L
111002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11101
11102 [BZ #14117]
11103 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11104 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11105
73a68f94
AZ
111062012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11107
11108 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11109 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11110
67b6df78
L
111112012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11112
edf2933a 11113 [BZ #14117]
ebc64a18
L
11114 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11115 <bits/wordsize.h>.
11116 (__WCHAR_MIN): Support __WORDSIZE == 64.
11117 (__WCHAR_MAX): Likewise.
11118
edf2933a
L
11119 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11120 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11121
57c6cf40
L
11122 [BZ #14183]
11123 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11124 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11125
67b6df78 11126 [BZ #14117]
8eb6281e
L
11127 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11128 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11129
aac639f4
L
11130 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11131 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11132
67b6df78
L
11133 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11134 Defined to 1 if __x86_64__ isn't defined.
11135 (_STAT_VER_LINUX_OLD): New.
11136 (st_atime): Remove duplicate.
11137 (st_mtime): Likewise.
11138 (st_ctime): Likewise.
11139
1c2cfe81
DM
111402012-05-31 David S. Miller <davem@davemloft.net>
11141
11142 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11143 entries.
11144
5be8418c
AS
111452012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11146
e7725326
AS
11147 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11148 gen-libm-test.pl.
11149
5be8418c
AS
11150 [BZ #14132]
11151 * elf/dl-reloc.c: Include <_itoa.h>.
11152 (_dl_reloc_bad_type): Remove use of INTUSE.
11153 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11154 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11155 * stdio-common/psiginfo.c (psiginfo): Likewise.
11156 * stdio-common/psignal.c (psignal): Likewise.
11157 * string/strsignal.c (strsignal): Likewise.
11158 * include/signal.h (_sys_siglist): Declare hidden proto.
11159 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11160 INTVARDEF with libc_hidden_data_def.
11161 * stdio-common/itoa-udigits.c: Likewise.
11162 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11163 (_itoa_lower_digits_internal): Remove declaration.
11164 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11165 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11166 (_sys_sigabbrev_internal): Remove aliases.
11167 (_sys_siglist): Define hidden alias.
11168
507352f1
MT
111692012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11170
11171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11172 bits/sysctl.h.
11173
42bbb1c3
L
111742012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11175
11176 [BZ #14117]
6bd784b6
L
11177 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11178 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11179
8bca20f0
L
11180 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11181 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11182 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11183 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11184 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11185 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11186
f9e890a9
L
11187 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11188 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11189 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11190
471101a1
L
11191 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11192 with __addr.
11193 (insw): Likewise.
11194 (insl): Likewise.
11195 (outsb): Likewise.
11196 (outsw): Likewise.
11197 (outsl): Likewise.
11198
6451c862
L
11199 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11200 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11201 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11202
a254b8c9
L
11203 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11204 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11205 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11206 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11207 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11208 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11209
b8dfdd92
L
11210 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11211 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11212
578cd270
L
11213 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11214 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11215
de662f5f
L
11216 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11217 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11218 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11219
25653439
L
11220 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11221 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11222 to ...
11223 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11224
6bad24a0
L
11225 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11226 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11227 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11228
42bbb1c3
L
11229 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11230 for x86-64.
11231 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11232
2d10d547
JM
112332012-05-31 Joseph Myers <joseph@codesourcery.com>
11234
11235 * math/math.h (M_El): Use two more decimal places.
11236 (M_LOG2El): Likewise.
11237 (M_LOG10El): Likewise.
11238 (M_LN2l): Likewise.
11239 (M_LN10l): Likewise.
11240 (M_PIl): Likewise.
11241 (M_PI_2l): Likewise.
11242 (M_PI_4l): Likewise.
11243 (M_1_PIl): Likewise.
11244 (M_2_PIl): Likewise.
11245 (M_2_SQRTPIl): Likewise.
11246 (M_SQRT2l): Likewise.
11247 (M_SQRT1_2l): Likewise.
11248
f230c29b
DM
112492012-05-31 David S. Miller <davem@davemloft.net>
11250
11251 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11252 values between float registers.
11253 * sysdeps/sparc/sparc64/memset.S: Likewise.
11254 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11255
fed806c3
MF
112562012-05-31 Mike Frysinger <vapier@gentoo.org>
11257
11258 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11259 -D_FORTIFY_SOURCE=1.
11260 (CPPFLAGS-tst-longjmp_chk.c): Define.
11261 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11262 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11263 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11264 CFLAGS-tst-wchar-h.c.
11265
30917259
MP
112662012-05-31 Marek Polacek <polacek@redhat.com>
11267
11268 [BZ #14132]
11269 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11270 __endmntent_internal): Remove declaration.
11271 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11272 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11273 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11274
1c58d5dc
DM
112752012-05-30 David S. Miller <davem@davemloft.net>
11276
11277 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11278 (___Q_simulate_exceptions): Use real FP ops rather than writing
11279 into the %fsr.
11280 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11281 Likewise.
11282
7dc00e0d
L
112832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11284
11285 [BZ #14117]
0bd53985
L
11286 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11287 * sysdeps/x86/bits/xtitypes.h: This.
11288
3a257e66
L
11289 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11290 * sysdeps/x86/bits/wordsize.h: This.
11291
62f62904
L
11292 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11293 * sysdeps/x86/bits/huge_vall.h: This.
11294
404fe9d9
L
11295 * sysdeps/i386/bits/select.h: Removed.
11296 * sysdeps/x86_64/bits/select.h: Renamed to ...
11297 * sysdeps/x86/bits/select.h: This.
11298
d48d0446
L
11299 * sysdeps/i386/bits/setjmp.h: Removed.
11300 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11301 * sysdeps/x86/bits/setjmp.h: This.
11302
7dc00e0d
L
11303 * sysdeps/i386/bits/mathdef.h: Removed.
11304 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11305 * sysdeps/x86/bits/mathdef.h: This.
11306
03277f8f
AS
113072012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11308
11309 [BZ #14132]
11310 * include/sys/socket.h (__connect_internal)
11311 (__libc_sa_len_internal): Remove declaration.
11312 (__connect, __libc_sa_len): Declare hidden_proto.
11313 (SA_LEN): Remove use of INTUSE.
11314 * socket/connect.c: Add libc_hidden_def.
11315 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11316 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11317 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11318 alias.
11319 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11320 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11321 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11322 of adding _internal alias.
11323
13764867
L
113242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11325
11326 [BZ #14117]
6bd97696
L
11327 * sysdeps/i386/bits/link.h: Removed.
11328 * sysdeps/i386/bits/linkmap.h: Likewise.
11329 * sysdeps/x86_64/bits/link.h: Renamed to ...
11330 * sysdeps/x86/bits/link.h: This.
11331 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11332 * sysdeps/x86/bits/linkmap.h: This.
11333
f726f0bb
L
11334 * sysdeps/i386/bits/endian.h: Removed.
11335 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11336 * sysdeps/x86/bits/endian.h: This.
11337
13764867
L
11338 * sysdeps/i386/bits/byteswap.h: Removed.
11339 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11340 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11341 * sysdeps/x86/bits/byteswap.h: This.
11342 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11343 * sysdeps/x86/bits/byteswap-16.h: This.
11344 * sysdeps/i386/Implies: Add x86.
11345 * sysdeps/x86_64/Implies: Likewise.
11346
ae251b0b
DM
113472012-05-30 David S. Miller <davem@davemloft.net>
11348
11349 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11350 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11351 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11352 (FP_TRAPPING_EXCEPTIONS): Define.
11353 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11354 (FP_TRAPPING_EXCEPTIONS): Define.
11355 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11356 subnormals only when inexact has been signalled or underflow
11357 exceptions are enabled.
11358 (_FP_PACK_CANONICAL): Likewise.
11359
d5c90867
L
113602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11361
11362 [BZ #14183]
11363 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11364 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11365
63f1549e
RH
113662012-05-30 Richard Henderson <rth@twiddle.net>
11367
8d8f2279
RH
11368 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11369 with #ifndef NOT_IN_libc.
11370
63f1549e
RH
11371 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11372 marked to avoid plt entry.
11373
0ab0291b
L
113742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11375
11376 [BZ #14112]
11377 * Makeconfig (default-abi): New macro.
11378 (abi-includes): Likewise.
11379 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11380 $(abi-$(default-abi)-lib-soname) for soname if defined.
11381 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11382 abi-variants.
11383 * Makefile (installed-stubs): Likewise.
11384 * include/stubs-biarch.h: Removed.
11385 * scripts/lib-names.awk: Only handle one library at a time.
11386 * scripts/soversions.awk: Remove WORDSIZE support.
11387 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11388 entries.
11389 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11390 Removed.
11391 (syscall-list-default-condition): Likewise.
11392 (syscall-list-default-condition): Likewise.
11393 (syscall-list-includes): Likewise.
11394 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11395 syscall-list-* with abi-*. Handle undefined abi-variants.
11396 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11397 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11398 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11399 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11400 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11401 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11402 Removed.
11403 (syscall-list-32-options): Likewise.
11404 (syscall-list-32-condition): Likewise.
11405 (syscall-list-64-options): Likewise.
11406 (syscall-list-64-condition): Likewise.
11407 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11408 macro.
11409 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11410 Renamed to ...
11411 (abi-*): This.
11412 (abi-64-ld-soname): New macro.
11413 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11414 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11415 Renamed to ...
11416 (abi-*): This.
11417 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11418 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11419
4da0431d
JM
114202012-05-30 Joseph Myers <joseph@codesourcery.com>
11421
3a85279c
JM
11422 * sysdeps/unix/sysv/linux/kernel-features.h
11423 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11424 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11425 include <kernel-features.h>.
11426 [!__NR_ftruncate64]: Remove conditional code.
11427 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11428 [__NR_ftruncate64]: Make code unconditional.
11429 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11430 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11431 include <kernel-features.h>.
11432 [!__NR_ftruncate64]: Remove conditional code.
11433 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11434 [__NR_ftruncate64]: Make code unconditional.
11435 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11437 include <kernel-features.h>.
11438 [!__NR_ftruncate64]: Remove conditional code.
11439 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11440 [__NR_ftruncate64]: Make code unconditional.
11441 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11443 include <kernel-features.h>.
11444 [!__NR_ftruncate64]: Remove conditional code.
11445 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11446 [__NR_ftruncate64]: Make code unconditional.
11447 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11448
4da0431d
JM
11449 * configure.in (libc_cv_fpie): Weaken to a compile test using
11450 LIBC_TRY_CC_OPTION.
11451 * configure: Regenerated.
11452
11ef492c
AK
114532012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11454
11455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11459 Refreshed.
11460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11466 Refreshed.
11467
d66ef399
DM
114682012-05-27 David S. Miller <davem@davemloft.net>
11469
11470 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11471 (___Q_zero): New.
11472 (__Q_simulate_exceptions): Return void. Change to simulate
11473 exceptions by writing into the %fsr.
11474 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11475 (__Qp_handle_exceptions): Likewise.
11476 (numbers): Delete.
11477 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11478 __Qp_handle_exceptions.
11479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11480 __Qp_handle_exceptions.
11481 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11482 as unused and give dummy FP_RND_NEAREST initializer.
11483 (FP_INHIBIT_RESULTS): Define.
11484 (___Q_simulate_exceptions): Update declaration.
11485 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11486 formatting.
11487 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11488 as unused and give dummy FP_RND_NEAREST initializer.
11489 (__Qp_handle_exceptions): Update declaration.
11490 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11491 formatting.
11492
04fb54b5
TS
114932012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11494
11495 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11496 the temporary FPU control word.
11497 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11498 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11499 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11500 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11501 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11502 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11503 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11504 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11505 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11506 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11507 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11508
3f99608f
KK
115092012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11510
11511 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11512 fields.
11513
65a4de4e
CLT
115142012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11515
11516 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11517 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11518 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11519 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11520 Likewise.
11521 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11522 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11523 Likewise.
11524
15749d40
UD
115252012-05-27 Ulrich Drepper <drepper@gmail.com>
11526
11527 * po/h.po: Update from translation team.
11528
25dbcb27
AS
115292012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11530
3d3f8e55
AS
11531 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11532
25dbcb27
AS
11533 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11534 handling of denormals.
11535 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11536 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11537 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11538 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11539 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11541 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11542 Likewise.
11543
7ad47a80 115442012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11545
11546 [BZ #14152]
11547 * math/libm-test.inc (fma_test): Don't always expect underflow
11548 exception.
11549
9c6ea9fa
SP
115502012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11551
11552 [BZ #12416]
11553 * elf/tst-execstack.c: Include stackinfo.h.
11554 (do_test): Adjust test case to ensure that pthread_getattr_np
11555 behaviour remains the same after marking stack executable.
11556
a8239222
JM
115572012-05-25 Joseph Myers <joseph@codesourcery.com>
11558
11559 * sysdeps/unix/sysv/linux/kernel-features.h
11560 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11561 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11562 kernel-features.h.
11563 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11564 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11565 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11566 kernel-features.h.
11567 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11568 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11569
918b5606
L
115702012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11571
11572 * configure.in: Define the default includes to being none.
11573 * configure: Regenerated.
11574
3a097cc7
RM
115752012-05-25 Roland McGrath <roland@hack.frob.com>
11576
8422c9a5
RM
11577 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11578 * sysdeps/x86_64/setjmp.S: Likewise.
11579 * sysdeps/i386/bsd-setjmp.S: Likewise.
11580 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11581 * sysdeps/i386/setjmp.S: Likewise.
11582 * sysdeps/i386/__longjmp.S: Likewise.
11583 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11584 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11585
3a097cc7
RM
11586 * include/stap-probe.h: New file.
11587 * configure.in: Handle --enable-systemtap.
11588 * configure: Regenerated.
11589 * config.h.in (USE_STAP_PROBE): New #undef.
11590 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11591 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11592 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11593
21708942
JM
115942012-05-25 Joseph Myers <joseph@codesourcery.com>
11595
11596 [BZ #13717]
11597 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11598 to 2.4.0 where earlier.
11599 * sysdeps/unix/sysv/linux/configure: Regenerated.
11600 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11601 <kernel-features.h>.
11602 [__ASSUME_32BITUIDS]: Make code unconditional.
11603 [!__ASSUME_32BITUIDS]: Remove conditional code.
11604 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11605 <kernel-features.h>.
11606 [__ASSUME_32BITUIDS]: Make code unconditional.
11607 [!__ASSUME_32BITUIDS]: Remove conditional code.
11608 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11609 [__ASSUME_32BITUIDS]: Make code unconditional.
11610 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11611 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11612 <kernel-features.h>.
11613 [__ASSUME_32BITUIDS]: Make code unconditional.
11614 [!__ASSUME_32BITUIDS]: Remove conditional code.
11615 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11616 <kernel-features.h>.
11617 [__ASSUME_32BITUIDS]: Make code unconditional.
11618 [!__ASSUME_32BITUIDS]: Remove conditional code.
11619 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11620 <kernel-features.h>.
11621 [__ASSUME_32BITUIDS]: Make code unconditional.
11622 [!__ASSUME_32BITUIDS]: Remove conditional code.
11623 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
11652 <kernel-features.h>.
11653 [__NR_setresgid] (__setresgid): Do not declare.
11654 [__ASSUME_32BITUIDS]: Make code unconditional.
11655 [!__ASSUME_32BITUIDS]: Remove conditional code.
11656 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11657 <kernel-features.h>.
11658 [__NR_setresuid] (__setresuid): Do not declare.
11659 [__ASSUME_32BITUIDS]: Make code unconditional.
11660 [!__ASSUME_32BITUIDS]: Remove conditional code.
11661 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11662 <kernel-features.h>.
11663 [__ASSUME_32BITUIDS]: Make code unconditional.
11664 [!__ASSUME_32BITUIDS]: Remove conditional code.
11665 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11666 <kernel-features.h>.
11667 [__ASSUME_32BITUIDS]: Make code unconditional.
11668 [!__ASSUME_32BITUIDS]: Remove conditional code.
11669 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11670 <kernel-features.h>.
11671 [__ASSUME_32BITUIDS]: Make code unconditional.
11672 [!__ASSUME_32BITUIDS]: Remove conditional code.
11673 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11674 <kernel-features.h>.
11675 [__ASSUME_32BITUIDS]: Make code unconditional.
11676 [!__ASSUME_32BITUIDS]: Remove conditional code.
11677 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11678 <kernel-features.h>.
11679 [__ASSUME_32BITUIDS]: Make code unconditional.
11680 [!__ASSUME_32BITUIDS]: Remove conditional code.
11681 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11682 <kernel-features.h>.
11683 [__ASSUME_32BITUIDS]: Make code unconditional.
11684 [!__ASSUME_32BITUIDS]: Remove conditional code.
11685 * sysdeps/unix/sysv/linux/i386/setresuid.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/i386/setreuid.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/i386/setuid.c: Do not include
11694 <kernel-features.h>.
11695 [__ASSUME_32BITUIDS]: Make code unconditional.
11696 [!__ASSUME_32BITUIDS]: Remove conditional code.
11697 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11698 <kernel-features.h>.
11699 [__ASSUME_32BITUIDS]: Make code unconditional.
11700 [!__ASSUME_32BITUIDS]: Remove conditional code.
11701 * sysdeps/unix/sysv/linux/kernel-features.h
11702 (__ASSUME_SETRESUID_SYSCALL): Remove.
11703 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11704 (__ASSUME_32BITUIDS): Likewise.
11705 (__ASSUME_LDT_WORKS): Likewise.
11706 (__ASSUME_O_DIRECTORY): Likewise.
11707 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11708 architecture but not kernel version.
11709 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11710 (__ASSUME_MMAP2_SYSCALL): Likewise.
11711 (__ASSUME_STAT64_SYSCALL): Likewise.
11712 (__ASSUME_IPC64): Likewise.
11713 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11714 <kernel-features.h>.
11715 [__ASSUME_32BITUIDS]: Make code unconditional.
11716 [!__ASSUME_32BITUIDS]: Remove conditional code.
11717 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11718 <kernel-features.h>.
11719 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11720 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11721 132096]: Remove conditional code.
11722 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11723 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11724 <kernel-features.h>.
11725 [__ASSUME_32BITUIDS]: Make code unconditional.
11726 [!__ASSUME_32BITUIDS]: Remove conditional code.
11727 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11728 <kernel-features.h>.
11729 [__ASSUME_32BITUIDS]: Make code unconditional.
11730 [!__ASSUME_32BITUIDS]: Remove conditional code.
11731 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11732 <kernel-features.h>.
11733 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11734 unconditional.
11735 (__setresgid): Do not declare.
11736 [__ASSUME_32BITUIDS]: Make code unconditional.
11737 [!__ASSUME_32BITUIDS]: Remove conditional code.
11738 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11739 <kernel-features.h>.
11740 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11741 unconditional.
11742 (__setresuid): Do not declare.
11743 [__ASSUME_32BITUIDS]: Make code unconditional.
11744 [!__ASSUME_32BITUIDS]: Remove conditional code.
11745 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11746 <kernel-features.h>.
11747 [__ASSUME_32BITUIDS]: Make code unconditional.
11748 [!__ASSUME_32BITUIDS]: Remove conditional code.
11749 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11750 <kernel-features.h>.
11751 [__ASSUME_32BITUIDS]: Make code unconditional.
11752 [!__ASSUME_32BITUIDS]: Remove conditional code.
11753
a386f1cc
RH
117542012-05-25 Richard Henderson <rth@twiddle.net>
11755
11756 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11757 dl_hwcap to ifunc resolver.
11758 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11759 elf_ifunc_invoke.
11760 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11761 dl_hwcap to ifunc resolver.
11762 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11763
b6550497
JM
117642012-05-24 Joseph Myers <joseph@codesourcery.com>
11765
11766 [BZ #14153]
11767 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11768 for |x| <= 2**-26, not 2**-57.
11769 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11770 exception.
11771
b0bc23a1
JL
117722012-05-24 Jeff Law <law@redhat.com>
11773
11774 * stdio-common/Makefile (tests): Add bug25.
11775 * stdio-common/bug25.c: New test.
11776
347c92e9
L
117772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11778
11779 [BZ #13576]
11780 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11781 multiple of MALLOC_ALIGNMENT in size.
11782 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11783
6bcc8b3f
JM
117842012-05-24 Joseph Myers <joseph@codesourcery.com>
11785
11786 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11787 Require >= 256.
11788 (FILENAME_MAX): Use macro-int-constant.
11789 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11790 (_IOFBF): Use macro-int-constant.
11791 (_IOLBF): Likewise.
11792 (_IONBF): Likewise.
11793 (SEEK_CUR): Likewise.
11794 (SEEK_END): Likewise.
11795 (SEEK_SET): Likewise.
11796 (TMP_MAX): Likewise.
11797 (EOF): Use macro-int-constant. Require < 0.
11798 (NULL): Use macro-constant. Require == 0.
11799 (stdin): Require type to be FILE *.
11800 (stdout): Likewise.
11801 (stderr): Likewise.
11802 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11803 macro-int-constant.
11804 (EXIT_SUCCESS): Likewise.
11805 (NULL): Use macro-constant. Require == 0.
11806 (RAND_MAX): Use macro-int-constant.
11807 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11808 [C99-based standards] (strtof): Require function.
11809 [C99-based standards] (strtold): Likewise.
11810 [C99-based standards] (strtoll): Likewise.
11811 [C99-based standards] (strtoull): Likewise.
11812 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11813 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11814 [ISO || ISO99 || ISO11] (math.h): Likewise.
11815 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11816 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11817 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11818
d18ea0c5
AS
118192012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11820
11821 [BZ #14132]
56d25bb8
AS
11822 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11823 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11824 * intl/dgettext.c (DCGETTEXT): Likewise.
11825 * intl/gettext.c (DCGETTEXT): Likewise.
11826 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11827 * posix/regex_internal.h (gettext): Likewise.
11828 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11829 Remove declaration.
11830 * include/argz.h (__argz_count_internal)
11831 (__argz_stringify_internal): Remove declaration.
11832 (__argz_count, __argz_stringify): Declare hidden proto.
11833 * intl/dcgettext.c: Remove use of INTDEF.
11834 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11835 * string/argz-stringify.c: Likewise.
11836 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11837 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11838 Declare hidden proto.
d18ea0c5
AS
11839 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11840 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11841 Declare hidden proto.
11842 * include/stdio.h (__asprintf_internal): Don't declare.
11843 (__asprintf): Don't define as macro. Declare hidden proto.
11844 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11845 (__fsetlocking): Declare hidden proto.
11846 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11847 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11848 hidden proto.
11849 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11850 (_IO_setlinebuf): Remove use of INTUSE.
11851 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11852 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11853 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11854 Remove declaration.
11855 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11856 (_IO_do_flush): Remove use of INTUSE.
11857 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11858 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11859 (_IO_adjust_column, _IO_least_wmarker)
11860 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11861 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11862 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11863 (_IO_default_doallocate, _IO_wdefault_doallocate)
11864 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11865 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11866 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11867 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11868 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11869 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11870 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11871 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11872 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11873 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11874 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11875 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11876 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11877 proto.
11878 (_IO_flush_all_internal, _IO_adjust_column_internal)
11879 (_IO_default_uflow_internal, _IO_default_finish_internal)
11880 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11881 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11882 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11883 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11884 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11885 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11886 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11887 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11888 (_IO_file_close_internal, _IO_file_close_it_internal)
11889 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11890 (_IO_file_init_internal, _IO_file_attach_internal)
11891 (_IO_file_fopen_internal, _IO_file_read_internal)
11892 (_IO_file_sync_internal, _IO_file_seek_internal)
11893 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11894 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11895 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11896 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11897 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11898 (_IO_list_all_internal, _IO_link_in_internal)
11899 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11900 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11901 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11902 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11903 (_IO_do_write_internal, _IO_padn_internal)
11904 (_IO_getline_info_internal, _IO_getline_internal)
11905 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11906 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11907 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11908 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11909 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11910 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11911 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11912 with libc_hidden_ver, remove use of INTUSE.
11913 * libio/genops.c: Likewise.
11914 * libio/freopen.c: Likewise.
11915 * libio/freopen64.c: Likewise.
11916 * libio/iofclose.c: Likewise.
11917 * libio/iofdopen.c: Likewise.
11918 * libio/iofflush.c: Likewise.
11919 * libio/iofflush_u.c: Likewise.
11920 * libio/iofgets.c: Likewise.
11921 * libio/iofgets_u.c: Likewise.
11922 * libio/iofopen.c: Likewise.
11923 * libio/iofopncook.c: Likewise.
11924 * libio/iofread.c: Likewise.
11925 * libio/iofread_u.c: Likewise.
11926 * libio/ioftell.c: Likewise.
11927 * libio/iofwrite.c: Likewise.
11928 * libio/iogetline.c: Likewise.
11929 * libio/iogets.c: Likewise.
11930 * libio/iogetwline.c: Likewise.
11931 * libio/iopadn.c: Likewise.
11932 * libio/iopopen.c: Likewise.
11933 * libio/ioseekoff.c: Likewise.
11934 * libio/ioseekpos.c: Likewise.
11935 * libio/iosetbuffer.c: Likewise.
11936 * libio/iosetvbuf.c: Likewise.
11937 * libio/ioungetc.c: Likewise.
11938 * libio/ioungetwc.c: Likewise.
11939 * libio/iovdprintf.c: Likewise.
11940 * libio/iovsprintf.c: Likewise.
11941 * libio/iovsscanf.c: Likewise.
11942 * libio/memstream.c: Likewise.
11943 * libio/obprintf.c: Likewise.
11944 * libio/oldfileops.c: Likewise.
11945 * libio/oldiofclose.c: Likewise.
11946 * libio/oldiofdopen.c: Likewise.
11947 * libio/oldiofopen.c: Likewise.
11948 * libio/oldiopopen.c: Likewise.
11949 * libio/oldstdfiles.c: Likewise.
11950 * libio/putc.c: Likewise.
11951 * libio/setbuf.c: Likewise.
11952 * libio/setlinebuf.c: Likewise.
11953 * libio/stdfiles.c: Likewise.
11954 * libio/strops.c: Likewise.
11955 * libio/vasprintf.c: Likewise.
11956 * libio/vscanf.c: Likewise.
11957 * libio/vsnprintf.c: Likewise.
11958 * libio/vswprintf.c: Likewise.
11959 * libio/wfiledoalloc.c: Likewise.
11960 * libio/wfileops.c: Likewise.
11961 * libio/wgenops.c: Likewise.
11962 * libio/wmemstream.c: Likewise.
11963 * libio/wstrops.c: Likewise.
11964 * libio/__fpurge.c: Likewise.
11965 * libio/__fsetlocking.c: Likewise.
11966 * assert/assert.c: Likewise.
11967 * debug/fgets_chk.c: Likewise.
11968 * debug/fgets_u_chk.c: Likewise.
11969 * debug/fread_chk.c: Likewise.
11970 * debug/fread_u_chk.c: Likewise.
11971 * debug/gets_chk.c: Likewise.
11972 * debug/obprintf_chk.c: Likewise.
11973 * debug/vasprintf_chk.c: Likewise.
11974 * debug/vdprintf_chk.c: Likewise.
11975 * debug/vsnprintf_chk.c: Likewise.
11976 * debug/vsprintf_chk.c: Likewise.
11977 * malloc/mtrace.c: Likewise.
11978 * misc/error.c: Likewise.
11979 * misc/syslog.c: Likewise.
11980 * stdio-common/asprintf.c: Likewise.
11981 * stdio-common/fxprintf.c: Likewise.
11982 * stdio-common/getw.c: Likewise.
11983 * stdio-common/isoc99_fscanf.c: Likewise.
11984 * stdio-common/isoc99_scanf.c: Likewise.
11985 * stdio-common/isoc99_vfscanf.c: Likewise.
11986 * stdio-common/isoc99_vscanf.c: Likewise.
11987 * stdio-common/isoc99_vsscanf.c: Likewise.
11988 * stdio-common/printf-prs.c: Likewise.
11989 * stdio-common/printf_fp.c: Likewise.
11990 * stdio-common/printf_fphex.c: Likewise.
11991 * stdio-common/printf_size.c: Likewise.
11992 * stdio-common/putw.c: Likewise.
11993 * stdio-common/scanf.c: Likewise.
11994 * stdio-common/sprintf.c: Likewise.
11995 * stdio-common/tmpfile.c: Likewise.
11996 * stdio-common/vfprintf.c: Likewise.
11997 * stdio-common/vfscanf.c: Likewise.
11998 * stdlib/strfmon_l.c: Likewise.
11999 * sunrpc/openchild.c: Likewise.
12000 * sunrpc/xdr_stdio.c: Likewise.
12001 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12002 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12003
d6c33fda
RM
120042012-05-24 Roland McGrath <roland@hack.frob.com>
12005
c1487492
RM
12006 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12007
12008 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12009 in the third column, to generate for the shared library an IFUNC
12010 that uses _dl_vdso_vsym.
12011 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12012 * Makeconfig (object-suffixes-noshared): New variable.
12013
12014 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12015 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12016 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12017 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12018
d6c33fda
RM
12019 [BZ #14132]
12020 * include/sys/time.h (__gettimeofday): Remove macro.
12021 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12022 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12023 Remove INTDEF.
12024 (__gettimeofday): Add libc_hidden_def.
12025 (gettimeofday): Add libc_hidden_weak.
12026 * sysdeps/mach/gettimeofday.c: Likewise.
12027 * sysdeps/posix/gettimeofday.c: Likewise.
12028 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12029 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12030 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12031 (__gettimeofday_internal): Remove strong_alias.
12032 (__gettimeofday): Add libc_hidden_def.
12033 (gettimeofday): Add libc_hidden_weak.
12034 * sysdeps/unix/syscalls.list (gettimeofday):
12035 Remove __gettimeofday_internal alias.
12036
b5a2bbe6
L
120372012-05-24 Daniel Jacobowitz <drow@false.org>
12038 H.J. Lu <hongjiu.lu@intel.com>
12039
12040 [BZ #12495]
12041 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12042 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12043 (largebin_index_32_big): New.
12044 (largebin_index): Use it for 16-byte alignment.
12045 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12046 correction with front_misalign.
12047
cfba4fda
L
120482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12049
7f907421
L
12050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12052 Likewise.
12053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12054 Likewise.
12055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12056 Likewise.
12057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12058 Likewise.
12059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12060 Likewise.
12061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12062 Likewise.
12063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12064 Likewise.
12065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12066 Likewise.
12067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12068 Likewise.
12069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12070 Likewise.
12071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12072 Likewise.
12073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12074 Likewise.
12075
cfba4fda
L
12076 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12077 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12078
80bad0cc
JM
120792012-05-24 Joseph Myers <joseph@codesourcery.com>
12080
7a25eb06
JM
12081 [BZ #10846]
12082 [BZ #14036]
12083 * math/libm-test.inc (exp_test): Add test from bug 14036.
12084 (pow_test): Add test from bug 10846.
12085
795405f9
JM
12086 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12087 and other flags.
12088 (special_function): Do not include flags in test name.
12089 (parse_args): Likewise.
12090 * sysdeps/i386/fpu/libm-test-ulps: Update.
12091 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12092 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12093 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12095
80bad0cc
JM
12096 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12097 exceptions.
12098 * math/libm-test.inc ("Philosophy"): Update comment about
12099 exception testing.
12100 (UNDERFLOW_EXCEPTION): New macro.
12101 (UNDERFLOW_EXCEPTION_OK): Likewise.
12102 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12103 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12104 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12105 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12106 (INVALID_EXCEPTION_OK): Update value.
12107 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12108 (OVERFLOW_EXCEPTION_OK): Likewise.
12109 (IGNORE_ZERO_INF_SIGN): Likewise.
12110 (test_exceptions): Handle underflow exceptions.
12111 (acos_test): Update for underflow exception expectations.
12112 (cexp_test): Likewise.
12113 (clog_test): Likewise.
12114 (clog10_test): Likewise.
12115 (csqrt_test): Likewise.
12116 (ctan_test): Likewise.
12117 (ctanh_test): Likewise.
12118 (exp_test): Likewise.
12119 (exp10_test): Likewise.
12120 (exp2_test): Likewise.
12121 (expm1_test): Likewise.
12122 (fma_test): Likewise.
12123 (j0_test): Likewise.
12124 (jn_test): Likewise.
12125 (nexttoward_test): Likewise.
12126 (pow_test): Likewise.
12127 (scalbn_test): Likewise.
12128 (scalbln_test): Likewise.
12129 (tan_test): Likewise.
12130 (y1_test): Likewise.
12131 * sysdeps/i386/fpu/libm-test-ulps: Update.
12132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12133
9e0e3d0b
DM
121342012-05-23 David S. Miller <davem@davemloft.net>
12135
12136 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12137 (__libc_sigaction): Remove unused local variables.
12138
ccd0a08f
L
121392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12140
12141 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12142
62bdf9a6
PE
121432012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12144
f8591f80
PE
12145 mktime: avoid signed integer overflow
12146 * time/mktime.c (__mktime_internal): Do not mishandle the case
12147 where diff == INT_MIN.
12148
94c7d826
PE
12149 mktime: simplify computation of average
12150 * time/mktime.c (ranged_convert): Use new time_t_avg function
12151 instead of rolling our own (probably-slower) code.
12152
ce73d683
PE
12153 mktime: do not assume signed right shift propagates sign bit
12154 * time/mktime.c (isdst_differ): New static function.
12155 (__mktime_internal): No need to normalize tm_isdst now.
12156 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12157 tm_isdst values.
12158
72a22e59
PE
12159 mktime: merge another wrapv change from gnulib
12160 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12161 from some compilers.
12162
68605433
PE
12163 mktime: remove incorrect attempt at unusual arithmetics
12164 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12165 The code didn't really work on such machines anyway.
12166 (TYPE_MINIMUM): Assume two's complement.
12167 (twos_complement_arithmetic): Verify that long_int and time_t
12168 are two's complement (or unsigned, in the latter case).
12169
03cf7fe3
PE
12170 mktime: check signed shifts on long_int and time_t, too
12171 * time/mktime.c (SHR): Check that shifts work as desired
12172 on the types long_int and time_t too, as SHR is used on
12173 such types.
12174
f04dfbc2
PE
12175 mktime: do not assume 'long' is wide enough
12176 * time/mktime.c (verify): Move decl up.
12177 (long_int): New type.
12178 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12179 to remove assumption in the code that 'long' is wide enough to
12180 store year values. This assumption is not true on x32 and on
12181 some non-glibc platforms.
12182
62bdf9a6
PE
12183 mktime: merge wrapv change from gnulib
12184 * time/mktime.c (WRAPV): New macro.
12185 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12186 (guess_time_tm, __mktime_internal): Do not assume that signed
12187 integer overflow wraps around; modern compilers generate code
12188 where this assumption is no longer valid.
12189
5e292e4f
L
121902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12191
12192 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12193 Replace "jmp L(pseudo_end)" with "ret".
12194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12195 Likewise.
12196
8caf8c87
AJ
121972012-05-23 Andreas Jaeger <aj@suse.de>
12198
12199 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12200 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12201
1a09dc56
AJ
122022012-05-23 Andreas Jaeger <aj@suse.de>
12203 Maximilian Attems <max@stro.at>
12204
12205 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12206 New macros.
12207
1c87aba0
L
122082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12209
12210 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12211 code so that pseudo_end is just ret and the stack pointer is
12212 correct also for static library in error case.
12213
40e45bd5
JM
122142012-05-23 Joseph Myers <joseph@codesourcery.com>
12215
c2670533
JM
12216 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12217 move to syscalls.list.
12218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12222
40e45bd5
JM
12223 * manual/install.texi (Running make install): Do not mention Linux
12224 kernel version for which pt_chown is not needed.
12225 (Linux): Do not mention problems with nscd with 2.0 kernels.
12226 * INSTALL: Regenerated.
12227
be08eda5
AJ
122282012-05-23 Andreas Jaeger <aj@suse.de>
12229
12230 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12231 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12232 macro.
12233 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12234 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12235 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12236 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12237 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12238 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12239 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12240 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12241 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12242 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12243 * sysdeps/unix/sysv/linux/bits/in.h
12244 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12245
a6a056bb
RM
122462012-05-22 Roland McGrath <roland@hack.frob.com>
12247
12248 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12249 (PREPARE_VERSION): Just use assert instead, it will be elided
12250 under [NDEBUG] anyway.
12251
c9009328
L
122522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12253
12254 * sysdeps/unix/sysv/linux/Makefile: Include
12255 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12256 (sysdep_routines): Remove sysctl.
c9009328
L
12257 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12258 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12259 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12260 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12261 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12262
73338355
AJ
122632012-05-22 Andreas Jaeger <aj@suse.de>
12264
12265 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12266 that pseudo_end is just ret and the stack pointer is correct also
12267 for static library in error case.
12268
d44638b0
PP
122692012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12270
12271 [BZ #14122]
12272 * nss/nsswitch.c (defconfig_entries): New variable.
12273 (__nss_database_lookup): Don't leak defconfig entries.
12274 (nss_parse_service_list): Don't leak on error paths.
12275 (free_database_entries): New function.
12276 (free_defconfig): New function.
12277 (free_mem): Move common code to free_database_entries.
12278
31a39bd8
L
122792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12280
da0331a8
L
12281 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12282 Add arch_prctl.
12283 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12284
31a39bd8
L
12285 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12286 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12287 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12288 New macro.
12289 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12290 (INTERNAL_SYSCALL_TYPES): Likewise.
12291 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12292 (LOAD_REGS_TYPES_[1-6]): Likewise.
12293 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12294 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12295
45470df3
AZ
122962012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12297
12298 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12299 copysignl for GLIBC_2_0.
12300 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12301 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12302 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12303 logbl for GLIBC_2_0.
12304 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12305 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12306
98a61bcb
L
123072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12308
a4f6e481
L
12309 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12310 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12311
f63d5db6
L
12312 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12313 Use "neg %eax".
12314
98a61bcb
L
12315 * time/mktime.c: Update copyright years.
12316
95770f14
PE
123172012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12318
6226efbd
PE
12319 mktime: merge comment-quoting-style change from gnulib
12320 * time/mktime.c: Quote 'like this' in comments.
12321 The GNU coding standards suggest that we no longer quote `like this',
12322 as "`" and "'" are typically rendered asymmetrically nowadays.
12323 The typical gnulib style is to quote 'like this' when quoting
12324 code, and "like this" when quoting English.
12325
b99e4f78
PE
12326 * time/mktime.c (compile-command): Add "-I.".
12327
643e01e6
PE
12328 mktime: merge mktime-internal.h change from gnulib
12329 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12330
2554247d
PE
12331 mktime: merge time_r change from gnulib
12332 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12333
826dd0ab
PE
12334 mktime: merge DEBUG change from gnulib
12335 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12336 case system <time.h> has a #define.
12337
bd83aabe
PE
12338 mktime: merge <sys/types.h> change from gnulib
12339 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12340 since <time.t> is now guaranteed to define time_t.
12341
95770f14
PE
12342 mktime: merge HAVE_CONFIG_H change from gnulib
12343 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12344
5e1a27a9
L
123452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12346
0e44a77e
L
12347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12348 Use "neg %eax".
12349
5e1a27a9
L
12350 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12351 __rlim_t cast.
12352 (struct rusage): Use anonymous union to pad each field to
12353 __syscall_slong_t.
12354
46259bec
DM
123552012-05-21 David S. Miller <davem@davemloft.net>
12356
12357 * Makefules (o-iterator): Remove .s cases.
12358 (compile-command.s): Delete.
12359 (COMPILE.s): Delete.
12360 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12361
59f0c22e
JM
123622012-05-21 Joseph Myers <joseph@codesourcery.com>
12363
12364 * configure.in (libc_cv_predef_stack_protector): Only consider
12365 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12366 * configure: Regenerated.
12367
20c07380
L
123682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12369
bbb3154b
L
12370 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12371 New macro. Use R*LP on int and pointer.
12372 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12373 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12374 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12375 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12376
20c07380
L
12377 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12378 [__WORDSIZE_TIME64_COMPAT32] instead of
12379 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12380 (struct utmp): Likewise.
12381 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12382 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12383 Renamed to ...
12384 (__WORDSIZE_TIME64_COMPAT32): This.
12385 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12386 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12387 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12388 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12389 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12390 (__WORDSIZE_TIME64_COMPAT32): New macro.
12391
d8d1017e
AJ
123922012-05-21 Andreas Jaeger <aj@suse.de>
12393
12394 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12395 only if [SHARED]. Add prototype for __wcschr_ia32.
12396
6c7fb145
RM
123972012-05-21 Roland McGrath <roland@hack.frob.com>
12398
12399 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12400 of %rbp unmolested in the jmp_buf while mangling the low bits.
12401 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12402 unmolested high bits of %rbp while demangling the low bits.
12403 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12404
66274218
AJ
124052012-05-21 Andreas Jaeger <aj@suse.de>
12406
07c58f8f
AJ
12407 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12408 * sunrpc/svc_simple.c: Use it for registerrpc.
12409 * sunrpc/xcrypt.c: Use it for passwd2des.
12410
66274218
AJ
12411 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12412
61f65140
L
124132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12414
12415 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12416 Don't define if [__SYSCALL_WORDSIZE != 32].
12417 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12418 New macro.
12419
5fefb436
AJ
124202012-05-21 Bruno Haible <bruno@clisp.org>
12421 Andreas Jaeger <aj@suse.de>
12422
12423 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12424 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12425 inptr and inend for must_buffer_ch.
12426 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12427 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12428 * stdio-common/Makefile (tests): Remove bug15.
12429 (bug15-ENV): Remove macro.
12430 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12431 anymore.
12432
d8e272ab
AJ
124332012-05-19 Andreas Jaeger <aj@suse.de>
12434 Roland McGrath <roland@hack.frob.com>
12435
12436 * manual/contrib.texi: Completely rewritten. It contains now an
12437 alphabetical list of contributors and their contributions.
12438
4a56a162
RH
124392012-05-21 Richard Henderson <rth@twiddle.net>
12440
12441 * misc/getauxval.c (__getauxval): Use unsigned long int.
12442 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12443 (getauxval): Use unsigned long int.
12444
d024d23c
L
124452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12446
12447 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12448
cbc00a03
RM
124492012-05-21 Roland McGrath <roland@hack.frob.com>
12450
12451 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12452 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12453 __alignof__ (long double).
12454
478143fa
AZ
124552012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12456
12457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12458
c7683a6d
RH
124592012-05-20 Richard Henderson <rth@twiddle.net>
12460
12461 * misc/getauxval.c: New file.
12462 * misc/sys/auxv.h: New file.
12463 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12464 (routines): Add getauxval.
12465 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12466 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12467 * elf/dl-sysdep.c (_dl_auxv): Remove.
12468 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12469 * elf/dl-support.c (_dl_auxv): New variable.
12470 (_dl_aux_init): Initialize it.
12471 * manual/startup.texi (Auxiliary Vector): New node.
12472 * sysdeps/generic/bits/hwcap.h: New file.
12473 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12474 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12475 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12476 * sysdeps/sparc/sysdep.h: ... here. Include it.
12477 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12478 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12480 Update.
c7683a6d
RH
12481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12484 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12489
a6f1845d
AZ
124902012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12491
12492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12493
cbcbe830
DM
124942012-05-19 David S. Miller <davem@davemloft.net>
12495
12496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12497
e0b16cc2
JM
124982012-05-19 Joseph Myers <joseph@codesourcery.com>
12499
12500 [BZ #14123]
12501 * math/s_ccosh.c: Include <float.h>
12502 (__ccosh): Avoid internal overflow calculating sinh and cosh
12503 values before multiplying by sin and cos values.
12504 * math/s_ccoshf.c: Likewise.
12505 * math/s_ccoshl.c: Likewise.
12506 * math/s_csin.c: Likewise.
12507 * math/s_csinf.c: Likewise.
12508 * math/s_csinl.c: Likewise.
12509 * math/s_csinh.c: Likewise.
12510 * math/s_csinhf.c: Likewise.
12511 * math/s_csinhl.c: Likewise.
12512 * math/libm-test.inc (ccos_test): Add more tests.
12513 (ccosh_test): Likewise.
12514 (csin_test): Likewise.
12515 (csinh_test): Likewise.
12516 * sysdeps/i386/fpu/libm-test-ulps: Update.
12517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12518
6ad13e08
L
125192012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12520
f66f0ce8
L
12521 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12522 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12523
6ad13e08
L
12524 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12525
b1d072a7
JM
125262012-05-19 Joseph Myers <joseph@codesourcery.com>
12527
12528 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12529 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12530 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12531 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12532 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12533 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12534 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12535 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12536 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12537 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12538 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12539 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12540 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12541 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12542 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12543 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12544 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12545 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12546 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12547 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12548 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12549 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12550 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12551 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12552 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12553 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12554 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12555 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12556 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12557 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12558 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12559
9eae47cb
AJ
125602012-05-18 Andreas Jaeger <aj@suse.de>
12561
12562 * csu/.gitignore: Delete.
12563
bb07f69f
L
125642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12565
12566 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12567 (timex): Use __syscall_slong_t.
12568
e6bdb741
AJ
125692012-05-18 Andreas Jaeger <aj@suse.de>
12570 Carlos O'Donell <carlos_odonell@mentor.com>
12571
12572 * manual/install.texi (Configuring and compiling): Update
12573 description about files modified in the source directory.
d6c33fda 12574 * INSTALL: Regenerated.
e6bdb741 12575
1b74487e
L
125762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12577
12578 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12579 value. Use "or" to set return value to -1.
12580 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12581 negate return value.
12582
a88b64b9
TMQMF
125832012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12584
12585 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12586 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12587 failure if the compiler has Graphite support disabled.
12588 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12589 Likewise.
12590 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12591 CFLAGS-memmove.c): Likewise.
12592 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12593 Likewise.
12594
3707636e
L
125952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12596
610b8622
L
12597 * sysdeps/x86_64/x32/_itoa.h: New file.
12598
7cd195df
L
12599 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12600 getdents system call only if kernel and user dirents have the
12601 same d_ino and d_off.
12602
94b07d20
L
12603 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12604 LLONG_MAX != LONG_MAX.
12605 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12606 (_fitoa_word): Likewise.
12607
18298070
L
12608 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12609 years.
12610 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12611 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12612 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12613
553c7ea4
L
12614 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12615 include <bits/wordsize.h>. Check __x86_64__ instead of
12616 __WORDSIZE.
12617 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12618 if __x86_64__ is defined. Use anonymous union on fpstate.
12619
3707636e
L
12620 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12621 anonymous union.
12622
b53ef01a
AS
126232012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12624
37fb1dc0
AS
12625 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12626 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12627 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12628 Refer to _rtld_local_ro instead of _rtld_global_ro.
12629 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12630 Likewise.
12631 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12632 Likewise.
12633 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12634 Likewise.
12635 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12636 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12637 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12638
b53ef01a
AS
12639 * sysdeps/powerpc/powerpc32/dl-machine.c
12640 (__elf_machine_runtime_setup) [PROF]: Don't reference
12641 _dl_prof_resolve.
12642
7a185db2
AJ
126432012-05-18 Andreas Jaeger <aj@suse.de>
12644
12645 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12646 function only available for GCCs before 3.4 since GCC 3.4
12647 introduced a builtin.
12648 (lrint): Likewise.
12649 (llrintf): Likewise.
12650 (llrint): Likewise.
12651 (fmaxf): Likewise.
12652 (fmax): Likewise.
12653 (fminf): Likewise.
12654 (fmin): Likewise.
12655 (rint): Likewise.
12656 (rintf): Likewise.
12657 (nearbyint): Likewise.
12658 (nearbyintf): Likewise.
12659 (ceil): Likewise.
12660 (ceilf): Likewise.
12661 (floor): Likewise.
12662 (floorf): Likewise.
12663
3e5aef87
L
126642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12665
428bd707
L
12666 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12667 on both fields and cast pointer to __syscall_ulong_t.
12668
3e5aef87
L
12669 * bits/types.h (__fsword_t): New type.
12670 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12671 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12672 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12673 (__FSWORD_T_TYPE): Likewise.
12674 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12675 (__FSWORD_T_TYPE): Likewise.
12676 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12677 (__FSWORD_T_TYPE): Likewise.
12678 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12679 (__FSWORD_T_TYPE): Likewise.
12680 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12681 __SWORD_TYPE with __fsword_t.
12682 (statfs64): Likewise.
12683
1ba7c3dc
DM
126842012-05-17 David S. Miller <davem@davemloft.net>
12685
12686 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12687
59910343
AJ
126882012-05-17 Andreas Jaeger <aj@suse.de>
12689
12690 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12691 warning.
12692
2e4c1e9e
L
126932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12694
12695 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12696
de7f5ce7
AJ
126972012-05-17 Andreas Jaeger <aj@suse.de>
12698
12699 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12700 when it is used.
12701
286abc3d
CM
127022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12703
12704 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12705
477cc68e
L
127062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12707
12708 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12709 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12710
1a0994f5
CD
127112012-05-17 Andreas Jaeger <aj@suse.de>
12712 Carlos O'Donell <carlos_odonell@mentor.com>
12713
12714 [BZ #14059]
12715 * sysdeps/x86_64/multiarch/init-arch.h
12716 (bit_YMM_Usable): Rename to...
12717 (bit_AVX_Usable): ... this.
12718 (bit_FMA4_Usable): New macro.
12719 (bit_XMM_state): New macro.
12720 (bit_YMM_state): New macro.
12721 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12722 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12723 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12724 (CPUID_OSXSAVE): New macro.
12725 (CPUID_AVX): New macro.
12726 (CPUID_FMA4): New macro.
12727 (index_YMM_Usable): Rename to...
12728 (index_AVX_Usable): ... this.
12729 (HAS_AVX): Use HAS_ARCH_FEATURE.
12730 (HAS_FMA4): Likewise.
12731 (HAS_YMM_USABLE): Remove.
12732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12733 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12734 are present.
12735 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12736 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12737 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12738 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12739 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12740
0af797de
CM
127412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12742
12743 * math/libm-test.c: Support platforms without multiple rounding modes.
12744 * math/bug-nextafter.c: Support platforms without FP exceptions.
12745 * math/bug-nexttoward.c: Likewise.
12746 * math/test-fenv.c: Likewise.
12747 * math/test-misc.c: Likewise.
12748 * stdlib/bug-getcontext.c: Likewise.
12749
e39745ff
AJ
127502012-05-17 Andreas Jaeger <aj@suse.de>
12751
12752 * manual/examples/search.c (critter_cmp): Change signature to
12753 avoid warnings.
12754 * manual/string.texi (Collation Functions): Likewise.
12755
48970aba
L
127562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12757
12758 * bits/types.h: Fold copyright years.
12759 * bits/typesizes.h: Likewise.
12760 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12761 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12762 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12763 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12764 * time/time.h: Likewise.
12765
bedee953
PP
127662012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12767
12768 [BZ #208]
12769 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12770 in instead of returning them. Return void.
12771 (__libc_mallinfo): Accumulate over all arenas.
12772 (__malloc_stats): Adjust for change in int_mallinfo interface.
12773
61653dfb
RM
127742012-05-16 Roland McGrath <roland@hack.frob.com>
12775
30b99d79
RM
12776 [BZ #10375]
12777 * configure.in (NM): Add AC_CHECK_TOOL for it.
12778 (libc_extra_cflags): New substituted variable.
12779 Check for -fstack-protector being used implicitly.
12780 * configure: Regenerated.
12781 * config.make.in (config-extra-cflags): New variable,
12782 gets @libc_extra_cflags@.
12783 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12784
61653dfb
RM
12785 [BZ #10375]
12786 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12787 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12788 * configure: Regenerated.
12789 * config.make.in (CPPUNDEFS): New substituted variable.
12790 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12791 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12792 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12793
661768bb
L
127942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12795
12796 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12797 (mq_attr): Use __syscall_slong_t.
12798
d4261567
L
127992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12800
12801 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12802 Check __x86_64__ instead of __WORDSIZE.
12803 (_STAT_VER_LINUX): Likewise.
12804 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12805 __syscall_ulong_t and __syscall_slong_t.
12806 (stat64): Likewise.
12807
cf3ff365
L
128082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12809
12810 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12811
76cf3e4d
L
128122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12813
12814 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12815
a637753a
L
128162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12817
12818 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12819 __syscall_ulong_t.
12820
d5e05119
L
12821 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12822 include <bits/wordsize.h>. Check __x86_64__ instead of
12823 __WORDSIZE.
12824 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12825 defined.
12826 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12827
f62ee380
L
12828 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12829 include <bits/wordsize.h>. Check __x86_64__ instead of
12830 __WORDSIZE.
12831 (user_regs_struct): Use "__extension__ unsigned long long"
12832 instead of "unsigned long" if __x86_64__ is defined.
12833 (user): Likewise. Pad after pointer field if __ILP32__ is
12834 defined.
12835
4e124ced
JM
128362012-05-16 Joseph Myers <joseph@codesourcery.com>
12837
6a3951a0
JM
12838 * configure.in (makeinfo): Require version 4.5 or later. Allow
12839 versions 5 to 9.
12840 * configure: Regenerated.
12841 * manual/install.texi (texinfo): Increase version requirement to
12842 4.5 or later.
12843 * INSTALL: Regenerated.
12844
4e124ced
JM
12845 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12846
953ca31a
L
128472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12848
12849 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12850
617aca05
L
12851 * sysdeps/x86_64/x32/ffs.c: New file.
12852
5762f7ae
L
12853 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12854 __syscall_ulong_t.
12855 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12856 defined. Use __syscall_ulong_t.
12857 (shminfo): Use __syscall_ulong_t.
12858 (shm_info): Likewise.
12859
a26b6856
L
12860 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12861 __syscall_ulong_t.
12862
cb2b9ef7
L
12863 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12864 <bits/wordsize.h>.
12865 (msgqnum_t): Use __syscall_ulong_t.
12866 (msglen_t): Likewise.
12867 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12868 __syscall_ulong_t.
12869
34683bb0
L
12870 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12871 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12872
84a68786
L
12873 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12874
48baa5f1
L
12875 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12876 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12877
180be88b
L
12878 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12879 __syscall_slong_t.
12880
5e90c8ad
L
12881 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12882 include <bits/wordsize.h>. Check __x86_64__ instead of
12883 __WORDSIZE.
12884
23dfb58b
L
12885 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12886 "unsigned long long int" if __x86_64__ is defined.
12887 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12888
ce5d54b0
L
12889 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12890 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12891 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12892
13dc9eac
L
12893 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12894 <stdint.h>.
12895 (GET_PC): Cast to uintptr_t first.
12896 (GET_FRAME): Likewise.
12897 (GET_STACK): Likewise.
12898
a7895d15
L
12899 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12900 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12901 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12902 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12903 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12904 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12905 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12906 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12907 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12908 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12909 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12910 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12911 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12912 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12913 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12914 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12915 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12916 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12917 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12918 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12919 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12920 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12921 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12922 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12923 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12924 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12925 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12926 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12927 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12928
656416c9
AS
129292012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12930
5bd66283
AS
12931 * Makerules (+depfiles): Also collect depfiles from .oS in
12932 $(extra-objs).
12933 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12934 .oS, $(libnldbl-routines)).
12935
656416c9
AS
12936 * Makerules (native-compile-mkdep-flags): Define.
12937 * sunrpc/Makefile (extra-objs): Add $(addprefix
12938 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12939 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12940 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12941 calling $(make-target-directory).
12942
a46f2169
L
129432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12944
12945 * bits/types.h (__snseconds_t): Removed.
12946 * time/time.h (struct timespec): Replace __snseconds_t with
12947 __syscall_slong_t.
12948 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12949 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12950 Likewise.
12951 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12952 (__SNSECONDS_T_TYPE): Likewise.
12953 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12954 (__SNSECONDS_T_TYPE): Likewise.
12955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12956 (__SNSECONDS_T_TYPE): Likewise.
12957
6af6528b
L
129582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12959
12960 * sysdeps/mach/hurd/bits/typesizes.h
12961 (__SYSCALL_SLONG_TYPE): New macro.
12962 (__SYSCALL_ULONG_TYPE): Likewise.
12963
de986b56
L
129642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12965
12966 * bits/types.h (__syscall_slong_t): New type.
12967 (__syscall_ulong_t): Likewise.
12968
12969 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12970 (__SYSCALL_ULONG_TYPE): Likewise.
12971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12972 (__SYSCALL_SLONG_TYPE): Likewise.
12973 (__SYSCALL_ULONG_TYPE): Likewise.
12974 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12975 (__SYSCALL_SLONG_TYPE): Likewise.
12976 (__SYSCALL_ULONG_TYPE): Likewise.
12977 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12978 (__SYSCALL_SLONG_TYPE): Likewise.
12979 (__SYSCALL_ULONG_TYPE): Likewise.
12980
85736dc7
L
129812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12982
12983 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12984 Add sigaltstack-offsets.sym.
12985 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12986 <sigaltstack-offsets.h>.
12987 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12988 longjmp_msg pointer.
12989 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12990 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12991 signal stack.
12992 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12993
cc03b296
JM
129942012-05-15 Joseph Myers <joseph@codesourcery.com>
12995
a9538892
JM
12996 * elf/stackguard-macros.h: Remove file.
12997 * sysdeps/generic/stackguard-macros.h: New file.
12998 * sysdeps/i386/stackguard-macros.h: Likewise.
12999 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13000 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13001 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13002 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13003 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13004 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13005 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13006 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13007 <elf/stackguard-macros.h>.
13008
cc03b296
JM
13009 [BZ #14109]
13010 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13011 __aligned__ in attribute.
13012 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13013 (gregset_t): Likewise.
13014
93171016
L
130152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13016
13017 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13018 * sysdeps/x86_64/64/Implies-after: Here. New file.
13019 * sysdeps/x86_64/x32/Implies-after: New file.
13020
d86813a0
L
130212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13022
13023 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13024 and access return value for _dl_profile_fixup. Use R10_LP to
13025 load frame size.
13026
2953ec75
L
130272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13028
13029 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13030
3b550e9e
L
130312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13032
13033 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13034 * sysdeps/x86_64/x32/sysdep.h: New file.
13035
eda41706
L
130362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13037
13038 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13039 * sysdeps/x86_64/setjmp.S: Likewise.
13040
9ea01d93
AZ
130412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13042
13043 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13044 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13045 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13046 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13047 remove unused global constant.
13048
02a91938
CM
130492012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13050
13051 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13052 include of <not-cancel.h>.
13053
6540185f
RM
130542012-05-15 Roland McGrath <roland@hack.frob.com>
13055
13056 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13057
509072a0
AJ
130582012-05-15 Jeff Law <law@redhat.com>
13059 Andreas Jaeger <aj@suse.de>
13060
13061 [BZ #13594]
13062 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13063 out from...
13064 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13065 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13066 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13067 code changing __hst_map_handle.map.
13068
ba75122d
RM
130692012-05-15 Roland McGrath <roland@hack.frob.com>
13070
13071 * configure.in (sysnames): Look for Implies-before and Implies-after
13072 files.
13073 * configure: Regenerated.
13074
890d8bd8
L
130752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13076
13077 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13078 8-byte data alignment with LP_SIZE alignment.
13079
f6ee6623
L
130802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13081
13082 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13083 into R10_LP.
13084
ea2626f6
L
130852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13086
13087 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13088
085f715e
L
130892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13090
13091 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13092 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13093 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13094 Likewise.
13095 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13096
be8498fc
L
130972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13098
13099 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13100 (stackinfo_sub_sp): Likewise.
13101
70bc83b9
L
131022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13103
13104 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13105 RAX_LP.
13106
9bc0b730
L
131072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13108
13109 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13110 into R*_LP.
13111
6d2850e7
L
131122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13113
13114 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13115 sizes into R*_LP.
13116
3cb84561
L
131172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13118
13119 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13120
54e2ed81
L
131212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13122
13123 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13124 into R11_LP and load __x86_64_shared_cache_size_half into
13125 R8_LP.
13126
8a17f349
L
131272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13128
13129 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13130 R8_LP.
13131
777b1eea
AZ
131322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13133
13134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13135 logb for POWER7.
13136 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13137 logbf for POWER7.
13138 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13139 logbl for POWER7.
13140 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13141 powerpc32/power7/fpu/s_logb.c via #include.
13142 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13143 powerpc32/power7/fpu/s_logbf.c via #include.
13144 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13145 powerpc32/power7/fpu/s_logbl.c via #include.
13146
d20d4ac2
JM
131472012-05-15 Joseph Myers <joseph@codesourcery.com>
13148
13149 * README.libm: Remove file.
13150
6cdef1ab
L
131512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13152
13153 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13154 count for x32. Use R*_LP and omit operand-size suffix.
13155
0b254d8f
L
131562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13157
13158 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13159 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13160 * sysdeps/x86_64/x32/shlib-versions: New file.
13161
ceb809dc
RM
131622012-05-14 Roland McGrath <roland@hack.frob.com>
13163
13164 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13165 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13166 Use _dl_fatal_printf instead.
13167
37f1abd4
JM
131682012-05-14 Joseph Myers <joseph@codesourcery.com>
13169
13170 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13171 set if not set by the user. Do not allow for being unset.
13172 * sysdeps/unix/sysv/linux/configure: Regenerated.
13173
11de3a33
L
131742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13175
13176 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13177 the `q' suffix from lea and replace .quad with ASM_ADDR.
13178
e02f153a
L
131792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13180
13181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13182 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13183 instead of $17.
13184 (PTR_DEMANGLE): Likewise.
13185
520ae0fd
L
131862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13187
13188 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13189 (LP_OP): Likewise.
13190 (ASM_ADDR): Likewise.
13191 (RAX_LP): Likewise.
13192 (RBP_LP): Likewise.
13193 (RBX_LP): Likewise.
13194 (RCX_LP): Likewise.
13195 (RDI_LP): Likewise.
13196 (RSI_LP): Likewise.
13197 (RSP_LP): Likewise.
13198 (R8_LP): Likewise.
13199 (R9_LP): Likewise.
13200 (R10_LP): Likewise.
13201 (R10_LP): Likewise.
13202 (R11_LP): Likewise.
13203 (R12_LP): Likewise.
13204 (R13_LP): Likewise.
13205 (R14_LP): Likewise.
13206 (R15_LP): Likewise.
13207
b985be81
L
132082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13209
13210 * sysdeps/x86_64/x32/dl-machine.h: New file.
13211
6a4888ff
AJ
132122012-05-14 Andreas Jaeger <aj@suse.de>
13213
13214 * manual/Makefile (subdir): Remove export of subdir.
13215 (all): Remove target.
13216 (.PHONY): Remove all from list.
13217 (mkinstalldirs): Remove.
13218 (.PHONY): Remove installdirs from list.
13219 ($(inst_infodir)/libc.info): Use make-target-directory.
13220 (installdirs): Remove.
13221 (subdir_%): Remove.
13222 (glibc-targets): Remove.
13223 (lib): Remove.
13224 (stubs): Remove.
13225 ($(objpfx)stubs ../po/manual.pot): Remove.
13226 ($(objpfx)stamp%): Remove.
13227 (make-target-directory): Remove.
13228 (subdir_install): Remove.
13229 (routines): Remove.
13230 (aux): Remove.
13231 (sources): Remove.
13232 (objects): Remove.
13233 (headers): Remove.
13234
13235 [BZ #13750]
13236 * manual/.gitignore: Remove, it's not needed anymore.
13237 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13238 all files in it.
13239 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13240 directory.
13241 (texis): Renamed to $(objpfx)texis.
13242 (texis-path): New, contains path to generated files.
13243 (chapters.%): Use texis-path for complete path, add extra argument
13244 libc-texinfo.sh.
13245 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13246 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13247 (summary,texi, stamp-summary): Use complete path of
13248 files. Generate files in build dir.
13249 (dir-add.texi): Build in build dir.
13250 (libm-err.texi,stamp-libm-err): Likewise.
13251 (version.texi, stamp-version): Likewise.
13252 (.%c.texi): Likewise.
13253 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13254 (mostlyclean): Remove target.
13255 (realclean): Remove target.
13256 (generated): Add new variable with contents from mostlyclean and
13257 realclean, remove entries duplicated in common-mostlyclean, add
13258 stamp-libm-err and stamp-version.
13259 (generated-dirs): Add libc directory.
13260 ($(inst_infodir)/libc.info): Install files from build dir.
13261
13262 * manual/install.texi (Configuring and compiling): Adjust since
13263 the info files are not part of the tar ball anymore.
13264
7ac77294
AJ
132652012-05-14 Andreas Jaeger <aj@suse.de>
13266
13267 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13268 variable.
13269
ffb7875d
JM
132702012-05-14 Joseph Myers <joseph@codesourcery.com>
13271
13272 [BZ #13717]
13273 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13274 to 2.2.0 where earlier.
13275 * sysdeps/unix/sysv/linux/configure: Regenerated.
13276 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13277 Remove conditional code.
13278 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13279 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13280 Remove conditional code.
13281 [!__NR_lchown]: Likewise.
13282 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13283 [__NR_lchown]: Likewise.
13284 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13285 comment referencing __ASSUME_LCHOWN_SYSCALL.
13286 * sysdeps/unix/sysv/linux/i386/sigaction.c
13287 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13288 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13289 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13290 Remove conditional code.
13291 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13292 (__protocol_available): Remove #if 0 code.
13293 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13294 conditional code.
13295 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13296 * sysdeps/unix/sysv/linux/kernel-features.h
13297 (__ASSUME_GETCWD_SYSCALL): Don't define.
13298 (__ASSUME_REALTIME_SIGNALS): Likewise.
13299 (__ASSUME_PREAD_SYSCALL): Likewise.
13300 (__ASSUME_PWRITE_SYSCALL): Likewise.
13301 (__ASSUME_POLL_SYSCALL): Likewise.
13302 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13303 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13304 non-SPARC.
13305 (__ASSUME_SIOCGIFNAME): Don't define.
13306 (__ASSUME_MSG_NOSIGNAL): Likewise.
13307 (__ASSUME_SENDFILE): Define unconditionally.
13308 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13309 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13310 conditional code.
13311 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13312 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13313 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13314 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13315 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13316 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13317 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13319 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13320 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13322 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13323 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13325 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13328 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13331 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13334 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13335 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13337 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13338 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13340 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13341 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13342 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13343 Remove conditional code.
13344 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13345 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13346 Remove conditional code.
13347 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13348 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13349 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13350 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13351 Remove conditional code.
13352 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13353 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13354 Remove conditional code.
13355 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13356 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13357 Remove conditional code.
13358 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13359 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13360 Remove conditional code.
13361 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13362 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13363 Remove conditional code.
13364 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13365 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13366 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13367 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13368 * sysdeps/unix/sysv/linux/sigaction.c
13369 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13370 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13371 * sysdeps/unix/sysv/linux/sigpending.c
13372 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13373 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13374 * sysdeps/unix/sysv/linux/sigprocmask.c
13375 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13376 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13377 * sysdeps/unix/sysv/linux/sigsuspend.c
13378 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13379 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13380 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13381 (__libc_missing_rt_sigs): Remove.
13382 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13383 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13384 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13385 Remove conditional code.
13386 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13387 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13388 return 1.
13389 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13390 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13391 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13392 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13393
1bfb7291
AJ
133942012-05-14 Andreas Jaeger <aj@suse.de>
13395
caae5a81
AJ
13396 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13397 it's not used in glibc.
13398 (__coshm1): Likewise.
13399 (__acosh1p): Likewise.
13400 (__sgn): Likewise.
13401
1bfb7291
AJ
13402 * manual/string.texi (Copying and Concatenation): Add missing
13403 variable in concat example.
13404 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13405
c044d724
L
134062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13407
144c5467 13408 [BZ #14103]
c044d724
L
13409 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13410 __builtin_clzl with __builtin_clzll.
13411
2523c62b
L
134122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13413
13414 [BZ #14104]
13415 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13416 libc_freeres_ptr.
13417
d7bb4c42
LD
134182012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13419
13420 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13421 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13422 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13423 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13424
9dc4e1fb
MF
134252012-05-14 Mike Frysinger <vapier@gentoo.org>
13426
13427 * NEWS: Update ia64 info.
13428
c7df0112
AS
134292012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13430
13431 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13432 used as bcopy.
13433
dc70356c
TS
134342012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13435
13436 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13437 * sysdeps/unix/syscalls.list (dup3): Likewise.
13438 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13439 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13440
9fb1a21f
L
134412012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13442
13443 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13444 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13445
4822a2a5
L
134462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13447
13448 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13449 thread pointer.
13450 (TLS_IE): Use mov/add instead of movq/addq to load thread
13451 pointer.
13452 (TLS_GD_PREFIX): New.
13453 (TLS_GD): Use it.
13454
842b81d6
DM
134552012-05-11 David S. Miller <davem@davemloft.net>
13456
13457 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13458 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13459 (_FPU_SETCW): Likewise.
13460
1cf463cd
L
134612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13462
13463 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13464 is 32-byte aligned.
13465
60cc4a18
AS
134662012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13467
13468 [BZ #11837]
13469 * iconvdata/gb18030.c: Update tables.
13470 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13471 characters specially.
13472 (BODY for TO_LOOP): Add encoding of missing ranges.
13473
febb44a4
TS
134742012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13475
13476 [BZ #13673]
13477 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13478 * sysdeps/mach/hurd/dup3.c: Likewise.
13479 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13480 * sysdeps/powerpc/memmove.c:: Likewise.
13481
0a10fb9e
L
134822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13483
13484 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13485 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13486
df8a552f
L
134872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13488
13489 * elf/elf.h (R_X86_64_RELATIVE64): New.
13490 (R_X86_64_NUM): Updated.
13491 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13492 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13493 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13494 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13495 tst-quad1pie tst-quad2pie
13496 (modules-names): Add tst-quadmod1 tst-quadmod2.
13497 ($(objpfx)tst-quad1): New dependency.
13498 ($(objpfx)tst-quad2): Likewise.
13499 ($(objpfx)tst-quad1pie): Likewise.
13500 ($(objpfx)tst-quad2pie): Likewise.
13501 * sysdeps/x86_64/tst-quad1.c: New file.
13502 * sysdeps/x86_64/tst-quad1pie.c: New file.
13503 * sysdeps/x86_64/tst-quad2.c: Likewise.
13504 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13505 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13506 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13507 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13508 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13509
f34d6f84
ST
135102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13511
f42d41d1
ST
13512 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13513 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13514 * streams/stropts.h (t_scalar_t): Define type.
13515
3c3571fc
ST
13516 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13517 (_PATH_PRESERVE): Set to "/var/lib".
13518 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13519
61f06bd3
ST
13520 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13521 instead of int.
13522
918d4d71
ST
13523 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13524 if __dir_mkfile succeeded.
13525
f34d6f84
ST
13526 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13527 checking for _hurd_dtablesize. Unlock it right after having
13528 finished _hurd_dtable allocation.
13529
10589b4a
TS
135302012-05-10 Thomas Schwinge <thomas@schwinge.name>
13531
674cdbc7
TS
13532 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13533 * sysdeps/mach/hurd/configure: Regenerated.
13534 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13535 special-casing to...
13536 * sysdeps/gnu/configure.in: ... this new file.
13537 * sysdeps/unix/sysv/linux/configure: Regenerated.
13538 * sysdeps/gnu/configure: New generated file.
13539
8e41b99f
TS
13540 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13541 for Linux: use nsec instead of usec, as well as:
13542 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13543 members of type struct timespec.
13544 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13545 New macros.
13546 (struct stat64): Likewise.
13547 (_STATBUF_ST_NSEC): New macro.
13548 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13549
10589b4a
TS
13550 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13551 __strtoul_internal rather than strtoul.
13552
63643c85
PT
135532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13554
13555 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13556 and reject them.
13557
3faebe6a
ST
135582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13559
13560 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13561 which preserves existing values.
13562 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13563
c6474b07
PT
135642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13565
13566 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13567 TIMEOUT values. Return EINVAL for NFDS values either negative or
13568 greater than FD_SETSIZE.
13569
1043890b
ST
135702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13571
13572 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13573 allocated, call __vm_protect to finish enabling the existing space, and
13574 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13575 allocate the remainder.
13576
37ed8b9b
PT
135772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13578
13579 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13580 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13581
db653660
ST
135822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13583
37ed8b9b
PT
13584 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13585 sysdeps/mach/hurd/readlink.c.
b29d4053 13586
db653660
ST
13587 * posix/tst-sysconf.c (posix_options): Only use
13588 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13589 _POSIX_SYNCHRONIZED_IO when they are defined
13590 * sysdeps/mach/hurd/bits/posix_opt.h:
13591 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13592 (_XOPEN_REALTIME): Undefine macro.
13593 (_XOPEN_REALTIME_THREADS): Undefine macro.
13594 (_XOPEN_SHM): Undefine macro.
13595 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13596 macro to -1.
13597 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13598 macro to -1.
13599 (_POSIX_ASYNC_IO): Undefine macro.
13600 (_POSIX_PRIORITIZED_IO): Undefine macro.
13601 (_POSIX_SPIN_LOCKS): Define macro to -1.
13602
ee16e894
ST
13603 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13604 SA_NODEFER, SA_RESETHAND.
13605 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13606 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13607 F_DUPFD_CLOEXEC.
13608
6103ae3b
TS
136092012-05-10 Thomas Schwinge <thomas@schwinge.name>
13610
13611 * elf/Makefile (pldd-modules): Define unconditionally.
13612
80b4e5f3
TS
136132012-05-10 Thomas Schwinge <thomas@schwinge.name>
13614
13615 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13616
edadcbd6
ST
136172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13618
13619 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13620 Return ENOENT when name is empty.
13621 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13622
80694780
TS
136232012-05-10 Thomas Schwinge <thomas@schwinge.name>
13624
1792c087
TS
13625 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13626
80694780
TS
13627 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13628
6b645f0d
ST
136292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13630
80694780
TS
13631 Fix mlock in all cases except non-readable pages.
13632 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13633 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13634
6b645f0d
ST
13635 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13636 (__mkdir): When path is `/', just fail with EEXIST.
13637 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13638
e468f8a3
TS
136392012-05-10 Thomas Schwinge <thomas@schwinge.name>
13640
13641 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13642 <sys/uio.h> (for writev).
13643 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13644 and <sys/param.h> (for MIN).
13645
a4186cff
PT
136462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13647
13648 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13649 REQUESTED_TIME. Properly set the remaining time and return EINTR
13650 if interrupted.
13651
510bbf14
TS
136522012-05-10 Thomas Schwinge <thomas@schwinge.name>
13653
13654 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13655 Depend on against $(link-rpcuserlibs).
13656
5d5722e8
ST
136572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13658
a4186cff
PT
13659 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13660 (__libc_stack_end): Do not use attribute_relro.
13661 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13662 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 13663 to libthread-provided value.
a4186cff
PT
13664 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13665 attribute_relro.
5d5722e8 13666
37233df9
TS
136672012-05-10 Thomas Schwinge <thomas@schwinge.name>
13668
be971a2b
TS
13669 [BZ #3748]
13670 * bits/libc-lock.h (__libc_once_get): New macro.
13671 * sysdeps/mach/bits/libc-lock.h: Likewise.
13672 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13673 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13674 instead of using implementation details.
13675
37233df9
TS
13676 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13677 * libio/freopen.c: Likewise.
13678 * libio/freopen64.c: Likewise.
13679 * misc/syslog.c: Likewise.
13680 * nscd/connections.c: Likewise.
13681 * nscd/netgroupcache.c: Likewise.
13682 * sysdeps/posix/getcwd.c: Likewise.
13683
38de94a5
RM
136842012-05-10 Roland McGrath <roland@hack.frob.com>
13685
13686 * math/w_ilogbf.c: Add #include <limits.h>.
13687
67530489
ST
136882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13689
a4186cff 13690 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
13691 path instead of returning without unlocking.
13692
67530489
ST
13693 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13694 immediate-write ioctls.
13695 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13696
5aa3a74a
TS
136972012-05-10 Thomas Schwinge <thomas@schwinge.name>
13698
18bad2ae
TS
13699 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13700 __builtin_frame_address instead of making assumptions about the
13701 location of the return address relative to DATA. Force early load of
13702 the return address.
13703 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13704 __builtin_frame_address.
13705
5aa3a74a
TS
13706 dup3 for GNU Hurd.
13707 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13708 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13709 implement dup3 and do some further code clean-ups.
13710 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13711 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13712
ecd0de9a
ST
137132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13714
cd9fa985
ST
13715 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13716
a4186cff
PT
13717 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13718 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13719 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13720 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13721 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13722 d->port.lock.
802ca5a5 13723
a4186cff
PT
13724 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13725 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13726 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 13727
bcf55240
TS
137282012-05-10 Thomas Schwinge <thomas@schwinge.name>
13729
6960eb42
TS
13730 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13731 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13732 definitions.
13733
eb43375f
TS
13734 accept4 for GNU Hurd.
13735 * include/sys/socket.h (__libc_accept4): New prototype.
13736 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13737 to implement __libc_accept4.
13738 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13739 __libc_accept4.
13740 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13741
bcf55240
TS
13742 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13743 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13744 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13745 signal-defines.sym.
13746
6178c55b
ST
137472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13748
a4186cff 13749 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 13750
6f080c2f
TS
137512012-05-10 Thomas Schwinge <thomas@schwinge.name>
13752
13753 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13754 assertion on O_CLOEXEC flag.
13755 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13756 * hurd/intern-fd.c: Likewise.
13757 * hurd/port2fd.c: Likewise.
13758
bcfe3a54
ST
137592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13760
13761 [BZ #3906]
13762 * bits/in.h (IPV6_PKTINFO): Define new macro.
13763 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13764
89c9aa49
AZ
137652012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13766
13767 [BZ #13954]
13768 [BZ #13955]
13769 [BZ #13956]
13770 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13771 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13772 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13773 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13775 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13776 * math/libm-test.inc (logb_test) : Additional logb tests.
13777
021db4be
AJ
137782012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13779 Andreas Jaeger <aj@suse.de>
13780
13781 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13782 * configure: Regenerated.
13783 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13784 * config.make.in (link-obsolete-rpc): New substituted variable.
13785 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13786 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13787 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13788 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13789 so that libc.a contains the symbols.
13790 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13791 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13792 * sunrpc/auth_none.c: Likewise.
13793 * sunrpc/auth_unix.c: Likewise.
13794 * sunrpc/authdes_prot.c: Likewise.
13795 * sunrpc/authuxprot.c: Likewise.
13796 * sunrpc/clnt_gen.c: Likewise.
13797 * sunrpc/clnt_perr.c: Likewise.
13798 * sunrpc/clnt_raw.c: Likewise.
13799 * sunrpc/clnt_simp.c: Likewise.
13800 * sunrpc/clnt_tcp.c: Likewise.
13801 * sunrpc/clnt_udp.c: Likewise.
13802 * sunrpc/clnt_unix.c: Likewise.
13803 * sunrpc/des_crypt.c: Likewise.
13804 * sunrpc/des_soft.c: Likewise.
13805 * sunrpc/get_myaddr.c: Likewise.
13806 * sunrpc/key_call.c: Likewise.
13807 * sunrpc/key_prot.c: Likewise.
13808 * sunrpc/netname.c: Likewise.
13809 * sunrpc/pm_getmaps.c: Likewise.
13810 * sunrpc/pm_getport.c: Likewise.
13811 * sunrpc/pmap_clnt.c: Likewise.
13812 * sunrpc/pmap_prot.c: Likewise.
13813 * sunrpc/pmap_prot2.c: Likewise.
13814 * sunrpc/pmap_rmt.c: Likewise.
13815 * sunrpc/publickey.c: Likewise.
13816 * sunrpc/rpc_cmsg.c: Likewise.
13817 * sunrpc/rpc_common.c: Likewise.
13818 * sunrpc/rpc_dtable.c: Likewise.
13819 * sunrpc/rpc_prot.c: Likewise.
13820 * sunrpc/rpc_thread.c: Likewise.
13821 * sunrpc/rtime.c: Likewise.
13822 * sunrpc/svc.c: Likewise.
13823 * sunrpc/svc_auth.c: Likewise.
13824 * sunrpc/svc_raw.c: Likewise.
13825 * sunrpc/svc_run.c: Likewise.
13826 * sunrpc/svc_tcp.c: Likewise.
13827 * sunrpc/svc_udp.c: Likewise.
13828 * sunrpc/svc_unix.c: Likewise.
13829 * sunrpc/svcauth_des.c: Likewise.
13830 * sunrpc/xcrypt.c: Likewise.
13831 * sunrpc/xdr.c: Likewise.
13832 * sunrpc/xdr_array.c: Likewise.
13833 * sunrpc/xdr_float.c: Likewise.
13834 * sunrpc/xdr_intXX_t.c: Likewise.
13835 * sunrpc/xdr_mem.c: Likewise.
13836 * sunrpc/xdr_rec.c: Likewise.
13837 * sunrpc/xdr_ref.c: Likewise.
13838 * sunrpc/xdr_sizeof.c: Likewise.
13839 * sunrpc/xdr_stdio.c: Likewise.
13840
b5c086a2
RM
138412012-05-10 Roland McGrath <roland@hack.frob.com>
13842
13843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13844 change. Update copyright years.
13845
6d74dd09
JM
138462012-05-10 Joseph Myers <joseph@codesourcery.com>
13847
13848 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13849
28e72501
MK
138502012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13851 Joseph Myers <joseph@codesourcery.com>
13852 Paul Pluzhnikov <ppluzhnikov@google.com>
13853
13854 [BZ #14012]
13855 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13856 requiring rpcgen.
13857 [cross-compiling] (extra-libs): Likewise.
13858 [cross-compiling] (extra-libs-others): Likewise.
13859 [cross-compiling] (librpcsvc-routines): Likewise.
13860 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13861 [cross-compiling] (omit-deps): Likewise.
13862 (sunrpc-CPPFLAGS): New variable.
13863 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13864 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13865 (cross-rpcgen-objs): New variable.
13866 (extra-objs): Append $(cross-rpcgen-objs).
13867 ($(cross-rpcgen-objs)): New rule.
13868 ($(objpfx)cross-rpcgen): Likewise.
13869 (rpcgen-cmd): Define to use $(built-program-file). Expand
13870 comment.
13871 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13872 ($(objpfx)x%.stmp): Likewise.
13873 * sunrpc/proto.h [IS_IN_build] (_): Define.
13874 [IS_IN_build] (_libc_intl_domainname): Likewise.
13875
c8c59454
L
138762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13877
13878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13879 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13880 and R_X86_64_TPOFF64.
13881
6f27cd16
JM
138822012-05-10 Joseph Myers <joseph@codesourcery.com>
13883
13884 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13885 sysdeps/unix/sysv/syscalls.list.
13886 (stime): Likewise.
13887 (utime): Likewise.
13888 * sysdeps/unix/sysv/syscalls.list: Remove file.
13889
02467e1c
PE
138902012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13891
13892 [BZ #3440]
13893 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13894 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13895 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13896 (__LC_IDENTIFICATION): Make these macros useful in #if
13897 expressions, as required by C99.
13898
da392631
AS
138992012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13900
13901 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13902 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13903 after this.
13904
8115f29b
L
139052012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13906
13907 * stdlib/longlong.h: Updated from GCC.
13908
bdd74070
AJ
139092012-05-09 Andreas Jaeger <aj@suse.de>
13910
edfe0dbe
AJ
13911 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13912 default is first entry.
13913 (run_mode): Set type.
13914 (main): Remove informal message about syslog.
13915 (options): Fix typo.
13916
bcfe3a54
ST
13917 [BZ #14053]
13918 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 13919 to asm.
bcfe3a54
ST
13920 (lrint): Likewise.
13921 (llrintf): Likewise.
13922 (llrint): Likewise.
13923 (rint): Likewise.
13924 (rintf): Likewise.
13925 (nearbyint): Likewise.
13926 (nearbyintf): Likewise.
bdd74070 13927
91d8d69e
AJ
139282012-05-09 Andreas Jaeger <aj@suse.de>
13929 Pedro Alves <palves@redhat.com>
13930
13931 * nscd/nscd.c (run_mode): Use enum.
13932 (main): Cleanup coding style issue.
13933
bb90b80b
AJ
139342012-05-09 Alexandre Oliva <aoliva@redhat.com>
13935 Andreas Jaeger <aj@suse.de>
13936
bcfe3a54
ST
13937 * nscd/nscd.c (go_background): Replaced with...
13938 (run_mode): ... this.
bb90b80b 13939 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
13940 (options): Add -F --foreground.
13941 (main): Implement it.
13942 (parse_opt): Parse it.
bb90b80b 13943
1a4b75a1
AJ
139442012-05-09 Andreas Jaeger <aj@suse.de>
13945
13946 [BZ #14083]
13947 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13948 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13949 -Wconversion warning.
13950 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13951 Likewise.
13952
b1cc2472
JM
139532012-05-09 Joseph Myers <joseph@codesourcery.com>
13954
13955 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13956 == 0.
13957 (LC_ALL): Use macro-int-constant.
13958 (LC_COLLATE): Likewise.
13959 (LC_CTYPE): Likewise.
13960 (LC_MESSAGES): Likewise.
13961 (LC_MONETARY): Likewise.
13962 (LC_NUMERIC): Likewise.
13963 (LC_TIME): Likewise.
13964 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13965 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13966 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13967 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13968 Specify type.
13969 [C99-based standards] (float_t): Expect type.
13970 [C99-based standards] (double_t): Expect type.
13971 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13972 type.
13973 [C99-based standards] (HUGE_VALL): Likewise.
13974 [C99-based standards] (INFINITY): Likewise.
13975 [C99-based standards] (NAN): Likewise.
13976 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13977 [C99-based standards] (FP_NAN): Likewise.
13978 [C99-based standards] (FP_NORMAL): Likewise.
13979 [C99-based standards] (FP_SUBNORMAL): Likewise.
13980 [C99-based standards] (FP_ZERO): Likewise.
13981 [C99-based standards] (FP_FAST_FMA): Use
13982 optional-macro-int-constant. Specify type. Require == 1.
13983 [C99-based standards] (FP_FAST_FMAF): Likewise.
13984 [C99-based standards] (FP_FAST_FMAL): Likewise.
13985 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13986 [C99-based standards] (FP_ILOGBNAN): Likewise.
13987 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13988 Specify type.
13989 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13990 [C99-based standards] (math_errhandling): Specify type.
13991 [ISO99 || ISO11] (signgam): Do not allow.
13992 [non-C99-based standards] (copysignf): Do not allow.
13993 [non-C99-based standards] (exp2f): Likewise.
13994 [non-C99-based standards] (log2f): Likewise.
13995 [non-C99-based standards] (modff): Allow.
13996 [non-C99-based standards] (erff): Do not allow.
13997 [non-C99-based standards] (erfcf): Likewise.
13998 [non-C99-based standards] (gammaf): Likewise.
13999 [non-C99-based standards] (hypotf): Likewise.
14000 [non-C99-based standards] (j0f): Likewise.
14001 [non-C99-based standards] (j1f): Likewise.
14002 [non-C99-based standards] (jnf): Likewise.
14003 [non-C99-based standards] (lgammaf): Likewise.
14004 [non-C99-based standards] (tgammaf): Likewise.
14005 [non-C99-based standards] (y0f): Likewise.
14006 [non-C99-based standards] (y1f): Likewise.
14007 [non-C99-based standards] (ynf): Likewise.
14008 [non-C99-based standards] (isnanf): Likewise.
14009 [non-C99-based standards] (acoshf): Likewise.
14010 [non-C99-based standards] (asinhf): Likewise.
14011 [non-C99-based standards] (atanhf): Likewise.
14012 [non-C99-based standards] (cbrtf): Likewise.
14013 [non-C99-based standards] (expm1f): Likewise.
14014 [non-C99-based standards] (ilogbf): Likewise.
14015 [non-C99-based standards] (log1pf): Likewise.
14016 [non-C99-based standards] (logbf): Likewise.
14017 [non-C99-based standards] (nextafterf): Likewise.
14018 [non-C99-based standards] (remainderf): Likewise.
14019 [non-C99-based standards] (rintf): Likewise.
14020 [non-C99-based standards] (scalbf): Likewise.
14021 [non-C99-based standards] (copysignl): Likewise.
14022 [non-C99-based standards] (exp2l): Likewise.
14023 [non-C99-based standards] (log2l): Likewise.
14024 [non-C99-based standards] (modfl): Allow.
14025 [non-C99-based standards] (erfl): Do not allow.
14026 [non-C99-based standards] (erfcl): Likewise.
14027 [non-C99-based standards] (gammal): Likewise.
14028 [non-C99-based standards] (hypotl): Likewise.
14029 [non-C99-based standards] (j0l): Likewise.
14030 [non-C99-based standards] (j1l): Likewise.
14031 [non-C99-based standards] (jnl): Likewise.
14032 [non-C99-based standards] (lgammal): Likewise.
14033 [non-C99-based standards] (tgammal): Likewise.
14034 [non-C99-based standards] (y0l): Likewise.
14035 [non-C99-based standards] (y1l): Likewise.
14036 [non-C99-based standards] (ynl): Likewise.
14037 [non-C99-based standards] (isnanl): Likewise.
14038 [non-C99-based standards] (acoshl): Likewise.
14039 [non-C99-based standards] (asinhl): Likewise.
14040 [non-C99-based standards] (atanhl): Likewise.
14041 [non-C99-based standards] (cbrtl): Likewise.
14042 [non-C99-based standards] (expm1l): Likewise.
14043 [non-C99-based standards] (ilogbl): Likewise.
14044 [non-C99-based standards] (log1pl): Likewise.
14045 [non-C99-based standards] (logbl): Likewise.
14046 [non-C99-based standards] (nextafterl): Likewise.
14047 [non-C99-based standards] (remainderl): Likewise.
14048 [non-C99-based standards] (rintl): Likewise.
14049 [non-C99-based standards] (scalbl): Likewise.
14050 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14051 [non-C99-based standards] (FP_*): Do not allow.
14052 [C99-based standards] (FP_*): Change to
14053 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14054 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14055 allow.
14056 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14057 (SIG_ERR): Likewise.
14058 [X/Open-based standards] (SIG_HOLD): Likewise.
14059 (SIG_IGN): Likewise.
14060 (SIGABRT): Use macro-int-constant. Specify type. Require
14061 positive value.
14062 (SIGFPE): Likewise.
14063 (SIGILL): Likewise.
14064 (SIGINT): Likewise.
14065 (SIGSEGV): Likewise.
14066 (SIGTER): Likewise.
14067 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14068 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14069 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14070 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14071 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14072 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14073 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14074 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14075 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14076 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14077 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14078 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14079 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14080 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14081 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14082 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14083 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14084 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14085 [X/Open-based standards] (SIGTRAP): Likewise.
14086 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14087 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14088 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14089 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14090 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14091 allow.
14092
b9f1922d
IW
140932012-05-08 Ian Wienand <ianw@vmware.com>
14094
14095 [BZ #14080]
14096 * time/tzset.c (__tzset_parse_tz): Update default rules for
14097 daylight time changes in the Energy Policy Act of 2005.
14098
1db86e88
AJ
140992012-05-09 Andreas Jaeger <aj@suse.de>
14100
14101 [BZ #13983]
14102 * elf/ldconfig.c (parse_conf): Change string to make clear that
14103 ldconfig only issued a warning if ld.so.conf does not exist.
14104
dee4a4e3
DM
141052012-05-08 David S. Miller <davem@davemloft.net>
14106
ee0db190
DM
14107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14108 movxtod instead of popping the value on the stack.
14109
dee4a4e3
DM
14110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14111
6a43ec98
CD
141122012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14113
14114 * config.h.in: Add HAVE_ARM_PCS_VFP.
14115
05c2c961
RMG
141162012-05-08 Roland Mc Grath <roland@hack.frob.com>
14117
bcfe3a54
ST
14118 [BZ #13979]
14119 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14120 checking but the checks are disabled for any reason.
05c2c961 14121
4b30f61a
L
141222012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14123
14124 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14125 and ELF64_R_TYPE with ELFW(R_TYPE).
14126
eee2bc67
JM
141272012-05-08 Joseph Myers <joseph@codesourcery.com>
14128
7ea5391a
JM
14129 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14130 (ulimit): Likewise.
14131
eee2bc67
JM
14132 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14133 (settimeofday): Likewise.
14134
abb66a67
MF
141352012-05-08 Mike Frysinger <vapier@gentoo.org>
14136
14137 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14138 a struct th_u2 inside the union, and move tu_block/tu_code into
14139 a new th_u3 union of tu_block/tu_code inside of that. Move
14140 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14141 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14142 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14143 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14144 (th_stuff): Change to th_u1.tu_stuff.
14145 (th_data): Define.
14146 (th_msg): Change to th_u1.th_u2.tu_data.
14147
7f18b530
DM
141482012-05-07 David S. Miller <davem@davemloft.net>
14149
05760585
DM
14150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14151
7f18b530
DM
14152 [BZ #14074]
14153 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14154 (SETUP_PIC_REG): Use it.
14155 (SETUP_PIC_REG_LEAF): Use it.
14156
495fd99f
JM
141572012-05-07 Joseph Myers <joseph@codesourcery.com>
14158
14159 [BZ #13885]
14160 [BZ #13923]
14161 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14162 USE_AS_EXPM1L.
14163 (EXPL_FINITE): Likewise.
14164 (FLDLOG): Likewise.
14165 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14166 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14167 e_expl.S.
14168 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14169 USE_AS_EXPM1L.
14170 (EXPL_FINITE): Likewise.
14171 (FLDLOG): Likewise.
14172 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14173 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14174 e_expl.S.
14175 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14176 test of -max_value argument for long double.
14177 * sysdeps/i386/fpu/libm-test-ulps: Update.
14178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14179
6693d694
DM
141802012-05-06 David S. Miller <davem@davemloft.net>
14181
14182 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14183 quad soft-float symbols whose references which are compiler
14184 generated.
14185 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14186
6c23e11c
JM
141872012-05-06 Joseph Myers <joseph@codesourcery.com>
14188
d8b82cad
JM
14189 [BZ #13884]
14190 [BZ #13914]
14191 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14192 USE_AS_EXP10L.
14193 (EXPL_FINITE): Likewise.
14194 (FLDLOG): Likewise.
14195 (c0): Likewise.
14196 (c1): Likewise.
14197 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14198 Adjust comments for base varying.
14199 (__expl_finite): Change alias to EXPL_FINITE.
14200 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14201 e_expl.S.
14202 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14203 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14204 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14205 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14206 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14207 USE_AS_EXP10L.
14208 (EXPL_FINITE): Likewise.
14209 (FLDLOG): Likewise.
14210 (c0): Likewise.
14211 (c1): Likewise.
14212 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14213 Adjust comments for base varying.
14214 (__expl_finite): Change alias to EXPL_FINITE.
14215 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14216 tests for bugs.
14217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14218
6c23e11c
JM
14219 [BZ #14064]
14220 * math/libm-test.inc (check_float_internal): Correct ulp
14221 calculation for subnormal expected results.
14222
29ba805c
AJ
142232012-05-06 Andreas Jaeger <aj@suse.de>
14224
14225 * Makeconfig (+math-flags): New, set to -frounding-math.
14226 (+cflags): Add +math-flags so that all of glibc gets compiled with
14227 it.
14228
14229 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14230
7b17aeda
JM
142312012-05-05 Joseph Myers <joseph@codesourcery.com>
14232
5779f134
JM
14233 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14234 Disable one test.
14235
41498f4d
JM
14236 [BZ #13787]
14237 [BZ #13922]
14238 [BZ #14036]
14239 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14240 (__ieee754_expl): Allow for and saturate large arguments.
14241 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14242 (u_threshold): Likewise.
14243 (__exp): Call __ieee754_exp before checking for overflow and
14244 underflow.
14245 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14246 (u_threshold): Likewise.
14247 (__expf): Call __ieee754_expf before checking for overflow and
14248 underflow.
14249 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14250 (u_threshold): Likewise.
14251 (__expl): Call __ieee754_expl before checking for overflow and
14252 underflow.
14253 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14254 (__ieee754_expl): Allow for and saturate large arguments.
14255 * math/libm-test.inc (exp_test): Add another test. Do not allow
14256 missing overflow exception on overflow.
14257 (expm1_test): Do not allow missing overflow exception on overflow.
14258
6698b8bf
JM
14259 * sysdeps/i386/fpu/e_expl.c: Move to ...
14260 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14261 rather than using inline asm.
14262 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14263 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14264 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14265
7b17aeda
JM
14266 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14267 (nice): Likewise.
14268 (poll): Likewise.
14269 (signal): Likewise.
14270 (time): Likewise.
14271 (times): Likewise.
14272
f7c85819
JM
142732012-05-04 Joseph Myers <joseph@codesourcery.com>
14274
14275 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14276 sysdeps/unix/common/syscalls.list.
14277 (fchmod): Likewise.
14278 (fchown): Likewise.
14279 (ftruncate): Likewise.
14280 (getrusage): Likewise.
14281 (gettimeofday): Likewise.
14282 (setpgid): Likewise.
14283 (setregid): Likewise.
14284 (setreuid): Likewise.
14285 (sigaction): Likewise.
14286 (truncate): Likewise.
14287 (vhangup): Likewise.
14288 * sysdeps/unix/common/syscalls.list: Remove file.
14289 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14290 * sysdeps/unix/sysv/linux/Implies: Likewise.
14291
336270d0
L
142922012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14293
14294 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14296 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14297 Moved to ...
14298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14299 Here.
14300 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14301 to ...
14302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14303 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14304 to ...
14305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14306 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14307 to ...
14308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14309 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14310 to ...
14311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14312 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14313 to ...
14314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14315 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14316 to ...
14317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14318 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14319 to ...
14320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14321 Here.
14322 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14323 to ...
14324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14325 Here.
14326 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14327 to ...
14328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14329 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14330 Moved to ...
14331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14332 Here.
14333 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14334 to ...
14335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14336
d128e450
JM
143372012-05-04 Joseph Myers <joseph@codesourcery.com>
14338
fa8ee516
JM
14339 * sysdeps/unix/common/bits/dirent.h: Remove file.
14340 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14341
d128e450
JM
14342 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14343 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14344 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14345 * sysdeps/unix/bsd/isatty.c: Likewise.
14346 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14347 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14348 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14349
ff8faaf0 143502012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14351
62881be4 14352 [BZ #13563]
31dc8730
AZ
14353 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14354 long double comparison inaccuracies.
14355 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14357
6fef930c
AS
143582012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14359
14360 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14361 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14362
8f203e6c
JM
143632012-05-04 Joseph Myers <joseph@codesourcery.com>
14364
14365 [BZ #14049]
14366 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14367 nonzero digits before rounding a hex value.
14368 * stdlib/tst-strtod.c (tests): Add another test.
14369
5197d9c2
AK
143702012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14371
14372 * sysdeps/s390/fpu/libm-test-ulps: Update.
14373
f0c1dedf
AJ
143742012-05-03 Andreas Jaeger <aj@suse.de>
14375
14376 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14377 does not get optimized out.
14378 (malloc_opt_barrier): New.
14379
a65ef2ae 143802012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14381 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14382
2b942cb7 14383 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14384 intermediate file deletion.
2b942cb7 14385 (generated): Add .symlist files.
a65ef2ae 14386
54b71e02
JM
143872012-05-03 Joseph Myers <joseph@codesourcery.com>
14388
14389 [BZ #13775]
14390 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14391 Redirect under this condition.
14392 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14393 [__USE_GNU] (__dprintf_chk): Not under this condition.
14394 [__USE_GNU] (__vdprintf_chk): Likewise.
14395 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14396 under this condition.
14397 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14398 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14399 [__USE_XOPEN2K8] (vdprintf): Likewise.
14400 [__USE_GNU] (__dprintf_chk): Not under this condition.
14401 [__USE_GNU] (__vdprintf_chk): Likewise.
14402 [__USE_GNU] (dprintf): Likewise.
14403 [__USE_GNU] (vdprintf): Likewise.
14404
d3dfcc41
RM
144052012-05-03 Roland McGrath <roland@hack.frob.com>
14406
14407 * elf/Makefile (common-generated): Set this instead of generated for
14408 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14409 $(all-built-dso)-derived lists.
14410
7ac30cc5
AJ
144112012-05-03 Andreas Jaeger <aj@suse.de>
14412
0c51e550
AJ
14413 * sysdeps/i386/fpu/libm-test-ulps: Update.
14414
7ac30cc5
AJ
14415 * FAQ: Removed.
14416 * FAQ.in: Likewise.
14417 * scripts/gen-FAQ.pl: Likewise.
14418 * manual/install.texi (Installation): Point to online location of
14419 FAQ.
14420 * Makefile (files-for-dist): Remove FAQ.
14421 (FAQ): Remove.
14422
d4c2917f
AM
144232012-05-02 Allan McRae <allan@archlinux.org>
14424
14425 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14426 (LDFLAGS-reldepmod5.so): Likewise.
14427 (LDFLAGS-reldep6mod1.so): Likewise.
14428 (LDFLAGS-reldep6mod4.so): Likewise.
14429 (LDFLAGS-reldep8mod3.so): Likewise.
14430 (LDFLAGS-unload4mod1.so): Likewise.
14431 (LDFLAGS-unload4mod2.so): Likewise.
14432 (LDFLAGS-tst-initorder): Likewise.
14433 (LDFLAGS-tst-initordera2.so): Likewise.
14434 (LDFLAGS-tst-initordera3.so): Likewise.
14435 (LDFLAGS-tst-initordera4.so): Likewise.
14436 (LDFLAGS-tst-initorderb2.so): Likewise.
14437 (LDFLAGS-noload): Likewise.
14438 (LDFLAGS-next): Likewise.
14439 (LDFLAGS-order2mod1.so): Likewise.
14440 (LDFLAGS-order2mod2.so): Likewise.
14441 (LDFLAGS-tst-initorder2): Likewise.
14442 (LDFLAGS-tst-initorder2a.so): Likewise.
14443 (LDFLAGS-tst-initorder2b.so): Likewise.
14444 (LDFLAGS-tst-initorder2c.so): Likewise.
14445 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14446
d77f993f
DM
144472012-05-02 David S. Miller <davem@davemloft.net>
14448
14449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14450
171a70b4
PP
144512012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14452
14453 [BZ #14055]
14454 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14455
0be196ad
AJ
144562012-05-02 Andreas Jaeger <aj@suse.de>
14457
14458 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14459 since we manipulate rounding mode.
14460 (CPPFLAGS-test-idouble.c): Likewise.
14461 (CPPFLAGS-test-ifloat.c): Likewise.
14462 (CFLAGS-test-ldouble.c): Likewise.
14463 (CFLAGS-test-double.c): Likewise.
14464 (CFLAGS-test-float.c): Likewise.
14465 (CFLAGS-test-misc.c): Likewise.
14466 (CFLAGS-test-test-fenv.c): Likewise.
14467
4f9d04aa
AZ
144682012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14469
2b942cb7
RM
14470 [BZ #2550]
14471 [BZ #2570]
14472 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14473 comparisons to determine direction to adjust input.
4f9d04aa 14474
82a79e7d
RM
144752012-05-01 Roland McGrath <roland@hack.frob.com>
14476
f5a01ca9
RM
14477 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14478 output to the target.
14479
90fe4186
RM
14480 * scripts/localplt.awk: New file.
14481 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14482 (check-localplt-CFLAGS): Variable removed.
14483 ($(all-built-dso:=.jmprel)): New static pattern rule.
14484 (generated): Add those targets.
14485 (localplt-built-dso): New variable.
14486 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14487
14488 * elf/check-localplt.c: File removed.
14489
82397ed6
RM
14490 * scripts/check-execstack.awk: New file.
14491 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14492 (check-execstack-CFLAGS): Variable removed.
14493 ($(objpfx)check-execstack.h): Target removed.
14494 ($(objpfx)execstack-default): New target.
14495 (generated): Add that instead of check-execstack.h.
14496 ($(all-built-dso:=.phdr)): New static pattern rule.
14497 (generated): Add those targets.
14498 * elf/check-execstack.c: File removed.
14499
82a79e7d
RM
14500 * scripts/check-textrel.awk: New file.
14501 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14502 (check-textrel-CFLAGS): Variable removed.
14503 (all-built-dso): Use := to define.o
14504 ($(all-built-dso:=.dyn)): New static pattern rule.
14505 (generated): Add those targets.
14506 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14507 * config.make.in (READELF): New substituted variable.
14508 * elf/check-textrel.c: File removed.
14509
62fde54f 145102012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14511
615605c9
JM
14512 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14513 allow.
14514 * conform/data/ctype.h-data [C99-based standards] (isblank):
14515 Expect function.
14516 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14517 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14518 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14519 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14520 Specify type. Require positive value.
14521 (EILSEQ): Likewise.
14522 (ERANGE): Likewise.
14523 [ISO || POSIX] (EILSEQ): Do not expect.
14524 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14525 Specify type. Require positive value.
14526 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14527 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14528 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14529 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14530 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14531 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14532 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14533 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14534 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14535 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14536 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14537 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14538 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14539 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14540 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14541 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14542 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14543 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14544 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14545 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14546 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14547 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14548 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14549 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14550 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14551 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14552 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14553 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14554 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14555 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14556 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14557 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14558 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14559 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14560 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14561 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14562 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14563 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14564 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14565 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14566 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14567 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14568 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14569 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14570 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14571 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14572 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14573 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14574 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14575 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14576 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14577 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14578 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14579 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14580 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14581 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14582 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14583 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14584 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14585 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14586 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14587 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14588 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14589 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14590 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14591 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14592 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14593 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14594 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14595 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14596 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14597 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14598 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14599 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14600 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14601 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14602 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14603 Require >= 2.
14604 (FLT_ROUNDS): Expect as macro, not constant.
14605 (FLT_MANT_DIG): Use macro-int-constant.
14606 (DBL_MANT_DIG): Likewise.
14607 (LDBL_MANT_DIG): Likewise.
14608 (FLT_DIG): Likewise.
14609 (DBL_DIG): Likewise.
14610 (LDBL_DIG): Likewise.
14611 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14612 (DBL_MIN_EXP): Likewise.
14613 (LDBL_MIN_EXP): Likewise.
14614 (FLT_MAX_EXP): Use macro-int-constant.
14615 (DBL_MAX_EXP): Likewise.
14616 (LDBL_MAX_EXP): Likewise.
14617 (FLT_MAX_10_EXP): Likewise.
14618 (DBL_MAX_10_EXP): Likewise.
14619 (LDBL_MAX_10_EXP): Likewise.
14620 (FLT_MAX): Use macro-constant.
14621 (DBL_MAX): Likewise.
14622 (LDBL_MAX): Likewise.
14623 (FLT_EPSILON): Use macro-constant. Give upper bound.
14624 (DBL_EPSILON): Likewise.
14625 (LDBL_EPSILON): Likewise.
14626 (FLT_MIN): Likewise.
14627 (DBL_MIN): Likewise.
14628 (LDBL_MIN): Likewise.
14629 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14630 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14631 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14632 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14633 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14634 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14635 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14636 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14637 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14638 [ISO11] (FLT_TRUE_MIN): Likewise.
14639 [ISO11] (LDBL_TRUE_MIN): Likewise.
14640 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14641 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14642 (SCHAR_MIN): Use macro-int-constant. Specify type.
14643 (SCHAR_MAX): Likewise.
14644 (UCHAR_MAX): Likewise.
14645 (CHAR_MIN): Likewise.
14646 (CHAR_MAX): Likewise.
14647 (MB_LEN_MAX): Use macro-int-constant.
14648 (SHRT_MIN): Use macro-int-constant. Specify type.
14649 (SHRT_MAX): Likewise.
14650 (USHRT_MAX): Likewise.
14651 (INT_MAX): Likewise.
14652 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14653 bound negative.
14654 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14655 bound with "U".
14656 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14657 bound with "L".
14658 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14659 bound negative. Suffix upper bound with "L".
14660 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14661 bound with "UL".
14662 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14663 Specify type.
14664 [C99-based standards] (LLONG_MAX): Likewise.
14665 [C99-based standards] (ULLONG_MAX): Likewise.
14666 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14667 == 0.
14668 [ISO11] (max_align_t): Require type.
14669 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14670
c9140a62
JM
14671 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14672 from $CFLAGS, without defining away __attribute__ calls.
14673 (checknamespace): Use $CFLAGS_namespace.
14674
9af0bf29
JM
14675 * conform/conformtest.pl (@keywords): Only include C99 keywords
14676 for standards based on C99 or C11.
14677
343222a2
JM
14678 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14679 Disable tests.
14680 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14681 UNIX98]: Likewise.
14682
661f8cf0
JM
14683 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14684 usability of symbols in #if.
14685
ee74b9cb
JM
14686 * conform/conformtest.pl: If macro or constant types start
14687 "promoted:", expect the symbol to be of the following type
14688 promoted by the integer promotions.
62fde54f 14689
aafc49b3
JM
14690 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14691 in one place. Also handle "macro-constant".
14692
fefdf574
JM
14693 * conform/conformtest.pl: Only accept expected macro values with
14694 "==". Parse all "macro" lines in one place.
14695 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14696
f2d922fe
JM
14697 * conform/conformtest.pl: Handle braced types on "constant" lines
14698 instead of handling "typed-constant".
14699 * conform/data/signal.h-data: Use "constant" instead of
14700 "typed-constant".
14701
d22956c9
JM
14702 * conform/conformtest.pl: Handle "optional-" at start of lines in
14703 one place rather than duplicating several cases. Handle each
14704 format of "macro" line with initial "optional-".
14705
028e2e38
JM
14706 * conform/conformtest.pl: Only accept expected constant or
14707 optional-constant values with "==". Parse all "constant" lines in
14708 one place. Parse all "optional-constant" lines in one place.
14709 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14710 * conform/data/fmtmsg.h-data: Likewise.
14711 * conform/data/netinet/in.h-data: Likewise.
14712 * conform/data/tar.h-data: Likewise.
14713 * conform/data/limits.h-data: Use "==" form on "constant" and
14714 "optional-constant" lines.
14715
1b8f2850
JM
14716 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14717 Use -std=c99 for XOPEN2K.
14718 (@knownproblems): Remove.
14719 (newtoken): Don't check %isknown.
14720
a05a144b
JM
14721 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14722 Do not expect macro.
14723 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14724 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14725 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14726 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14727 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14728 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14729 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14730 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14731 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14732 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14733 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14734 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14735 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14736 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14737 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14738 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14739 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14740 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14741 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14742 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14743 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14744 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14745 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14746 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14747 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14748 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14749 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14750 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14751 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14752 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14753 [XPG3] (acosh): Likewise.
14754 [XPG3] (asinh): Likewise.
14755 [XPG3] (atanh): Likewise.
14756 [XPG3] (cbrt): Likewise.
14757 [XPG3] (expm1): Likewise.
14758 [XPG3] (ilogb): Likewise.
14759 [XPG3] (log1p): Likewise.
14760 [XPG3] (logb): Likewise.
14761 [XPG3] (nextafter): Likewise.
14762 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14763 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14764 [XPG3] (remainder): Likewise.
14765 [XPG3] (rint): Likewise.
14766 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14767 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14768 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14769 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14770 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14771 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14772 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14773 [UNIX98 || XOPEN2K] (scalb): Expect.
14774 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14775 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14776 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14777 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14778 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14779 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14780 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14781 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14782 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14783 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14784 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14785 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14786 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14787 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14788 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14789 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14790 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14791 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14792 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14793 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14794 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14795 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14796 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14797 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14798 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14799 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14800 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14801 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14802 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14803 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14804 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14805 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14806 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14807 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14808 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14809 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14810 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14811 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14812 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14813 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14814 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14815 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14816 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14817 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14818 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14819 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14820 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14821 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14822 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14823 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14824 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14825 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14826 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14827 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14828 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14829 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14830 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14831 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14832 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14833 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14834 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14835 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14836 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14837 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14838 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14839 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14840 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14841 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14842 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14843 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14844 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14845 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14846 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14847 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14848 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14849 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14850 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14851 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14852 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14853 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14854 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14855 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14856 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14857 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14858 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14859 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14860 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14861 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14862 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14863 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14864 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14865 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14866 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14867 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14868 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14869 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14870 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14871 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14872 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14873 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14874 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14875 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14876 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14877 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14878 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14879 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14880 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14881 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14882 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14883 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14884 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14885 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14886 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14887 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14888 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14889 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14890 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14891 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14892 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14893 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14894 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14895 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14896 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14897 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14898 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14899 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14900 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14901 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14902 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14903 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14904 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14905 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14906 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14907 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14908 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14909 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14910 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14911
73c5ebe3
JM
14912 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14913 _XOPEN_SOURCE_EXTENDED for XPG4.
14914
39c33b6c
JM
14915 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14916
62fde54f
JM
14917 * Makeconfig (localtime): Remove variable.
14918 (inst_localtime-file): Likewise.
14919
0741d64c
AS
149202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14921
14922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14923 Update.
14924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14925 Update.
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14927 Update.
14928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14929 Update.
14930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14931 Update.
14932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14933 Update.
14934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14935 Update.
14936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14937 Update.
14938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14939 Update.
14940
7cb029ee
JM
149412012-05-01 Joseph Myers <joseph@codesourcery.com>
14942
14943 [BZ #2550]
14944 [BZ #2570]
14945 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14946 comparisons to determine direction to adjust input.
14947 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14948 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14949 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14950 Likewise.
14951 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14952 Likewise.
14953 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14954 Likewise.
14955 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14956 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14957 Likewise.
14958 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14959 Likewise.
14960 * math/libm-test.inc (nexttoward_test): Add more tests.
14961
412bd966
AS
149622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14963
14964 [BZ #14040]
14965 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14966 in version GLIBC_2.1, not GLIBC_2.0.
14967 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14968 Likewise.
14969
9568c0c2
JM
149702012-04-30 Joseph Myers <joseph@codesourcery.com>
14971
adfbc8ac
JM
14972 [BZ #13942]
14973 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14974 (1 - x) * (1 + x).
14975 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14976 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14977 * math/libm-test.inc (acos_test): Add more tests.
14978 (asin_test): Likewise.
14979 * sysdeps/i386/fpu/libm-test-ulps: Update.
14980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14981
5ba3cc69
JM
14982 [BZ #14034]
14983 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14984 of square root.
14985 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14986 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14987 * math/libm-test.inc (acos_test_tonearest): New function.
14988 (acos_test_towardzero): Likewise.
14989 (acos_test_downward): Likewise.
14990 (acos_test_upward): Likewise.
14991 (asin_test_tonearest): Likewise.
14992 (asin_test_towardzero): Likewise.
14993 (asin_test_downward): Likewise.
14994 (asin_test_upward): Likewise.
14995 (main): Call the new functions.
14996 * sysdeps/i386/fpu/libm-test-ulps: Update.
14997 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14998
9568c0c2
JM
14999 [BZ #13884]
15000 [BZ #13924]
15001 * math/e_exp10.c: Include <float.h>.
15002 (__ieee754_exp10): Handle underflow here rather than multiplying
15003 large negative argument by M_LN10.
15004 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15005 of __ieee754_expf.
15006 * math/e_exp10l.c: Include <float.h>.
15007 (__ieee754_exp10l): Handle underflow here rather than multiplying
15008 large negative argument by M_LN10l.
15009 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15010 spurious overflow exception on underflow.
15011
5ac3ea17
MP
150122012-04-29 Marek Polacek <polacek@redhat.com>
15013
15014 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15015 (__fortify_function): New macro.
15016 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15017 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15018 __extern_always_inline.
15019 * libio/bits/stdio2.h: Likewise.
15020 * libio/bits/stdio.h: Likewise.
15021 * string/string.h: Likewise.
15022 * string/bits/string3.h: Likewise.
15023 * include/stdio.h: Likewise.
15024 * stdlib/bits/stdlib.h: Likewise.
15025 * stdlib/stdlib.h: Likewise.
15026 * rt/bits/mqueue2.h: Likewise.
15027 * rt/mqueue.h: Likewise.
15028 * posix/bits/unistd.h: Likewise.
15029 * posix/unistd.h: Likewise.
15030 * io/bits/poll2.h: Likewise.
15031 * io/bits/fcntl2.h: Likewise.
15032 * io/fcntl.h: Likewise.
15033 * io/sys/poll.h: Likewise.
15034 * misc/bits/syslog.h: Likewise.
15035 * misc/bits/syslog-ldbl.h: Likewise.
15036 * misc/sys/syslog.h: Likewise.
15037 * socket/bits/socket2.h: Likewise.
15038 * socket/sys/socket.h: Likewise.
15039 * debug/tst-chk1.c: Likewise.
15040 * wcsmbs/bits/wchar2.h: Likewise.
15041 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15042 * wcsmbs/wchar.h: Likewise.
15043
ecf0ebfb
AJ
150442012-04-29 Andreas Jaeger <aj@suse.de>
15045
15046 * Makerules (tests): Remove enable-check-abi protection.
15047 (check-abi-warn): Remove.
15048 (check-abi-%): Remove check-abi-warn usage.
15049
15050 * configure.in: Remove check-abi configure option.
15051 * configure: Regenerated.
15052 * config.make.in (enable-check-abi): Remove.
15053
6d5c57fa
AS
150542012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15055
24c5d07e 15056 [BZ #14033]
ded5180a
AS
15057 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15058 double functions to double *_finite functions.
15059
7e0d315d
AS
15060 [BZ #13941]
15061 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15062 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15063 LDBL_MIN_EXP.
15064 * stdio-common/Makefile (tests): Add tst-sprintf3.
15065 * stdio-common/tst-sprintf3.c: New file.
15066
6d5c57fa
AS
15067 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15068 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15069
0749ff8b
JM
150702012-04-28 Joseph Myers <joseph@codesourcery.com>
15071
15072 * conform/conformtest.pl: Remove duplicate typed-constant
15073 handling.
15074
8dbd5d7b
DM
150752012-04-28 David S. Miller <davem@davemloft.net>
15076
15077 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15078 (check-abi-%): Remove AWK script prerequisite and explicit
15079 abilist directory.
15080 (check-abi): Rewrite to just diff the symlist with the abilist.
15081 (config-tls, config-abi-config): Delete, no longer used.
15082 (update-abi-%): Remove AWK script and explicit abilist directory.
15083 (update-abi): Rewrite to simply compare and conditionally copy the
15084 symlist and the sysdep abilist file. Remove update-abi-config
15085 checks.
15086 * abilist/ld.abilist: Remove.
15087 * abilist/libBrokenLocale.abilist: Remove.
15088 * abilist/libanl.abilist: Remove.
15089 * abilist/libcrypt.abilist: Remove.
15090 * abilist/libdl.abilist: Remove.
15091 * abilist/librt.abilist: Remove.
15092 * abilist/libthread_db.abilist: Remove.
15093 * abilist/libutil.abilist: Remove.
15094 * scripts/extract-abilist.awk: Remove.
15095 * scripts/merge-abilist.awk: Remove.
15096 * sysdeps/generic/libcidn.abilist: New file.
15097 * sysdeps/generic/libnss_compat.abilist: New file.
15098 * sysdeps/generic/libnss_db.abilist: New file.
15099 * sysdeps/generic/libnss_dns.abilist: New file.
15100 * sysdeps/generic/libnss_files.abilist: New file.
15101 * sysdeps/generic/libnss_hesiod.abilist: New file.
15102 * sysdeps/generic/libnss_nis.abilist: New file.
15103 * sysdeps/generic/libnss_nisplus.abilist: New file.
15104 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15105 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15106 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15107 file.
15108 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15109 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15110 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15111 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15112 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15113 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15114 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15115 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15116 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15117 file.
15118 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15119 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15120 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15121 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15122 file.
15123 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15124 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15125 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15126 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15127 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15128 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15129 file.
15130 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15131 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15132 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15133 file.
15134 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15136 New file.
15137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15138 New file.
15139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15140 New file.
15141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15142 New file.
15143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15144 New file.
15145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15146 New file.
15147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15148 New file.
15149 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15150 New file.
15151 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15152 New file.
15153 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15154 New file.
15155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15156 New file.
15157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15158 New file.
15159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15160 New file.
15161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15162 file.
15163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15164 New file.
15165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15166 New file.
15167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15168 file.
15169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15170 New file.
15171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15172 New file.
15173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15174 file.
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15176 New file.
15177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15178 New file.
15179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15180 New file.
15181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15182 New file.
15183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15184 New file.
15185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15186 New file.
15187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15189 file.
15190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15191 New file.
15192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15193 file.
15194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15195 file.
15196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15197 file.
15198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15199 file.
15200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15201 file.
15202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15203 New file.
15204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15205 file.
15206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15207 file.
15208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15209 New file.
15210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15211 file.
15212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15214 file.
15215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15216 New file.
15217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15218 file.
15219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15220 file.
15221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15222 file.
15223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15224 file.
15225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15226 file.
15227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15228 New file.
15229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15230 file.
15231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15232 file.
15233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15234 New file.
15235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15236 file.
15237 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15238 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15239 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15240 file.
15241 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15242 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15243 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15244 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15245 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15246 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15247 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15248 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15249 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15250 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15253 file.
15254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15255 New file.
15256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15257 file.
15258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15259 file.
15260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15261 file.
15262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15263 file.
15264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15265 file.
15266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15267 New file.
15268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15269 New file.
15270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15271 file.
15272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15273 New file.
15274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15275 file.
15276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15278 file.
15279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15280 New file.
15281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15282 file.
15283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15284 file.
15285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15286 file.
15287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15288 file.
15289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15290 file.
15291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15292 New file.
15293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15294 New file.
15295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15296 file.
15297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15298 New file.
15299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15300 file.
15301
41d73a1b
JM
153022012-04-28 Joseph Myers <joseph@codesourcery.com>
15303
15304 * conform/conformtest.pl: Fix typo in handling typed-constant from
15305 allow-header.
15306
28aeeda4
JM
153072012-04-27 Joseph Myers <joseph@codesourcery.com>
15308
adae8f5e
JM
15309 * README: Cut down references to pre-2.6 Linux kernels and
15310 Linuxthreads. Update lists of configurations in libc and ports
15311 and sort alphabetically. Say "or newer" with Linux kernel version
15312 requirements.
15313
28aeeda4
JM
15314 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15315
a462cb63
RA
153162012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15317
15318 [BZ #887]
15319 * math/libm-test.inc (logb_test_downward): New test to expose
15320 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15321 rounding mode.
15322
6ad3493e
JM
153232012-04-27 Joseph Myers <joseph@codesourcery.com>
15324
15325 [BZ #14027]
15326 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15327 to be done.
15328 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15329 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15330
2ce4f015
JM
153312012-04-26 Joseph Myers <joseph@codesourcery.com>
15332
5aeb141a
JM
15333 * sysdeps/unix/i386/brk.S: Remove file.
15334 * sysdeps/unix/i386/dl-brk.S: Likewise.
15335 * sysdeps/unix/i386/pipe.S: Likewise.
15336 * sysdeps/unix/i386/sigreturn.S: Likewise.
15337 * sysdeps/unix/i386/syscall.S: Likewise.
15338 * sysdeps/unix/i386/vfork.S: Likewise.
15339 * sysdeps/unix/i386/wait.S: Likewise.
15340
7143acae
JM
15341 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15342 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15343
2ce4f015
JM
15344 * configure.in (arm*-none*): Do not allow without
15345 --enable-hacker-mode.
15346 (netbsd*): Remove case setting base_os.
15347 (386bsd*): Likewise.
15348 (freebsd*): Likewise.
15349 (bsdi*): Likewise.
15350 (osf*): Likewise.
15351 (sunos*): Likewise.
15352 (ultrix*): Likewise.
15353 (newsos*): Likewise.
15354 (dynix*): Likewise.
15355 (*bsd*): Likewise.
15356 (sysv*): Likewise.
15357 (isc*): Likewise.
15358 (esix*): Likewise.
15359 (sco*): Likewise.
15360 (minix*): Likewise.
15361 (irix4*): Likewise.
15362 (irix6*): Likewise.
15363 (solaris[2-9]*): Likewise.
15364 (none): Likewise.
15365 * configure: Regenerated.
15366
0ac229c8
AZ
153672012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15368
15369 [BZ #11521]
15370 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15371 overflow or cancellation in calculating denominator.
15372 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15373 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15374 down expression to avoid unexpected rounding in newer GCCs.
15375 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15376
33f244f4
DM
153772012-04-26 David S. Miller <davem@davemloft.net>
15378
15379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15380 long-double compat symbols.
15381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15394
cfa1f3e8
DM
153952012-04-25 David S. Miller <davem@davemloft.net>
15396
15397 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15398 HWCAP_* values only after the memory barriers have been defined.
15399 (atomic_full_barrier): Define.
15400 (atomic_read_barrier): Define.
15401 (atomic_write_barrier): Define.
15402
6e236b92
SP
154032012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15404
15405 * shlib-versions: Add libgcc_s version information.
15406 * sysdeps/generic/libgcc_s.h: Remove.
15407 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15408 libgcc_s.h.
15409 * sysdeps/gnu/unwind-resume.c: Likewise.
15410 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15411
aab39a09
DM
154122012-04-25 David S. Miller <davem@davemloft.net>
15413
15414 * sysdeps/unix/sparc/brk.S: Delete.
15415 * sysdeps/unix/sparc/dl-brk.S: Delete.
15416 * sysdeps/unix/sparc/pipe.S: Delete.
15417 * sysdeps/unix/sparc/sysdep.S: Delete.
15418 * sysdeps/unix/sparc/sysdep.h: Delete.
15419 * sysdeps/unix/sparc/vfork.S: Delete.
15420 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15421 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15422 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15423 ret_ERRVAL, r0, r1, MOVE): Define.
15424 (JUMPTARGET): Remove.
15425 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15426 sysdeps/unix/sparc/sysdep.h
15427 (ENTRY, END): Remove.
15428 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15429
a3cc4f48
JM
154302012-04-25 Joseph Myers <joseph@codesourcery.com>
15431
2ed8cda2
JM
15432 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15433 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15434 -DIS_IN_build.
15435
35d76d59
JM
15436 * timezone/README: Update upstream location and email address for
15437 tzcode and tzdata.
15438 * timezone/zdump.c: Update from tzcode 2012b.
15439 * timezone/zic.c: Likewise.
15440
a3cc4f48
JM
15441 * configure.in (libc_cv_as_needed): Remove test.
15442 * configure: Regenerated.
15443 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15444 conditional definition.
15445 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15446 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15447 * config.make.in (have-as-needed): Remove variable.
15448
ceab42c3
SP
154492012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15450 Paul Pluzhnikov <ppluzhnikov@google.com>
15451
15452 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15453 strings correctly.
15454
3ce2865f
CLT
154552012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15456
15457 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15458 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15459 * sysdeps/sh/strlen.S: Likewise.
15460
f37e0d68
JM
154612012-04-24 Joseph Myers <joseph@codesourcery.com>
15462
ae186e9a
JM
15463 * sysdeps/unix/fork.S: Remove file.
15464 * sysdeps/unix/i386/fork.S: Likewise.
15465 * sysdeps/unix/sparc/fork.S: Likewise.
15466
b96914af
JM
15467 * sysdeps/unix/system.c: Remove file.
15468 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15469
f37e0d68
JM
15470 * sysdeps/unix/getegid.S: Remove file.
15471 * sysdeps/unix/geteuid.S: Likewise.
15472
87ef29ca
RM
154732012-04-24 Roland McGrath <roland@hack.frob.com>
15474
83bcd236
RM
15475 * scripts/check-localplt.awk: New file.
15476 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15477 of diff.
15478 * scripts/data/localplt-generic.data: Add a comment.
15479
87ef29ca
RM
15480 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15481 NODE when __dir_mkfile failed.
15482 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15483 Reported by Ludovic Courtès <ludo@gnu.org>.
15484
e5a6e567
AJ
154852012-04-24 Andreas Jaeger <aj@suse.de>
15486
15487 * Makerules (common-clean): Also remove gen-as-const-headers
15488 files.
15489
c1820385
JM
154902012-04-24 Joseph Myers <joseph@codesourcery.com>
15491
15492 * Makerules (native-compile): Do not change working directory for
15493 build. Use $(OUTPUT_OPTION) in command.
15494 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15495
94e02fc4
AZ
154962012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15497
15498 [BZ #13886]
15499 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15500 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15501 * math/libm-test.inc (floor_test): Add more tests.
15502 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15503
3a533ca3
JM
155042012-04-24 Joseph Myers <joseph@codesourcery.com>
15505
940ab4b3
JM
15506 * sysdeps/unix/getdents.c: Remove file.
15507 * sysdeps/unix/sysv/getdents.c: Likewise.
15508 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15509
90e037bd
JM
15510 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15511 sysdeps/unix/mman/syscalls.list.
15512 (mmap): Likewise.
15513 (mprotect): Likewise.
15514 (msync): Likewise.
15515 (munmap): Likewise.
15516 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15517 * sysdeps/unix/mman/syscalls.list: Remove.
15518 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15519
3a533ca3
JM
15520 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15521 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15522 * configure: Regenerated.
15523 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15524 $(libgcc_s_suffix).
15525 * config.make.in (libgcc_s_suffix): Remove variable.
15526
1ad743de
JM
155272012-04-23 Joseph Myers <joseph@codesourcery.com>
15528
4ad451e2
JM
15529 * sysdeps/unix/sysv/gethostname.c: Move to ...
15530 * sysdeps/posix/gethostname.c: ... here.
15531
5e37ce39
JM
15532 * sysdeps/unix/execve.S: Remove file.
15533
1ad743de
JM
15534 * sysdeps/unix/_exit.S: Remove file.
15535
4e681b5b
AJ
155362012-04-23 Andreas Jaeger <aj@suse.de>
15537
15538 [BZ #13739]
15539 * manual/Makefile: Remove make dist support, there's no
15540 need for a stand-alone documentation tar ball.
15541 (TEXI2DVI): Define always, it's not in Makeconfig.
15542 (dist): Removed.
15543 (tar-it): Removed.
15544 (edition): Removed.
15545 (glibc-doc-$(edition).tar): Removed
15546 (%.Z): Removed.
15547 (%.gz): Removed.
15548 (%.uu): Removed.
15549 (ETAGS): Remove, it's in Makeconfig.
15550 (move-if-change): Remove, it's in Makeconfig.
15551
38686a03 155522012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15553
15554 [BZ #13970]
15555 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15556 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15557 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15558 (strtod_l, strtof_l, strtold_l): Remove __wur.
15559 It is not necessarily an error to ignore strtol's return value.
15560 One can reliably look at the stored endptr to decide whether
15561 the number had valid syntax.
15562
7c0616fa
AJ
155632012-04-21 Andreas Jaeger <aj@suse.de>
15564
803cb6b7 15565 [BZ #13739]
7c0616fa
AJ
15566 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15567
b0fe253f
JM
155682012-04-21 Joseph Myers <joseph@codesourcery.com>
15569
15570 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15571 * sysdeps/unix/sysv/Versions: Remove file.
15572
8280f22d
MT
155732012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15574
15575 [BZ #13927]
15576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15577
75ce411f 155782012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15579
15580 [BZ #7064]
15581 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15582 version from __vm86.
15583
097d59fa
JM
155842012-04-20 Joseph Myers <joseph@codesourcery.com>
15585
a90f3bcb
JM
15586 * sysdeps/unix/common/lxstat.c: Remove file.
15587 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15588
edc7ea78
JM
15589 * sysdeps/unix/sysv/Makefile: Remove file.
15590
cb78c221
JM
15591 * sysdeps/unix/sysv/direct.h: Remove file.
15592
efa6a45f
JM
15593 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15594 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15595 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15596 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15597 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15598 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15599 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15600
9c9f2d0c
JM
15601 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15602
4541c83b
JM
15603 * sysdeps/unix/xmknod.c: Remove file.
15604 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15605
f5d153a0
JM
15606 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15607
aa746595
JM
15608 * sysdeps/unix/sysv/i386/time.S: Remove file.
15609
cce5905e
JM
15610 * sysdeps/unix/fxstat.c: Remove file.
15611 * sysdeps/unix/xstat.c: Likewise.
15612 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15613
37fa3841
JM
15614 * sysdeps/unix/sysv/sigaction.c: Remove file.
15615
ff1962a3
JM
15616 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15617 (sysdep_headers): Remove variable.
15618 [termio.h not in sysdep_headers] (generated): Likewise.
15619 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15620 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15621 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15622 * sysdeps/unix/sysv/tcflow.c: Likewise.
15623 * sysdeps/unix/sysv/tcflush.c: Likewise.
15624 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15625 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15626 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15627 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15628 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15629
e7740d31
JM
15630 * sysdeps/unix/siglist.c: Remove file.
15631
ee06f18b
JM
15632 * sysdeps/unix/getppid.S: Remove file.
15633
097d59fa
JM
15634 * sysdeps/unix/mkdir.c: Remove file.
15635 * sysdeps/unix/rmdir.c: Likewise.
15636
ff3d51ec
AS
156372012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15638
15639 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15640 ERR_MAX value.
15641 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15642 errlist-compat value.
15643
50f81fd7
DM
156442012-04-18 David S. Miller <davem@davemloft.net>
15645
15646 * sysdeps/generic/memcopy.h (reg_char): Delete.
15647 * debug/strcat_chk.c: Use char, not reg_char.
15648 * debug/strcpy_chk.c: Likewise.
15649 * debug/strncat_chk.c: Likewise.
15650 * debug/strncpy_chk.c: Likewise.
15651 * string/memchr.c: Likewise.
15652 * string/memrchr.c: Likewise.
15653 * string/rawmemchr.c: Likewise.
15654 * string/strcat.c: Likewise.
15655 * string/strchr.c: Likewise.
15656 * string/strchrnul.c: Likewise.
15657 * string/strcmp.c: Likewise.
15658 * string/strcpy.c: Likewise.
15659 * string/strncat.c: Likewise.
15660 * string/strncmp.c: Likewise.
15661 * string/strncpy.c: Likewise.
15662
8ff41c46
WS
156632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15664
15665 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15666 __builtin_memcopy is called when src and dest ranges are known to not
15667 overlap.
15668
6b652f46
WS
156692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15670
15671 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15672 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15673 fwd_align_merge macro call.
15674 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15675 bwd_align_merge macro call.
15676 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15677
b282631e
WS
156782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15679
15680 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15681 bwd_align_merge macros.
15682 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15683 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15684 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15685
95aa737c
DM
156862012-04-18 David S. Miller <davem@davemloft.net>
15687
15688 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15689
7a99a614
AJ
156902012-04-18 Andreas Jaeger <aj@suse.de>
15691
15692 [BZ# 6794]
15693 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15694 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15695 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15696
15697 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15698 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15699 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15700
15701 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15702 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15703 Adjust for changed ldbl-128 files.
15704
15705 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15706 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15707 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15708
e5270c23
DM
157092012-04-17 David S. Miller <davem@davemloft.net>
15710
15711 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15712
fb5e92c9
AS
157132012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15714
15715 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15716 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15717 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15718 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15719 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15720 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15721
76da7265
AZ
157222012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15723
15724 [BZ #6794]
15725 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15726 * math/libm-test.inc: Add ilogb errno and exception tests.
15727 * math/w_ilogb.c: New file: ilogb wrapper.
15728 * math/w_ilogbf.c: New file: ilogbf wrapper.
15729 * math/w_ilogbl.c: New file: ilogbl wrapper.
15730 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15731 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15732 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15733 exception being thrown with 0.0 as argument.
15734 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15735 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15736 exception being thrown with 0.0 as argument.
15737 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15738 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15739 exception being thrown with 0.0 as argument.
15740 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15741 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15742 exception being thrown with 0.0 as argument.
15743 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15744 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 15745 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
15746 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15747 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15748 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15749 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15750 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15751 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15752
0396e69d
PB
157532012-04-17 Petr Baudis <pasky@ucw.cz>
15754
15755 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15756 with altivec.
15757
750b5926
MP
157582012-04-16 Marek Polacek <polacek@redhat.com>
15759
15760 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15761
751728a1
MP
157622012-04-16 Marek Polacek <polacek@redhat.com>
15763
15764 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15765 operands of fdivp instruction.
15766
34a27407
L
157672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15768
15769 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15770 * elf/tst-auditmod3b.c: Likewise.
15771 * elf/tst-auditmod4b.c: Likewise.
15772 * elf/tst-auditmod5b.c: Likewise.
15773 * elf/tst-auditmod6b.c: Likewise.
15774 * elf/tst-auditmod6c.c: Likewise.
15775 * elf/tst-auditmod7b.c: Likewise.
15776 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15777 * sysdeps/x86_64/preconfigure.in: Likewise.
15778 * sysdeps/x86_64/preconfigure: Regenerated.
15779
7e73e17d
L
157802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15781
15782 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15783 __ILP32__.
15784
c7a6ab72
AB
157852012-04-13 Antoine Balestrat <merkil33@gmail.com>
15786
15787 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15788 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15789
a9e8e0e0
CL
157902012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15791
15792 [BZ #13973]
15793 * locale/iso-639.def: Fix gl language name. Spotted by
15794 Yaron Shahrabani.
15795
ec98af7d
RM
157962012-04-12 Roland McGrath <roland@hack.frob.com>
15797
15798 [BZ #2074]
15799 * libio/libio.h (__io_write_fn): Update comment.
15800
247c3ede
PB
158012012-04-12 Petr Baudis <pasky@ucw.cz>
15802
15803 [BZ #2074]
15804 * stdio.texi (Hook Functions): The user provided writer function
15805 is not allowed to return -1.
15806
55939d6d
DM
158072012-04-11 David S. Miller <davem@davemloft.net>
15808
15809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15810
90020f5a
MF
158112012-04-11 Mike Frysinger <vapier@gentoo.org>
15812
15813 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15814 Add a leading slash to rtkaio.
15815
288f9098
JM
158162012-04-11 Jim Meyering <meyering@redhat.com>
15817
90020f5a
MF
15818 [BZ #11959]
15819 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15820 It is not necessarily an error to ignore fwrite's return
15821 value. One can reliably use ferror to test for errors after
15822 the fact.
288f9098 15823
4be2b570
L
158242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15825
15826 * bits/types.h (__snseconds_t): New type.
15827 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15828
15829 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15830 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15831 (__SNSECONDS_T_TYPE): Likewise.
15832 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15833 (__SNSECONDS_T_TYPE): Likewise.
15834 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15835 (__SNSECONDS_T_TYPE): Likewise.
15836
288f9098 158372012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
15838
15839 [BZ #2636]
15840 * manual/time.texi (Processor Time): Return type of times is
15841 elapsed real time since an arbitrary point in the past.
15842 (CPU Time): Move CLK_TCK from here...
15843 (Processor Time): ...to here. Correct description.
15844 * manual/conf.texi (Constants for Sysconf): Correct description of
15845 _SC_CLK_TCK.
15846
d7dd4413
DM
158472012-04-10 David S. Miller <davem@davemloft.net>
15848
15849 [BZ #13967]
15850 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15851 where the is a gap between DT_REL(A) and DT_JMPREL.
15852
b46068fc
L
158532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15854
15855 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15856 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15857 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15858
73d65cc3
SP
158592012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15860
15861 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15862 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15863 (dl_main): Handle --inhibit-cache.
15864 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15865 _dl_inhibit_cache.
15866 * elf/dl-load.c (_dl_map_object): Use it.
15867 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15868
bcc8d661
JM
158692012-04-09 Joseph Myers <joseph@codesourcery.com>
15870
8f9a2fae
JM
15871 [BZ #13872]
15872 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15873 (__ieee754_powl): Saturate large exponents rather than testing for
15874 overflow of y*log2(x).
15875 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15876 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15877 exceptions.
15878
bcc8d661
JM
15879 [BZ #11521]
15880 * math/s_ctan.c: Include <float.h>.
15881 (__ctan): Avoid internal overflow or cancellation in calculating
15882 denominator.
15883 * math/s_ctanf.c: Likewise.
15884 * math/s_ctanl.c: Likewise.
15885 * math/s_ctanh.c: Likewise.
15886 * math/s_ctanhf.c: Likewise.
15887 * math/s_ctanhl.c: Likewise.
15888 * math/libm-test.inc (ctan_test): Add more tests.
15889 (ctanh_test): Likewise.
15890 * sysdeps/i386/fpu/libm-test-ulps: Update.
15891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15892
823fbbb4
AJ
158932012-04-09 Andreas Jaeger <aj@suse.de>
15894
03879793
AJ
15895 [BZ #6894]
15896 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15897 is an optional BSD extension.
15898
823fbbb4
AJ
15899 [BZ #10254]
15900 * manual/stdio.texi (Opening Streams): Document additional fopen
15901 parameters.
15902
8de131cb
RM
159032012-04-09 Roland McGrath <roland@hack.frob.com>
15904
15905 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15906 %eax without telling the compiler.
15907
c0ed9d7d
CD
159082012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15909
15910 [BZ # 13963]
15911 * manual/install.texi: Use sourceware.org.
15912
c483f6b4
JM
159132012-04-09 Joseph Myers <joseph@codesourcery.com>
15914
d7dd9453
JM
15915 [BZ #13873]
15916 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15917 (__ieee754_pow): Generate overflow and underflow using huge*huge
15918 and tiny*tiny rather than just returning constant infinity or zero
15919 for large exponents.
15920 * math/libm-test.inc (pow_test): Require overflow exceptions for
15921 applicable cases of large exponents.
15922
c483f6b4
JM
15923 [BZ #706]
15924 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15925 (__ieee754_pow): Use iterative multiplication algorithm only for
15926 integer exponents with absolute value below 1024. Check for odd
15927 integer exponents when using algorithm for real exponents.
15928 * math/libm-test.inc (pow_test): Add more tests.
15929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15930
d2de7579
JM
159312012-04-08 Joseph Myers <joseph@codesourcery.com>
15932
15933 [BZ #13705]
15934 * math/libm-test.inc (exp_test): Do not allow overflow exception
15935 on underflow test.
15936
f77f1232
AJ
159372012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15938
15939 [BZ #13705]
15940 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15941 instead of __kernel_standard_f.
15942
3884932b
MF
159432012-04-08 Mike Frysinger <vapier@gentoo.org>
15944
15945 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15946 * sysdeps/x86_64/memset_chk.S: Likewise.
15947
54472e9c
AJ
159482012-04-08 Andreas Jaeger <aj@suse.de>
15949
6ab0fbfc
AJ
15950 [BZ #10153]
15951 * manual/startup.texi (Environment Access): Describe return value
15952 for putenv and setenv.
15953
61efba8c
AJ
15954 [BZ #6895]
15955 * manual/filesys.texi (Directory Entries): Add description for
15956 DT_LNK.
15957
95c3f29a
AJ
15958 [BZ #6890]
15959 * manual/filesys.texi (Directory Entries): Clarify that it's file
15960 system not operating system in the description of DT_UNKNOWN.
15961
54472e9c
AJ
15962 [BZ #6578]
15963 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15964
624254b1
SC
159652012-04-08 Stephen Compall <s11@member.fsf.org>
15966
15967 [BZ #6649]
15968 * manual/llio.texi (Opening and Closing Files): Add cross
15969 reference to explain mode argument.
15970
1e4920e0
MF
159712012-04-07 Mike Frysinger <vapier@gentoo.org>
15972
15973 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15974 * sysdeps/x86_64/memset_chk.S: Likewise.
15975
5ed848f3
DM
159762012-04-07 David S. Miller <davem@davemloft.net>
15977
15978 * elf/elf.h (R_SPARC_WDISP10): Define.
15979 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15980 R_SPARC_SIZE32.
15981 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15982 R_SPARC_SIZE64 and R_SPARC_H34.
15983
96154cd8
CD
159842012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15985
15986 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15987 conditions and remove no longer applicable assertion.
15988
9904dc47
L
159892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15990
15991 * bits/byteswap.h: Include <features.h>.
15992 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15993 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15994
f8887d0a
L
159952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15996
15997 * bits/byteswap.h (__bswap_16): Removed.
15998 Include <bits/byteswap-16.h> to get __bswap_16.
15999 * sysdeps/i386/bits/byteswap.h: Likewise.
16000 * sysdeps/s390/bits/byteswap.h: Likewise.
16001 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16002 * bits/byteswap-16.h: New file.
16003 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16004 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16005 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16006 * string/Makefile (headers): Add bits/byteswap-16.h.
16007
62470f60
PP
160082012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16009
16010 [BZ #13895]
16011 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16012 extra indirection.
16013 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16014 * nss/tst-nss-static.c: New.
16015
4dad7bab
RM
160162012-04-06 Robert Millan <rmh@gnu.org>
16017
16018 [BZ #6486]
16019 * manual/llio.texi (File Position Primitive): lseek
16020 refers to WHENCE when it really means OFFSET.
16021
e9142a17
AJ
160222012-04-06 Andreas Jaeger <aj@suse.de>
16023
2c040eff
AJ
16024 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16025 strncmp declarations.
16026
e9142a17
AJ
16027 * abilist/libc.abilist: Add __poll and __ppoll.
16028
ff9f1c5f
DM
160292012-04-05 David S. Miller <davem@davemloft.net>
16030
dcd2ae90
DM
16031 * scripts/check-local-headers.sh: Accept a host triplet in the
16032 path matched by the exclude regexp.
16033
993eb054
DM
16034 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16035 definition.
16036 * sysdeps/powerpc/powerpc32/dl-machine.h
16037 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16038 * sysdeps/s390/s390-32/dl-machine.h
16039 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16040 * sysdeps/sparc/sparc32/dl-machine.h
16041 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16042 * sysdeps/sparc/sparc64/dl-machine.h
16043 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16044
ff9f1c5f
DM
16045 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16046 lazy binding.
48e2e132 16047 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16048 undefined symbol errors.
16049
48e2e132 16050 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16051 DT_NEEDED entries.
16052
e80d6f94
MM
160532012-04-05 Michael Matz <matz@suse.de>
16054
16055 [BZ #13592]
16056 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16057
349fa79f
AJ
160582012-04-05 Andreas Jaeger <aj@suse.de>
16059
16060 [BZ #13908]
16061 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16062 comment.
16063
f402708f
KK
160642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16065
16066 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16067 which ROUND is no valid rounding mode.
16068
2ecccfc9
KK
160692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16070
16071 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16072 read again.
16073 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16074
8a53f50f
KK
160752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16076
16077 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16078 an exception using FPU order intentionally.
16079
160802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16081
16082 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16083 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16084 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16085 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16086
d653abb7
SJ
160872012-04-05 Simon Josefsson <simon@josefsson.org>
16088
16089 [BZ #12340]
16090 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16091 EINVAL when BUFLEN is too smal.
16092
c3b1bf7d
TS
160932012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16094
16095 [BZ #13553]
16096 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16097 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16098
b1aa60f3
AJ
160992012-04-03 Andreas Jaeger <aj@suse.de>
16100
c3b1bf7d 16101 [BZ #13938]
67f60a26
AJ
16102 * manual/setjmp.texi (System V contexts): Fix sentence.
16103
b1aa60f3
AJ
16104 [BZ #13926]
16105 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16106 New macro for this case.
16107 [!__GNUC__] (__bswap_64): New inline function for this case.
16108 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16109 * bits/byteswap.h: Likewise.
16110 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16111 ull, guard with __GLIBC_HAVE_LONG_LONG.
16112
16113 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16114 __GLIBC_HAVE_LONG_LONG.
16115
16116 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16117 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16118
39c59c35
TMQMF
161192012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16120
16121 [BZ #13691]
16122 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16123 inptr and inend, rather than using last_ch.
16124
135ffda8
DM
161252012-04-02 David S. Miller <davem@davemloft.net>
16126
16127 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16128 * stdio-common/printf-parse.h (read_int): Change return type to
16129 'int', return -1 on INT_MAX overflow.
16130 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16131 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16132 overflows INT_MAX. Check for overflow of in-format-string precision
16133 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16134 SIZE_MAX not INT_MAX for integer overflow test.
16135 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16136 skip the construct in the format string but do not record anything.
16137 * stdio-common/bug22.c: Adjust to test both width/prevision
16138 INT_MAX overflow as well as total length INT_MAX overflow. Check
16139 explicitly for proper errno values.
16140
228c019e
TS
161412012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16142
302cadd3
TS
16143 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16144 CHAR_MAX.
16145 * string/test-strcmp.c [! WIDE]: Likewise.
16146 * time/tst-mktime2.c: Likewise for INT_MAX.
16147 * string/test-string.h: #include <sys/param.h> for MIN.
16148
228c019e
TS
16149 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16150 * sysdeps/i386/init-first.c (init): Likewise.
16151 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16152 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16153 * sysdeps/sh/init-first.c (init): Likewise.
16154
cfa633f5
UD
161552012-04-01 Ulrich Drepper <drepper@gmail.com>
16156
16157 * po/ru.po: Update from translation team.
d1635ef8 16158 * po/vi.po: Likewise.
cfa633f5 16159
6cd0a5ea
SP
161602012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16161
16162 * resolv/nss_dns/dns-host.c: Merge copyright years.
16163
4b43400f
LD
161642012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16165
16166 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16167 Optimize memcpy with prefetch if
16168 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16169 src, dst pointers have unequal 16 byte alignments.
16170
48c41d04
SP
161712012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16172
16173 [BZ #13928]
16174 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16175 from a CNAME entry and return the minimum ttl for the query.
16176 (gaih_getanswer_slice): Likewise.
16177
b8dc394d
JL
161782012-03-30 Jeff Law <law@redhat.com>
16179
16180 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16181 due to long keys.
16182 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16183 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16184
2f5a5ed0
JL
16185 * resolv/nss_dns/dns-host.c: Update copyright year.
16186
1d39e359
UD
161872012-03-30 Ulrich Drepper <drepper@gmail.com>
16188
c030f70c 16189 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16190 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16191
1d39e359
UD
16192 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16193 comments for sendmmsg.
16194
161952012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16196
16197 [BZ #13691]
16198 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16199 with only 1 character between 0x0041 and 0x01b0.
16200 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16201 * wcsmbs/tst-mbsnrtowcs.c: New file.
16202
20fde227
DM
162032012-03-29 David S. Miller <davem@davemloft.net>
16204
16205 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16206 small copies by hand.
16207
984a4237
JL
162082012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16209
16210 [BZ #13761]
16211 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16212 _nss_compat_initgroups_dyn): Fall back to malloc/free
16213 for large group memberships.
16214
18c9d62b
DM
162152012-03-28 David S. Miller <davem@davemloft.net>
16216
88d85d4f
DM
16217 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16218 that branches into memcpy.
16219 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16220 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16221 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16222 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16223 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16224 bits.
16225 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16226 implementation too.
16227 * sysdeps/sparc/mempcpy.S: New file.
16228
e5aa83e1
DM
16229 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16230 the IFUNC routine in the libc case.
16231 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16232
88570753
DM
16233 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16234 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16235 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16236 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16237 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16238 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16239 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16240 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16241
249d7567
DM
16242 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16243 loop to 256 bytes instead of 64 bytes and fix test signedness.
16244
18c9d62b
DM
16245 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16246 * sysdeps/sparc/sparc32/Makefile: rather than here...
16247 * sysdeps/sparc/sparc64/Makefile: and here.
16248
05f3d1f6
UD
162492012-03-28 Ulrich Drepper <drepper@gmail.com>
16250
16251 * malloc/mallocbug.c: Avoid warnings about unused variables.
16252
86ae07a8
JL
162532012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16254
16255 [BZ #13760]
16256 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16257 in the right place. Discard and retry query if response is
16258 larger than input buffer size.
16259
41bf21a1
JM
162602012-03-28 Joseph Myers <joseph@codesourcery.com>
16261
d6270972
JM
16262 [BZ #369]
16263 [BZ #2678]
16264 [BZ #3866]
16265 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16266 x for large integer exponent.
16267 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16268 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16269 sign of result as needed afterwards.
16270 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16271 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16272 result for underflowing pow the same as for overflow.
16273 (__kernel_standard_l): Handle powl overflow and underflow here
16274 rather than calling __kernel_standard.
16275 * math/libm-test.inc (pow_test): Add more tests.
16276
414fca03 16277 [BZ #3868]
41bf21a1
JM
16278 [BZ #13879]
16279 [BZ #13910]
16280 [BZ #13911]
16281 [BZ #13912]
16282 [BZ #13913]
16283 [BZ #13915]
16284 [BZ #13916]
16285 [BZ #13917]
16286 [BZ #13918]
16287 [BZ #13919]
16288 [BZ #13920]
16289 [BZ #13921]
16290 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16291 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16292 (__kernel_standard_l): New function.
16293 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16294 __kernel_standard.
16295 * math/w_acosl.c (__acosl): Likewise.
16296 * math/w_asinl.c (__asinl): Likewise.
16297 * math/w_atan2l.c (__atan2l): Likewise.
16298 * math/w_atanhl.c (__atanhl): Likewise.
16299 * math/w_coshl.c (__coshl): Likewise.
16300 * math/w_exp10l.c (__exp10l): Likewise.
16301 * math/w_exp2l.c (__exp2l): Likewise.
16302 * math/w_fmodl.c (__fmodl): Likewise.
16303 * math/w_hypotl.c (__hypotl): Likewise.
16304 * math/w_j0l.c (__j0l, __y0l): Likewise.
16305 * math/w_j1l.c (__j1l, __y1l): Likewise.
16306 * math/w_jnl.c (__jnl, __ynl): Likewise.
16307 * math/w_lgammal.c (__lgammal): Likewise.
16308 * math/w_log10l.c (__log10l): Likewise.
16309 * math/w_log2l.c (__log2l): Likewise.
16310 * math/w_logl.c (__logl): Likewise.
16311 * math/w_powl.c (__powl): Likewise.
16312 * math/w_remainderl.c (__remainderl): Likewise.
16313 * math/w_scalbl.c (sysv_scalbl): Likewise.
16314 * math/w_sinhl.c (__sinhl): Likewise.
16315 * math/w_sqrtl.c (__sqrtl): Likewise.
16316 * math/w_tgammal.c (__tgammal): Likewise.
16317 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16318 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16319 * math/libm-test.inc (acos_test): Add more tests.
16320 (acosh_test): Likewise.
16321 (asin_test): Likewise.
16322 (atanh_test): Likewise.
16323 (exp_test): Likewise.
16324 (exp10_test): Likewise.
16325 (exp2_test): Likewise.
16326 (expm1_test): Likewise.
16327 (lgamma_test): Likewise.
16328 (log_test): Likewise.
16329 (log10_test): Likewise.
16330 (log1p_test): Likewise.
16331 (log2_test): Likewise.
16332 (pow_test): Do not allow some spurious overflow exceptions.
16333 (sqrt_test): Add more tests.
16334 (tgamma_test): Likewise.
16335 (y0_test): Likewise.
16336 (y1_test): Likewise.
16337 (yn_test): Likewise.
16338
dd62fda6
AB
163392012-03-27 Anton Blanchard <anton@samba.org>
16340
16341 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16342 MAP_HUGETLB.
16343 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16344 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16345 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16346
1e3cdfda
AJ
163472012-03-27 David S. Miller <davem@davemloft.net>
16348
b855ab85
DM
16349 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16350
1e3cdfda
AJ
16351 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16352 have-as-vis3 check.
16353
163542012-03-27 Andreas Jaeger <aj@suse.de>
16355
16356 * sysdeps/x86_64/elf/configure.in: Moved to ...
16357 * sysdeps/x86_64/configure.in: ... here.
16358 * sysdeps/x86_64/elf/start.S: Moved to ...
16359 * sysdeps/x86_64/start.S: ... here.
16360 * sysdeps/x86_64/elf/configure: Delete.
16361
16362 * sysdeps/x86_64/configure.in: Merge contents from
16363 sysdeps/i386/configure.in (without i686 check).
16364
16365 * sysdeps/i386/elf/Versions: Merge into ...
16366 * sysdeps/i386/Versions: ... this.
16367 * sysdeps/i386/elf/Versions: Delete file.
16368 * sysdeps/i386/elf/start.S: Moved to ...
16369 * sysdeps/i386/start.S: ...here.
16370 * sysdeps/i386/elf/configure.in: Merge into...
16371 * sysdeps/i386/configure.in: ...here.
16372 * sysdeps/i386/elf/configure.in: Delete file.
16373 * sysdeps/i386/elf/configure: Delete file.
16374
16375 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16376 * debug/backtracesyms.c: ... here.
16377 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16378 * debug/backtracesymsfd.c: ... here.
16379 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16380 * sysdeps/generic/ifunc-sel.h: ... here.
16381
16382 * sysdeps/unix/i386/start.c: Delete file.
16383 * sysdeps/unix/sparc/start.c: Delete file.
16384 * sysdeps/unix/start.c: Delete file.
16385
16386 * sysdeps/sh/elf/configure.in: Moved to ...
16387 * sysdeps/sh/configure.in: ... here.
16388 * sysdeps/sh/elf/start.S: Moved to ...
16389 * sysdeps/sh/start.S: ... here.
16390 * sysdeps/sh/elf/configure: Delete file.
16391
16392 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16393 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16394 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16395 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16396 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16397 * sysdeps/powerpc/powerpc64/start.S: here.
16398 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16399 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16400 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16401 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16402 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16403
16404 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16405 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16406 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16407 * sysdeps/powerpc/powerpc32/start.S: ... here.
16408 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16409 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16410 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16411
16412 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16413 * sysdeps/powerpc/ifunc-sel.h: ... here.
16414 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16415 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16416
16417 * sysdeps/sparc/elf/configure.in: Moved to ...
16418 * sysdeps/sparc/configure.in: ... here.
16419 * sysdeps/sparc/elf/configure: Delete file.
16420 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16421 * sysdeps/sparc/sparc32/start.S: ... here.
16422 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16423 * sysdeps/sparc/sparc64/start.S: ... here.
16424 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16425 * sysdeps/sparc/sparc32/Makefile: ... this.
16426 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16427 * sysdeps/sparc/sparc64/Makefile: ... this.
16428
16429 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16430 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16431 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16432 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16433 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16434 * sysdeps/s390/s390-32/setjmp.S: ... here.
16435 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16436 * sysdeps/s390/s390-32/configure.in: ... here.
16437 * sysdeps/s390/s390-32/elf/configure: Delete file.
16438 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16439 * sysdeps/s390/s390-32/start.S: ... here.
16440
16441 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16442 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16443 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16444 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16445 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16446 * sysdeps/s390/s390-64/setjmp.S: ... here.
16447 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16448 * sysdeps/s390/s390-64/configure.in: ... here
16449 * sysdeps/s390/s390-64/elf/configure: Delete file.
16450 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16451 * sysdeps/s390/s390-64/start.S: ... here.
16452 * sysdeps/s390/s390-64/elf/configure: Delete.
16453
16454 * configure.in: Remove support for elf directories in sysdeps.
16455
16456 * configure: Regenerated.
16457 * sysdeps/i386/configure: Regenerated.
16458 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16459 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16460 * sysdeps/s390/s390-32/configure: Regenerated.
16461 * sysdeps/s390/s390-64/configure: Regenerated.
16462 * sysdeps/sh/configure: Regenerated.
16463 * sysdeps/sparc/configure: Regenerated.
16464 * sysdeps/x86_64/configure: Regenerated.
16465
a3f61311
AS
164662012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16467
c876e002
AS
16468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16469
a3f61311
AS
16470 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16471 denormal result into account.
16472
ac4c54f0
RM
164732012-03-25 Roland McGrath <roland@hack.frob.com>
16474
16475 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16476 Reported by Allan McRae <allan@archlinux.org>.
16477
6a9b9c02
JL
164782012-03-23 Jeff Law <law@redhat.com>
16479
16480 * nss/getnssent.c (__nss_getent): Fix typo.
16481
4c42a0c1
DM
164822012-03-23 David S. Miller <davem@davemloft.net>
16483
16484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16485
1532c7ac
L
164862012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16487
16488 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16489 to pad to uint64_t for each field.
16490 (dl_tls_index): Replace unsigned long with uint64_t.
16491
3ff42526
PP
164922012-03-23 Daniel Jacobowitz <dmj@google.com>
16493 Paul Pluzhnikov <ppluzhnikov@google.com>
16494
16495 [BZ #6528]
16496 * grp/Makefile (otherlibs): Don't set it.
16497 * inet/Makefile (otherlibs): Likewise.
16498 * login/Makefile (otherlibs): Likewise.
16499 * nscd/Makefile (otherlibs): Likewise.
16500 * posix/Makefile (otherlibs): Likewise.
16501 * pwd/Makefile (otherlibs): Likewise.
16502 * rt/Makefile (otherlibs): Likewise.
16503 * sunrpc/Makefile (otherlibs): Likewise.
16504 * nss/Makefile (otherlibs): Likewise.
16505 Add libnss_files to routines and static-only-routines.
16506 ($(objpfx)getent): Remove rule.
16507 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16508 static-only-routines.
16509
7c69cd14
JM
165102012-03-22 Joseph Myers <joseph@codesourcery.com>
16511
16512 [BZ #13892]
16513 * math/s_cexp.c: Include <float.h>.
16514 (__cexp): Handle exp result overflowing not necessarily
16515 overflowing both real and imaginary parts of result.
16516 * math/s_cexpf.c: Likewise.
16517 * math/s_cexpl.c: Likewise.
16518 * math/libm-test.inc (cexp_test): Add more tests.
16519 * sysdeps/i386/fpu/libm-test-ulps: Update.
16520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16521
81b035fe
L
165222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16523
16524 * include/link.h (ELFW): New macro.
16525 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16526 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16527
1da7940c
L
165282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16529
16530 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16531 with uint64_t.
16532
b749dbb9
L
165332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16534
16535 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16536 declaration.
16537 (struct La_x32_retval): Likewise.
16538
2ff87f3f
L
165392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16540
16541 * sysdeps/x86_64/preconfigure.in: New file.
16542 * sysdeps/x86_64/preconfigure: New generated file.
16543
c0df8e69
JM
165442012-03-22 Joseph Myers <joseph@codesourcery.com>
16545
48e44791
JM
16546 [BZ #13824]
16547 * math/e_exp2l.c: Include <float.h>.
16548 (__ieee754_exp2l): Handle overflow and underflow cases
16549 separately. Only pass fractional part of argument to
16550 __ieee754_expl.
16551 * math/libm-test.inc (exp2_test): Add more tests.
16552
c0df8e69
JM
16553 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16554 negating x to take absolute value.
16555 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16556 Likewise.
16557 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16558 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16559 Likewise.
16560 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16561 computing low part if x was negated.
16562 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16563
c8e43ba7
L
165642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16565
16566 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16567 la_x32_gnu_pltexit.
16568 (pltexit): Cast int_retval to ptrdiff_t.
16569 * elf/tst-auditmod3b.c: Likewise.
16570 * elf/tst-auditmod4b.c: Likewise.
16571 * elf/tst-auditmod5b.c: Likewise.
16572 * elf/tst-auditmod6b.c: Likewise.
16573 * elf/tst-auditmod6c.c: Likewise.
16574 * elf/tst-auditmod7b.c: Likewise.
16575
16576 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16577 and x32_gnu_pltexit.
16578
16579 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16580 __ELF_NATIVE_CLASS.
16581 (La_x32_regs): New macro.
16582 (La_x32_retval): Likewise.
16583 (la_x32_gnu_pltenter): New function prototype.
16584 (la_x32_gnu_pltexit): Likewise.
16585
7998fa78
AS
165862012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16587
dcb33988
AS
16588 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16589 exponent.
16590
233fc563
AS
16591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16592
7998fa78
AS
16593 * configure.in (libc_cv_cc_nofma): Check for option to disable
16594 generation of FMA instructions.
16595 * configure: Regenerate.
16596 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16597 * sysdeps/ieee754/dbl-64/Makefile: New file.
16598 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16599 Remove brandred-fma4.
16600 (CFLAGS-brandred-fma4.c): Remove.
16601 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16602 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16603 define.
16604 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16605 define.
16606
8e95c99a
L
166072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16608
16609 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16610 LLONG_MAX != LONG_MAX.
16611 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16612 (_fitoa_word): Likewise.
16613 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16614 LLONG_MAX != LONG_MAX.
16615 * stdio-common/_itowa.h: Include <_itoa.h>.
16616 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16617 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16618 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16619 only if not defined.
16620 (_ITOA_WORD_TYPE): Likewise.
16621 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16622 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16623
6f4db457
DM
166242012-03-21 David S. Miller <davem@davemloft.net>
16625
16626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16627
7785fe5a
L
166282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16629
16630 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16631 of x86_64 when setting libc_cv_slibdir, libdir and
16632 libc_cv_localedir.
16633 * sysdeps/unix/sysv/linux/configure: Regenerated.
16634
4535cd55
JM
166352012-03-21 Joseph Myers <joseph@codesourcery.com>
16636
16637 * manual/lang.texi (Old Varargs): Remove section.
16638 (How Variadic): Update menu.
16639 (va_start): Do not mention varargs.h.
16640
17228132
TS
166412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16642 Joseph Myers <joseph@codesourcery.com>
16643
16644 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16645 link test.
16646 * configure: Regenerated.
16647
8149f976
TS
166482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16649
05f3d1f6
UD
16650 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16651 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16652 conformtest.pl
8149f976 16653
1a4ac776
JM
166542012-03-21 Joseph Myers <joseph@codesourcery.com>
16655
be22ce65
JM
16656 * NOTES: Remove.
16657 * Makefile (files-for-dist): Remove NOTES.
16658 (NOTES): Remove rule.
16659 * README: Don't refer to NOTES.
16660 * manual/creature.texi: Don't include macros.texi.
16661 * manual/intro.texi (creature.texi): Remove comment referring to
16662 NOTES.
16663
40b601fb
JM
16664 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16665 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16666 * configure: Regenerated.
16667 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16668 LIBC_TRY_CC_OPTION.
16669 (libc_cv_as_i686): Likewise.
16670 (libc_cv_cc_avx): Likewise.
16671 (libc_cv_cc_sse2avx): Likewise.
16672 (libc_cv_cc_fma4): Likewise.
16673 (libc_cv_cc_novzeroupper): Likewise.
16674 * sysdeps/i386/configure: Regenerated.
16675
1a4ac776
JM
16676 [BZ #13883]
16677 * sysdeps/i386/fpu/s_cexp.S: Remove.
16678 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16679 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16680 * math/libm-test.inc (cexp_test): Add more tests.
16681 * sysdeps/i386/fpu/libm-test-ulps: Update.
16682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16683
a458e7fe
AM
166842012-03-21 Allan McRae <allan@archlinux.org>
16685
16686 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16687
0cb7efc5
JM
166882012-03-21 Joseph Myers <joseph@codesourcery.com>
16689
16690 [BZ #13871]
16691 * math/w_exp2.c: Do not include <float.h>.
16692 (o_threshold, u_threshold): Remove.
16693 (__exp2): Calculate result before checking finiteness and calling
16694 __kernel_standard.
16695 * math/w_exp2f.c: Likewise.
16696 * math/w_exp2l.c: Likewise.
16697 * math/libm-test.inc (exp2_test): Require overflow exception for
16698 1e6 input.
2460d3aa
JM
16699
16700 [BZ #3866]
16701 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16702 range of signed 64-bit integers before using fistpll. Remove
16703 checks for whether integers fit in mantissa bits.
16704 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16705 the range of signed 32-bit integers before using fistpl. Remove
16706 checks for whether integers fit in mantissa bits.
16707 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16708 (__ieee754_powl): Test for y outside the range of signed 64-bit
16709 integers before using fistpll. Reduce 64-bit values to 63-bit
16710 ones as needed.
16711 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16712 divide-by-zero is raised for zero to large negative powers.
16713 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16714 (__ieee754_powl): Test for y outside the range of signed 64-bit
16715 integers before using fistpll. Reduce 64-bit values to 63-bit
16716 ones as needed.
16717 * math/libm-test.inc (pow_test): Add more tests.
16718
eb96ffb0
L
167192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16720
16721 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16722 <stdio-common/_itoa.h>.
16723 * debug/segfault.c: Likewise.
16724 * elf/dl-cache.c: Likewise.
16725 * elf/dl-minimal.c: Likewise.
16726 * elf/dl-misc.c: Likewise.
16727 * elf/dl-sysdep.c: Likewise.
16728 * elf/dl-version.c: Likewise.
16729 * elf/rtld.c: Likewise.
16730 * hurd/hurdsock.c: Likewise.
16731 * hurd/lookup-retry.c: Likewise.
16732 * malloc/malloc.c: Likewise.
16733 * malloc/mtrace.c: Likewise.
16734 * nscd/nscd_getgr_r.c: Likewise.
16735 * nscd/nscd_getpw_r.c: Likewise.
16736 * nscd/nscd_getserv_r.c: Likewise.
16737 * posix/getopt_init.c: Likewise.
16738 * posix/wordexp.c: Likewise.
16739 * stdio-common/_itoa.c: Likewise.
16740 * stdio-common/printf_fphex.c: Likewise.
16741 * stdio-common/vfprintf.c: Likewise.
16742 * string/_strerror.c: Likewise.
16743 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16744 * sysdeps/i386/i686/hp-timing.h: Likewise.
16745 * sysdeps/mach/_strerror.c: Likewise.
16746 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16747 * sysdeps/mach/hurd/sethostid.c: Likewise.
16748 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16749 * sysdeps/mach/xpg-strerror.c: Likewise.
16750 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16751 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16752 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16753 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16754 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16755 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16756 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16757 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16758 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16759 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16760 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16761 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16762 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16763 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16764 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16765 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16766 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16767 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16768 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16769 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16770 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16771
16772 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16773
16774 * stdio-common/_itoa.h: Moved to ...
16775 * sysdeps/generic/_itoa.h: Here.
16776
16777 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16778
16779 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16780 instead of "_itoa.h" and "_itowa.h".
16781 * stdio-common/vfprintf.: Likewise.
16782
d1af992d
L
167832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16784
16785 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16786 <bits/wordsize.h>.
16787 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16788 (__signbit): Likwise.
16789 (llrintf): Likwise.
16790 (llrint): Likwise.
16791
114883e0
L
167922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16793
16794 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16795 __WORDSIZE != 64.
16796
c135cc1b
JM
167972012-03-20 Joseph Myers <joseph@codesourcery.com>
16798
16799 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16800 OVERFLOW_EXCEPTION_OK.
16801 * math/libm-test.inc ("Philosophy"): Update comment about
16802 exception testing.
16803 (OVERFLOW_EXCEPTION): Define.
16804 (OVERFLOW_EXCEPTION_OK): Likewise.
16805 (INVALID_EXCEPTION_OK): Renumber.
16806 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16807 (IGNORE_ZERO_INF_SIGN): Likewise.
16808 (test_exceptions): Handle FE_OVERFLOW.
16809 (exp10_test): Expect overflow exceptions.
16810 (exp2_test): Likewise.
16811 (expm1_test): Likewise.
16812 (nextafter_test): Likewise.
16813 (pow_test): Likewise.
16814 (scalbn_test): Likewise.
16815 (scalbln_test): Likewise.
16816
95443d88
L
168172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16818
16819 * sysdeps/x86_64/bits/atomic.h
16820 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16821 64bit integer.
16822 (atomic_exchange_acq): Likewise.
16823 (__arch_exchange_and_add_body): Likewise.
16824 (__arch_add_body): Likewise.
16825 (atomic_add_negative): Likewise.
16826 (atomic_add_zero): Likewise.
16827
490df6c4
L
168282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16829
c2722551 16830 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
16831 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16832
5e52b189
L
168332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16834
16835 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16836 Check __x86_64__ instead of __WORDSIZE.
16837
a9879d4c
L
168382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16839
16840 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16841
5df98260
DM
168422012-03-19 David S. Miller <davem@davemloft.net>
16843
e1497744
DM
16844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16845
5df98260
DM
16846 * sysdeps/sparc/fpu/fenv_private.h: New file.
16847 * sysdeps/sparc/fpu/math_private.h: Use it.
16848 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16849 Remove.
16850 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16851 (libc_feholdexcept_setroundl): Remove.
16852 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16853 Remove.
16854 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16855 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16856
b4c35121
L
168572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16858
16859 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16860 int64_t instead of long int.
16861 (INSERT_WORDS64): Likwise.
16862
56965fd7
L
168632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16864
16865 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16866 _Unwind_GetCFA return to _Unwind_Ptr first.
16867
83d1aec8
JM
168682012-03-19 Joseph Myers <joseph@codesourcery.com>
16869
1897ad44
JM
16870 [BZ #13629]
16871 * math/s_clog.c: Include <float.h>.
16872 (__clog): Scale large or subnormal inputs.
16873 * math/s_clogf.c: Likewise.
16874 * math/s_clogl.c: Likewise.
16875 * math/s_clog10.c: Include <float.h>.
16876 (M_LOG10_2): Define.
16877 (__clog10): Scale large or subnormal inputs.
16878 * math/s_clog10f.c: Likewise.
16879 * math/s_clog10l.c: Likewise.
16880 * math/libm-test.inc (clog_test): Add more tests.
16881 (clog10_test): Likewise.
16882 * sysdeps/i386/fpu/libm-test-ulps: Update.
16883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16884
7726d6a9
JM
16885 [BZ #11451]
16886 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16887 x and y.
16888 * math/libm-test.inc (atan2_test): Add another test.
16889
83d1aec8
JM
16890 * Makerules (common-objdir-compile): Remove.
16891 * sysdeps/unix/Makefile (config-generated): Do not add
16892 $(unix-generated) to variable.
16893 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16894 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16895 Remove rule.
16896 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16897 Likewise.
16898 [generic bits/local_lim.h] (before-compile): Do not append to
16899 variable.
16900 [generic bits/local_lim.h] (common-generated): Likewise.
16901 [generic sys/param.h] (before-compile): Do not append to variable.
16902 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16903 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16904 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16905 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16906 include.
16907 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16908 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16909 [generic sys/param.h] ($(addprefix
16910 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16911 [generic sys/param.h] (common-generated): Do not append to
16912 variable.
16913 [generic sys/param.h] (sysdep_headers): Likewise.
16914 [generic bits/errno.h] (before-compile): Do not append to
16915 variable.
16916 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16917 rule.
16918 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16919 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16920 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16921 [generic bits/errno.h] (common-generated): Do not append to
16922 variable.
16923 [generic bits/ioctls.h] (before-compile): Do not append to
16924 variable.
16925 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16926 rule.
16927 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16928 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16929 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16930 rule.
16931 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16932 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16933 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16934 [generic bits/ioctls.h] (common-generated): Do not append to
16935 variable.
16936 [generic sys/syscall.h] (syscall.h): Remove variable.
16937 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16938 rule.
16939 [generic sys/syscall.h] (before-compile): Do not append to
16940 variable.
16941 [generic sys/syscall.h] (common-generated): Likewise.
16942 * sysdeps/unix/errnos-tmpl.c: Remove file.
16943 * sysdeps/unix/errnos.awk: Likewise.
16944 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16945 * sysdeps/unix/ioctls.awk: Likewise.
16946 * sysdeps/unix/mk-local_lim.c: Likewise.
16947 * sysdeps/unix/snarf-ioctls: Likewise.
16948
4851a949
RH
169492012-03-19 Richard Henderson <rth@twiddle.net>
16950
bd37f2ee
RH
16951 * sysdeps/i386/fpu/fenv_private.h: New file.
16952 * sysdeps/i386/fpu/math_private.h: Use it.
16953 (math_opt_barrier, math_force_eval): Remove.
16954 (libc_feholdexcept_setround_53bit): Remove.
16955 (libc_feupdateenv_53bit): Remove.
16956 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16957 (math_opt_barrier, math_force_eval): Remove.
16958 (libc_feholdexcept): Remove.
16959 (libc_feholdexcept_setround): Remove.
16960 (libc_fetestexcept, libc_fesetenv): Remove.
16961 (libc_feupdateenv_test): Remove.
16962 (libc_feupdateenv, libc_feholdsetround): Remove.
16963 (libc_feresetround): Remove.
16964
d0adc922
RH
16965 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16966 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16967
0fe0f1f8
RH
16968 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16969 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16970 (libc_feupdateenv_testl): New.
16971 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16972 (libc_feupdateenv_testf): New.
16973 (libc_feupdateenv): Use libc_feupdateenv_test.
16974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16975 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16976
eb92c487
RH
16977 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16978 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16979 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16980 (libc_feresetround_noex): New.
16981 (libc_feresetround_noexf): New.
16982 (libc_feresetround_noexl): New.
16983 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16984 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16985 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16986 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16987 SET_RESTORE_ROUND.
16988 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16989 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16990 (__cos): Likewise.
16991 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16992 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16993 SET_RESTORE_ROUND_NOEX.
16994 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16995 SET_RESTORE_ROUND_NOEXF.
16996 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16997 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16998 (libc_feholdsetroundf): New.
16999 (libc_feresetround, libc_feresetroundf): New.
17000
7d2e8012
RH
17001 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17002 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17003 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17004
b4dabbb4
RH
17005 * sysdeps/generic/math_private.h: Include <fenv.h>.
17006 (default_libc_feholdexcept): New.
17007 (default_libc_feholdexcept_setround): New.
17008 (default_libc_fesetenv, default_libc_feupdateenv): New.
17009 (libc_feholdexcept): Only define if undefined.
17010 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17011 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17012 (libc_feholdexcept_setroundl): Likewise.
17013 (libc_feholdexcept_setround_53bit): Likewise.
17014 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17015 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17016 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17017 (libc_feupdateenv_53bit): Likewise.
17018 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17019 (libc_feholdexcept): Convert from macro to inline function.
17020 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17021 (libc_fesetenv, libc_feupdateenv): Likewise.
17022
4851a949
RH
17023 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17024 not previously defined.
17025 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17026 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17027 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17028 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17029 * sysdeps/ieee754/flt-32/math_private.h: New file.
17030 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17031 math_private.h below SET_FLOAT_WORD.
17032 (__isnan, __isinf_ns, __finite): Remove.
17033 (__isnanf, __isinf_nsf, __finitef): Remove.
17034
e79d442e
AS
170352012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17036
17037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17038
90b80344
DM
170392012-03-17 David S. Miller <davem@davemloft.net>
17040
17041 [BZ #6471]
17042 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17043 for 2.16.
17044
edc21804
DM
170452012-03-16 David S. Miller <davem@davemloft.net>
17046
77e927af
DM
17047 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17048 warnings.
17049
374976dd
DM
17050 [BZ #6471]
17051 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17052 properly.
17053 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17054 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17055 sysdep_routines when subdir is sysvipc.
17056 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17057 __getshmlba helper.
17058
edc21804
DM
17059 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17060
473c3ef3
L
170612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17062
17063 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17064 [__LP64__].
17065
eb0f39b6
L
170662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17067
17068 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17069 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17070 (__lround): Renamed to ...
17071 (__llround): This. Replace long int with long long int.
17072 Define lround functions as aliases of llround functions.
17073 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17074
6b6cd74b
L
170752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17076
17077 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17078 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17079 adresses to uintptr_t. Replace "long int" and "unsigned long
17080 int" with "greg_t" on va_arg.
17081
f1a77b01
L
170822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17083
17084 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17085 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17086
17087 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17088 Move e_machine check before EI_CLASS check. Handle x32
17089 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17090 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17091 SKIP_EM_IA_64 and include
17092 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17093
17094 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17095 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17096 (add_system_dir): New macro.
17097
17098 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17099 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17100
11b90b9f
JM
171012012-03-16 Joseph Myers <joseph@codesourcery.com>
17102
c36e1d23
JM
17103 [BZ #2551]
17104 [BZ #2552]
17105 [BZ #2553]
17106 [BZ #2554]
17107 [BZ #2562]
17108 [BZ #2563]
17109 [BZ #2565]
17110 [BZ #2566]
17111 [BZ #2576]
17112 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17113 (y0): Likewise.
17114 * math/w_j0f.c (j0f): Likewise.
17115 (y0f): Likewise.
17116 * math/w_j0l.c (__j0l): Likewise.
17117 (__y0l): Likewise.
17118 * math/w_j1.c (j1): Likewise.
17119 (y1): Likewise.
17120 * math/w_j1f.c (j1f): Likewise.
17121 (y1f): Likewise.
17122 * math/w_j1l.c (__j1l): Likewise.
17123 (__y1l): Likewise.
17124 * math/w_jn.c (jn): Likewise.
17125 (yn): Likewise.
17126 * math/w_jnf.c (jnf): Likewise.
17127 (ynf): Likewise.
17128 * math/w_jnl.c (__jnl): Likewise.
17129 (__ynl): Likewise.
17130 * math/libm-test.inc (j0_test): Add more tests.
17131 (j1_test): Likewise.
17132 (jn_test): Likewise. Add trailing semicolon to existing test.
17133 (y0_test): Likewise.
17134 (y1_test): Likewise.
17135 * sysdeps/i386/fpu/libm-test-ulps: Update.
17136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17137
11b90b9f
JM
17138 [BZ #13851]
17139 [BZ #13854]
17140 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17141 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17142 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17143 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17144 (__tanl): Set errno for infinite argument.
17145 * sysdeps/i386/fpu/mptan.c: Remove.
17146 * sysdeps/i386/fpu/s_tan.S: Likewise.
17147 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17148 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17149 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17150 * math/libm-test.inc (tan_test): Add more tests and enable more
17151 tests for double and long double.
17152 * sysdeps/i386/fpu/libm-test-ulps: Update.
17153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17154
6a1bd2a1
JK
171552012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17156
17157 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17158 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17159
10a803e0
RM
171602012-03-16 Roland McGrath <roland@hack.frob.com>
17161
17162 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17163 * configure.in: Use it for both main tree and add-ons.
17164 * configure: Regenerated.
17165
f196c7f7
L
171662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17167
17168 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17169
8848d99d
JM
171702012-03-16 Joseph Myers <joseph@codesourcery.com>
17171
96cbe7f4
JM
17172 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17173 in comment.
17174
8848d99d
JM
17175 [BZ #13851]
17176 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17177 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17178 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17179 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17180 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17181 infinite argument.
17182 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17184 != 0 for prec == 2.
17185 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17186 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17187 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17188 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17189 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17190 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17191 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17192 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17193 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17194 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17195 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17196 * math/libm-test.inc (cos_test): Add more tests and enable more
17197 tests for long double.
17198 (sin_test): Likewise.
17199 (sincos_test): Likewise.
17200 * sysdeps/i386/fpu/libm-test-ulps: Update.
17201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17202
dd7f4703
DM
172032012-03-16 David S. Miller <davem@davemloft.net>
17204
17205 * sysdeps/sparc/fpu/math_private.h: New file.
17206
006f1daa
DM
172072012-03-15 David S. Miller <davem@davemloft.net>
17208
c0c83bc8
DM
17209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17210 file.
e6a62e18 17211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17213 file.
e6a62e18
DM
17214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17219 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17220 sysdep routines.
17221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17222
88cb87d9
DM
17223 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17224 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17225
006f1daa 17226 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17228 sparc-ifunc.h
006f1daa 17229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17231 Likewise.
17232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17233 Likewise.
006f1daa
DM
17234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17238 Likewise.
006f1daa
DM
17239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17244 Likewise.
17245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17246 Likewise.
006f1daa
DM
17247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17253 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17254 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17265 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17266 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17267 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17269 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17270 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17271
11e0098e
AS
172722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17273
17274 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17275 scaling.
17276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17277
e85b09d0
AJ
172782012-03-15 Andreas Jaeger <aj@suse.de>
17279
17280 [BZ #13852]
17281 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17282 ieee754/flt-32 implementation for sin, cos and sincos.
17283 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17284 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17285 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17286 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17287 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17288 ieee754/flt-32 implementation for tan.
17289
17290 * math/libm-test.inc (cos_test): Enable some large input tests for
17291 float as well
17292 (sin_test): Likewise.
17293 (sincos_test): Likewise.
17294 (tan_test): Add tests for large input.
17295
17296 * sysdeps/i386/fpu/libm-test-ulps: Update.
17297
81c64153
AJ
172982012-03-15 Andreas Jaeger <aj@suse.de>
17299
17300 [BZ #13658]
17301 * math/libm-test.inc (cos_test): Add more test cases.
17302 (sin_test): Likewise.
17303 (sincos_test): Likewise.
17304
7bbfa5c6
AJ
173052012-03-15 Andreas Jaeger <aj@suse.de>
17306
17307 [BZ #13837]
17308 * math/libm-test.inc (cos_test): Add a test case for large input
17309 value.
17310 (sin_test): Likewise.
17311 (sincos_test): Likewise.
17312
173132012-03-15 Andreas Jaeger <aj@suse.de>,
17314 Joseph Myers <joseph@codesourcery.com>
17315
17316 [BZ #13658]
0671f479 17317 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17318 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17319 * sysdeps/i386/fpu/branred.c: Likewise.
17320 * sysdeps/i386/fpu/dosincos.c: Likewise.
17321 * sysdeps/i386/fpu/mpa.c: Likewise.
17322 * sysdeps/i386/fpu/s_cos.S: Likewise.
17323 * sysdeps/i386/fpu/s_sin.S: Likewise.
17324 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17325 * sysdeps/i386/fpu/sincos32.c: Likewise.
17326
17327 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17328 Define.
17329 (libc_feupdateenv_53bit): Define.
17330 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17331 Define.
17332 (libc_feupdateenv_53bit): Define.
17333
17334 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17335 53 bit (without extend i386 double precision).
17336
17337 * math/libm-test.inc (sincos_test): Add tests for large input.
17338 (sin): Likewise.
17339 (cos): Likewise.
17340
17341 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17342
9cad04ea
AS
173432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17344
17345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17346
f7062b9a
DM
173472012-03-15 David S. Miller <davem@davemloft.net>
17348
17349 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17350 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17351 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17352 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17365 file.
f7062b9a 17366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17368 file.
f7062b9a 17369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17371 file.
f7062b9a 17372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17374 file.
f7062b9a
DM
17375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17376 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17377 fmin/fmax sysdep routines.
17378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17379
7bd951ff
DM
173802012-03-14 David S. Miller <davem@davemloft.net>
17381
559398ab
DM
17382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17386 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17387 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17388 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17389 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17390 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17402 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17403 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17404 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17405 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17406 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17407 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17408 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17409 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17410 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17411 routines.
17412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17413 file.
559398ab 17414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17416 file.
559398ab 17417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17419 file.
559398ab 17420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17422 file.
559398ab 17423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17425 file.
559398ab 17426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17428 file.
17429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17430 file.
17431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17432 file.
17433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17434 file.
17435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17436 New file.
17437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17438 file.
17439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17440 file.
559398ab 17441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17443 file.
559398ab 17444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17446 file.
559398ab 17447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17449 file.
559398ab 17450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17452 VIS3 routines.
559398ab
DM
17453
17454 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17455 New file.
17456
5a1c1e32
DM
17457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17458
eae47a36
DM
17459 * sysdeps/sparc/configure.in: New file.
17460 * sysdeps/sparc/configure: Generate.
17461 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17462 * configure: Regenerate.
17463 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17464 * config.make.in (have-as-vis3): New.
17465 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17466 available use -Av9d instead of -Av9a.
17467 * sysdeps/sparc/sparc64/Makefile: Likewise.
17468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17470 New file.
17471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17472 file.
17473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17474 New file.
17475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17476 file.
eae47a36
DM
17477 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17478 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17479 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17480 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17481 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17482
c0c83bc8
DM
17483 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17484 fzeros/fnegs to load 0x80000000 into a float register instead of
17485 using the stack.
7bd951ff
DM
17486 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17487
bd951ccb
JM
174882012-03-14 Joseph Myers <joseph@codesourcery.com>
17489
17490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17491 bits/syscall.h.
17492 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17493 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17494 ($(inst_includedir)/bits/syscall.h): Remove rule.
17495 ($(objpfx)bits/syscall.d): Include instead of
17496 $(objpfx)syscall-list.d.
17497 (generated): Change syscall-list.h and syscall-list.d to
17498 bits/syscall.h and bits/syscall.d.
17499
bb4e6db2
RM
175002012-03-14 Roland McGrath <roland@hack.frob.com>
17501
17502 [BZ #13846]
17503 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17504
aa4a2ae1
JM
175052012-03-14 Joseph Myers <joseph@codesourcery.com>
17506
e456826d
JM
17507 [BZ #13841]
17508 * math/s_csqrt.c: Include <float.h>.
17509 (__csqrt): Scale large or subnormal inputs.
17510 * math/s_csqrtf.c: Likewise.
17511 * math/s_csqrtl.c: Likewise.
17512 * math/libm-test.inc (csqrt_test): Add more tests.
17513 * sysdeps/i386/fpu/libm-test-ulps: Update.
17514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17515
aa4a2ae1
JM
17516 [BZ #13840]
17517 * math/libm-test.inc (hypot_test): Add more tests.
17518
7c10fd35
DM
175192012-03-13 David S. Miller <davem@davemloft.net>
17520
17521 [BZ #13840]
17522 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17523 double-precision for the calculation instead of scaling.
17524
f453b98b
JM
175252012-03-13 Joseph Myers <joseph@codesourcery.com>
17526
17527 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17528 manipulate bits before adding and subtracting TWO52[sx].
17529 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17530 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17531 Likewise.
17532 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17533
09a3453f
DM
175342012-03-13 David S. Miller <davem@davemloft.net>
17535
8e59da90
DM
17536 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17537 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17539 rtld-global-offsets.h
17540 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17541
2a8ab7f2
DM
17542 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17543 large parameters.
17544
10f62770
DM
17545 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17546
5f0bdb18
DM
17547 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17548 'err' in the ifdef scope in which it is actually used.
17549
09a3453f
DM
17550 * nss/nss_db/db-init.c: Include string.h
17551
b4b2eb5e
DM
175522012-03-12 David S. Miller <davem@davemloft.net>
17553
98bb2f1c
DM
17554 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17555 masking out of the most significant byte of random value used.
17556 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17557 Fix coding style in previous change.
17558
b4b2eb5e
DM
17559 * sysdeps/unix/sysv/linux/kernel-features.h
17560 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17561 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17562 expression.
17563 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17564 later.
17565
6e226b09
DM
175662012-03-11 David S. Miller <davem@davemloft.net>
17567
a1bcbd40
DM
17568 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17569 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17570 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17571 for 'resultvar' otherwise things get truncated on 64-bit.
17572
cb9d6174
DM
17573 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17574 Fix masking out of the most significant byte of random value used.
17575
6e226b09
DM
17576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17577
058c132d
AS
175782012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17579
17580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17581
2d2cd515
DM
175822012-03-09 David S. Miller <davem@davemloft.net>
17583
17584 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17585 variables with appropriate CPP guards.
17586 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17587 frame pointer, not the stack pointer. Correct layout comments. Fix test
17588 on resulting framesize and the management of the outregs buffer for pltexit.
17589 Preserve floating point return values across _dl_call_pltexit call.
17590 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17591 framesize and the management of the outregs buffer for pltexit.
17592 Preserve floating point return values across _dl_call_pltexit
17593 call.
17594 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17595 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17596 (print_exit): Fix format string for return register value.
17597
9a07f9d0
JM
175982012-03-10 Joseph Myers <joseph@codesourcery.com>
17599
17600 * sunrpc/Makefile (others): Add rpcgen.
17601 ($(objpfx)rpcgen): Remove special build rule and dependency on
17602 libc.
17603 * sunrpc/rpcgen.c: New file.
17604
547b5e30
PE
176052012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17606
c524201a
PE
17607 [BZ #13673]
17608 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17609 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17610 * sysdeps/i386/crti.S: Likewise.
17611 * sysdeps/i386/crtn.S: Likewise.
17612 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17613 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17614 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17615 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17616 * sysdeps/sh/crti.S: Likewise.
17617 * sysdeps/sh/crtn.S: Likewise.
17618 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17619
7b6235f2
PE
17620 [BZ #13673]
17621 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17622 with URL.
17623 * locale/programs/locfile-kw.gperf: Likewise.
17624 * locale/programs/charmap-kw.h: Regenerated.
17625 * locale/programs/locfile-kw.h: Likewise.
17626
547b5e30
PE
17627 [BZ #13673]
17628 * intl/plural.y: Replace FSF snail mail address with URL.
17629 * intl/plural.c: Regenerated.
17630
5f0a5dae
RH
176312012-03-09 Richard Henderson <rth@twiddle.net>
17632
17633 * include/math_private.h: Remove file.
17634 * math/math_private.h: Move file ...
17635 * sysdeps/generic/math_private.h: ... here.
17636
b8c03620
RH
17637 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17638 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17639 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17640
4e234f5d 17641 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17642 and <math_private.h>.
17643 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17644 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17645 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17646 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17647 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17648 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17649 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17650 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17651 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17652 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17654 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17655 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17656 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17657 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17658 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17659 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17660 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17661 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17662 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17663 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17664 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17665 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17666 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17667 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17668 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17669 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17670 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17671 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17672 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17673 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17674 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17675 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17676 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17677 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17678 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17679 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17680 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17681 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17682 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17683 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17684 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17685 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17686 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17687 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17688 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17689 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17690 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17691 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17692 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17693 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17694 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17695 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17696 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17697 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17698 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17699 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17700 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17701 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17702 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17703 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17704 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17705 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17706 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17707 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17708 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17709 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17710 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17711 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17712 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17713 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17714 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17715 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17716 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17717 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17718 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17720 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17721 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17722 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17723 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17724 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17725 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17726 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17727 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17728 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17729 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17730 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17731 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17732 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17733 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17734 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17735 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17736 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17737 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17738 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17739 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17740 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17741 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17742 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17743 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17744 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17745 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17746 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17747 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17748 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17749 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17750 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17751 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17752 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17753 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17754 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17755 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17756 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17757 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17758 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17759 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17760 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17761 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17762 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17763 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17764 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17765 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17766 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17767 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17768 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17769 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17770 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17771 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17772 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17773 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17774 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17775 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17776 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17777 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17778 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17779 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17780 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17781 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17782 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17783 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17784 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17785 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17786 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17787 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17788 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17789 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17790 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17791 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17792 * sysdeps/ieee754/k_standard.c: Likewise.
17793 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17795 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17796 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17797 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17798 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17799 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17800 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17801 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17802 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17803 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17804 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17805 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17806 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17807 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17808 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17809 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17810 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17811 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17812 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17813 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17814 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17815 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17816 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17817 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17818 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17819 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17820 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17821 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17822 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17823 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17824 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17825 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17826 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17827 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17828 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17829 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17830 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17831 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17832 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17833 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17834 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17835 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17836 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17837 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17838 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17839 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17840 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17841 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17842 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17843 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17844 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17845 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17846 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17847 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17848 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17849 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17850 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17851 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17852 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17853 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17854 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17855 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17856 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17857 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17858 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17859 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17860 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17861 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17862 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17863 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17864 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17865 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17866 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17867 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17868 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17869 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17870 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17871 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17872 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17873 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17874 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17875 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17876 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17877 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17878 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17879 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17880 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17881 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17882 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17883 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17884 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17885 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17886 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17887 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17888 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17889 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17890 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17891 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17892 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17893 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17894 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17895 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17896 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17897 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17898 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17899 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17900 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17901 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17902 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17903 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17904 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17905 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17906 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17907 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17908 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17909 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17910 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17911 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17912 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17913 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17914 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17915 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17916 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17917 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17918 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17919 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17920 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17921 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17922 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17923 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17924 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17925 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17926 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17927 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17928 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17929 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17930 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17931 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17932 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17933 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17934 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17935 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17936 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17937 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17938 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17939 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17940 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17941 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17942 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17943 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17944 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17945 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17946 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17947 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17948 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17949 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17950 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17951 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17952 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17953 * sysdeps/ieee754/s_lib_version.c: Likewise.
17954 * sysdeps/ieee754/s_matherr.c: Likewise.
17955 * sysdeps/ieee754/s_signgam.c: Likewise.
17956 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17957 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17958 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17959 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17960 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17961 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17962 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17963 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17964 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17965 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17966 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17967 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17968 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17969 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17970 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17971 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17972 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17973 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17974 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17975 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17976 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 17977
1991fa03
JM
179782012-03-09 Joseph Myers <joseph@codesourcery.com>
17979
17980 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17981 * sunrpc/rpc_main.c: Likewise.
17982 * sunrpc/rpc_svcout.c: Likewise.
17983
60d6f5a6
DM
179842012-03-09 David S. Miller <davem@davemloft.net>
17985
17986 * include/math_private.h: New file.
17987
4962050e
JM
179882012-03-09 Joseph Myers <joseph@codesourcery.com>
17989
02a6f887
JM
17990 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17991 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17992 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17993 from <bits/socket_type.h>.
17994 (enum __socket_type): Don't define here.
17995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17997 bits/socket_type.h.
17998
c6e013c1
JM
17999 [BZ #13566]
18000 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18001 checking __USE_GNU.
18002
4962050e
JM
18003 * Makerules ($(inst_includedir)/%.h): New rule.
18004 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18005 (install-others): Remove variable setting.
18006 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18007
38842f45
RH
180082012-03-08 Richard Henderson <rth@twiddle.net>
18009
67bb6da6
RH
18010 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18011 from macro to inline function; merge with the
18012 !__LIBC_INTERNAL_MATH_INLINES version.
18013 (__ieee754_sqrtf): Likewise.
18014
15194b4b
RH
18015 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18016 to inline function.
18017 (__rintf, __floor, __floorf): Likewise.
18018
64e21ede
RH
18019 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18020 macro to inline function.
18021 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18022
38842f45
RH
18023 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18024 not <math/math_private.h>.
18025
c64bf5fe
DM
180262012-03-08 David S. Miller <davem@davemloft.net>
18027
18028 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18029 copyright year.
18030 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18031
82d86f28
TS
180322012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18033
18034 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18035 normalization.
18036 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18037 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18038
aea5d727
UD
180392012-03-08 Ulrich Drepper <drepper@gmail.com>
18040
18041 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18042 be defined individually, they must be defined as a block. Define
18043 S for printing a string instead of hidint the different by using a
18044 macro for adding the 'l'.
18045 * stdio-common/tst-fphex-wide.c: Adjust.
18046
70bca0a3
MP
180472012-03-07 Marek Polacek <polacek@redhat.com>
18048
18049 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18050
65b81130
MP
180512012-03-08 Marek Polacek <polacek@redhat.com>
18052
18053 [BZ #13806]
18054 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18055 * stdio-common/tst-fphex.c: Define a few macros to make the
18056 test reusable. Use them.
18057 * stdio-common/tst-fphex-wide.c: New file.
18058
07037eeb
JM
180592012-03-08 Joseph Myers <joseph@codesourcery.com>
18060
a7a93d50
JM
18061 [BZ #6911]
18062 * manual/macros.texi (gnusystems): New macro.
18063 (nongnusystems): Likewise.
18064 (gnulinuxhurdsystems): Likewise.
18065 (gnuhurdsystems): Likewise..
18066 (gnulinuxsystems): Likewise.
18067 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18068 variants of the GNU system, not "GNU system".
18069 * manual/conf.texi: Likewise.
18070 * manual/errno.texi: Likewise. Update example of errno macro
18071 expansion.
18072 * manual/filesys.texi: Likewise.
18073 (getumask): Document as specific to GNU/Hurd.
18074 * manual/install.texi: Likewise. Reword some references to
18075 GNU/Linux.
18076 * manual/intro.texi: Likewise.
18077 * manual/io.texi: Likewise.
18078 (File Name Portability): Detail which constraints are inapplicable
18079 to all GNU systems and which are only inapplicable to GNU/Hurd.
18080 * manual/job.texi: Likewise.
18081 * manual/llio.texi: Likewise.
18082 (O_NOCTTY): Document as present on GNU/Linux.
18083 * manual/maint.texi: Likewise.
18084 * manual/memory.texi: Likewise.
18085 * manual/pattern.texi: Likewise.
18086 * manual/pipe.texi: Likewise.
18087 * manual/process.texi: Likewise.
18088 * manual/resource.texi: Likewise.
18089 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18090 child on GNU/Hurd.
18091 * manual/setjmp.texi: Likewise.
18092 * manual/signal.texi: Likewise.
18093 * manual/startup.texi: Likewise.
18094 * manual/stdio.texi: Likewise.
18095 * manual/terminal.texi: Likewise.
18096 (ONLCR): Document as POSIX.
18097 (OXTABS): Document availability on GNU/Linux as XTABS.
18098 (ONOEOT): Document availability separately from other bits.
18099 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18100 * manual/time.texi: Likewise.
18101 * manual/users.texi: Likewise.
18102 * INSTALL: Regenerated.
18103 * sysdeps/gnu/errlist.c: Regenerated.
18104
07037eeb
JM
18105 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18106 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18107 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18108 puts.
18109 * configure: Regenerated.
18110
d1d3431a
JM
181112012-03-07 Joseph Myers <joseph@codesourcery.com>
18112
af6a1e37
JM
18113 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18114 default includes instead of AC_HEADER_CHECK.
18115 * sysdeps/i386/configure: Regenerated.
18116
d1d3431a
JM
18117 [BZ #10716]
18118 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18119 * math/s_cacoshf.c (__cacoshf): Likewise.
18120 * math/s_cacoshl.c (__cacoshl): Likewise.
18121 * math/s_casinh.c (__casinh): Set signs of result from argument.
18122 * math/s_casinhf.c (__casinhf): Likewise.
18123 * math/s_casinhl.c (__casinhl): Likewise.
18124 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18125 (casinh_test): Add more tests.
18126 * sysdeps/i386/fpu/libm-test-ulps: Update.
18127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18128
482ff4da
UD
181292012-03-07 Ulrich Drepper <drepper@gmail.com>
18130
872fda05
UD
18131 * po/zh_TW.po: Update from translation team.
18132
a4300c7a
UD
18133 * login/Makefile (distribute): Remove variable.
18134 * catgets/Makefile: Likewise.
18135 * mach/Makefile: Likewise.
18136 * malloc/Makefile: Likewise.
18137 * misc/Makefile: Likewise.
18138 * iconv/Makefile: Likewise.
18139 * nscd/Makefile: Likewise.
18140 * hurd/Makefile: Likewise.
18141 * manual/Makefile: Likewise.
18142 * locale/Makefile: Likewise.
18143 * intl/Makefile: Likewise.
18144 * conform/Makefile: Likewise.
18145 * nss/Makefile: Likewise.
18146 * time/Makefile: Likewise.
18147 * soft-fp/Makefile: Likewise.
18148 * dirent/Makefile: Likewise.
18149 * gmon/Makefile: Likewise.
18150 * po/Makefile: Likewise.
18151 * rt/Makefile: Likewise.
18152 * socket/Makefile: Likewise.
18153 * math/Makefile: Likewise.
18154 * signal/Makefile: Likewise.
18155 * debug/Makefile: Likewise.
18156 * elf/Makefile: Likewise.
18157 * timezone/Makefile: Likewise.
18158 * stdlib/Makefile: Likewise.
18159 * iconvdata/Makefile: Likewise.
18160 * sunrpc/Makefile: Likewise.
18161 * io/Makefile: Likewise.
18162 * argp/Makefile: Likewise.
18163 * inet/Makefile: Likewise.
18164 * hesiod/Makefile: Likewise.
18165 * grp/Makefile: Likewise.
18166 * csu/Makefile: Likewise.
18167 * wctype/Makefile: Likewise.
18168 * crypt/Makefile: Likewise.
18169 * libio/Makefile: Likewise.
18170 * string/Makefile: Likewise.
18171 * nis/Makefile: Likewise.
18172 * resolv/Makefile: Likewise.
18173 * stdio-common/Makefile: Likewise.
18174 * wcsmbs/Makefile: Likewise.
18175 * dlfcn/Makefile: Likewise.
18176 * posix/Makefile: Likewise.
18177
3b7c4e74 18178 [BZ #6959]
482ff4da
UD
18179 * timezone/Makefile: Don't install timezone files, just the programs
18180 and scripts.
18181
f72ed77d
UD
181822012-03-06 Ulrich Drepper <drepper@gmail.com>
18183
a000466f
UD
18184 * nss/databases.def: Add missing gshadow entry.
18185
f72ed77d
UD
18186 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18187
a53b7a4e
MP
181882012-03-06 Marek Polacek <polacek@redhat.com>
18189
18190 [BZ #13726]
18191 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18192 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18193 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18194 * stdio-common/tst-long-dbl-fphex.c: New file.
18195
e9258400
DM
181962012-03-06 David S. Miller <davem@davemloft.net>
18197
18198 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18199 (set_obp_int): New function.
18200 (get_obp_int): New function.
18201 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18202 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18203 Avoid unused variable warnings on 'val' and use builtin_expect.
18204 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18205 __builtin_expect.
e9258400
DM
18206 (INLINE_CLONE_SYSCALL): Likewise.
18207
3bd2c723
DM
182082012-03-05 David S. Miller <davem@davemloft.net>
18209
18210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18211
bbb78d03
AS
182122012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18213
884c5db4
AS
18214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18215
bbb78d03
AS
18216 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18217 only for |x| >= 40.
18218 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18219
1c9f702a 182202012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18221
18222 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18223 Replace gettimeofday with __vdso_gettimeofday.
18224
7be16f82
RM
18225 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18226 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18227 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18228
18229 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18230 time with __vdso_time.
18231
ed58a00f
JM
182322012-03-05 Joseph Myers <joseph@codesourcery.com>
18233
18234 * manual/lang.texi (size_t): Note types to which size_t may be
18235 equivalent with the GNU C Library, but do not describe when
18236 differences between them are significant.
18237
30ee4ced
AJ
182382012-03-05 Andreas Jaeger <aj@suse.de>
18239
18240 * sysdeps/i386/fpu/libm-test-ulps: Update.
18241
b7cd39e8
JM
182422012-03-05 Joseph Myers <joseph@codesourcery.com>
18243
18244 [BZ #3976]
18245 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18246 (__ieee754_pow): Save and restore rounding mode and use
18247 round-to-nearest for main computations.
18248 * math/libm-test.inc (pow_test_tonearest): New function.
18249 (pow_test_towardzero): Likewise.
18250 (pow_test_downward): Likewise.
18251 (pow_test_upward): Likewise.
18252 (main): Call the new functions.
18253 * sysdeps/i386/fpu/libm-test-ulps: Update.
18254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18255
18256 [BZ #3976]
18257 * math/libm-test.inc (cosh_test_tonearest): New function.
18258 (cosh_test_towardzero): Likewise.
18259 (cosh_test_downward): Likewise.
18260 (cosh_test_upward): Likewise.
18261 (sinh_test_tonearest): Likewise.
18262 (sinh_test_towardzero): Likewise.
18263 (sinh_test_downward): Likewise.
18264 (sinh_test_upward): Likewise.
18265 (main): Call the new functions.
18266 * sysdeps/i386/fpu/libm-test-ulps: Update.
18267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18268
6c6a98c9
TV
182692012-03-05 Tom de Vries <tom@codesourcery.com>
18270
18271 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18272 default stack guard is set in last bytes.
18273 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18274
21bb2d2e 182752012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18276
21bb2d2e 18277 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18278
21bb2d2e
AJ
18279 [BZ #13656]
18280 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18281 possibly allocate from heap instead of stack.
18282 * stdio-common/bug-vfprintf-nargs.c: New file.
18283 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18284
c6922934
AS
182852012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18286
18287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18288
bc957d53
MP
182892012-03-03 Marek Polacek <polacek@redhat.com>
18290
18291 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18292 * math/math_private.h: Likewise.
18293 * stdlib/tst-strtod.c: Likewise.
18294 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18295 * sysdeps/x86_64/bits/atomic.h: Likewise.
18296
6358490d
DM
182972012-03-02 David S. Miller <davem@davemloft.net>
18298
18299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18303 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18304 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18305 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18306 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18307
01ae168d
RM
183082012-03-02 Roland McGrath <roland@hack.frob.com>
18309
d9a17c07
RM
18310 [BZ #13792]
18311 * manual/examples/README: New file, says the example source files
18312 can be used under GPL>=2.
18313 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18314 line containing just "*/".
18315 * manual/examples/add.c: Add copyright header (GPL>=2).
18316 * manual/examples/argp-ex1.c: Likewise.
18317 * manual/examples/argp-ex2.c: Likewise.
18318 * manual/examples/argp-ex3.c: Likewise.
18319 * manual/examples/argp-ex4.c: Likewise.
18320 * manual/examples/atexit.c: Likewise.
18321 * manual/examples/db.c: Likewise.
18322 * manual/examples/dir.c: Likewise.
18323 * manual/examples/dir2.c: Likewise.
18324 * manual/examples/execinfo.c: Likewise.
18325 * manual/examples/filecli.c: Likewise.
18326 * manual/examples/filesrv.c: Likewise.
18327 * manual/examples/fmtmsgexpl.c: Likewise.
18328 * manual/examples/genpass.c: Likewise.
18329 * manual/examples/inetcli.c: Likewise.
18330 * manual/examples/inetsrv.c: Likewise.
18331 * manual/examples/isockad.c: Likewise.
18332 * manual/examples/longopt.c: Likewise.
18333 * manual/examples/memopen.c: Likewise.
18334 * manual/examples/memstrm.c: Likewise.
18335 * manual/examples/mkfsock.c: Likewise.
18336 * manual/examples/mkisock.c: Likewise.
18337 * manual/examples/mygetpass.c: Likewise.
18338 * manual/examples/pipe.c: Likewise.
18339 * manual/examples/popen.c: Likewise.
18340 * manual/examples/rprintf.c: Likewise.
18341 * manual/examples/search.c: Likewise.
18342 * manual/examples/select.c: Likewise.
18343 * manual/examples/setjmp.c: Likewise.
18344 * manual/examples/sigh1.c: Likewise.
18345 * manual/examples/sigusr.c: Likewise.
18346 * manual/examples/stpcpy.c: Likewise.
18347 * manual/examples/strdupa.c: Likewise.
18348 * manual/examples/strftim.c: Likewise.
18349 * manual/examples/strncat.c: Likewise.
18350 * manual/examples/subopt.c: Likewise.
18351 * manual/examples/swapcontext.c: Likewise.
18352 * manual/examples/termios.c: Likewise.
18353 * manual/examples/testopt.c: Likewise.
18354 * manual/examples/testpass.c: Likewise.
18355 * manual/examples/timeval_subtract.c: Likewise.
18356
01ae168d
RM
18357 [BZ #13792]
18358 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18359 function to ...
18360 * manual/timeval_subtract.c.texi: ... here, new file.
18361
49efa33d
DM
183622012-03-02 David S. Miller <davem@davemloft.net>
18363
18364 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18365
28afd92d
JM
183662012-03-02 Joseph Myers <joseph@codesourcery.com>
18367
804360ed
JM
18368 [BZ #3976]
18369 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18370 (__sin): Save and restore rounding mode and use round-to-nearest
18371 for all computations.
18372 (__cos): Save and restore rounding mode and use round-to-nearest
18373 for all computations.
18374 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18375 <fenv.h>.
18376 (tan): Save and restore rounding mode and use round-to-nearest for
18377 all computations.
18378 * math/libm-test.inc (cos_test_tonearest): New function.
18379 (cos_test_towardzero): Likewise.
18380 (cos_test_downward): Likewise.
18381 (cos_test_upward): Likewise.
18382 (sin_test_tonearest): Likewise.
18383 (sin_test_towardzero): Likewise.
18384 (sin_test_downward): Likewise.
18385 (sin_test_upward): Likewise.
18386 (tan_test_tonearest): Likewise.
18387 (tan_test_towardzero): Likewise.
18388 (tan_test_downward): Likewise.
18389 (tan_test_upward): Likewise.
18390 (main): Call the new functions.
18391 * sysdeps/i386/fpu/libm-test-ulps: Update.
18392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18393
a6d06d7b
JM
18394 [BZ #10135]
18395 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18396 small n, then large n, before computing and testing k+n.
18397 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18398 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18399 Likewise.
18400 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18401 Likewise.
18402 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18403 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18404 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18405 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18406 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18407 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18408 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18409 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18410 * math/libm-test.inc (scalbn_test): Add more tests.
18411 (scalbln_test): Likewise.
18412
07e12bb3
JM
18413 * manual/filesys.texi (mode_t): Describe constraints on size and
18414 signedness, not exact equivalence to a particular type.
18415 (ino_t): Likewise.
18416 (ino64_t): Likewise.
18417 (dev_t): Likewise.
18418 (nlink_t): Likewise.
18419 (blkcnt_t): Likewise.
18420 (blkcnt64_t): Likewise.
18421 * manual/llio.texi (off_t): Likewise.
18422
28afd92d
JM
18423 [BZ #3976]
18424 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18425 (__ieee754_exp): Save and restore rounding mode and use
18426 round-to-nearest for all computations.
18427 * math/libm-test.inc (exp_test_tonearest): New function.
18428 (exp_test_towardzero): Likewise.
18429 (exp_test_downward): Likewise.
18430 (exp_test_upward): Likewise.
18431 (main): Call the new functions.
18432 * sysdeps/i386/fpu/libm-test-ulps: Update.
18433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18434
b1eeb65d
CD
184352012-03-01 Chris Demetriou <cgd@google.com>
18436
18437 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18438 have predictable order.
18439
53362a4b
DM
184402012-03-01 David S. Miller <davem@davemloft.net>
18441
3c969083
DM
18442 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18443
759707de
DM
18444 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18445 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18446 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18447 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18448
dfdb8ff2
DM
18449 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18450 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18451 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18453 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18454 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18455 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18456 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18457 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18458
ead89f96
DM
18459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18460
7f66bd07
DM
18461 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18462 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18463 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18464
53362a4b
DM
18465 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18466 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18467 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18468 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18469 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18470 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18471 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18472 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18473 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18474 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18475 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18476 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18477 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18478 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18479 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18480 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18481 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18482 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18483 * sysdeps/sparc/elf/configure: Regenerated.
18484
7b1902cb
JM
184852012-03-01 Joseph Myers <joseph@codesourcery.com>
18486
bec039bc
JM
18487 * configure.in (AS, LD): Require binutils 2.20 or later.
18488 * configure: Regenerated.
18489 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18490 as required minimum version.
18491 * INSTALL: Regenerated.
18492
7b1902cb
JM
18493 [BZ #2541]
18494 [BZ #4108]
18495 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18496 before squaring exponent.
18497 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18498 bottom long double and 27 bits of top long double before squaring
18499 exponent.
18500 * math/libm-test.inc (erfc_test): Add more tests.
18501 * sysdeps/i386/fpu/libm-test-ulps: Update.
18502 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18504
f775c276
KT
185052012-03-01 Kai Tietz <ktietz@redhat.com>
18506
18507 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18508 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18509 containing bit-fields.
18510 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18511 * soft-fp/single.h (_FP_UNION_S): Likewise.
18512 * soft-fp/double.h (_FP_UNION_D): Likewise.
18513
5b8a4d4a
JM
185142012-02-29 Joseph Myers <joseph@codesourcery.com>
18515
0bab47b6
JM
18516 [BZ #13786]
18517 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18518 not include ../strcmp.S.
18519 [USE_AS_STRNCASECMP_L]: Likewise.
18520 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18521 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18522 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18523 (__strncasecmp_l_ia32): Define as alias to
18524 __strncasecmp_l_nonascii.
18525
0fcad3e2
JM
18526 [BZ #5794]
18527 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18528 * sysdeps/i386/fpu/libm-test-ulps: Update.
18529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18530
5b8a4d4a
JM
18531 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18533
8fdceb2e
JL
185342012-02-29 Jeff Law <law@redhat.com>
18535
18536 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18537 out of bounds read.
18538
1f393a11
MP
185392012-02-29 Marek Polacek <polacek@redhat.com>
18540
18541 [BZ #13706]
18542 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18543 * elf/Makefile: Add rules to run tst-unused-dep.out.
18544
8847f037
DM
185452012-02-28 David S. Miller <davem@davemloft.net>
18546
18547 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18548 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18549 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18550 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18551 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18552 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18553
169d7f11
JM
185542012-02-29 Joseph Myers <joseph@codesourcery.com>
18555
18556 * math/libm-test.inc (llround_test): Move one test from
18557 lround_test. Use TEST_f_L in moved test.
18558 (lround_test): Move misplaced test to llround_test. Add testcase
18559 from bug 2561.
18560
39adf059
UD
185612012-02-28 Ulrich Drepper <drepper@gmail.com>
18562
18563 * sysdeps/x86_64/fpu/e_expf.S: New file.
18564 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18565
71b5d1c5
SB
185662012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18567
18568 [BZ #13637]
18569 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18570 of remain_len that may cause incomplete multi-byte character and
18571 false match.
18572 * posix/bug-regex33.c: New file.
18573 * posix/Makefile (tests): Add bug-regex33.
18574
1f77f049
JM
185752012-02-28 Joseph Myers <joseph@codesourcery.com>
18576
18577 * manual/macros.texi: New file.
18578 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18579 * manual/libc.texinfo: Include macros.texi.
18580 * manual/creatute.texi: Likewise.
18581 * manual/install.texi: Likewise.
18582 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18583 @glibcadj{} in references to the GNU C Library.
18584 * manual/charset.texi: Likewise.
18585 * manual/conf.texi: Likewise.
18586 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18587 when not using those macros.
18588 * manual/creature.texi: Likewise.
18589 * manual/crypt.texi: Likewise.
18590 * manual/errno.texi: Likewise.
18591 * manual/filesys.texi: Likewise.
18592 * manual/header.texi: Likewise.
18593 * manual/install.texi: Likewise.
18594 * manual/intro.texi: Likewise.
18595 * manual/io.texi: Likewise.
18596 * manual/job.texi: Likewise.
18597 * manual/lang.texi: Likewise.
18598 * manual/libc.texiinfo: Likewise.
18599 * manual/llio.texi: Likewise.
18600 * manual/locale.texi: Likewise.
18601 * manual/maint.texi: Likewise.
18602 * manual/math.texi: Likewise.
18603 * manual/memory.texi: Likewise.
18604 * manual/message.texi: Likewise.
18605 * manual/nss.texi: Likewise.
18606 * manual/pattern.texi: Likewise.
18607 * manual/process.texi: Likewise.
18608 * manual/resource.texi: Likewise.
18609 * manual/search.texi: Likewise.
18610 * manual/setjmp.texi: Likewise.
18611 * manual/signal.texi: Likewise.
18612 * manual/socket.texi: Likewise.
18613 * manual/startup.texi: Likewise.
18614 * manual/stdio.texi: Likewise.
18615 * manual/string.texi: Likewise.
18616 * manual/sysinfo.texi: Likewise.
18617 * manual/syslog.texi: Likewise.
18618 * manual/terminal.texi: Likewise.
18619 * manual/time.texi: Likewise.
18620 * manual/users.texi: Likewise.
18621 * INSTALL: Regenerated.
18622 * NOTES: Regenerated.
d40c5d54 18623 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18624
450bf206
AS
186252012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18626
18627 * include/dirent.h: Include <dirstream.h> before
18628 <dirent/dirent.h>.
18629
741a235b
DM
186302012-02-28 David S. Miller <davem@davemloft.net>
18631
18632 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18633 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18634 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18635 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18636
d6b5aa58
DM
186372012-02-27 David S. Miller <davem@davemloft.net>
18638
1aff59a3
DM
18639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18641 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18642 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18643
d6b5aa58
DM
18644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18645 frame pointer instead of stack pointer relative arg slot.
18646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18647 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18648 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18649
433f48bf
CD
186502012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18651
18652 [BZ #3992]
18653 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18654
d674b76d
DM
186552012-02-27 David S. Miller <davem@davemloft.net>
18656
18657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18661 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18662 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18663 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18664 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18665
0e7727f7
JM
186662012-02-27 Joseph Myers <joseph@codesourcery.com>
18667
18668 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18669 later. Allow versions 5-9.
43be4ca2 18670 * configure: Regenerated.
0e7727f7
JM
18671 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18672 required minimum version and 4.6 as recommended version. Do not
18673 mention bugs in GCC 2.7 and 2.8.
43be4ca2 18674 * INSTALL: Regenerated.
0e7727f7 18675
a78bc654
DM
186762012-02-27 David S. Miller <davem@davemloft.net>
18677
428d5830
DM
18678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18682 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18683 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18684 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18685 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18686
a78bc654
DM
18687 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18688 manipulate bits before adding and subtracting TWO112[sx].
18689 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18690
4579f81c
RM
186912012-02-27 Roland McGrath <roland@hack.frob.com>
18692
36c8acb4
RM
18693 [BZ #13775]
18694 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18695 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18696 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18697 being in POSIX, because they are in 1003.1-2008.
18698
84ad622b
RM
18699 * rt/tst-aio.c: Include <fcntl.h>.
18700 * rt/tst-aio7.c: Likewise.
18701 * rt/tst-aio64.c: Likewise.
18702
4579f81c
RM
18703 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18704
abd923db
JM
187052012-02-27 Joseph Myers <joseph@codesourcery.com>
18706
18707 * manual/install.texi (--with-headers): Describe headers as
18708 interface headers, not private headers.
18709 (Specific advice for GNU/Linux systems): Describe use of headers
18710 from "make headers_install", not private headers from older
18711 kernels.
43be4ca2 18712 * INSTALL: Regenerated.
abd923db
JM
18713 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18714 Change to 2.6.19.
18715 * sysdeps/unix/sysv/linux/configure: Regenerated.
18716
6664049b
JM
18717 * manual/llio.texi (fclean): Remove documentation.
18718
bb8b6697
JM
18719 * manual/Makefile (libc-texi-generated): New variable. Include
18720 version.texi.
18721 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18722 $(libc-texi-generated), not duplicated list of files.
18723 (version.texi, stamp-version): New rules.
18724 (realclean): Remove $(libc-texi-generated), not individual files
18725 from that list. Do not remove dir-add.texinfo.
18726 * manual/libc.texinfo: Comment out uses of edition numbers and
18727 references to printed manual. Remove last-updated dates.
18728 (EDITION): Comment out.
18729 (ISBN): Likewise.
18730 (VERSION, UPDATED): Remove.
18731 (version.texi): Include.
18732
12e5c3b9
AS
187332012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18734
18735 * sysdeps/posix/spawni.c: Include <signal.h>.
18736 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18737 * sysdeps/pthread/aio_fsync.c: Likewise.
18738
4efeffc1 187392012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 18740
ba63ba08
UD
18741 * conform/Makefile (tests): Run only when not cross-compiling and
18742 when fast-check is not defined.
18743
d94a4670
UD
18744 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18745 * conform/data/limits.h-data: Fixes for POSIX2008.
18746 * conform/run-conformtest.sh: Run all tests.
18747 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18748 headers.
18749 * include/bits/dlfcn.h: Likewise.
18750 * include/langinfo.h: Likewise.
18751 * include/monetary.h: Likewise.
18752 * include/sys/poll.h: Likewise.
18753
18754 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18755 for __USE_GNU.
18756 * posix/spawn.h: Define __need_sigset_t.
18757 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18758 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18759 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18760 to get sigevent_t only.
18761 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18762 only for __USE_GNU.
18763 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18764 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18765 process_vm_writev only for __USE_GNU.
18766 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
18767
18768 * conform/Makefile: For now ignore errors from run-conformtest.
18769 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18770 POSIX to avoid namespace pollution. Don't prepend headers.
18771 * conform/data/aio.h-data: Fixes for POSIX testing.
18772 * conform/data/fcntl.h-data: Likewise.
18773 * conform/data/glob.h-data: Likewise.
18774 * conform/data/grp.h-data: Likewise.
18775 * conform/data/pthread.h-data: Likewise.
18776 * conform/data/pwd.h-data: Likewise.
18777 * conform/data/signal.h-data: Likewise.
18778 * conform/data/spawn.h-data: Likewise.
18779 * conform/data/stdio.h-data: Likewise.
18780 * conform/data/stdlib.h-data: Likewise.
18781 * conform/data/stropts.h-data: Likewise.
18782 * conform/data/sys/mman.h-data: Likewise.
18783 * conform/data/sys/stat.h-data: Likewise.
18784 * conform/data/sys/types.h-data: Likewise.
18785 * conform/data/sys/wait.h-data: Likewise.
18786 * conform/data/time.h-data: Likewise.
18787 * conform/data/unistd.h-data: Likewise.
18788 * conform/data/utime.h-data: Likewise.
18789
18790 * io/sys/stat.h: fchmod was always in POSIX.
18791 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18792 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18793 * rt/aio.h: Define __need_timespec before including <time.h>.
18794 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18795 struct. Add forward declaration of pthread_attr_t and use it in
18796 sigevent.
18797 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18798 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18799 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18800 always remove CLK_TCK definition.
18801
c20105c3
AS
188022012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18803
18804 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18805
7a270350
UD
188062012-02-25 Ulrich Drepper <drepper@gmail.com>
18807
31341567
UD
18808 * conform/run-conformtest.sh: New file.
18809 * conform/Makefile: Run run-conformtest for tests.
18810 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18811 support.
18812
18813 * conform/data/uchar.h-data: New file.
18814 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18815 * conform/data/arpa/inet.h-data: Likewise.
18816 * conform/data/assert.h-data: Likewise.
18817 * conform/data/complex.h-data: Likewise.
18818 * conform/data/cpio.h-data: Likewise.
18819 * conform/data/ctype.h-data: Likewise.
18820 * conform/data/dirent.h-data: Likewise.
18821 * conform/data/dlfcn.h-data: Likewise.
18822 * conform/data/errno.h-data: Likewise.
18823 * conform/data/fcntl.h-data: Likewise.
18824 * conform/data/float.h-data: Likewise.
18825 * conform/data/fmtmsg.h-data: Likewise.
18826 * conform/data/fnmatch.h-data: Likewise.
18827 * conform/data/ftw.h-data: Likewise.
18828 * conform/data/glob.h-data: Likewise.
18829 * conform/data/grp.h-data: Likewise.
18830 * conform/data/iconv.h-data: Likewise.
18831 * conform/data/inttypes.h-data: Likewise.
18832 * conform/data/langinfo.h-data: Likewise.
18833 * conform/data/libgen.h-data: Likewise.
18834 * conform/data/limits.h-data: Likewise.
18835 * conform/data/locale.h-data: Likewise.
18836 * conform/data/math.h-data: Likewise.
18837 * conform/data/monetary.h-data: Likewise.
18838 * conform/data/mqueue.h-data: Likewise.
18839 * conform/data/ndbm.h-data: Likewise.
18840 * conform/data/net/if.h-data: Likewise.
18841 * conform/data/netdb.h-data: Likewise.
18842 * conform/data/netinet/in.h-data: Likewise.
18843 * conform/data/nl_types.h-data: Likewise.
18844 * conform/data/poll.h-data: Likewise.
18845 * conform/data/pthread.h-data: Likewise.
18846 * conform/data/pwd.h-data: Likewise.
18847 * conform/data/regex.h-data: Likewise.
18848 * conform/data/sched.h-data: Likewise.
18849 * conform/data/search.h-data: Likewise.
18850 * conform/data/semaphore.h-data: Likewise.
18851 * conform/data/setjmp.h-data: Likewise.
18852 * conform/data/signal.h-data: Likewise.
18853 * conform/data/spawn.h-data: Likewise.
18854 * conform/data/stdarg.h-data: Likewise.
18855 * conform/data/stdio.h-data: Likewise.
18856 * conform/data/stdlib.h-data: Likewise.
18857 * conform/data/string.h-data: Likewise.
18858 * conform/data/strings.h-data: Likewise.
18859 * conform/data/stropts.h-data: Likewise.
18860 * conform/data/sys/ipc.h-data: Likewise.
18861 * conform/data/sys/mman.h-data: Likewise.
18862 * conform/data/sys/msg.h-data: Likewise.
18863 * conform/data/sys/resource.h-data: Likewise.
18864 * conform/data/sys/select.h-data: Likewise.
18865 * conform/data/sys/sem.h-data: Likewise.
18866 * conform/data/sys/shm.h-data: Likewise.
18867 * conform/data/sys/socket.h-data: Likewise.
18868 * conform/data/sys/stat.h-data: Likewise.
18869 * conform/data/sys/statvfs.h-data: Likewise.
18870 * conform/data/sys/time.h-data: Likewise.
18871 * conform/data/sys/timeb.h-data: Likewise.
18872 * conform/data/sys/times.h-data: Likewise.
18873 * conform/data/sys/types.h-data: Likewise.
18874 * conform/data/sys/uio.h-data: Likewise.
18875 * conform/data/sys/un.h-data: Likewise.
18876 * conform/data/sys/utsname.h-data: Likewise.
18877 * conform/data/sys/wait.h-data: Likewise.
18878 * conform/data/syslog.h-data: Likewise.
18879 * conform/data/tar.h-data: Likewise.
18880 * conform/data/termios.h-data: Likewise.
18881 * conform/data/utime.h-data: Likewise.
18882 * conform/data/utmpx.h-data: Likewise.
18883 * conform/data/varargs.h-data: Likewise.
18884 * conform/data/wchar.h-data: Likewise.
18885 * conform/data/wctype.h-data: Likewise.
18886 * conform/data/wordexp.h-data: Likewise.
18887
18888 * include/stropts.h: New file.
18889 * include/uchar.h: New file.
18890 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18891 * include/assert.h: Likewise.
18892 * include/ctype.h: Likewise.
18893 * include/dirent.h: Likewise.
18894 * include/dlfcn.h: Likewise.
18895 * include/fcntl.h: Likewise.
18896 * include/fnmatch.h: Likewise.
18897 * include/glob.h: Likewise.
18898 * include/grp.h: Likewise.
18899 * include/libio.h: Likewise.
18900 * include/locale.h: Likewise.
18901 * include/math.h: Likewise.
18902 * include/net/if.h: Likewise.
18903 * include/netdb.h: Likewise.
18904 * include/netinet/in.h: Likewise.
18905 * include/pthread.h: Likewise.
18906 * include/pwd.h: Likewise.
18907 * include/regex.h: Likewise.
18908 * include/sched.h: Likewise.
18909 * include/search.h: Likewise.
18910 * include/setjmp.h: Likewise.
18911 * include/signal.h: Likewise.
18912 * include/stdio.h: Likewise.
18913 * include/stdlib.h: Likewise.
18914 * include/string.h: Likewise.
18915 * include/sys/cdefs.h: Likewise.
18916 * include/sys/mman.h: Likewise.
18917 * include/sys/msg.h: Likewise.
18918 * include/sys/resource.h: Likewise.
18919 * include/sys/select.h: Likewise.
18920 * include/sys/socket.h: Likewise.
18921 * include/sys/stat.h: Likewise.
18922 * include/sys/statvfs.h: Likewise.
18923 * include/sys/time.h: Likewise.
18924 * include/sys/times.h: Likewise.
18925 * include/sys/uio.h: Likewise.
18926 * include/sys/utsname.h: Likewise.
18927 * include/sys/wait.h: Likewise.
18928 * include/termios.h: Likewise.
18929 * include/time.h: Likewise.
18930 * include/ulimit.h: Likewise.
18931 * include/unistd.h: Likewise.
18932 * include/utime.h: Likewise.
18933 * include/wchar.h: Likewise.
18934 * include/wctype.h: Likewise.
18935 * include/wordexp.h: Likewise.
18936
18937 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18938
7a270350
UD
18939 * time/time.h: TIME_UTC must be a macro.
18940 Make timespec_get available for ISO C11 only as well.
18941
7724defc
UD
189422012-02-24 Ulrich Drepper <drepper@gmail.com>
18943
18944 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18945 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18946
6b1d1d46
JM
189472012-02-24 Joseph Myers <joseph@codesourcery.com>
18948
18949 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 18950
0f8bbd69
JM
189512012-02-24 Joseph Myers <joseph@codesourcery.com>
18952
18953 * manual/texinfo.tex: Update to version 2012-01-19.16.
18954
66ab80bc
JM
189552012-02-24 Joseph Myers <joseph@codesourcery.com>
18956
18957 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18958
74981cc5
RM
189592012-02-24 Roland McGrath <roland@hack.frob.com>
18960
ee968201
RM
18961 [BZ #13738]
18962 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18963 * manual/fdl-1.3.texi: New file.
18964 * manual/fdl-1.1.texi: File removed.
18965
74981cc5
RM
18966 [BZ #13738]
18967 * manual/libc.texinfo (FDL_VERSION): New @set.
18968 Use it for mention of FDL in cover text.
18969 (Documentation License): Use it in @include file name.
18970
7bb764bc
JM
189712012-02-22 Joseph Myers <joseph@codesourcery.com>
18972 Roland McGrath <roland@hack.frob.com>
18973
18974 [BZ #5461]
18975 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18976 not LONG_LONG_MAX and LONG_LONG_MIN.
18977 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18978 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18979 name.
18980 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18981
6cbeae47
JM
189822012-02-22 Joseph Myers <joseph@codesourcery.com>
18983
18984 [BZ #2547]
18985 [BZ #11365]
18986 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18987 manipulate bits before adding and subtracting TWO23[sx].
18988 * math/libm-test.inc (nearbyint_test): Add more tests.
18989
fe45ce09
JM
189902012-02-22 Joseph Myers <joseph@codesourcery.com>
18991
18992 [BZ #2548]
18993 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18994 bits before adding and subtracting TWO23[sx].
18995 * math/libm-test.inc (rint_test): Add more tests.
18996 (rint_test_tonearest): Likewise.
18997 (rint_test_towardzero): Likewise.
18998 (rint_test_downward): Likewise.
18999 (rint_test_upward: Likewise.
19000
ff3b3d82
JM
190012012-02-22 Joseph Myers <joseph@codesourcery.com>
19002
19003 [BZ #10110]
19004 * include/stdc-predef.h: New file. Extracted from features.h.
19005 * include/features.h: Include stdc-predef.h.
19006 * Makefile (headers): Add stdc-predef.h.
19007 * CONFORMANCE (Compiler limitations): Update.
19008
ef0aab35
JM
190092012-02-22 Joseph Myers <joseph@codesourcery.com>
19010
19011 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19012
58639409
DM
190132012-02-21 David S. Miller <davem@davemloft.net>
19014
19015 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19016 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19017
c0e70b25
DM
190182012-02-20 David S. Miller <davem@davemloft.net>
19019
19020 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19021 using a normal save/restore sequence, rather than allocating a
19022 dummy stack frame just to store a frame pointer and restore.
19023 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19024
fb06851d
JM
190252012-02-21 Joseph Myers <joseph@codesourcery.com>
19026
19027 * manual/install.texi: Fix stray word in line-wrapped comment.
19028
7a8b71c3
DM
190292012-02-20 David S. Miller <davem@davemloft.net>
19030
d510c123
DM
19031 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19032 both binutils and gcc support GOTDATA.
19033
0722d7c2
DM
19034 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19035 "rd %pc" in the PIC register setup sequences.
19036
3d2b3019
DM
19037 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19038 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19039 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19040 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19041 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19042 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19043 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19044 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19045 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19046 (SYSCALL_ERROR_HANDLER): Likewise.
19047 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19048 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19049 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19050 (SYSCALL_ERROR_HANDLER): Likewise.
19051
c80098a9
DM
19052 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19053 (HAVE_GCC_GOTDATA): New.
19054 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19055 relocation support in both binutils and gcc.
19056 * sysdeps/sparc/elf/configure: Regenerate.
19057
3a2545a0
DM
19058 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19059 * sysdeps/sparc/sparc32/elf/configure: Delete.
19060 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19061 * sysdeps/sparc/sparc64/elf/configure: Delete.
19062 * sysdeps/sparc/elf/configure.in: New file.
19063 * sysdeps/sparc/elf/configure: Generate.
19064
7a8b71c3
DM
19065 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19066 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19067 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19068 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19069 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19070
f1e86fca
JM
190712012-02-21 Joseph Myers <joseph@codesourcery.com>
19072
19073 * manual/install.texi: Do not mention specific glibc version
19074 numbers.
19075 * manual/libc.texinfo (VERSION, UPDATED): Update.
19076 (@copying): Use @copyright{} and range of years.
19077
0e7dfaef
JM
190782012-02-21 Joseph Myers <joseph@codesourcery.com>
19079
19080 [BZ #13695]
19081 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19082 [crti.S not in sysdirs] (generated): Do not append.
19083 [crti.S not in sysdirs] (omit-deps): Likewise.
19084 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19085 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19086 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19087 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19088 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19089 Likewise.
19090 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19091 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19092 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19093 * csu/defs.awk: Remove file.
19094 * sysdeps/generic/initfini.c: Likewise.
19095 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19096 variable.
19097 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19098 Likewise.
19099
599af3ca
JM
191002012-02-20 Joseph Myers <joseph@codesourcery.com>
19101
19102 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19103 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19104 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19105 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19106 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19107 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19108 <bits/epoll.h>.
19109 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19110 (__EPOLL_PACKED): Define to empty if not defined by
19111 <bits/epoll.h>.
19112 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19114 bits/epoll.h.
19115
0e499750
JM
191162012-02-20 Joseph Myers <joseph@codesourcery.com>
19117
19118 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19119 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19120 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19121 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19122 <bits/timerfd.h>.
19123 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19125 bits/timerfd.h.
19126
5ad91f6e
JM
191272012-02-20 Joseph Myers <joseph@codesourcery.com>
19128
19129 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19130 in C locale.
19131 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19132 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19133 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19135
06b99b02
AJ
191362012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19137
19138 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19139 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19140
7638c0fd
AS
191412012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19142
19143 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19144 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19145 defined.
19146 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19147 Likewise.
19148 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19149 entry for 2.16.
19150
92221550
AJ
191512012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19152
19153 * math/w_acos.c: Use non-signaling floating-point comparisons.
19154 * math/w_acosf.c: Likewise.
19155 * math/w_acosh.c: Likewise.
19156 * math/w_acoshf.c: Likewise.
19157 * math/w_acoshl.c: Likewise.
19158 * math/w_acosl.c: Likewise.
19159 * math/w_asin.c: Likewise.
19160 * math/w_asinf.c: Likewise.
19161 * math/w_asinl.c: Likewise.
19162 * math/w_atanh.c: Likewise.
19163 * math/w_atanhf.c: Likewise.
19164 * math/w_atanhl.c: Likewise.
19165 * math/w_exp2.c: Likewise.
19166 * math/w_exp2f.c: Likewise.
19167 * math/w_exp2l.c: Likewise.
19168 * math/w_j0.c: Likewise.
19169 * math/w_j0f.c: Likewise.
19170 * math/w_j0l.c: Likewise.
19171 * math/w_j1.c: Likewise.
19172 * math/w_j1f.c: Likewise.
19173 * math/w_j1l.c: Likewise.
19174 * math/w_jn.c: Likewise.
19175 * math/w_jnf.c: Likewise.
19176 * math/w_log.c: Likewise.
19177 * math/w_log10.c: Likewise.
19178 * math/w_log10f.c: Likewise.
19179 * math/w_log10l.c: Likewise.
19180 * math/w_log2.c: Likewise.
19181 * math/w_log2f.c: Likewise.
19182 * math/w_log2l.c: Likewise.
19183 * math/w_logf.c: Likewise.
19184 * math/w_logl.c: Likewise.
19185 * math/w_sqrt.c: Likewise.
19186 * math/w_sqrtf.c: Likewise.
19187 * math/w_sqrtl.c: Likewise.
19188 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19189 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19190 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19191 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19192 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19193
ebaf36eb
JM
191942012-02-19 Joseph Myers <joseph@codesourcery.com>
19195
19196 [BZ #9739]
19197 * manual/string.texi (strnlen): Use correct parameter name in
19198 equivalent expression.
19199
71c254a6
JM
192002012-02-19 Joseph Myers <joseph@codesourcery.com>
19201
19202 [BZ #11174]
19203 * manual/users.texi (seteuid): Consistently use neweuid for
19204 argument name.
19205
16d2c631
JM
192062012-02-19 Joseph Myers <joseph@codesourcery.com>
19207
19208 [BZ #13704]
19209 * manual/nss.texi (Services in the NSS configuration): Correct
19210 list of services in example configuration file.
19211
cd837b09
NB
192122012-02-19 Nick Bowler <nbowler@draconx.ca>
19213
19214 [BZ #11322]
19215 * manual/arith.texi: Remove statements about negative zero
19216 behaving identically to zero.
19217
02c4bbad
JM
192182012-02-18 Joseph Myers <joseph@codesourcery.com>
19219
19220 [BZ #5993]
19221 * manual/install.texi: Do not document upgrading from libc5.
19222
366842e7
JM
192232012-02-18 Joseph Myers <joseph@codesourcery.com>
19224
19225 [BZ #4596]
19226 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19227
dd54084d
DM
192282012-02-18 David S. Miller <davem@davemloft.net>
19229
19230 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19231 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19232 %o7 across the call.
19233 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19234 instead.
19235 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19236 SETUP_PIC_REG_LEAF.
19237 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19238 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19239 * sysdeps/sparc/crtn.S: Likewise.
19240
2bcc53a3
UD
192412012-02-17 Ulrich Drepper <drepper@gmail.com>
19242
19243 * aout/Makefile: Remove.
19244
09c093b5
RK
192452012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19246
19247 [BZ #13058]
19248 * manual/examples/argp-ex1.c (main): Format definition in GNU
19249 style.
19250 * manual/examples/argp-ex2.c (main): Likewise.
19251 * manual/examples/argp-ex3.c (main): Likewise.
19252 * manual/examples/argp-ex4.c (main): Likewise.
19253 * manual/examples/longopt.c (main): Use new-style prototype
19254 definition.
19255 * manual/examples/strncat.c (main): Specify return type and use
19256 (void) for arguments.
19257 * manual/examples/subopt.c (main): Use char **argv argument.
19258
2ee633a2
JM
192592012-02-17 Joseph Myers <joseph@codesourcery.com>
19260
19261 [BZ #5077]
19262 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19263 rounding modes.
19264
0520adde
FB
192652012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19266
19267 [BZ #6907]
19268 * manual/string.texi (strchr): Change when strchrnul is
19269 recommended.
19270
3f4081cd
DGM
192712012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19272
19273 [BZ #174]
19274 * manual/locale.texi (setlocale): Document LOCPATH.
19275
d1b10e78
JM
192762012-02-17 Joseph Myers <joseph@codesourcery.com>
19277
19278 [BZ #10210]
19279 * manual/process.texi (execle): Move @dots{} before last argument.
19280
79c6869c
PB
192812012-02-17 Paul Bolle <pebolle@tiscali.nl>
19282
19283 [BZ #12047]
19284 * manual/charset.texi (Generic Charset Conversion): Fix typo
19285 (LC_TYPE -> LC_CTYPE).
19286
cc6e48bc
NB
192872012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19288
19289 [BZ #5805]
19290 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19291 (scalbnf): Likewise.
19292 (scalbnl): Likewise.
19293 (scalbln): Likewise.
19294 (scalblnf): Likewise.
19295 (scalblnl): Likewise.
19296 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19297 (vwarnx): Likewise.
19298 (verr): Likewise.
19299 (verrx): Likewise.
19300 * manual/filesys.texi (telldir): Use braces around return type.
19301 * manual/llio.texi (mmap): Add space after comma.
19302 (mmap64): Likewise.
19303 * manual/math.texi (jn): Use @var{} on parameter names.
19304 (jnf): Likewise.
19305 (jnl): Likewise.
19306 (yn): Likewise.
19307 (ynf): Likewise.
19308 (ynl): Likewise.
19309 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19310 line.
19311 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19312 "...".
19313 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19314 (sched_get_priority_max): Likewise.
19315 * manual/signal.texi (sigvec): Add space after comma.
19316 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19317 names.
19318 (if_indextoname): Likewise.
19319 (if_freenameindex): Likewise.
19320 (sendto): Use ',' instead of '.' in prototype.
19321 * manual/startup.texi (syscall): Use @dots{} instead of literal
19322 "...".
19323 * manual/stdio.texi (__fpending): Separate initial words of
19324 paragraph from @deftypefun line.
19325 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19326 "...".
19327 (vsyslog): Use @var{} on parameter names.
19328 * manual/terminal.texi (stty): Use @var{} on parameter names.
19329 * manual/users.texi (getutmp): Use @var{} on parameter names.
19330 (getutmpx): Likewise.
19331
5b23062f
JM
193322012-02-17 Joseph Myers <joseph@codesourcery.com>
19333
19334 [BZ #6884]
19335 * manual/stdio.texi (fopen): Fix typos in description of
19336 ",ccs=STRING".
19337
8dee4833
AJ
193382012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19339
19340 [BZ #4026]
19341 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19342 get clock_id definition.
19343
9078ce93
TS
193442012-02-17 Thomas Schwinge <thomas@schwinge.name>
19345
19346 [BZ #4822]
19347 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19348 (madvise): Cast every argument to void on its own.
19349
3835c55f
JM
193502012-02-17 Joseph Myers <joseph@codesourcery.com>
19351
19352 [BZ #9902]
19353 * manual/startup.texi (Exit Status): Fix typo.
19354
35c47e37
JM
193552012-02-17 Joseph Myers <joseph@codesourcery.com>
19356
19357 [BZ #10140]
19358 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19359 * manual/examples/argp-ex2.c: Likewise.
19360 * manual/examples/argp-ex3.c: Likewise.
19361
e3b69ca7
RH
193622012-02-16 Richard Henderson <rth@redhat.com>
19363
19364 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19365 * sysdeps/s390/s390-32/initfini.c: Remove.
19366 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19367 * sysdeps/s390/s390-64/initfini.c: Remove.
19368
df83af67
KK
193692012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19370
19371 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19372 compiler output for sysdeps/generic/initfini.c.
19373 * sysdeps/sh/elf/initfini.c: Remove file.
19374
f63f3380
DM
193752012-02-16 David S. Miller <davem@davemloft.net>
19376
fb59b3a4
DM
19377 [BZ #11494]
19378 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19379
f63f3380
DM
19380 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19381 * sysdeps/sparc/crti.S: New file.
19382 * sysdeps/sparc/crtn.S: New file.
19383 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19384 * sysdeps/sparc/sparc64/Makefile: Likewise.
19385
df6a4a4a
MF
193862012-02-15 Mike Frysinger <vapier@gentoo.org>
19387
6dd8f3dc 19388 [BZ #3335]
df6a4a4a
MF
19389 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19390
1cac7236
RM
193912012-02-15 Roland McGrath <roland@hack.frob.com>
19392
d2c736f8
RM
19393 [BZ #4822]
19394 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19395
1cac7236
RM
19396 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19397 (write, read, close): Likewise.
19398 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19399
8e475601
JM
194002012-02-15 Joseph Myers <joseph@codesourcery.com>
19401
19402 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19403 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19404 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19405 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19406 <bits/signalfd.h>.
19407 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19408 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19409 bits/signalfd.h.
19410
ed656b40
MP
194112012-02-14 Marek Polacek <polacek@redhat.com>
19412
19413 * sysdeps/x86_64/crti.S: New file.
19414 * sysdeps/x86_64/crtn.S: New file.
19415 * sysdeps/x86_64/elf/initfini.c: Remove file.
19416
2a979d3a
JM
194172012-02-13 Joseph Myers <joseph@codesourcery.com>
19418
19419 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19420 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19421 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19422 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19423 <bits/inotify.h>.
19424 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19426 bits/inotify.h.
19427
2a418ac3
JM
194282012-02-13 Joseph Myers <joseph@codesourcery.com>
19429
19430 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19431 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19432 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19433 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19434 <bits/eventfd.h>.
19435 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19437 bits/eventfd.h.
19438
fb779be7
TS
194392012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19440
e19e83c5
RM
19441 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19442 __feraiseexcept instead of feraiseexcept.
7c35ffed 19443
fb779be7
TS
19444 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19445 nanosleep invocations.
19446 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19447 strings, and add error checking for a nanosleep invocations.
19448
59ba27a6
PE
194492012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19450
19451 Replace FSF snail mail address with URLs, as per GNU coding standards.
19452 Most of the snail mail addresses were wrong anyway, and omitting
19453 them makes the source code easier to maintain. Almost all of the
19454 changes are to license notices and to locale LC_IDENTIFICATION
19455 addresses, except for this one:
19456 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19457 not its snail mail address.
19458
57b957eb
RH
194592012-02-09 Richard Henderson <rth@twiddle.net>
19460
af850b1c
RH
19461 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19462 of kernel-features.h.
19463
57b957eb
RH
19464 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19465
6b73181a
MP
194662012-02-08 Marek Polacek <polacek@redhat.com>
19467
19468 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19469 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19470 * sysdeps/gnu/_G_config.h: Likewise.
19471 * sysdeps/generic/_G_config.h: Likewise.
19472
26ecc33a
AS
194732012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19474
6c6dbc63
AS
19475 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19476 tests.
19477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19478
e216c012
AS
19479 * sysdeps/powerpc/powerpc32/crti.S: New file.
19480 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19481 * sysdeps/powerpc/powerpc64/crti.S: New file.
19482 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19483
26ecc33a
AS
19484 * Makeconfig (have-initfini): Don't set.
19485 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19486 * configure.in (nopic_initfini): Don't substitute.
19487 * config.h.in (HAVE_INITFINI): Don't #undef.
19488 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19489 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19490
3add8e13
JM
194912012-02-08 Joseph Myers <joseph@codesourcery.com>
19492
19493 Support crti.S and crtn.S provided directly by architectures.
19494 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19495 [crti.S in sysdirs] (omit-deps): Likewise.
19496 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19497 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19498 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19499 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19500 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19501 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19502 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19503 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19504 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19505 compiler output for sysdeps/generic/initfini.c.
19506 * sysdeps/i386/elf/Makefile: Remove file.
19507 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19508
a22f12b4
MP
195092012-02-07 Marek Polacek <polacek@redhat.com>
19510
19511 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19512 * sysdeps/gnu/_G_config.h: Likewise.
19513 * sysdeps/mach/hurd/_G_config.h: Likewise.
19514
148cf100
MP
195152012-02-07 Marek Polacek <polacek@redhat.com>
19516
19517 * math/Makefile (tests): Add tst-CMPLX2.
19518 * math/tst-CMPLX2.c: New file.
19519
cfdc0dd7
AS
195202012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19521
84ba42c4
AS
19522 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19523
cfdc0dd7
AS
19524 * math/libm-test.inc (jn_test): Add missing L suffix.
19525
622c86f4
MP
195262012-02-06 Marek Polacek <polacek@redhat.com>
19527
19528 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19529 * sysdeps/i386/fpu/e_powf.S: Likewise.
19530 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19531 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19532 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19533 * sysdeps/i386/fpu/e_pow.S: Likewise.
19534 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19535 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19536 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19537 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19538 * sysdeps/i386/fpu/e_log2.S: Likewise.
19539 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19540 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19541 * sysdeps/i386/fpu/e_powl.S: Likewise.
19542 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19543 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19544 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19545 * sysdeps/i386/fpu/e_logl.S: Likewise.
19546 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19547 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19548 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19549 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19550 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19551 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19552 * sysdeps/i386/fpu/e_log.S: Likewise.
19553 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19554 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19555 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19556 * sysdeps/i386/fpu/e_logf.S: Likewise.
19557 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19558 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19559 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19560 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19561 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19562 * sysdeps/i386/fpu/e_log10.S: Likewise.
19563 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19564 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19565 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19566 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19567 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19568 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19569 * sysdeps/i386/asm-syntax.h: Likewise.
19570 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19571 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19572 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19573 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19574 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19575 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19576 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19577 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19578 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19579 * sysdeps/powerpc/sysdep.h: Likewise.
19580 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19581 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19582
d4a54ac6
JM
195832012-02-06 Joseph Myers <joseph@codesourcery.com>
19584
19585 [BZ #411]
19586 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19587
314054ea
JM
195882012-02-06 Joseph Myers <joseph@codesourcery.com>
19589
19590 * sysdeps/i386/sysdep.h: Include <features.h>.
19591 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19592 version.
19593
d8e0ca50
JM
195942012-02-05 Joseph Myers <joseph@codesourcery.com>
19595
19596 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19597 Define.
19598 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19599 LOAD_PIC_REG_STR.
19600
b1da7dd9
JM
196012012-02-03 Joseph Myers <joseph@codesourcery.com>
19602
19603 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19604 (SETUP_PIC_REG): Use GET_PC_THUNK.
19605 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19606 macro.
19607
9a1d9254
JM
196082012-02-03 Joseph Myers <joseph@codesourcery.com>
19609
19610 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19611 for non-PIC compilation.
19612 (SETUP_PIC_REG): Add .p2align directive.
19613 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19614 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19615 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19616 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19617 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19618 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19619 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19620 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19621 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19622 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19623 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19624 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19625 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19626 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19627 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19628 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19629 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19630 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19631 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19632 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19633 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19634 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19635 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19636 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19637 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19638 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19639 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19640 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19641 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19642 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19643 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19644 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19645 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19646 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19647 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19648 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19649 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19650 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19651 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19652 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19653 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19654
65dc3b75
JM
196552012-02-03 Joseph Myers <joseph@codesourcery.com>
19656
19657 * math/tst-CMPLX.c: Include <stdio.h>.
19658
d55bf177
JM
196592012-01-31 Joseph Myers <joseph@codesourcery.com>
19660
19661 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19662 float.
19663 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19664 * sysdeps/sparc/bits/mathdef.h: Likewise.
19665
69db4f8f
MP
196662012-01-31 Marek Polacek <polacek@redhat.com>
19667
19668 * libio/libio.h: Don't define _PARAMS.
19669 * locale/programs/config.h: Don't define PARAMS.
19670 * stdlib/strtol_l.c: Likewise.
19671 (__strtol_l): Remove PARAMS from the prototype.
19672
41b81892
UD
196732012-01-31 Ulrich Drepper <drepper@gmail.com>
19674
3b49edc0
UD
19675 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19676 names. Just use the correct names. Remove unnecessary wrapper
19677 functions.
19678 * malloc/arena.c: Likewise.
19679 * malloc/hooks.c: Likewise.
19680
41b81892
UD
19681 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19682 ARENA_TEST says not to. Simplify test for creation of a new arena.
19683 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19684
27a25b6e
UD
196852012-01-30 Ulrich Drepper <drepper@gmail.com>
19686
19687 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19688 into tail calls.
19689 (update_get_addr): New function.
19690 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19691 GET_ADDR_MODULE parameter.
19692
c8a89e7d
JM
196932012-01-30 Joseph Myers <joseph@codesourcery.com>
19694
19695 * crypt/cert.c: Remove __STDC__ conditionals.
19696 * crypt/crypt-entry.c: Likewise.
19697 * crypt/crypt_util.c: Likewise.
19698 * libio/filedoalloc.c: Likewise.
19699 * libio/fileops.c: Likewise.
19700 * libio/genops.c: Likewise.
19701 * libio/iofclose.c: Likewise.
19702 * libio/iofdopen.c: Likewise.
19703 * libio/iofopen.c: Likewise.
19704 * libio/iofopen64.c: Likewise.
19705 * libio/iogetdelim.c: Likewise.
19706 * libio/iopopen.c: Likewise.
19707 * libio/obprintf.c: Likewise.
19708 * libio/oldfileops.c: Likewise.
19709 * libio/oldiofclose.c: Likewise.
19710 * libio/oldiofdopen.c: Likewise.
19711 * libio/oldiofopen.c: Likewise.
19712 * libio/oldiopopen.c: Likewise.
19713 * libio/wfiledoalloc.c: Likewise.
19714 * libio/wgenops.c: Likewise.
19715 * locale/programs/xmalloc.c: Likewise.
19716 * misc/syslog.c: Likewise.
19717 * stdio-common/xbug.c: Likewise.
19718 * string/memchr.c: Likewise.
19719 * string/memcmp.c: Likewise.
19720 * string/memrchr.c: Likewise.
19721 * string/rawmemchr.c: Likewise.
19722 * sysdeps/posix/getcwd.c: Likewise.
19723 * time/strftime_l.c: Likewise.
19724
3b100462
JM
197252012-01-30 Joseph Myers <joseph@codesourcery.com>
19726
19727 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
19728 * config.make.in (config-cflags-sse2avx): Define.
19729 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19730 Fix typo.
19731
607998af
CM
197322012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19733
19734 * scripts/config.guess: Update from upstream config git repository.
19735 * scripts/config.sub: Likewise.
19736
3601428f
CM
197372012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19738
3ac8b282
CM
19739 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19740 (EM_NUM): Update.
19741 (R_TILEPRO_*, R_TILEGX_*): New macros.
19742
e034841e
CM
19743 * scripts/firstversions.awk: Fix bug in version range handling.
19744
540d7568
CM
19745 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19746
3601428f
CM
19747 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19748
463de862
CM
19749 * include/sys/epoll.h: New file.
19750 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19751 libc_hidden_def.
19752
73139a76
UD
197532012-01-28 Ulrich Drepper <drepper@gmail.com>
19754
96bc5b45
UD
19755 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19756 Avoid unnecessary __WORDSIZE == 64 test.
19757 (fmaxf): Use VEX format if possible.
19758 (fmax): Likewise.
19759 (fminf): Likewise.
19760 (fmin): Likewise.
19761
56f6f6a2
UD
19762 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19763 * math/math_private.h: Remove libc_fegetround* and
19764 libc_fesetround*.
19765 * sysdeps/i386/configure.in: Check for -msse2avx.
19766 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19767 also if SSE2AVX is defined.
19768 Remove libc_fegetround* and libc_fesetround*.
19769 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19770 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19771 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19772 of HAS_YMM_USABLE.
19773 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19774 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19775 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19776 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19777 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19778
73139a76
UD
19779 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19780
d73f93a4
AZ
197812012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19782
19783 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19784 size is not set.
19785 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19786
6ee65ed6
UD
197872012-01-27 Ulrich Drepper <drepper@gmail.com>
19788
19789 [BZ #13618]
19790 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19791 relocation.
19792 * Makeconfig (libm): Define.
19793 * elf/Makefile: Add rules to build and run tst-relsort1.
19794 * elf/tst-relsort1.c: New file.
19795 * elf/tst-relsort1mod1.c: New file.
19796 * elf/tst-relsort1mod2.c: New file.
19797
8db21882
JM
197982012-01-27 Joseph Myers <joseph@codesourcery.com>
19799
19800 * math/s_ldexp.c: Remove __STDC__ conditionals.
19801 * math/s_ldexpf.c: Likewise.
19802 * math/s_ldexpl.c: Likewise.
19803 * math/s_nextafter.c: Likewise.
19804 * math/s_nexttowardf.c: Likewise.
19805 * math/s_significand.c: Likewise.
19806 * math/s_significandf.c: Likewise.
19807 * math/s_significandl.c: Likewise.
19808 * math/w_jnl.c: Likewise.
19809 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19810 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19811 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19812 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19813 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19814 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19815 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19816 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19817 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19818 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19819 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19820 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19821 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19822 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19823 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19824 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19825 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19826 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19827 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19828 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19829 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19830 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19831 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19832 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19833 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19834 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19835 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19836 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19837 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19838 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19839 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19840 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19841 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19842 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19843 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19844 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19845 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19846 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19847 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19848 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19849 * sysdeps/ieee754/k_standard.c: Likewise.
19850 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19851 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19852 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19853 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19854 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19855 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19856 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19857 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19858 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19859 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19860 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19861 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19862 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19863 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19864 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19865 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19866 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19867 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19868 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19869 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19870 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19871 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19872 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19873 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19874 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19875 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19876 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19877 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19878 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19879 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19880 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19881 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19882 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19883 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19884 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19885 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19886 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19887 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19888 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19889 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19890 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19891 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19892 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19893 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19894 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19895 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19896 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19897 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19898 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19899 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19900 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19901 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19902 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19903 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19904 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19905 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19906 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19907 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19908 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19909 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19910 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19911 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19912 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19913 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19914 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19915 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19916 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19917 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19918 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19919 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19920 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19921 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19922 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19923 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19924 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19925 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19926 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19927 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19928 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19929 * sysdeps/ieee754/s_matherr.c: Likewise.
19930 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19931 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19932 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19933 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19934
965a54a4
JM
199352012-01-26 Joseph Myers <joseph@codesourcery.com>
19936
19937 * crypt/md5.h: Remove __STDC__ conditionals.
19938 * libio/libioP.h: Likewise.
19939 * locale/programs/config.h: Likewise.
19940 * sysdeps/generic/sysdep.h: Likewise.
19941 * sysdeps/i386/asm-syntax.h: Likewise.
19942 * sysdeps/s390/asm-syntax.h: Likewise.
19943 * sysdeps/unix/sysdep.h: Likewise.
19944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19946
7071ad79
JM
199472012-01-26 Joseph Myers <joseph@codesourcery.com>
19948
19949 * libio/libio.h: Remove __STDC__ conditionals.
19950 * malloc/obstack.h: Likewise.
19951 * math/complex.h: Likewise.
19952 * math/math.h: Likewise.
19953 * sysdeps/generic/_G_config.h: Likewise.
19954 * sysdeps/gnu/_G_config.h: Likewise.
19955 * sysdeps/mach/hurd/_G_config.h: Likewise.
19956 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19957 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19958 * sysdeps/sparc/bits/mathdef.h: Likewise.
19959
afc5ed09
UD
199602012-01-26 Ulrich Drepper <drepper@gmail.com>
19961
19962 [BZ #13583]
19963 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 19964 Clean up HAS_* macros.
afc5ed09 19965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
19966 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19967 possible.
19968 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19969 HAS_AVX.
19970 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19971 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19972 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19973 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19974 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 19975
bdb6de1d
JM
199762012-01-25 Joseph Myers <joseph@codesourcery.com>
19977
19978 * elf/tst-unique3.cc (gets): Remove declaration.
19979 * elf/tst-unique3lib.cc (gets): Likewise.
19980 * elf/tst-unique3lib2.cc (gets): Likewise.
19981 * elf/tst-unique4.cc (gets): Likewise.
19982
b15549e6
UD
199832012-01-24 Ulrich Drepper <drepper@gmail.com>
19984
19985 * include/stdio.h: Add C++ protection. Add gets declarations and
19986 definitions.
19987 * debug/tst-chk1.c: Don't declare gets here.
19988 * stdio-common/tst-gets.c: Likewise.
19989
a037381f
JM
199902012-01-24 Joseph Myers <joseph@codesourcery.com>
19991
19992 * posix/glob: Remove directory.
19993
f1d4aa75
JM
199942012-01-24 Joseph Myers <joseph@codesourcery.com>
19995
19996 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19997
81c0c964
PT
199982012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19999
20000 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20001 of the non-standard EPFNOSUPPORT.
20002
0ea698ae
ST
200032011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20004
20005 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20006 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20007 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20008
d220b117
UD
200092012-01-21 Ulrich Drepper <drepper@gmail.com>
20010
20011 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20012
3e1aa84e
UD
200132012-01-20 Ulrich Drepper <drepper@gmail.com>
20014
20015 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20016 transient errors.
20017 * nscd/grpcache.c (cache_addgr): Likewise.
20018 * nscd/hstcache.c (cache_addhst): Likewise.
20019 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20020 * nscd/pwdcache.c (cache_addpw): Likewise.
20021 * nscd/servicescache.c (cache_addserv): Likewise.
20022
400aa020
UD
200232012-01-16 Ulrich Drepper <drepper@gmail.com>
20024
d77e7869
UD
20025 * malloc/malloc.c: Various cleanups.
20026 * malloc/hooks.c: Likewise.
20027
400aa020
UD
20028 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20029 * stdlib/bug-fmtmsg1.c: New file.
20030
20031 * stdlib/fmtmsg.c (init): Add missing unlock.
20032 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20033
e0a309cf
MP
200342012-01-12 Marek Polacek <polacek@redhat.com>
20035
20036 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20037 and _GNU_SOURCE.
20038
929d11c7
WS
200392012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20040
20041 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20042 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20043 macro to ensure uniqueness of label name.
20044 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20045 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20046
41d0e869
UD
200472012-01-11 Ulrich Drepper <drepper@gmail.com>
20048
0cc5ed3b
UD
20049 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20050
41d0e869
UD
20051 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20052 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20053 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20054 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20055
a47a831a
UD
200562012-01-10 Ulrich Drepper <drepper@gmail.com>
20057
daa891c0
UD
20058 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20059
20060 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20061 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20062 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20063
e58ef0f2
UD
20064 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20065
a47a831a 20066 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20067 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20068 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20069 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20070
20071 * math/bits/math-finite.h: Add ldexp support.
20072
a0bfc9c7
MP
200732012-01-10 Marek Polacek <polacek@redhat.com>
20074
20075 * locale/programs/localedef.h (show_archive_content): Add noreturn
20076 attribute.
20077
d6e97a1d
UD
200782012-01-09 Ulrich Drepper <drepper@gmail.com>
20079
20080 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20081
d5835c26
UD
200822012-01-08 Ulrich Drepper <drepper@gmail.com>
20083
e5f484c6
UD
20084 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20085
d5835c26
UD
20086 * io/Makefile (headers): Add bits/poll2.h.
20087
d1f741e9
WS
200882011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20089
20090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20091 typo #include statement.
20092
ec09c1c4
UD
200932012-01-08 Ulrich Drepper <drepper@gmail.com>
20094
20095 * include/sys/cdefs.h: Define __attribute_alloc_size.
20096 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20097 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20098 * elf/pldd.c: Likewise.
20099 * iconv/iconv_charmap.c: Likewise.
20100 * iconv/iconvconfig.c: Likewise.
20101 * iconv/strtab.c: Likewise.
20102 * locale/programs/locale.c: Likewise.
20103 * locale/programs/localedef.h: Likewise.
20104 * locale/programs/simple-hash.c: Likewise.
20105 * nscd/nscd.h: Likewise.
20106 * nss/makedb.c: Likewise.
20107 * sysdeps/generic/ldconfig.h: Likewise.
20108 * locale/programs/localedef.c: Remove xmalloc prototype.
20109 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20110
20b38e03
PP
201112012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20112
20113 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20114 appropriate.
20115
a0da5fe1
UD
201162012-01-08 Ulrich Drepper <drepper@gmail.com>
20117
1d5a644a 20118 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20119 * math/tst-CMPLX.c: New file.
1d5a644a 20120
8784a6db
UD
20121 * math/complex.h (CMPLXL): Fix typo.
20122
d9a216c0
UD
20123 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20124 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20125 GLIBC_2.16.
20126 * debug/tst-chk1.c: Add poll and ppoll tests.
20127 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20128 * include/sys/poll.h: Add hidden proto for ppoll.
20129 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20130 * sysdeps/mach/hurd/ppoll.c: Likewise.
20131 * io/ppoll.c: Likewise.
20132 * debug/poll_chk.c: New file.
20133 * debug/ppoll_chk.c: New file.
20134 * include/bits/poll2.h: New file.
20135 * io/bits/poll2.h: New file.
20136
ac097f5c
UD
20137 [BZ #1350]
20138 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20139
2119dcfa
UD
20140 * configure.in: static is always set to yes. Remove.
20141 * config.make.in: Don't set build-static.
20142 * Makeconfig: Remove use of build-static.
20143 * dlfcn/Makefile: Likewise.
20144 * elf/Makefile: Likewise.
20145 * math/Makefile: Likewise.
20146 * misc/Makefile: Likewise.
20147 * nptl/Makefile: Likewise.
20148 * sysdeps/mach/hurd/Makefile: Likewise.
20149
121766a9
UD
20150 * configure.in: PWD_P is not used anymore.
20151 * config.make.in: Remove PWD_P entry.
20152
51a1d39c 20153 * configure.in: Remove last remnants of RANLIB.
8720d066 20154 No need to check for signed size_t anymore.
215f4bdc
UD
20155 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20156 and IA-64.
3857022a 20157 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20158 * aclocal.m4: Likewise.
20159
d3ed7225
UD
20160 * wcsmbs/mbrtoc16.c: Implement using towc function.
20161 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20162 * wcsmbs/wcsmbsload.c: Likewise.
20163 * iconv/gconv_simple.c: Likewise.
20164 * iconv/gconv_int.h: Likewise.
20165 * iconv/gconv_builtin.h: Likewise.
20166 * iconv/iconv_prog.c: Remove CHAR16 handling.
20167
20168 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20169
20170 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20171
a0da5fe1
UD
20172 * configure.in: Remove --with-elf and --enable-bounded options.
20173 Dont set base_machine for ia64. More non-ELF conditions removed.
20174 Remove testing and setting of leading underscore information.
20175 * config.make.in (build-bounded): Set to no.
20176 * config.h.in: Remove NO_UNDERSCORES entry.
20177 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20178 them.
20179 * csu/start.c: Remove !NO_UNDERSCORE code.
20180 * locale/localeinfo.h: Likewise.
20181 * sysdeps/generic/machine-gmon.h: Likewise.
20182 * sysdeps/generic/sysdep.h: Likewise.
20183 * sysdeps/i386/sysdep.h: Likewise.
20184 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20185 * sysdeps/mach/sysdep.h: Likewise.
20186 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20187 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20188 * sysdeps/sh/sysdep.h: Likewise.
20189 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20190 * sysdeps/unix/i386/sysdep.S: Likewise.
20191 * sysdeps/unix/sparc/start.c: Likewise.
20192 * sysdeps/unix/sparc/sysdep.S: Likewise.
20193 * sysdeps/unix/sparc/sysdep.h: Likewise.
20194 * sysdeps/unix/start.c: Likewise.
20195 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20196 * sysdeps/x86_64/sysdep.h: Likewise.
20197
df78418a
UD
201982012-01-07 Ulrich Drepper <drepper@gmail.com>
20199
a784e502
UD
20200 [BZ #13553]
20201 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20202 for non-gcc.
20203 * argp/argp-fmtstream.h: Use const instead __const.
20204 * argp/argp.h: Likewise.
20205 * assert/assert.h: Likewise.
20206 * bits/fenv.h: Likewise.
20207 * bits/sched.h: Likewise.
20208 * bits/sigset.h: Likewise.
20209 * bits/sigthread.h: Likewise.
20210 * catgets/nl_types.h: Likewise.
20211 * conform/data/pthread.h-data: Likewise.
20212 * crypt/crypt-private.h: Likewise.
20213 * crypt/crypt.h: Likewise.
20214 * crypt/crypt_util.c: Likewise.
20215 * ctype/ctype.h: Likewise.
20216 * debug/execinfo.h: Likewise.
20217 * debug/mbsnrtowcs_chk.c: Likewise.
20218 * debug/mbsrtowcs_chk.c: Likewise.
20219 * debug/wcsnrtombs_chk.c: Likewise.
20220 * debug/wcsrtombs_chk.c: Likewise.
20221 * debug/wcstombs_chk.c: Likewise.
20222 * dirent/dirent.h: Likewise.
20223 * dlfcn/dlfcn.h: Likewise.
20224 * elf/neededtest4.c: Likewise.
20225 * grp/grp.h: Likewise.
20226 * gshadow/gshadow.h: Likewise.
20227 * iconv/gconv.h: Likewise.
20228 * iconv/gconv_int.h: Likewise.
20229 * iconv/gconv_simple.c: Likewise.
20230 * iconv/iconv.h: Likewise.
20231 * iconv/loop.c: Likewise.
20232 * iconv/skeleton.c: Likewise.
20233 * include/aio.h: Likewise.
20234 * include/aliases.h: Likewise.
20235 * include/argz.h: Likewise.
20236 * include/arpa/inet.h: Likewise.
20237 * include/assert.h: Likewise.
20238 * include/dirent.h: Likewise.
20239 * include/dlfcn.h: Likewise.
20240 * include/execinfo.h: Likewise.
20241 * include/fcntl.h: Likewise.
20242 * include/fenv.h: Likewise.
20243 * include/glob.h: Likewise.
20244 * include/grp.h: Likewise.
20245 * include/libintl.h: Likewise.
20246 * include/mntent.h: Likewise.
20247 * include/netdb.h: Likewise.
20248 * include/pwd.h: Likewise.
20249 * include/rpc/netdb.h: Likewise.
20250 * include/sched.h: Likewise.
20251 * include/search.h: Likewise.
20252 * include/shadow.h: Likewise.
20253 * include/signal.h: Likewise.
20254 * include/stdio.h: Likewise.
20255 * include/stdlib.h: Likewise.
20256 * include/string.h: Likewise.
20257 * include/sys/socket.h: Likewise.
20258 * include/sys/stat.h: Likewise.
20259 * include/sys/statfs.h: Likewise.
20260 * include/sys/statvfs.h: Likewise.
20261 * include/sys/syslog.h: Likewise.
20262 * include/sys/time.h: Likewise.
20263 * include/sys/uio.h: Likewise.
20264 * include/time.h: Likewise.
20265 * include/unistd.h: Likewise.
20266 * include/utmp.h: Likewise.
20267 * include/wchar.h: Likewise.
20268 * include/wctype.h: Likewise.
20269 * inet/aliases.h: Likewise.
20270 * inet/arpa/inet.h: Likewise.
20271 * inet/netinet/ether.h: Likewise.
20272 * inet/netinet/in.h: Likewise.
20273 * intl/libintl.h: Likewise.
20274 * io/bits/fcntl2.h: Likewise.
20275 * io/fcntl.h: Likewise.
20276 * io/ftw.h: Likewise.
20277 * io/sys/poll.h: Likewise.
20278 * io/sys/stat.h: Likewise.
20279 * io/sys/statfs.h: Likewise.
20280 * io/sys/statvfs.h: Likewise.
20281 * io/utime.h: Likewise.
20282 * libio/bits/stdio.h: Likewise.
20283 * libio/bits/stdio2.h: Likewise.
20284 * libio/libio.h: Likewise.
20285 * libio/libioP.h: Likewise.
20286 * libio/stdio.h: Likewise.
20287 * locale/lc-ctype.c: Likewise.
20288 * locale/locale.h: Likewise.
20289 * login/utmp.h: Likewise.
20290 * malloc/arena.c: Likewise.
20291 * malloc/malloc.c: Likewise.
20292 * malloc/malloc.h: Likewise.
20293 * malloc/mcheck.c: Likewise.
20294 * malloc/mtrace.c: Likewise.
20295 * math/bits/mathcalls.h: Likewise.
20296 * math/fenv.h: Likewise.
20297 * math/math_private.h: Likewise.
20298 * misc/bits/error.h: Likewise.
20299 * misc/bits/syslog.h: Likewise.
20300 * misc/err.h: Likewise.
20301 * misc/error.h: Likewise.
20302 * misc/fstab.h: Likewise.
20303 * misc/mntent.h: Likewise.
20304 * misc/regexp.h: Likewise.
20305 * misc/search.h: Likewise.
20306 * misc/sgtty.h: Likewise.
20307 * misc/sys/mman.h: Likewise.
20308 * misc/sys/syslog.h: Likewise.
20309 * misc/sys/uio.h: Likewise.
20310 * misc/sys/xattr.h: Likewise.
20311 * misc/ttyent.h: Likewise.
20312 * nis/rpcsvc/ypclnt.h: Likewise.
20313 * nss/nss.h: Likewise.
20314 * posix/bits/unistd.h: Likewise.
20315 * posix/fnmatch.h: Likewise.
20316 * posix/glob.h: Likewise.
20317 * posix/sched.h: Likewise.
20318 * posix/spawn.h: Likewise.
20319 * posix/sys/wait.h: Likewise.
20320 * posix/unistd.h: Likewise.
20321 * posix/wordexp.h: Likewise.
20322 * pwd/pwd.h: Likewise.
20323 * resolv/netdb.h: Likewise.
20324 * resource/sys/resource.h: Likewise.
20325 * rt/aio.h: Likewise.
20326 * rt/bits/mqueue2.h: Likewise.
20327 * rt/mqueue.h: Likewise.
20328 * shadow/shadow.h: Likewise.
20329 * signal/signal.h: Likewise.
20330 * socket/send.c: Likewise.
20331 * socket/sendto.c: Likewise.
20332 * socket/sys/socket.h: Likewise.
20333 * stdio-common/printf.h: Likewise.
20334 * stdlib/bits/stdlib.h: Likewise.
20335 * stdlib/fmtmsg.h: Likewise.
20336 * stdlib/monetary.h: Likewise.
20337 * stdlib/stdlib.h: Likewise.
20338 * stdlib/ucontext.h: Likewise.
20339 * streams/stropts.h: Likewise.
20340 * string/argz.h: Likewise.
20341 * string/bits/string2.h: Likewise.
20342 * string/string.h: Likewise.
20343 * string/strings.h: Likewise.
20344 * sunrpc/rpc/auth.h: Likewise.
20345 * sunrpc/rpc/auth_des.h: Likewise.
20346 * sunrpc/rpc/clnt.h: Likewise.
20347 * sunrpc/rpc/netdb.h: Likewise.
20348 * sunrpc/rpc/pmap_clnt.h: Likewise.
20349 * sunrpc/rpc/xdr.h: Likewise.
20350 * sysdeps/generic/inttypes.h: Likewise.
20351 * sysdeps/generic/net/if.h: Likewise.
20352 * sysdeps/generic/sys/swap.h: Likewise.
20353 * sysdeps/gnu/net/if.h: Likewise.
20354 * sysdeps/gnu/utmpx.h: Likewise.
20355 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20356 * sysdeps/i386/i486/bits/string.h: Likewise.
20357 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20358 * sysdeps/s390/bits/string.h: Likewise.
20359 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20360 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20361 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20362 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20363 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20364 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20365 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20366 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20367 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20368 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20369 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20370 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20371 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20372 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20373 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20374 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20375 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20376 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20377 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20378 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20379 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20380 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20381 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20382 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20383 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20384 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20385 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20386 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20387 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20388 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20389 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20390 * sysvipc/sys/ipc.h: Likewise.
20391 * sysvipc/sys/msg.h: Likewise.
20392 * sysvipc/sys/sem.h: Likewise.
20393 * sysvipc/sys/shm.h: Likewise.
20394 * termios/termios.h: Likewise.
20395 * time/sys/time.h: Likewise.
20396 * time/time.h: Likewise.
20397 * wcsmbs/bits/wchar2.h: Likewise.
20398 * wcsmbs/uchar.h: Likewise.
20399 * wcsmbs/wchar.h: Likewise.
20400 * wctype/wctype.h: Likewise.
20401
0269750c
UD
20402 [BZ #13551]
20403 * Makeconfig: Remove all but ELF support including AIX support.
20404 * Makerules: Likewise.
20405 * config.h.in: Likewise.
20406 * config.make.in: Likewise.
20407 * configure: Likewise.
20408 * configure.in: Likewise.
20409 * csu/Makefile: Likewise.
20410 * csu/version.c: Likewise.
20411 * debug/Makefile: Likewise.
20412 * dlfcn/Makefile: Likewise.
20413 * elf/Makefile: Likewise.
20414 * extra-lib.mk: Likewise.
20415 * iconv/Makefile: Likewise.
20416 * include/libc-symbols.h: Likewise.
20417 * include/shlib-compat.h: Likewise.
20418 * resolv/Makefile: Likewise.
20419 * resolv/res_libc.c: Likewise.
20420 * rt/Makefile: Likewise.
20421 * sysdeps/i386/asm-syntax.h: Likewise.
20422 * sysdeps/i386/sysdep.h: Likewise.
20423 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20424 * sysdeps/mach/sysdep.h: Likewise.
20425 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20426 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20427 * sysdeps/s390/asm-syntax.h: Likewise.
20428 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20429 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20430 * sysdeps/sh/sysdep.h: Likewise.
20431 * sysdeps/unix/sparc/sysdep.h: Likewise.
20432 * sysdeps/wordsize-32/divdi3.c: Likewise.
20433 * sysdeps/x86_64/sysdep.h: Likewise.
20434
00bbd29b
UD
20435 * argp/Versions: Remove _argp_unlock_xxx.
20436
20437 [BZ #13559]
20438 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20439 * abilist/libBrokenLocale.abilist: Likewise.
20440 * abilist/libanl.abilist: Likewise.
20441 * abilist/libc.abilist: Likewise.
20442 * abilist/libcrypt.abilist: Likewise.
20443 * abilist/libdl.abilist: Likewise.
20444 * abilist/libm.abilist: Likewise.
20445 * abilist/libnsl.abilist: Likewise.
20446 * abilist/libpthread.abilist: Likewise.
20447 * abilist/libresolv.abilist: Likewise.
20448 * abilist/librt.abilist: Likewise.
20449 * abilist/libthread_db.abilist: Likewise.
20450 * abilist/libutil.abilist: Likewise.
20451 * abilist/libnss_db.abilist: New file.
20452
20453 * scripts/abilist.awk: Add support for indirect functions.
20454
a2693a0e
UD
20455 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20456
3f05895f
UD
20457 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20458
ecb6fb48
UD
20459 * shlib-versions: Remove entries for ports architectures.
20460
664f8cb9
UD
20461 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20462 files in ports.
20463 * elf/stackguard-macros.h: Remove support for IA-64.
20464 * elf/tst-auditmod1.c: Likewise.
20465 * sysdeps/generic/ldsodefs.h: Likewise.
20466
7ae81d88
UD
20467 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20468 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20469 configure files.
20470
bdeba135
UD
20471 [BZ #13552]
20472 * configure.in: Remove --enable-omitfp support.
20473 * FAQ.in: Adjust.
20474 * config.make.in: Likewise.
20475 * Makeconfig: Likewise.
20476 * manual/install.texi: Likewise.
20477
d75a0a62
UD
20478 In case anyone cares, the IA-64 architecture could move to ports.
20479 * sysdeps/ia64/*: Removed.
20480 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20481 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20482
dcc9756b
UD
20483 [BZ #13555]
20484 * configure.in: Remove entries for unsupported architectures.
20485
d3761ebc 20486 [BZ #13533]
9954432e
UD
20487 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20488 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20489 routines.
20490 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20491 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20492 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20493 fall back to using wcrtomb.
20494 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20495 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20496 renaming.
20497 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20498 * wcsmbs/tst-c16c32-1.c: New file.
20499
20500 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20501 local variable.
20502
c3a87236
UD
20503 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20504
28926a1b
UD
20505 * elf/tst-unique3.cc: Add explicit declaration of gets.
20506 * elf/tst-unique3lib.cc: Likewise.
20507 * elf/tst-unique3lib2.cc: Likewise.
20508 * elf/tst-unique4.cc: Likewise.
20509
df78418a
UD
20510 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20511
8ecd6b2a
JM
205122012-01-06 Joseph Myers <joseph@codesourcery.com>
20513
20514 [BZ #13566]
20515 * assert/assert.h (static_assert): Don't define for C++.
20516 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20517 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20518
9f115170
UD
205192012-01-03 Ulrich Drepper <drepper@gmail.com>
20520
5e0d0300
UD
20521 * iconv/loop.c (single loop): Fix assertion in storing of
20522 remaining bytes.
20523
9f115170
UD
20524 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20525
81fb02b0
UD
205262012-01-01 Ulrich Drepper <drepper@gmail.com>
20527
20528 * posix/getconf.c: Update copyright year.
20529 * nss/getent.c: Likewise.
a316c1f6 20530 * nss/makedb.c: Likewise.
81fb02b0
UD
20531 * iconv/iconvconfig.c: Likewise.
20532 * iconv/iconv_prog.c: Likewise.
20533 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20534 * elf/pldd.c: Likewise.
20535 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20536 * catgets/gencat.c: Likewise.
20537 * csu/version.c: Likewise.
20538 * elf/ldd.bash.in: Likewise.
20539 * elf/sprof.c (print_version): Likewise.
20540 * locale/programs/locale.c: Likewise.
20541 * locale/programs/localedef.c: Likewise.
a316c1f6 20542 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20543 * nscd/nscd.c (print_version): Likewise.
20544 * debug/xtrace.sh: Likewise.
20545 * malloc/memusage.sh: Likewise.
20546 * malloc/mtrace.pl: Likewise.
20547 * debug/catchsegv.sh: Likewise.
20548
2ba92745
JJ
205492011-12-30 Jakub Jelinek <jakub@redhat.com>
20550
20551 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20552 pure attribute.
20553
dadebdae
UD
205542011-12-24 Ulrich Drepper <drepper@gmail.com>
20555
d3761ebc 20556 [BZ #13533]
db6af3eb
UD
20557 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20558 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20559 transformations.
20560 * iconv/gconv_int.h: Likewise.
20561 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20562 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20563 from libc for GLIBC_2.16.
20564 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20565 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20566 * wcsmbs/uchar.h: Really define mbstate_t.
20567 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20568 * wcsmbs/c16rtomb.c: New file.
20569 * wcsmbs/mbrtoc16.c: New file.
20570 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20571 for C/POSIX locale.
20572 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20573 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20574
dadebdae
UD
20575 * wcsmbs/wchar.h: Add missing __restrict.
20576
67371b56
UD
205772011-12-23 Ulrich Drepper <drepper@gmail.com>
20578
74033a25
UD
20579 [BZ #13532]
20580 * time/Makefile (routines): Add timespec_get.
20581 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20582 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20583 timespec for ISO C11.
20584 * time/timespec_get.c: New file.
20585 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20586 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20587
380d7e87
UD
20588 [BZ #13531]
20589 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20590 * stdlib/stdlib.h: Declare aligned_alloc.
20591 * Versions.def: Add GLIBC_2.16 for libc.
20592 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20593
4e9e7a35
UD
20594 [BZ 13527]
20595 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20596 ISO C11.
20597
380d7e87 20598 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20599 code.
20600
03a71829
UD
20601 [BZ #13528]
20602 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20603
839e283e
UD
20604 [BZ #13529]
20605 * assert/assert.h (static_assert): Define.
20606
ce5294e2 20607 * version.h: Update for 2.16 development version.
90fa7312 20608
8d44e150 20609 [BZ #13526]
d7809905
UD
20610 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20611 _ISOC11_SOURCE.
20612
c0da14cd
UD
20613 * version.h (RELEASE): Bump for 2.15 release.
20614 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20615
530a3249
MP
20616 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20617 Patch by Marek Polacek <mpolacek@redhat.com>.
20618
67371b56
UD
20619 * bits/byteswap.h: Protect long long constants with __extension__.
20620 * sysdeps/i386/bits/byteswap.h: Likewise.
20621 * sysdeps/ia64/bits/byteswap.h: Likewise.
20622 * sysdeps/s390/bits/byteswap.h: Likewise.
20623 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20624
15db4de1
LD
206252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20626
20627 [BZ #13540]
bbe315ea
LD
20628 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20629 destination buffer.
15db4de1
LD
20630 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20631
2b2596b1
MP
206322011-12-23 Marek Polacek <polacek@redhat.com>
20633
20634 * elf/dl-addr.c (determine_info): Add inline keyword.
20635 * elf/tst-auditmod4b.c (check_avx): Likewise.
20636 * elf/tst-auditmod6b.c (check_avx): Likewise.
20637 * elf/tst-auditmod6c.c (check_avx): Likewise.
20638 * elf/tst-auditmod7b.c (check_avx): Likewise.
20639
70c6c246
UD
206402011-12-23 Ulrich Drepper <drepper@gmail.com>
20641
20642 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20643 !__SSE_MATH__.
20644
c044cf14
LD
206452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20646
15db4de1 20647 [BZ #13540]
c044cf14
LD
20648 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20649 processing for last bytes.
20650
6b13d9d9
BH
206512011-08-06 Bruno Haible <bruno@clisp.org>
20652
d455f537
BH
20653 [BZ #13061]
20654 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20655 U+0385, not to U+1FEE.
20656
6b13d9d9
BH
20657 [BZ #13062]
20658 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20659 entry for U+00A5 U+0301.
20660
db910efd
UD
206612011-12-22 Ulrich Drepper <drepper@gmail.com>
20662
27deeafc
UD
20663 [BZ #13166]
20664 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20665 buffer for the output is too small.
20666
aed9d171
UD
20667 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20668 optimization.
20669
db910efd
UD
20670 [BZ #13185]
20671 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20672 SSE flags if possible.
20673
2bd779ae
LD
206742011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20675
e7f9dac3 20676 [BZ #13540]
2bd779ae
LD
20677 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20678 processing for last bytes.
20679
154bfc16
JM
206802011-12-22 Joseph Myers <joseph@codesourcery.com>
20681
20682 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20683 (syscall-list-default-options, syscall-list-default-condition)
20684 (syscall-list-includes): Define.
20685 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20686 list of ABIs and options and #if conditions for each ABI. Do not
20687 handle common syscalls between ABIs specially.
20688 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20689 Remove.
20690 (syscall-list-variants, syscall-list-32bit-options)
20691 (syscall-list-32bit-condition, syscall-list-64bit-options)
20692 (syscall-list-64bit-condition): Define.
20693 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20694 (syscall-list-variants, syscall-list-32bit-options)
20695 (syscall-list-32bit-condition, syscall-list-64bit-options)
20696 (syscall-list-64bit-condition): Define.
20697 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20698 Remove.
20699 (syscall-list-variants, syscall-list-32bit-options)
20700 (syscall-list-32bit-condition, syscall-list-64bit-options)
20701 (syscall-list-64bit-condition): Define.
20702 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20703 Remove.
20704 (syscall-list-variants, syscall-list-32bit-options)
20705 (syscall-list-32bit-condition, syscall-list-64bit-options)
20706 (syscall-list-64bit-condition): Define.
20707
21eaf3a5
UD
207082011-12-22 Ulrich Drepper <drepper@gmail.com>
20709
16c6f992
UD
20710 * locale/iso-639.def: Add brx entry.
20711
41043168
UD
20712 [BZ #13328]
20713 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20714 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20715
21eaf3a5
UD
20716 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20717 __feraiseexcept_renamed.
20718
e3a851a2
UD
207192011-12-21 Ulrich Drepper <drepper@gmail.com>
20720
4920765e
UD
20721 [BZ #13538]
20722 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20723 EPOLLET with unsigned values.
20724 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20725 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20726
e3a851a2
UD
20727 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20728 to large cancellation.
20729 * math/s_cacoshf.c: Likewise.
20730 * math/s_cacoshl.c: Likewise.
20731
b27e24b8
RK
207322011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20733
20734 [BZ #13305]
aebefeee 20735 [BZ #12786]
b27e24b8
RK
20736 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20737 * math/s_cacoshf.c: Likewise.
20738 * math/s_cacoshl.c: Likewise.
20739
ee190f67
UD
207402011-12-21 Ulrich Drepper <drepper@gmail.com>
20741
20742 [BZ #13439]
20743 * iconv/gconv.h: Define __GCONV_SWAP.
20744 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20745 * iconvdata/utf-16.c: Likewise.
20746 * iconvdata/utf-32.c: Likewise.
20747
707f25df
AS
207482011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20749
20750 [BZ #13524]
20751 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20752 numerator after shifting it by one limb.
20753
d2daaa1e
RÁE
207542011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20755
20756 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20757 under [__USE_EXTERN_INLINES].
20758
a4647e72
UD
207592011-12-17 Ulrich Drepper <drepper@gmail.com>
20760
20761 [BZ #13446]
20762 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20763
f0b264f1
AZ
207642011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20765
20766 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20767 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20768 optimized code.
20769 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20770 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20771 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20772 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20773 for strncasecmp/strncasecmp_l compilation.
20774 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20775 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20776
8ef4f244
MP
207772011-12-08 Marek Polacek <mpolacek@redhat.com>
20778
20779 [BZ #13484]
20780 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20781 of __asm__.
20782
97ac2654
UD
207832011-12-17 Ulrich Drepper <drepper@gmail.com>
20784
20785 [BZ #13506]
20786 * time/tzfile.c (__tzfile_read): Check values from file header.
20787
91d2a845
WS
207882011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20789
20790 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20791 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20792 * powerpc/powerpc32/dl-start.S: Likewise.
20793 * powerpc/powerpc32/elf/start.S: Likewise.
20794 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20795 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20796 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20797 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20798 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20799 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20800 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20801 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20802 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20803 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20804 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20805 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20806 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20807 * powerpc/powerpc32/memset.S: Likewise.
20808 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20809 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20810 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20811 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20812 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20813 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20814 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20815 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20816 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20817 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20818 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20819 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20820 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20821
a1267ba1
AZ
208222011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20823
20824 * math/libm-test.inc: Added more nearbyint tests.
20825 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20826 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20827 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20828 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20829
ad8ac1bd
RL
208302011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20831
20832 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20833 FD_CLOEXEC.
20834
1d3e4b61
UD
208352011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20836
20837 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20838 Add wcscpy-ssse3 wcscpy-c.
20839 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20840 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20841 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20842 * sysdeps/x86_64/wcschr.S: New file.
20843 * sysdeps/x86_64/wcsrchr.S: New file.
20844 * string/test-strcmp.c: Remove checking of wcscmp function for
20845 wrong alignments.
20846 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20847 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20848 wcsrchr-sse2 wcsrchr-c.
20849 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20850 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20851 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20852 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20853 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20854 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20855 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20856 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20857 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20858 * wcsmbc/wcschr.c (WCSCHR): New macro.
20859
5b330a2d
UD
208602011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20861
20862 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20863 * wcsmbs/test-wcsrchr.c: New file.
20864 * string/test-strrchr.c: Add wcsrchr support.
20865 (WIDE): New macro.
20866 * wcsmbs/test-wcscpy.c: New file.
20867 * string/test-strcpy.c: Add wcscpy support.
20868 (WIDE): New macro.
26428b7c 20869
f039c043
UD
208702011-12-10 Ulrich Drepper <drepper@gmail.com>
20871
20872 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20873 the inner loop.
20874
850fb039
AS
208752011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20876
20877 [BZ #13472]
20878 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20879
4efbd5cb
UD
208802011-12-04 Ulrich Drepper <drepper@gmail.com>
20881
52ff5dd0 20882 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 20883 Minor optimizations.
52ff5dd0 20884
4efbd5cb
UD
20885 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20886 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20887 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20888
8a426e12
UD
208892011-12-03 Ulrich Drepper <drepper@gmail.com>
20890
aff2453d
UD
20891 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20892 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20893 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20894 for gcc to avoid warnings.
20895 * inet/Makefile (tests): Add tst-checks.
20896 * inet/tst-checks.c: New file.
20897
20898 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20899 warning.
20900
20901 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20902 __wmemcmp_sse2.
20903
20904 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20905 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20906
8a426e12
UD
20907 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20908
9bea3473
UD
209092011-12-02 Ulrich Drepper <drepper@gmail.com>
20910
3a965496
UD
20911 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20912 problem.
20913
9bea3473
UD
20914 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20915
f101631b
UD
209162011-11-29 Joseph Myers <joseph@codesourcery.com>
20917
20918 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20919 conditional on GCC version.
20920 (__arch_compare_and_exchange_val_8_acq)
20921 (__arch_compare_and_exchange_val_16_acq)
20922 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20923 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20924 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20925
a98275aa
UD
209262011-12-02 Joseph Myers <joseph@codesourcery.com>
20927
20928 * sysdeps/sh/backtrace.c: New file.
20929
d4cc29a2
AS
209302011-12-02 Andreas Schwab <schwab@redhat.com>
20931
20932 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20933 parenthesis.
20934
6257af2d
AS
209352011-12-01 Andreas Schwab <schwab@redhat.com>
20936
20937 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20938 falling back to utime.
20939
b5f44c1a
AS
209402011-11-30 Andreas Schwab <schwab@redhat.com>
20941
20942 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20943 expectations for float.
20944
f3a6cc0a
AS
209452011-11-29 Andreas Schwab <schwab@redhat.com>
20946
20947 * locale/weight.h (findidx): Add parameter len.
20948 * locale/weightwc.h (findidx): Likewise.
20949 * posix/fnmatch_loop.c (FCT): Adjust caller.
20950 * posix/regcomp.c (build_equiv_class): Likewise.
20951 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20952 * posix/regexec.c (check_node_accept_bytes): Likewise.
20953 * string/strcoll_l.c (STRCOLL): Likewise.
20954 * string/strxfrm_l.c (STRXFRM): Likewise.
20955
9d65ea3a
UD
209562011-11-17 Ulrich Drepper <drepper@gmail.com>
20957
20958 * Makefile.in: Remove CVSOPT handling.
20959 * configure.in: Remove use of AC_REVISION.
20960 * iconvdata/Makefile (distribute): No need to filter out CVS.
20961 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20962 handling.
20963
5583a086
AS
209642011-11-16 Andreas Schwab <schwab@redhat.com>
20965
20966 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20967 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20968 [USE_AS_STRNCASECMP_L]: Likewise.
20969 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20970 NO_TLS_DIRECT_SEG_REFS.
20971 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20972 Fix argument offsets for non-PIC.
20973 [USE_AS_STRNCASECMP_L]: Likewise.
20974 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20975 NO_TLS_DIRECT_SEG_REFS.
20976
d62a8200
UD
209772011-11-15 Ulrich Drepper <drepper@gmail.com>
20978
9d65ea3a 20979 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
20980 O_CLOEXEC.
20981 * locale/loadlocale.c (_nl_load_locale): Likewise.
20982
09f93bd3
AS
209832011-11-15 Andreas Schwab <schwab@redhat.com>
20984
446514f9
AS
20985 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20986 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20987 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20988 (SYSCALL_GETTIME): Set errno on error.
20989
09f93bd3
AS
20990 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20991 count references to noai6ai_cached.
20992
312be3f9
UD
209932011-11-15 Ulrich Drepper <drepper@gmail.com>
20994
20995 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20996
20997 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20998 FD_CLOEXEC for /proc/self/maps.
20999
21000 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21001 FD_CLOEXEC for /proc/meminfo.
21002
21003 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21004 gai.conf.
21005
21006 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21007 FD_CLOEXEC for given file.
21008
21009 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21010
21011 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21012 FD_CLOEXEC for /etc/hosts.
21013 (_gethtent): Likewise.
21014
21015 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21016
21017 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21018 cancellation and set FD_CLOEXEC for /etc/netgroup.
21019
21020 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21021 reading /etc/publickey.
21022
21023 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21024 allow cancellation when reading /etc/group.
21025
21026 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21027 cancellation.
21028 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21029
21030 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21031 when using data file.
21032
21033 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21034
21035 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21036 (write_nis_obj): Use "c" and "e" in fopen.
21037
21038 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21039
21040 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21041
21042 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21043
21044 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21045
21046 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21047 locale.alias.
21048
21049 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21050
21051 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21052
21053 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21054
21055 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21056 file parsing and set FD_CLOEXEC.
21057
82af0fa8
UD
210582011-11-14 Ulrich Drepper <drepper@gmail.com>
21059
21060 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21061
a5fb313c
AS
210622011-11-14 Andreas Schwab <schwab@redhat.com>
21063
21064 * malloc/arena.c (arena_get2): Don't call reused_arena when
21065 _int_new_arena failed.
21066
6abf3465
UD
210672011-11-14 Ulrich Drepper <drepper@gmail.com>
21068
21069 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21070 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21071 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21072 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21073 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21074 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21075 to compile strcasecmp and strncasecmp.
21076 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21077 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21078
21079 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21080
76e3966e
UD
210812011-11-13 Ulrich Drepper <drepper@gmail.com>
21082
21083 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21084 locale-defines.sym to gen-as-const-headers.
21085 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21086 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21087 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21088 to compile strcasecmp and strncasecmp.
21089 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21090 strcasecmp_l and strncasecmp_l.
21091 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21092 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21093 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21094 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21095 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21096 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21097 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21098 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21099 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21100 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21101 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21102
ab26144e
UD
211032011-11-12 Ulrich Drepper <drepper@gmail.com>
21104
7edb22ef
UD
21105 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21106 result of SYSDEP_GETTIME_CPU to retval.
21107 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21108 parameter list to macro. Remove trailing semicolon. Adjust users.
21109
9694fc44
UD
21110 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21111 variable.
21112
8ad89ef8
UD
21113 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21114 mantissa words.
21115 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21116
0c822ef9
UD
21117 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21118 from unused variable.
21119
874e0564
UD
21120 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21121 DWARF definitions.
21122 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21123 for assembling.
21124
3a2edc79
UD
21125 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21126 over namespaces.
21127
f3c2577f
UD
21128 * sunrpc/rpc_prot.c (rejected): Fix case value.
21129
294ce126
UD
21130 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21131 unsigned long long int to avoid warnings in shift.
21132
5e2b63c6
UD
21133 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21134 of use of trans.
21135 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21136 variable tmp.
21137
e7f4b08e
UD
21138 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21139 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21140 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21141
ab26144e
UD
21142 * nis/nis_table.c (nis_list): Use variable of correct type for
21143 result of __follow_path call.
21144
8a6d5255
AZ
211452011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21146
21147 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21148 of math functions ceil, trunc, floor, round, and sqrt, when
21149 avaliable on the platform.
21150 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21151 name clash.
21152 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21153 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21154 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21155
aaddc98c
MP
211562011-10-30 Marek Polacek <mpolacek@redhat.com>
21157
21158 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21159 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21160
95b7042b
RM
211612011-11-11 Roland McGrath <roland@hack.frob.com>
21162
21163 * include/unistd.h: Fix __readlink return type.
21164 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21165
57769839
UD
211662011-11-11 Ulrich Drepper <drepper@gmail.com>
21167
21168 * stdlib/ucontext.h: Undo last change for makecontext.
21169
edc5984d
AS
211702011-11-11 Andreas Schwab <schwab@redhat.com>
21171
98591e58
AS
21172 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21173
edc5984d
AS
21174 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21175 * setjmp/setjmp.h: Mark functions as non-leaf.
21176 * setjmp/bits/setjmp2.h: Likewise.
21177 * stdlib/ucontext.h: Likewise.
21178
77cdc054
AS
211792011-11-10 Andreas Schwab <schwab@redhat.com>
21180
21181 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21182 (reused_arena): Don't check arena limit.
21183 (arena_get2): Atomically check arena limit.
21184
fe72eebd
UD
211852011-11-08 Ulrich Drepper <drepper@gmail.com>
21186
5f078c32
UD
21187 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21188 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21189
fe72eebd
UD
21190 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21191 instructions.
21192
ae1bc2fa
AS
211932011-11-07 Andreas Schwab <schwab@redhat.com>
21194
7583a88d
AS
21195 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21196 handler when locking.
21197
ae1bc2fa
AS
21198 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21199 Fix size of allocated buffer.
21200
10fb0bfa
AS
212012011-11-04 Andreas Schwab <schwab@redhat.com>
21202
998832a4
AS
21203 [BZ #10103]
21204 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21205 declarations for long double functions.
21206 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21207
10fb0bfa
AS
21208 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21209
3d7ba52b
AS
212102011-11-03 Andreas Schwab <schwab@redhat.com>
21211
a9ae54a1
AS
21212 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21213 installed.
21214
3d7ba52b
AS
21215 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21216 is disabled.
21217
bc8db248
ST
212182011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21219
21220 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21221
45b96dd6
AS
212222011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21223
647776f6
AS
21224 * include/alloca.h (stackinfo_alloca_round): Define.
21225 (extend_alloca): Use it.
21226 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21227 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21228 here.
21229
d91a8b93
AS
21230 * scripts/check-local-headers.sh: Ignore libaudit.h.
21231
45b96dd6
AS
21232 * nscd/Makefile (extra-objs): Make recursively expanded.
21233
432d41ce
UD
212342011-11-01 Ulrich Drepper <drepper@gmail.com>
21235
34372fc6
UD
21236 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21237 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21238
fadb59f8
UD
21239 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21240 * posix/tst-rfc3484-2.c: Likewise.
21241 * posix/tst-rfc3484-3.c: Likewise.
21242
78239589
UD
21243 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21244 process_vm_writev.
21245 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21246 process_vm_writev.
21247 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21248 process_vm_writev from libc using GLIBC_2.15 version.
21249
432d41ce
UD
21250 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21251
02f9c6cf
PP
212522011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21253
21254 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21255 stack usage.
21256
3a2c0242
UD
212572011-10-31 Ulrich Drepper <drepper@gmail.com>
21258
f4ec4833
UD
21259 [BZ #13367]
21260 * nss/getent.c (initgroups_keys): Show error message in case no group
21261 names are given.
21262
3a2c0242
UD
21263 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21264 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21265 __bump_nl_timestamp.
21266 * nscd/connections (nscd_init): When host database is served open
21267 netlink socket and request notification about configuration changes.
21268 (main_loop_poll): Track netlink file descriptor and bump timestamp
21269 in case data becomes available.
21270 (main_loop_epoll): Likewise.
21271 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21272 (database_pers_head): Add extra_data fileds.
21273 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21274 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21275 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21276 Adjust caller.
21277 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21278 in6ai data, call __free_in6ai.
21279 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21280 Add -DHAVE_NETLINK.
21281 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21282 interface information. Reuse previous data if netlink timestamp
21283 is not changed.
21284 (__bump_nl_timestamp): New function.
21285 (__free_in6ai): New function.
21286
636064eb
UD
212872011-10-30 Ulrich Drepper <drepper@gmail.com>
21288
21289 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21290 close_not_cancel_no_status here.
21291 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21292
9beb2334
UD
212932011-10-29 Ulrich Drepper <drepper@gmail.com>
21294
6ef76f3b
UD
21295 [BZ #13276]
21296 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21297 return value.
21298
0ffc4f3e 21299 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21300 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21301 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21302
cb95113e
UD
213032011-07-03 Andreas Jaeger <aj@suse.de>
21304
21305 [BZ #10709]
21306 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21307 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21308 * math/libm-test.inc (sin_test): Add test case.
21309
a1b560ff
UD
213102011-10-29 Ulrich Drepper <drepper@gmail.com>
21311
c9aaface
UD
21312 [BZ #13337]
21313 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21314 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21315
d272e7f1
UD
21316 * elf/chroot_canon.c (chroot_canon): Cleanups.
21317
1bc33071
UD
21318 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21319
1760874d
TJ
21320 [BZ #13335]
21321 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21322 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21323
51d91b18
UD
21324 * string/test-strchr.c: Make usable for strchrnul testing.
21325 * string/test-strchrnul.c: New file.
21326 * string/Makefile (strop-tests): Add strchrnul.
21327
a1b560ff 21328 * po/it.po: Update from translation team.
b611fb81 21329 * po/es.po: Likewise.
a1b560ff 21330
a5b81e1f
UD
213312011-10-28 Ulrich Drepper <drepper@gmail.com>
21332
fd52bc6d
UD
21333 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21334 the three constants needed as parameters. Drop the others.
21335 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21336 __m128i_strloadu_tolower.
52e4b9eb
UD
21337 Create and initialize variable zero and use it in all the places
21338 where _mm_setzero_si128 was used.
fd52bc6d 21339
a5b81e1f
UD
21340 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21341 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21342 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21343 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21344 anymore.
21345 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21346 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21347 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21348 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21349 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21350 __mpranred, __mptan.
21351 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21352 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21353 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21354 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21355 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21356 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21357 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21358 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21359 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21360
b4343346
AS
213612011-10-28 Andreas Schwab <schwab@redhat.com>
21362
0c92d8a8
AS
21363 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21364 redefine if SHARED.
21365 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21366
b4343346
AS
21367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21368 wide char related routines to wcsmbs subdir.
21369
3871f58f
AS
213702011-10-27 Andreas Schwab <schwab@redhat.com>
21371
21372 [BZ #13344]
21373 * misc/sys/cdefs.h (__THROWNL): Define.
21374 * posix/unistd.h: Use __THREADNL instead of __THREAD
21375 for memory synchronization functions.
21376
94d44d9f
RM
213772011-10-26 Roland McGrath <roland@hack.frob.com>
21378
21b64b15 21379 [BZ #13349]
94d44d9f
RM
21380 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21381 doesn't exist.
21382 * manual/stdio.texi (Obstack Streams): Node removed.
21383
f6ce9294
AS
213842011-10-26 Andreas Schwab <schwab@redhat.com>
21385
80479147
AS
21386 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21387 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21388 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21389
f6ce9294
AS
21390 * math/math_private.h (math_force_eval): Allow non-addressable
21391 arguments.
21392 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21393
618280a1
UD
213942011-10-25 Ulrich Drepper <drepper@gmail.com>
21395
e0016b11
UD
21396 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21397 file is not needed.
21398
21399 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21400 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21401 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21402 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21403 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21404 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21405 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21406 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21407 Add AVX variants.
21408 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21409 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21410 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21411 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21412 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21413 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21414 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21415 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21416 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21417 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21418 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21419 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21420 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21421 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21422 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21423 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21424 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21425 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21426 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21427
21428 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21429 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21430
618280a1
UD
21431 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21432 place. Use VEX encoding when compiling for AVX.
21433
37822576
AS
214342011-10-25 Andreas Schwab <schwab@redhat.com>
21435
1f1e1947
AS
21436 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21437 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21438
37822576
AS
21439 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21440
31ea014d
UD
214412011-10-25 Ulrich Drepper <drepper@gmail.com>
21442
d7826aa1 21443 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21444 useless if() expression.
d7826aa1
UD
21445 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21446 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21447 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21448 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21449 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21450 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21451 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21452 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21453 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21454 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21455 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21456 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21457 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21458 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21459 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21460 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21461 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21462 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21463 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21464
31ea014d
UD
21465 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21466
16437fec
AS
214672011-10-25 Andreas Schwab <schwab@redhat.com>
21468
21469 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21470 condition.
21471 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21472
31d3cc00
UD
214732011-10-25 Ulrich Drepper <drepper@gmail.com>
21474
21475 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21476 .text section. Avoid duplicate constants.
21477 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21478 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21479 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21481 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21482 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21484 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21485 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21486 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21487 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21488 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21489 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21490 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21491 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21492 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21493 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21494 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21495 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21497 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21498 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21499 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21500 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21501 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21502 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21503 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21504 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21505 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21506 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21507 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21508 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21509 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21510 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21511 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21512 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21513 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21514 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21515 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21516 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21517 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21518 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21519 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21520 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21521 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21522
58985aa9
UD
215232011-10-24 Ulrich Drepper <drepper@gmail.com>
21524
202c9deb
UD
21525 * sysdeps/x86_64/dla.h: Move to ...
21526 * sysdeps/x86_64/fpu/dla.h: ...here.
21527 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21528 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21529
af968f62
UD
21530 * config.make.in: Add have-mfma4 entry.
21531 * configure.in: Substitute libc_cv_cc_fma4.
21532 * math/Makefile (dbl-only-routines): Add sincostab.
21533 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21534 Use __sincostab not sincos.
21535 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21536 name is a macro.
21537 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21538 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21539 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21540 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21541 using __copysign.
21542 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21543 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21544 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21545 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21546 and __inv.
21547 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21548 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21549 __copysign.
21550 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21551 define aliases when function name is a macro.
21552 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21553 sysdeps/ieee754/dbl-64/sincos.tbl.
21554 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21555 fma4-enabled routines.
21556 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21557 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21558 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21559 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21560 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21561 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21562 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21563 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21564 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21565 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21566 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21567 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21568 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21569 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21570 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21571 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21572 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21573 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21574 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21575 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21576 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21577 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21578 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21579 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21580 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21581 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21582 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21583 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21584 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21585 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21586
58985aa9
UD
21587 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21588 rename.
21589 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21591 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21592 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21593 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21594 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21595 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21596 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21597
a201fbcf
AS
215982011-10-24 Andreas Schwab <schwab@redhat.com>
21599
21600 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21601
fc2ee42a
LD
216022011-10-23 Ulrich Drepper <drepper@gmail.com>
21603
bb3129bd
UD
21604 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21605
0275fff8
UD
21606 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21607 prediction.
21608 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21609
2fa2ae85
UD
21610 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21611 Remove unused variable magic_bits.
21612 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21613
fc2ee42a
LD
21614 * string/strnlen.c: Define and use STRNLEN macro.
21615 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21616 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21617 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21618 * wcsmbs/wcslen.c: Define and use WCSLEN.
21619 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21620 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21621 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21622 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21623 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21624 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21625 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21626
ce7dd29f
LD
216272011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21628
21629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21630 strnlen-sse2-no-bsf.
21631 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21632 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21633 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21634 Add strnlen support.
21635 (USE_AS_STRNLEN): New macro.
21636 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21637 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21638 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21639 * sysdeps/x86_64/wcslen.S: New file.
21640
979c70a3
MZ
216412011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21642
21643 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21644 XMM-moves are used for copying on small sizes.
21645
2d09f82f
LD
216462011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21647
21648 * wcsmbs/Makefile (strop-tests): Add wcschr.
21649 * wcsmbs/test-wcschr.c: New file.
21650 * string/test-strchr.c: Update.
21651 Add wcschr support.
21652 (WIDE): New macro.
21653
619fccca
LD
216542011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21655
2d09f82f 21656 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21657 * wcsmbs/test-wcslen.c: New file.
21658 * string/test-strlen.c: Update.
21659 Add wcslen support.
21660 (WIDE): New macro.
21661
09f699ea
UD
216622011-10-23 Ulrich Drepper <drepper@gmail.com>
21663
21664 * po/it.po: Update from translation team.
21665
95584d3b
LD
216662011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21667
21668 * sysdeps/x86_64/wcscmp.S: Update.
21669 Fix wrong comparison semantics.
21670 wcscmp shall use signed comparison not unsigned.
21671 Don't use substraction to avoid overflow bug.
21672 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21673 * wcsmbc/wcscmp.c: Likewise.
21674 * string/test-strcmp.c: Likewise.
21675 Add new tests to check cases with negative values.
21676
c8b3296b
UD
216772011-10-23 Ulrich Drepper <drepper@gmail.com>
21678
21679 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21680 * sysdeps/x86_64/dla.h: ...here. New file.
21681 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21682 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21683 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21684 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21685 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21686 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21687 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21688 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21689 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21690
246ad57a
AS
216912011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21692
21693 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21694 __ynl_finite aliases.
21695
a1a87169
UD
216962011-10-22 Ulrich Drepper <drepper@gmail.com>
21697
0d355eb7
UD
21698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21699
a1a87169
UD
21700 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21701 define DLA_FMA.
21702 [DLA_FMA] (EMULV): Use DLA_FMA.
21703 [DLA_FMA] (MUL12): Use EMULV.
21704 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21705 that are not needed.
21706 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21707 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21708 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21709 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21710 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21711 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21712 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21713
ee2aafe0
AS
217142011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21715
21716 * math/s_nan.c: Undef __nan.
21717 * math/s_nanf.c: Undef __nanf.
21718 * math/s_nanl.c: Undef __nanl.
21719 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21720 "math_private.h".
21721
bc62c2fb
UD
217222011-10-22 Ulrich Drepper <drepper@gmail.com>
21723
77425c63
UD
21724 * math/s_catan.c: Add branch predictions.
21725 * math/s_catanf.c: Likewise.
21726 * math/s_catanh.c: Likewise.
21727 * math/s_catanhf.c: Likewise.
21728 * math/s_catanhl.c: Likewise.
21729 * math/s_catanl.c: Likewise.
21730 * math/s_cexp.c: Likewise.
21731 * math/s_cexpf.c: Likewise.
21732 * math/s_cexpl.c: Likewise.
21733 * math/s_clog.c: Likewise.
21734 * math/s_clog10.c: Likewise.
21735 * math/s_clog10f.c: Likewise.
21736 * math/s_clog10l.c: Likewise.
21737 * math/s_clogf.c: Likewise.
21738 * math/s_clogl.c: Likewise.
21739 * math/s_csqrt.c: Likewise.
21740 * math/s_csqrtf.c: Likewise.
21741 * math/s_csqrtl.c: Likewise.
21742 * math/s_ctanf.c: Likewise.
21743 * math/s_ctanh.c: Likewise.
21744 * math/s_ctanhf.c: Likewise.
21745 * math/s_ctanhl.c: Likewise.
21746 * math/s_ctanl.c: Likewise.
21747
bc62c2fb
UD
21748 * math/math_private.h: Define __nan, __nanf, __nanl.
21749 * math/s_cacosh.c: Include <math_private.h>.
21750 * math/s_cacoshl.c: Likewise.
21751 * math/s_casinh.c: Likewise.
21752 * math/s_casinhf.c: Likewise.
21753 * math/s_casinhl.c: Likewise.
21754 * math/s_ccos.c: Rely entire on ccosh.
21755 * math/s_ccosf.c: Rely entire on ccoshf.
21756 * math/s_ccosl.c: Rely entirely on ccoshl.
21757 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21758 Remove tests for FE_INVALID.
21759 * math/s_ccoshf.c: Likewise.
21760 * math/s_ccoshl.c: Likewise.
21761 * math/s_csin.c: Likewise.
21762 * math/s_csinf.c: Likewise.
21763 * math/s_csinh.c Likewise.
21764 * math/s_csinhf.c: Likewise.
21765 * math/s_csinhl.c: Likewise.
21766 * math/s_csinl.c: Likewise.
21767 * math/s_ctan.c: Likewise.
21768 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21769 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21770 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21771
8ec250a4
UD
217722011-10-21 Ulrich Drepper <drepper@gmail.com>
21773
c196fed8
UD
21774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21775 compilation problems.
21776
8ec250a4
UD
21777 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21778 __builtin_expect.
21779
8d4f46c6
UD
217802011-10-20 Ulrich Drepper <drepper@gmail.com>
21781
ed72b654
UD
21782 * sysdeps/i386/configure.in: Test for -mfma4 option.
21783 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21784 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21785 COMMON_CPUID_INDEX_80000001.
21786 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21787 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21788 use it if FMA3 is not supported.
21789 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21790
8d4f46c6
UD
21791 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21792 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21793
d45c60c2
AS
217942011-10-20 Andreas Schwab <schwab@redhat.com>
21795
21796 [BZ #12892]
21797 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21798 it would create a cycle with a link time dependency.
21799
d9a4d2ab
UD
218002011-10-19 Ulrich Drepper <drepper@gmail.com>
21801
855d1560
UD
21802 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21803 instruction.
21804 * string/Makefile (strop-tests): Add rawmemchr.
21805 * string/test-rawmemchr.c: New file.
21806
d9a4d2ab
UD
21807 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21808 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21809 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21810 when compiling str{,n}casecmp and when AVX is available. Hook up
21811 new optimized code in initializers.
21812
8f3b1ffe
AS
218132011-10-19 Andreas Schwab <schwab@redhat.com>
21814
21815 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21816 __feraiseexcept instead of feraiseexcept.
21817
d38f1dba
UD
218182011-10-18 Ulrich Drepper <drepper@gmail.com>
21819
d9a8d0ab
UD
21820 * math/math_private.h: Define defaults for libc_fetestexcept and
21821 libc_feupdateenv.
21822 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21823 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21824 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21825 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21826 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21827 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21828 libc_fetestexcept and libc_feupdateenv.
21829
4855e3dd
UD
21830 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21831 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21832 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21833 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21834 libc_feholdexcept_setround.
21835
581d30e3
UD
21836 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21837 Add s_nearbyint-c and s_nearbyintf-c.
21838 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21839 nearbyintf inlines.
21840 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21841 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21842 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21843 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21844
d38f1dba
UD
21845 * math/math_private.h: Define defaults for libc_fegetround,
21846 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21847 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21848 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21849 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21850 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21851 standard functions.
21852 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21853 Remove comments and hacks for old compiler versions.
21854 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21855 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21856 libc_feholdexceptl.
21857
caa6c9d8
AS
218582011-10-18 Andreas Schwab <schwab@redhat.com>
21859
21860 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
21861 (__feraiseexcept_renamed): Add __NTH.
21862 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
21863 namespace violations.
21864
97c066e6
UD
218652011-10-17 Ulrich Drepper <drepper@gmail.com>
21866
99ce7b04
UD
21867 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21868
1004d182
UD
21869 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21870
228a984d
UD
21871 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21872 recently added interfaces.
21873 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21874
c8553a6a
UD
21875 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21876 about macro parameter expansion.
21877
ed22dcf6
UD
21878 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21879 __NO_MATH_INLINES is defined. Cleanups.
21880
21881 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21882 and __floorf is target has SSE4.1.
21883 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21884 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21885 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21886 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21887
b171c137
UD
21888 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21889 name.
21890 (floorf): Likewise.
21891
97c066e6
UD
21892 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21893
629f62ef
AS
218942011-10-17 Andreas Schwab <schwab@redhat.com>
21895
49a43d80
AS
21896 * misc/sys/cdefs.h: Fix last change.
21897
629f62ef
AS
21898 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21899 database lookup.
21900
e453f6cd
UD
219012011-10-16 Ulrich Drepper <drepper@gmail.com>
21902
aa78043a
UD
21903 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21904
ad0f5cad
UD
21905 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21906 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21907 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21908 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21909 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21910 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21911 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21912 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21913 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21914 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21915 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21916 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21917 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21918 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21919 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21920 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21921 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21922 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21923 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21924 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21925 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21926 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21927
21928 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21929 ceil, ceilf, floor, floorf.
21930
21931 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21932 Perform IRELATIVE relocations last.
21933
e453f6cd
UD
21934 * elf/do-rel.h: Add another parameter nrelative, replacing the
21935 local variable with the same name. Change name of the function
21936 to end in Rel or Rela (uppercase).
21937 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21938 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21939 elf_dynamic_do_##reloc function.
21940
fd5bdc09
UD
219412011-10-15 Ulrich Drepper <drepper@gmail.com>
21942
79b195b5
UD
21943 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21944 is sufficient, at least on modern CPUs.
21945
d4a28569
UD
21946 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21947
b61099b5
UD
21948 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21949 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21950
bcf01e6d
UD
21951 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21952 __expl_finite.
21953 * math/bits/math-finite.h: Add entries for exp.
21954 * math/e_expl.c: Add __*_finite alias.
21955 * sysdeps/i386/fpu/e_exp.S: Likewise.
21956 * sysdeps/i386/fpu/e_expf.S: Likewise.
21957 * sysdeps/i386/fpu/e_expl.c: Likewise.
21958 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21959 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21960 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21961 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21962 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21963 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21964 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21965
ba1a0d59
UD
21966 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21967 is sufficient, at least on modern CPUs.
21968
fd5bdc09
UD
21969 * ctype/ctype-info.c (__ctype_init): Define.
21970 * include/ctype.h (__ctype_init): Declare.
21971 (__ctype_b_loc): The variable is always initialized.
21972 (__ctype_toupper_loc): Likewise.
21973 (__ctype_tolower_loc): Likewise.
21974 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21975 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21976
7872cfb0
AS
219772011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21978
b468825a
AS
21979 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21980
7872cfb0
AS
21981 * configure.in: Also look in $cxxmachine/include for C++ system
21982 headers.
21983
be13f7bf
LD
219842011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21985
21986 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21987 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21988 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21989 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21990 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21991 (USE_AS_WMEMCMP): New macro.
21992 Fixing indents.
21993 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21994 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21995 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21996 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21997 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21998 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21999 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22000 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22001 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22002 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22003 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22004 (USE_AS_WMEMCMP): New macro.
22005 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22006 * sysdeps/string/test-memcmp.c: Update.
22007 Fix simple_wmemcmp.
22008 Add new tests.
22009 * wcsmbs/wmemcmp.c: Update.
22010 (WMEMCMP): New macro.
22011 Fix overflow bug.
22012
556a2007
AJ
220132011-10-12 Andreas Jaeger <aj@suse.de>
22014
22015 [BZ #13268]
22016 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22017
538faaa7
UD
220182011-10-15 Ulrich Drepper <drepper@gmail.com>
22019
ab6737ff
UD
22020 * libio/iofwide.c (do_length): Avoid warning.
22021
538faaa7
UD
22022 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22023
396a21b1
UD
220242011-10-14 Ulrich Drepper <drepper@gmail.com>
22025
cdf2901f
UD
22026 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22027
38ad40ce
UD
22028 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22029 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22030 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22031 * sysdeps/i386/i686/fpu/e_log.S: New file.
22032 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22033 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22034
396a21b1
UD
22035 * ctype/ctype.h: Add support for inlined isXXX functions when
22036 compiling C++ code.
22037
6b1f68c9
AS
220382011-10-14 Andreas Schwab <schwab@redhat.com>
22039
349290c0
AS
22040 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22041
6b1f68c9
AS
22042 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22043
f2282d42
RM
220442011-10-13 Roland McGrath <roland@hack.frob.com>
22045
22046 [BZ #13291]
22047 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22048
5298ffa8
AS
220492011-10-13 Andreas Schwab <schwab@redhat.com>
22050
714fad23
AS
22051 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22052 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22053 feraiseexcept.
22054
81dcc7fb
AS
22055 * sysdeps/x86_64/memrchr.S: Check for zero size.
22056
5298ffa8
AS
22057 * string/stratcliff.c: Add memrchr tests.
22058
951fbcec
LD
220592011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22060
22061 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22062 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22063 rawmemchr-sse2 rawmemchr-sse2-bsf.
22064 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22065 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22066 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22067 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22068 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22069 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22070 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22071 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22072 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22073 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22074 * string/memrchr.c (MEMRCHR): New macro.
22075
0ac5ae23
UD
220762011-10-12 Ulrich Drepper <drepper@gmail.com>
22077
22078 Add integration with gcc's -ffinite-math-only and optimize wrapper
22079 functions in libm.
22080 * Versions.def: Define GLIBC_2.15 version for libm.
22081 * math/Makefile (headers): Add bits/math-finite.h.
22082 * math/bits/math-finite.h: New file.
22083 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22084 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22085 * math/e_acoshl.c: Add __*_finite alias.
22086 * math/e_acosl.c: Likewise.
22087 * math/e_asinl.c: Likewise.
22088 * math/e_atan2l.c: Likewise.
22089 * math/e_atanhl.c: Likewise.
22090 * math/e_coshl.c: Likewise.
22091 * math/e_exp10.c: Likewise.
22092 * math/e_exp10f.c: Likewise.
22093 * math/e_exp10l.c: Likewise.
22094 * math/e_exp2l.c: Likewise.
22095 * math/e_fmodl.c: Likewise.
22096 * math/e_gammal_r.c: Likewise.
22097 * math/e_hypotl.c: Likewise.
22098 * math/e_j0l.c: Likewise.
22099 * math/e_j1l.c: Likewise.
22100 * math/e_jnl.c: Likewise.
22101 * math/e_lgammal_r.c: Likewise.
22102 * math/e_log10l.c: Likewise.
22103 * math/e_log2l.c: Likewise.
22104 * math/e_logl.c: Likewise.
22105 * math/e_powl.c: Likewise.
22106 * math/e_sinhl.c: Likewise.
22107 * math/e_sqrtl.c: Likewise.
22108 * math/e_scalb.c: Completely rewritten and optimized.
22109 * math/e_scalbf.c: Likewise.
22110 * math/e_scalbl.c: Likewise.
22111 * math/w_acos.c: Likewise.
22112 * math/w_acosf.c: Likewise.
22113 * math/w_acosl.c: Likewise.
22114 * math/w_acosh.c: Likewise.
22115 * math/w_acoshf.c: Likewise.
22116 * math/w_acoshl.c: Likewise.
22117 * math/w_asin.c: Likewise.
22118 * math/w_asinf.c: Likewise.
22119 * math/w_asinl.c: Likewise.
22120 * math/w_atan2.c: Likewise.
22121 * math/w_atan2f.c: Likewise.
22122 * math/w_atan2l.c: Likewise.
22123 * math/w_atanh.c: Likewise.
22124 * math/w_atanhf.c: Likewise.
22125 * math/w_atanhl.c: Likewise.
22126 * math/w_exp10.c: Likewise.
22127 * math/w_exp10f.c: Likewise.
22128 * math/w_exp10l.c: Likewise.
22129 * math/w_fmod.c: Likewise.
22130 * math/w_fmodf.c: Likewise.
22131 * math/w_fmodl.c: Likewise.
22132 * math/w_j0.c: Likewise.
22133 * math/w_j0f.c: Likewise.
22134 * math/w_j0l.c: Likewise.
22135 * math/w_j1.c: Likewise.
22136 * math/w_j1f.c: Likewise.
22137 * math/w_j1l.c: Likewise.
22138 * math/w_jn.c: Likewise.
22139 * math/w_jnf.c: Likewise.
22140 * math/w_log.c: Likewise.
22141 * math/w_logf.c: Likewise.
22142 * math/w_logl.c: Likewise.
22143 * math/w_log10.c: Likewise.
22144 * math/w_log10f.c: Likewise.
22145 * math/w_log10l.c: Likewise.
22146 * math/w_log2.c: Likewise.
22147 * math/w_log2f.c: Likewise.
22148 * math/w_log2l.c: Likewise.
22149 * math/w_pow.c: Likewise.
22150 * math/w_powf.c: Likewise.
22151 * math/w_powl.c: Likewise.
22152 * math/w_remainder.c: Likewise.
22153 * math/w_remainderf.c: Likewise.
22154 * math/w_remainderl.c: Likewise.
22155 * math/w_scalb.c: Likewise.
22156 * math/w_scalbf.c: Likewise.
22157 * math/w_scalbl.c: Likewise.
22158 * math/w_sqrt.c: Likewise.
22159 * math/w_sqrtf.c: Likewise.
22160 * math/w_sqrtl.c: Likewise.
22161 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22162 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22163 used.
22164 * math/math_private.h: Declare __kernel_standard_f.
22165 * math/w_cosh.c: Remove cruft and optimize a bit.
22166 * math/w_coshf.c: Likewise.
22167 * math/w_coshl.c: Likewise.
22168 * math/w_exp2.c: Likewise.
22169 * math/w_exp2f.c: Likewise.
22170 * math/w_exp2l.c: Likewise.
22171 * math/w_hypot.c: Likewise.
22172 * math/w_hypotf.c: Likewise.
22173 * math/w_hypotl.c: Likewise.
22174 * math/w_lgamma.c: Likewise.
22175 * math/w_lgamma_r.c: Likewise.
22176 * math/w_lgammaf.c: Likewise.
22177 * math/w_lgammaf_r.c: Likewise.
22178 * math/w_lgammal.c: Likewise.
22179 * math/w_lgammal_r.c: Likewise.
22180 * math/w_sinh.c: Likewise.
22181 * math/w_sinhf.c: Likewise.
22182 * math/w_sinhl.c: Likewise.
22183 * math/w_tgamma.c: Likewise.
22184 * math/w_tgammaf.c: Likewise.
22185 * math/w_tgammal.c: Likewise.
22186 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22187 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22188 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22189 Minor optimizations. Pretty printing. Remove cruft.
22190 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22191 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22192 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22193 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22194 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22195 * sysdeps/i386/fpu/e_asin.S: Likewise.
22196 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22197 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22198 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22199 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22200 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22201 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22202 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22203 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22204 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22205 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22206 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22207 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22208 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22209 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22210 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22211 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22212 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22213 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22214 * sysdeps/i386/fpu/e_log.S: Likewise.
22215 * sysdeps/i386/fpu/e_log10.S: Likewise.
22216 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22217 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22218 * sysdeps/i386/fpu/e_log2.S: Likewise.
22219 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22220 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22221 * sysdeps/i386/fpu/e_logf.S: Likewise.
22222 * sysdeps/i386/fpu/e_logl.S: Likewise.
22223 * sysdeps/i386/fpu/e_pow.S: Likewise.
22224 * sysdeps/i386/fpu/e_powf.S: Likewise.
22225 * sysdeps/i386/fpu/e_powl.S: Likewise.
22226 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22227 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22228 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22229 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22230 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22231 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22232 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22233 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22234 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22235 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22236 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22237 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22238 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22239 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22240 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22241 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22242 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22243 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22244 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22245 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22246 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22247 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22248 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22249 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22250 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22251 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22252 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22253 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22254 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22255 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22256 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22257 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22258 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22259 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22260 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22261 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22262 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22263 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22264 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22265 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22266 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22267 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22268 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22269 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22270 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22271 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22272 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22273 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22274 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22275 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22276 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22277 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22278 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22279 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22280 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22281 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22282 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22283 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22284 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22285 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22286 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22287 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22288 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22289 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22290 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22291 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22292 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22293 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22294 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22295 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22296 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22297 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22298 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22299 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22300 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22301 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22302 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22303 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22304 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22305 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22306 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22307 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22308 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22309 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22310 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22311 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22312 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22313 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22314 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22315 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22316 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22317 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22318 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22319 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22320 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22321 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22322 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22323 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22324 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22325 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22326 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22327 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22328 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22329 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22330 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22331 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22332 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22333 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22334 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22335 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22336 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22337 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22338 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22339 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22340 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22341 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22342 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22343 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22344 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22345 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22346 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22347 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22348 (__isnanf): Likewise.
22349 (__isinf_ns): Likewise.
22350 (__isinf_nsf): Likewise.
22351 (__finite): Likewise.
22352 (__finitef): Likewise.
22353 (__ieee754_sqrt): Define as macro.
22354 (__ieee754_sqrtf): Define as macro.
22355 (__ieee754_sqrtl): Define as macro.
22356 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22357 inlined copy.
22358 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22359 __FINITE_MATH_ONLY__ consistent.
22360 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22361
12cc2fcd
AS
223622011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22363
a843a204
AS
22364 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22365 of rawmemchr.
22366
12cc2fcd
AS
22367 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22368
c853acd5
UD
223692011-10-09 Ulrich Drepper <drepper@gmail.com>
22370
22371 * po/ja.po: Update from translation team.
22372
c658d255
RM
223732011-10-08 Roland McGrath <roland@hack.frob.com>
22374
110946e4
RM
22375 * locale/programs/locarchive.c (prepare_address_space): New function.
22376 (create_archive, enlarge_archive, open_archive): Use it.
22377
50604220
RM
22378 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22379 inside [SHARED], where it is used.
22380
c658d255
RM
22381 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22382
22383 * nss/getent.c (netgroup_keys): Remove unused variable.
22384 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22385
6a621eb7
UD
223862011-10-08 Ulrich Drepper <drepper@gmail.com>
22387
7edb55ce
UD
22388 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22389 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22390 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22391 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22392 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22393 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22394 * math/Makefile (libm-calls): Add s_isinf_ns.
22395 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22396 * math/multc3.c: Likewise.
22397 * math/s_casin.c: Likewise.
22398 * math/s_casinf.c: Likewise.
22399 * math/s_casinl.c: Likewise.
22400 * math/s_ccos.c: Likewise.
22401 * math/s_ccosf.c: Likewise.
22402 * math/s_ccosl.c: Likewise.
22403 * math/s_ctan.c: Likewise.
22404 * math/s_ctanf.c: Likewise.
22405 * math/s_ctanh.c: Likewise.
22406 * math/s_ctanhf.c: Likewise.
22407 * math/s_ctanhl.c: Likewise.
22408 * math/s_ctanl.c: Likewise.
22409 * math/w_fmod.c: Likewise.
22410 * math/w_fmodf.c: Likewise.
22411 * math/w_fmodl.c: Likewise.
22412 * math/w_remainder.c: Likewise.
22413 * math/w_remainderf.c: Likewise.
22414 * math/w_remainderl.c: Likewise.
22415 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22416 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22417 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22418 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22419 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22420 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22421 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22422 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22423
187da0ae
UD
22424 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22425 of the number.
22426 * stdio-common/printf_fphex.c: Likewise.
22427 * stdio-common/printf_size.c: Likewise.
22428
9277c064
UD
22429 * math/e_exp10.c: Include math_private.h using <...> not "...".
22430 * math/e_exp10f.c: Likewise.
22431 * math/e_exp10l.c: Likewise.
22432 * math/e_exp2l.c: Likewise.
22433 * math/e_j0l.c: Likewise.
22434 * math/e_j1l.c: Likewise.
22435 * math/e_jnl.c: Likewise.
22436 * math/e_lgammal_r.c: Likewise.
22437 * math/e_rem_pio2l.c: Likewise.
22438 * math/e_scalb.c: Likewise.
22439 * math/e_scalbf.c: Likewise.
22440 * math/e_scalbl.c: Likewise.
22441 * math/k_cosl.c: Likewise.
22442 * math/k_sinl.c: Likewise.
22443 * math/k_tanl.c: Likewise.
22444 * math/s_cacoshf.c: Likewise.
22445 * math/s_catan.c: Likewise.
22446 * math/s_catanf.c: Likewise.
22447 * math/s_catanh.c: Likewise.
22448 * math/s_catanhf.c: Likewise.
22449 * math/s_catanhl.c: Likewise.
22450 * math/s_catanl.c: Likewise.
22451 * math/s_ccosh.c: Likewise.
22452 * math/s_ccoshf.c: Likewise.
22453 * math/s_ccoshl.c: Likewise.
22454 * math/s_cexp.c: Likewise.
22455 * math/s_cexpf.c: Likewise.
22456 * math/s_cexpl.c: Likewise.
22457 * math/s_clog.c: Likewise.
22458 * math/s_clog10.c: Likewise.
22459 * math/s_clog10f.c: Likewise.
22460 * math/s_clog10l.c: Likewise.
22461 * math/s_clogf.c: Likewise.
22462 * math/s_clogl.c: Likewise.
22463 * math/s_csin.c: Likewise.
22464 * math/s_csinf.c: Likewise.
22465 * math/s_csinh.c: Likewise.
22466 * math/s_csinhf.c: Likewise.
22467 * math/s_csinhl.c: Likewise.
22468 * math/s_csinl.c: Likewise.
22469 * math/s_csqrt.c: Likewise.
22470 * math/s_csqrtf.c: Likewise.
22471 * math/s_csqrtl.c: Likewise.
22472 * math/s_ctan.c: Likewise.
22473 * math/s_ctanf.c: Likewise.
22474 * math/s_ctanh.c: Likewise.
22475 * math/s_ctanhf.c: Likewise.
22476 * math/s_ctanhl.c: Likewise.
22477 * math/s_ctanl.c: Likewise.
22478 * math/s_ldexp.c: Likewise.
22479 * math/s_ldexpf.c: Likewise.
22480 * math/s_ldexpl.c: Likewise.
22481 * math/s_significand.c: Likewise.
22482 * math/s_significandf.c: Likewise.
22483 * math/s_significandl.c: Likewise.
22484 * math/w_acos.c: Likewise.
22485 * math/w_acosf.c: Likewise.
22486 * math/w_acosh.c: Likewise.
22487 * math/w_acoshf.c: Likewise.
22488 * math/w_acoshl.c: Likewise.
22489 * math/w_acosl.c: Likewise.
22490 * math/w_asin.c: Likewise.
22491 * math/w_asinf.c: Likewise.
22492 * math/w_asinl.c: Likewise.
22493 * math/w_atan2.c: Likewise.
22494 * math/w_atan2f.c: Likewise.
22495 * math/w_atan2l.c: Likewise.
22496 * math/w_atanh.c: Likewise.
22497 * math/w_atanhf.c: Likewise.
22498 * math/w_atanhl.c: Likewise.
22499 * math/w_cosh.c: Likewise.
22500 * math/w_coshf.c: Likewise.
22501 * math/w_coshl.c: Likewise.
22502 * math/w_dremf.c: Likewise.
22503 * math/w_exp10.c: Likewise.
22504 * math/w_exp10f.c: Likewise.
22505 * math/w_exp10l.c: Likewise.
22506 * math/w_exp2.c: Likewise.
22507 * math/w_exp2f.c: Likewise.
22508 * math/w_fmod.c: Likewise.
22509 * math/w_fmodf.c: Likewise.
22510 * math/w_fmodl.c: Likewise.
22511 * math/w_hypot.c: Likewise.
22512 * math/w_hypotf.c: Likewise.
22513 * math/w_hypotl.c: Likewise.
22514 * math/w_j0.c: Likewise.
22515 * math/w_j0f.c: Likewise.
22516 * math/w_j0l.c: Likewise.
22517 * math/w_j1.c: Likewise.
22518 * math/w_j1f.c: Likewise.
22519 * math/w_j1l.c: Likewise.
22520 * math/w_jn.c: Likewise.
22521 * math/w_jnf.c: Likewise.
22522 * math/w_jnl.c: Likewise.
22523 * math/w_lgamma.c: Likewise.
22524 * math/w_lgamma_r.c: Likewise.
22525 * math/w_lgammaf.c: Likewise.
22526 * math/w_lgammaf_r.c: Likewise.
22527 * math/w_lgammal.c: Likewise.
22528 * math/w_lgammal_r.c: Likewise.
22529 * math/w_log.c: Likewise.
22530 * math/w_log10.c: Likewise.
22531 * math/w_log10f.c: Likewise.
22532 * math/w_log10l.c: Likewise.
22533 * math/w_log2.c: Likewise.
22534 * math/w_log2f.c: Likewise.
22535 * math/w_log2l.c: Likewise.
22536 * math/w_logf.c: Likewise.
22537 * math/w_logl.c: Likewise.
22538 * math/w_pow.c: Likewise.
22539 * math/w_powf.c: Likewise.
22540 * math/w_powl.c: Likewise.
22541 * math/w_remainder.c: Likewise.
22542 * math/w_remainderf.c: Likewise.
22543 * math/w_remainderl.c: Likewise.
22544 * math/w_scalb.c: Likewise.
22545 * math/w_scalbf.c: Likewise.
22546 * math/w_scalbl.c: Likewise.
22547 * math/w_sinh.c: Likewise.
22548 * math/w_sinhf.c: Likewise.
22549 * math/w_sinhl.c: Likewise.
22550 * math/w_sqrt.c: Likewise.
22551 * math/w_sqrtf.c: Likewise.
22552 * math/w_sqrtl.c: Likewise.
22553 * math/w_tgamma.c: Likewise.
22554 * math/w_tgammaf.c: Likewise.
22555 * math/w_tgammal.c: Likewise.
22556
6a621eb7
UD
22557 * po/ja.po: Update from translation team.
22558
bf582445
AJ
225592011-09-29 Andreas Jaeger <aj@suse.de>
22560
f9efbf3a
AJ
22561 [BZ #13179]
22562 * sunrpc/netname.c (netname2host): Fix logic.
22563
bf582445
AJ
22564 [BZ #6779]
22565 [BZ #6783]
22566 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22567 correctly.
22568 * math/w_remainder.c (__remainder): Likewise.
22569 * math/w_remainderf.c (__remainderf): Likewise.
22570 * math/libm-test.inc (remainder_test): Add test cases.
22571
48693bea
AK
225722011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22573
22574 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22575 sdiv_qrnnd.
22576
42622229
LD
225772011-10-07 Ulrich Drepper <drepper@gmail.com>
22578
22579 * string/test-memcmp.c: Avoid unncessary #defines.
22580 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22581
093ecf92
LD
225822011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22583
22584 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22585 Use new sse2 version for core i3 - i7 as it's faster
22586 than sse42 version.
22587 (bit_Prefer_PMINUB_for_stringop): New.
22588 * sysdeps/x86_64/rawmemchr.S: Update.
22589 Replace with faster SSE2 version.
22590 * sysdeps/x86_64/memrchr.S: New file.
22591 * sysdeps/x86_64/memchr.S: Update.
22592 Replace with faster SSE2 version.
22593
fde56e5c
MP
225942011-09-12 Marek Polacek <mpolacek@redhat.com>
22595
22596 * elf/dl-load.c (lose): Add cast to avoid warning.
22597
21fd49a9
UD
225982011-10-07 Ulrich Drepper <drepper@gmail.com>
22599
5a06e643
UD
22600 * po/ca.po: Update from translation team.
22601
684ae515
UD
22602 * inet/getnetgrent_r.c: Hook up nscd.
22603 * nscd/Makefile (routines): Add nscd_netgroup.
22604 (nscd-modules): Add netgroupcache.
22605 (CFLAGS-netgroupcache.c): Define.
22606 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22607 (cache_search): Add const to second parameter.
22608 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22609 INNETGR.
22610 (dbs): Add netgrdb entry.
22611 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22612 (verify_persistent_db): Handle netgrdb.
22613 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22614 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22615 GETFDNETGR.
22616 (netgroup_response_header): Define.
22617 (innetgroup_response_header): Define.
22618 (datahead): Add netgroup_response_header and innetgroup_response_header
22619 elements.
22620 * nscd/nscd.conf: Add entries for netgroup cache.
22621 * nscd/nscd.h (dbtype): Add netgrdb.
22622 (_PATH_NSCD_NETGROUP_DB): Define.
22623 (netgroup_iov_disabled): Declare.
22624 (xmalloc, xcalloc, xrealloc): Move declarations here.
22625 (cache_search): Adjust prototype.
22626 Add netgroup-related prototypes.
22627 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22628 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22629 (__nscd_innetgr): Declare.
22630 * nscd/selinux.c (perms): Use access_vector_t as element type and
22631 add netgroup-related initializers.
22632 * nscd/netgroupcache.c: New file.
22633 * nscd/nscd_netgroup.c: New file.
22634 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22635 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22636 For four parameters use innetgr.
22637 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22638 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22639 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22640 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22641
21fd49a9
UD
22642 * nscd/connections.c (register_traced_file): Don't register file
22643 for disabled databases.
22644
054c0457
UD
226452011-10-06 Ulrich Drepper <drepper@gmail.com>
22646
32b63198
UD
22647 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22648
054c0457
UD
22649 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22650 from tree and freeing node.
22651
64031225
JO
226522011-09-25 Jiri Olsa <jolsa@redhat.com>
22653
22654 * nss/nsswitch.c (__nss_database_lookup): Handle
22655 nss_parse_service_list out of memory case.
22656
0490345c
JO
226572011-09-15 Jiri Olsa <jolsa@redhat.com>
22658
22659 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22660 out of memory case.
22661
3a62d00d
AS
226622011-10-04 Andreas Schwab <schwab@redhat.com>
22663
22664 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22665 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22666 pass it down.
22667 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22668 elf_machine_rela, elf_machine_lazy_rel.
22669 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22670 (ELF_DYNAMIC_DO_REL): Likewise.
22671 (ELF_DYNAMIC_DO_RELA): Likewise.
22672 (ELF_DYNAMIC_RELOCATE): Likewise.
22673 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22674 to ELF_DYNAMIC_DO_REL.
22675 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22676 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22677 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22678 elf_machine_rela.
22679 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22680 skip_ifunc, don't call ifunc function if non-zero.
22681 (elf_machine_rela): Likewise.
22682 (elf_machine_lazy_rel): Likewise.
22683 (elf_machine_lazy_rela): Likewise.
22684 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22685 (elf_machine_lazy_rel): Likewise.
22686 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22687 Likewise.
22688 (elf_machine_lazy_rel): Likewise.
22689 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22690 Likewise.
22691 (elf_machine_lazy_rel): Likewise.
22692 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22693 (elf_machine_lazy_rel): Likewise.
22694 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22695 (elf_machine_lazy_rel): Likewise.
22696 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22697 (elf_machine_lazy_rel): Likewise.
22698 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22699 (elf_machine_lazy_rel): Likewise.
22700 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22701 (elf_machine_lazy_rel): Likewise.
22702 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22703 (elf_machine_lazy_rel): Likewise.
22704
68577918
UD
227052011-09-28 Ulrich Drepper <drepper@gmail.com>
22706
22707 * nss/nss_files/files-init.c (_nss_files_init): Use static
22708 initialization for all the *_traced_file variables.
22709
68822d74
AS
227102011-09-28 Andreas Schwab <schwab@redhat.com>
22711
22712 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22713
2056100b
RM
227142011-09-27 Roland McGrath <roland@hack.frob.com>
22715
22716 [BZ #13226]
22717 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22718
32c76b63
AS
227192011-09-27 Andreas Schwab <schwab@redhat.com>
22720
22721 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22722 Reread the line before reparsing it.
22723
bf972c9d
AS
227242011-09-26 Andreas Schwab <schwab@redhat.com>
22725
22726 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22727
e057a1b5
JM
227282011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22729 Maxim Kuvyrkov <maxim@codesourcery.com>
22730 Joseph Myers <joseph@codesourcery.com>
22731
22732 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22733 if needed for __stack_chk_guard.
22734
bc7e1c36
RM
227352011-09-19 Roland McGrath <roland@hack.frob.com>
22736
ecb1482f
RM
22737 * sysdeps/posix/spawni.c (script_execute): Always define it.
22738 It will be optimized away if unused.
22739 (maybe_script_execute): New function.
22740 (__spawni): Call it.
22741
bc7e1c36
RM
22742 * Makerules: Don't include tls.make.
22743 (config-tls): Always set to thread.
22744 * tls.make.c: File removed.
22745
1c3b002b
MF
227462011-09-19 Mike Frysinger <vapier@gentoo.org>
22747
22748 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22749 * config.make.in (CPPFLAGS-config): New substituted variable.
22750
2840865d
UD
227512011-09-15 Ulrich Drepper <drepper@gmail.com>
22752
88738eb6
UD
22753 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22754
cbf645a6 22755 [BZ #13192]
2840865d
UD
22756 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22757 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22758
b402e91a
RM
227592011-09-15 Roland McGrath <roland@hack.frob.com>
22760
22761 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22762 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22763 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22764 (CALL_FAIL): Likewise.
22765 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22766 (CALL_FAIL): Macro removed.
22767 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22768
4c1a1f71
UD
227692011-09-15 Ulrich Drepper <drepper@gmail.com>
22770
22771 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22772 for __FINITE_MATH_ONLY__ == 1.
22773
edc121be
AS
227742011-09-15 Andreas Schwab <schwab@redhat.com>
22775
22776 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22777 __ieee754_sqrt instead of sqrt.
22778 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22779 __ieee754_sqrtf instead of sqrtf.
22780 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22781 __floorf instead of floorf.
22782 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22783 __floorf, __truncf instead of floorf, truncf.
22784
cd205654
UD
227852011-09-14 Ulrich Drepper <drepper@gmail.com>
22786
ee4d0315
UD
22787 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22788
cd205654
UD
22789 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22790 __extern_always_inline.
22791 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22792 32-bit.
22793
48b67d71
AS
227942011-09-14 Andreas Schwab <schwab@redhat.com>
22795
22796 * elf/rtld.c (dl_main): Also relocate in dependency order when
22797 doing symbol dependency testing.
22798
1ae12c75
AS
227992011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22800
22801 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22802 Always define `refsym'.
22803
995a80df
AS
228042011-09-13 Andreas Schwab <schwab@redhat.com>
22805
e529793b
AS
22806 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22807 (__FD_ELT): Renamed from __FDELT.
22808 * misc/bits/select2.h (__FD_ELT): Likewise.
22809 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22810 __FD_MASK instead of __FDELT, __FDMASK.
22811 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22812 Likewise.
22813 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22814 Likewise.
22815
52d4fef8
AS
22816 * elf/Makefile (gen-ldd): Fix pattern.
22817
995a80df
AS
22818 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22819 (init_tls): Likewise.
22820
8682f8b0
UD
228212011-09-12 Ulrich Drepper <drepper@gmail.com>
22822
22823 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22824
de82006d
AS
228252011-09-12 Andreas Schwab <schwab@redhat.com>
22826
a7c8e6a1
AS
22827 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22828 `struct cmsghdr *' instead of `void *'.
22829 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22830 Likewise.
22831
0f31fe77
AS
228322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22833
22834 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22835 if non-absolute.
22836 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22837 ldd_rewrite_script.
0f31fe77 22838
32b4c839
UD
228392011-09-11 Ulrich Drepper <drepper@gmail.com>
22840
83cd1420
UD
22841 * configure.in: Remove --with-tls option.
22842 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22843 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22844 out in case it is missing.
22845 * sysdeps/ia64/elf/configure.in: Likewise.
22846 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22847 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22848 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22849 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22850 * sysdeps/sh/elf/configure.in: Likewise.
22851 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22852 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22853 * sysdeps/x86_64/elf/configure.in: Likewise.
22854 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22855 * sysdeps/mach/hurd/tls.h: Likewise.
22856
633f745d
UD
22857 [BZ #13067]
22858 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22859
f318beb8
UD
22860 [BZ #13090]
22861 * configure.in: Fix use of AC_INIT.
22862
32b4c839
UD
22863 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22864
3ce1f295
UD
228652011-09-10 Ulrich Drepper <drepper@gmail.com>
22866
bb016596
UD
22867 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22868 __set_errno.
8e58439c
UD
22869 * malloc/hooks.c: Likewise.
22870
aebae053 22871 [BZ #11929]
02d46fc4
UD
22872 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22873 variables statically.
22874 (narenas): Initialize.
22875 (list_lock): Initialize.
bb016596
UD
22876 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22877 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
22878 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22879 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22880 Add initializers to main_arena and mp_.
22881 (malloc_state): Remove pagesize member. Change all users to use
22882 GLRO(dl_pagesize).
22883
22884 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22885 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22886 is always initialized.
22887
22a89187
UD
22888 * malloc/malloc.c: Removed unused configurations and dead code.
22889 * malloc/arena.c: Likewise.
22890 * malloc/hooks.c: Likewise.
02d46fc4 22891 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 22892
d063d164
UD
22893 * include/tls.h: Removed. USE___THREAD must always be defined.
22894 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22895 * elf/dl-libc.c: Likewise.
22896 * elf/dl-tsd.c: Likewise.
22897 * include/errno.h: Likewise.
22898 * include/netdb.h: Likewise.
22899 * include/resolv.h: Likewise.
22900 * inet/herrno-loc.c: Likewise.
22901 * inet/herrno.c: Likewise.
22902 * malloc/arena.c: Likewise.
22903 * malloc/hooks.c: Likewise.
22904 * malloc/malloc.c: Likewise.
22905 * resolv/res-state.c: Likewise.
22906 * resolv/res_libc.c: Likewise.
22907 * sysdeps/i386/dl-machine.h: Likewise.
22908 * sysdeps/ia64/dl-machine.h: Likewise.
22909 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22910 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22911 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22912 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22913 * sysdeps/sh/dl-machine.h: Likewise.
22914 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22915 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22916 * sysdeps/unix/i386/sysdep.S: Likewise.
22917 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22918 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22919 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22920 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22921 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22922 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22923 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22924 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22925 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22926 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22927 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22928 * sysdeps/x86_64/dl-machine.h: Likewise.
22929 * tls.make.c: Likewise.
22930
3ce1f295
UD
22931 * configure.in: Remove --with-__thread option. Make tests for
22932 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22933 tls_model attribute fail if no support is available. Remove
22934 USE_IN_LIBIO.
22935 * Makeconfig: Adjust for dropped configure option. All features are
22936 now mandatory.
22937 * Makerules: Likewise.
22938 * Versions.def: Likewise.
22939 * argp/argp-fmtstream.c: Likewise.
22940 * argp/argp-fmtstream.h: Likewise.
22941 * argp/argp-help.c: Likewise.
22942 * assert/assert.c: Likewise.
22943 * config.h.in: Likewise.
22944 * config.make.in: Likewise.
22945 * configure: Likewise.
22946 * configure.in: Likewise.
22947 * csu/Versions: Likewise.
22948 * csu/init.c: Likewise.
22949 * elf/tst-audit2.c: Likewise.
22950 * elf/tst-tls10.c: Likewise.
22951 * elf/tst-tls10.h: Likewise.
22952 * elf/tst-tls11.c: Likewise.
22953 * elf/tst-tls12.c: Likewise.
22954 * elf/tst-tls14.c: Likewise.
22955 * elf/tst-tlsmod11.c: Likewise.
22956 * elf/tst-tlsmod12.c: Likewise.
22957 * elf/tst-tlsmod13.c: Likewise.
22958 * elf/tst-tlsmod13a.c: Likewise.
22959 * elf/tst-tlsmod14a.c: Likewise.
22960 * elf/tst-tlsmod15b.c: Likewise.
22961 * elf/tst-tlsmod16a.c: Likewise.
22962 * elf/tst-tlsmod16b.c: Likewise.
22963 * elf/tst-tlsmod7.c: Likewise.
22964 * elf/tst-tlsmod8.c: Likewise.
22965 * elf/tst-tlsmod9.c: Likewise.
22966 * gmon/gmon.c: Likewise.
22967 * grp/fgetgrent_r.c: Likewise.
22968 * grp/putgrent.c: Likewise.
22969 * hurd/fopenport.c: Likewise.
22970 * include/libc-symbols.h: Likewise.
22971 * include/tls.h: Likewise.
22972 * intl/gettextP.h: Likewise.
22973 * intl/loadinfo.h: Likewise.
22974 * locale/global-locale.c: Likewise.
22975 * locale/localeinfo.h: Likewise.
22976 * mach/devstream.c: Likewise.
22977 * malloc/arena.c: Likewise.
22978 * malloc/set-freeres.c: Likewise.
22979 * misc/err.c: Likewise.
22980 * misc/getttyent.c: Likewise.
22981 * misc/mntent_r.c: Likewise.
22982 * posix/getopt.c: Likewise.
22983 * posix/wordexp.c: Likewise.
22984 * pwd/fgetpwent_r.c: Likewise.
22985 * resolv/Versions: Likewise.
22986 * resolv/res_hconf.c: Likewise.
22987 * shadow/fgetspent_r.c: Likewise.
22988 * shadow/putspent.c: Likewise.
22989 * stdio-common/printf_fphex.c: Likewise.
22990 * stdio-common/tmpfile.c: Likewise.
22991 * stdlib/abort.c: Likewise.
22992 * stdlib/fmtmsg.c: Likewise.
22993 * sunrpc/auth_unix.c: Likewise.
22994 * sunrpc/clnt_perr.c: Likewise.
22995 * sunrpc/clnt_tcp.c: Likewise.
22996 * sunrpc/clnt_udp.c: Likewise.
22997 * sunrpc/clnt_unix.c: Likewise.
22998 * sunrpc/openchild.c: Likewise.
22999 * sunrpc/svc_simple.c: Likewise.
23000 * sunrpc/svc_tcp.c: Likewise.
23001 * sunrpc/svc_udp.c: Likewise.
23002 * sunrpc/svc_unix.c: Likewise.
23003 * sunrpc/xdr.c: Likewise.
23004 * sunrpc/xdr_array.c: Likewise.
23005 * sunrpc/xdr_rec.c: Likewise.
23006 * sunrpc/xdr_ref.c: Likewise.
23007 * sunrpc/xdr_stdio.c: Likewise.
23008
1248c1c4
PB
230092011-09-09 Ulrich Drepper <drepper@gmail.com>
23010
23011 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23012
230132011-07-03 Andreas Jaeger <aj@suse.de>
23014
23015 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23016 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23017 regenerate with gen-libm-tests.pl.
23018
230192010-05-12 Petr Baudis <pasky@suse.cz>
23020
23021 [BZ #11589]
23022 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23023 around j0() zero points by switching to j1().
23024 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23025 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23027 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23028
f22e1074
UD
230292011-09-09 Ulrich Drepper <drepper@gmail.com>
23030
f19009c1
UD
23031 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23032 instead of 0.
23033 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23034 instead of 0.
f19009c1
UD
23035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23036 Patch in part by Pavel Roskin <proski@gnu.org>.
23037
3f8cc204
UD
23038 [BZ #13138]
23039 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23040 realloc.
23041 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23042 Free memory block if necessary.
23043
f22e1074
UD
23044 [BZ #12847]
23045 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23046 be NULL. Don't lock in this case.
23047
0a2349f9
RM
230482011-09-09 Roland McGrath <roland@hack.frob.com>
23049
23050 * elf/elf.h (ELFOSABI_GNU): New macro.
23051 (ELFOSABI_LINUX): Define to that.
23052
f3cdd467
DZ
230532011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23054
23055 * string/strncat.c (strncat): Undef the symbol in case it has been
23056 defined in bits/string.h.
23057
74718d13
UD
230582011-09-09 Ulrich Drepper <drepper@gmail.com>
23059
633e9e0f
UD
23060 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23061
0a2349f9 23062 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23063 link map.
23064
f9924780
AJ
230652011-08-17 Andreas Jaeger <aj@suse.de>
23066
23067 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23068
7f5517aa
PP
230692011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23070 Ian Lance Taylor <iant@google.com>
23071
23072 * math/libm-test.inc (lround_test): New testcase.
23073 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23074
762011fe
UD
230752011-09-08 Ulrich Drepper <drepper@gmail.com>
23076
92963737
UD
23077 * Makefile: Remove support for automatic cvs check-ins.
23078 * Makerules: Likewise.
23079 * config.make.in: Likewise.
23080 * configure.in: Likewise.
23081 * intl/Makefile: Likewise.
23082 * locale/Makefile: Likewise.
23083 * po/Makefile: Likewise.
23084 * posix/Makefile: Likewise.
23085 * sysdeps/gnu/Makefile: Likewise.
23086 * sysdeps/mach/hurd/Makefile: Likewise.
23087 * sysdeps/sparc/sparc32/Makefile: Likewise.
23088
b0727fd8
JS
23089 [BZ #13118]
23090 * posix/Makefile (bug-regex32-ENV): Define.
23091 Patch by John Stanley <jpsinthemix@verizon.net>.
23092
a0f33f99
UD
23093 * misc/Makefile (headers): Add bits/select2.h.
23094 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23095 * misc/bits/select2.h: New file.
23096 * include/bits/select2.h: New file.
23097 * debug/Makefile (routines): Add fdelt_chk.
23098 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23099 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23100 FD_ISSET.
23101 * debug/fdelt_chk.c: New file.
23102
762011fe
UD
23103 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23104 * wcsmbs/test-wmemcmp.c: Likewise.
23105 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23106 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23107
231082011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23109
23110 * string/Makefile (strop-tests): Add memcmp.
23111 * string/test-wmemcmp.c: New file.
23112 * string/test-memcmp.c: Add wmemcmp support.
23113
7f513ec8
RM
231142011-09-08 Roland McGrath <roland@hack.frob.com>
23115
0442afb4
RM
23116 [BZ #13153]
23117 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23118 2011-07-19 change.
23119
7f513ec8
RM
23120 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23121 garbage value in a __mach_port_mod_refs call in the cases of the
23122 task-self and thread-self ports.
23123
a12b2239
ST
231242011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23125
23126 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23127
610f9ab4
AS
231282011-09-08 Andreas Schwab <schwab@redhat.com>
23129
7f513ec8 23130 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23131
48882a1a
LD
231322011-09-07 Ulrich Drepper <drepper@gmail.com>
23133
b49865be
UD
23134 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23135
fdc86bc9
UD
23136 * elf/dl-libc.c (dlerror_run): Pass back error code from
23137 dl_catch_error.
23138
c966526a
UD
23139 [BZ #13123]
23140 * elf/dl-load.c (lose): Free l_origin if it is valid.
23141
48882a1a
LD
23142 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23143 names.
23144 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23145 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23146 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23147 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23148 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23149 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23150
77a2a8b4
AZ
231512011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23152
23153 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23154 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23155 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23156 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23157 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23158 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23159 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23160 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23161 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23162 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23163
24f579d8
AM
231642011-08-15 Alan Modra <amodra@gmail.com>
23165
23166 [BZ #13092]
23167 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23168 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23169 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23170 ppc_mcount to static-only-routines.
23171 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23172 __mcount_internal.
23173 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23174 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23175
3d4837df
UD
231762011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23177
23178 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23179 for finite and infinity parameters.
23180
22700377
WS
231812011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23182
23183 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23184 and add nop instructions for throughput optimization.
23185 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23186
5025581e
WS
231872011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23188
23189 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23190 aligned copy for power7 with vector-scalar instructions.
23191 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23192
08a300c9
L
231932011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23194
23195 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23196 AVX check.
23197
59178ef9
AS
231982011-09-07 Andreas Schwab <schwab@redhat.com>
23199
23200 [BZ #13144]
23201 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23202 last change.
23203
e38ba7ab
UD
232042011-09-07 Ulrich Drepper <drepper@gmail.com>
23205
23206 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23207 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23208 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23209 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23210 clock_gettime.
23211
d53a73ac
UD
232122011-09-06 Ulrich Drepper <drepper@gmail.com>
23213
fc8bffcc
UD
23214 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23215 Forgot to demangle the pointer.
23216
ceaa0c5d
UD
23217 * sysdeps/i386/sysdep.h: Define atom_text_section.
23218 * sysdeps/x86_64/sysdep.h: Likewise.
23219 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23220 section with atom_text_section.
23221 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23222 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23223 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23224 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23225 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23226
a77d3c17
UD
23227 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23228 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23229 already be defined. Change to take two parameters and don't assign
23230 result to variable. Adjust all users.
23231 Define INTERNAL_GETTIME if not already defined.
23232 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23233 call.
23234 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23235 HAVE_CLOCK_GETTIME_VSYSCALL.
23236 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23237
d53a73ac
UD
23238 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23239 gettimeofday vsyscall, just use time.
23240
a8f84144
AS
232412011-09-06 Andreas Schwab <schwab@redhat.com>
23242
23243 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23244 <errno.h>.
23245
ef606249
UD
232462011-09-06 Ulrich Drepper <drepper@gmail.com>
23247
23248 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23249 syscall on x86-64.
23250 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23251 syscall.
23252 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23253 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23254 syscall if possible.
23255
6585cb60
UD
232562011-09-05 Ulrich Drepper <drepper@gmail.com>
23257
23258 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23259 e_ident. Don't pass to find_mapsXX.
23260 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23261
a5f524e4
LD
232622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23263
23264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23265 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23266 * sysdeps/x86_64/multiarch/strchr.S: Update.
23267 Check bit_slow_BSF bit.
23268 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23269 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23270 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23271
554881ef
UD
232722011-09-05 Ulrich Drepper <drepper@gmail.com>
23273
d96de963
UD
23274 [BZ #13134]
23275 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23276 before glibc 2.15.
23277 (tryshell): Define.
23278 (__spawni): Change last parameter to be flag. Test
23279 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23280 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23281 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23282 * posix/spawni.c: Likewise.
23283 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23284 * posix/spawnp.c: Likewise. Change normal version to use
23285 SPAWN_XFLAGS_USE_PATH.
23286 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23287 SPAWN_XFLAGS_TRY_SHELL.
23288
d48e5868
UD
23289 [BZ #13150]
23290 * posix/glob.h: Remove gcc 1.x support.
23291
554881ef
UD
23292 [BZ #13068]
23293 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23294
693fb948
LD
232952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23296
23297 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23298 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23299 strrchr-sse2-bsf
23300 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23301 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23302 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23303 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23304 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23305 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23306
1b48c537
UD
233072011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23308
49d42c37
UD
23309 * sysdeps/x86_64/wcscmp.S: New file.
23310
1b48c537
UD
23311 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23312 wcscmp-c wcscmp-sse2
23313 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23314 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23315 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23316 * wcsmbs/wcscmp.c: Allow renaming.
23317
15c95c5d
DM
233182011-09-05 David S. Miller <davem@davemloft.net>
23319
23320 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23321 stack slot, rather than the struct return pointer slot.
23322 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23323 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23325 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23326
2f0ad8f3
UD
233272011-09-05 Ulrich Drepper <drepper@gmail.com>
23328
d88ae418
UD
23329 * po/ja.po: Update from translation team.
23330
2f0ad8f3
UD
23331 [BZ #13144]
23332 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23333 kernel in 64-bit binaries.
23334
5f4318d1
DM
233352011-09-01 David S. Miller <davem@davemloft.net>
23336
23337 * elf/elf.h (HWCAP_SPARC_*): Move to..
23338 * sysdeps/sparc/sysdep.h: this new file and add new values.
23339 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23340 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23341 _DL_HWCAP_COUNT to 24.
23342 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23343 entries.
23344 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23345 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23346 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23347 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23348 instead of magic constants.
23349 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23350
3ba57516
DM
233512011-08-31 David S. Miller <davem@davemloft.net>
23352
23353 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23355 Reimplement to do errno handling inline.
23356 (SYSCALL_ERROR_HANDLER): New macro.
23357 (__SYSCALL_STRING): Do not do errno handling in asm.
23358 (__CLONE_SYSCALL_STRING): Delete.
23359 (__INTERNAL_SYSCALL_STRING): Delete.
23360 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23361 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23362 (PSEUDO): Reimplement to do errno handling inline.
23363 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23364 (SYSCALL_ERROR_HANDLER): New macro.
23365 (__SYSCALL_STRING): Do not do errno handling in asm.
23366 (__CLONE_SYSCALL_STRING): Delete.
23367 (__INTERNAL_SYSCALL_STRING): Delete.
23368 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23369 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23370 i386.
23371 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23372 (inline_syscall*): Add 'err' argument.
23373 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23374 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23375 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23376 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23377
23378 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23379 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23380
2bc17433
AS
233812011-08-30 Andreas Schwab <schwab@redhat.com>
23382
23383 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23384
fbeb5f4d
JO
233852011-08-29 Jiri Olsa <jolsa@redhat.com>
23386
23387 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23388 directive.
23389
ad69cc26
DM
233902011-08-24 David S. Miller <davem@davemloft.net>
23391
23392 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23393
39dd69df
AS
233942011-08-24 Andreas Schwab <schwab@redhat.com>
23395
23396 * elf/Makefile: Add rules to build and run unload8 test.
23397 * elf/unload8.c: New file.
23398 * elf/unload8mod1.c: New file.
23399 * elf/unload8mod1x.c: New file.
23400 * elf/unload8mod2.c: New file.
23401 * elf/unload8mod3.c: New file.
23402
23403 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23404 it wasn't used.
23405
2c0b250a
DM
234062011-08-23 David S. Miller <davem@davemloft.net>
23407
23408 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23409 subtract stack bias.
23410 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23411 %sp not %fp in calculations.
23412 (_JMPBUF_UNWINDS_ADJ): Likewise.
23413
22044b48
DM
23414 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23415 (aio_suspend): Call it to force an exception region around the
23416 AIO_MISC_WAIT() invocation.
23417
2cae4995
AS
234182011-08-23 Andreas Schwab <schwab@redhat.com>
23419
23420 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23421 backslash.
23422
873a772e
AJ
234232011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23424
23425 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23426 protection macro.
23427 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23428 and <dl-machine.h>.
23429 (Elf64_FuncDesc): Remove.
23430
25ad0df1
DM
234312011-08-22 David S. Miller <davem@davemloft.net>
23432
23433 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23434 sigaltstack check, add missing cfi directives.
23435 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23436 missing cfi directives, and sigaltstack handling.
23437
e888bcbe
AS
234382011-08-16 Andreas Schwab <schwab@redhat.com>
23439
23440 [BZ #11724]
23441 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23442 object is seen twice.
23443 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23444
23445 * elf/Makefile (distribute): Add tst-initorder2.c.
23446 (tests): Add tst-initorder2.
23447 (modules-names): Add tst-initorder2a tst-initorder2b
23448 tst-initorder2c tst-initorder2d. Add rules to build them.
23449 ($(objpfx)tst-initorder2.out): New rule.
23450 * elf/tst-initorder2.c: New file.
23451 * elf/tst-initorder2.exp: New file.
23452
87162f46
AS
234532011-08-22 Andreas Schwab <schwab@redhat.com>
23454
70538b7f
AS
23455 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23456
f55ffe58
AS
23457 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23458 dependencies back to end of function.
23459
87162f46
AS
23460 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23461 $(elfobjdir)/ld.so.
23462
91b392a4
UD
234632011-08-21 Ulrich Drepper <drepper@gmail.com>
23464
23465 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23466 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23467 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23468 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23469 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23470 of __vdso_gettimeofday.
23471 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23472 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23473 attribute_hidden.
23474 (_libc_vdso_platform_setup): Remove initialization of
23475 __vdso_gettimeofday and __vdso_time.
23476
5c43483f
UD
234772011-08-20 Ulrich Drepper <drepper@gmail.com>
23478
775a77e7
UD
23479 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23480 and fgetc_unlocked.
23481 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23482 getc_unlocked.
89f447ed 23483
49c74ba9
UD
23484 * elf/dl-open.c (add_to_global): Report additions to the global scope
23485 for LD_DEBUG=scopes.
23486 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23487 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23488
5c43483f
UD
23489 [BZ #13114]
23490 * stdio-common/Makefile (tests): Add bug24.
23491 * stdio-common/bug24.c: New file.
23492
a101b025
AJ
234932011-08-19 Andreas Jaeger <aj@suse.de>
23494
23495 [BZ #13114]
23496 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23497 non-existant file when using close-on-exec mode.
23498
c88f1766
UD
234992011-08-20 Ulrich Drepper <drepper@gmail.com>
23500
0276a718
UD
23501 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23502 the very first instruction.
23503
c88f1766
UD
23504 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23505 the CFI state in the end.
23506 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23507 inclusion of dl-trampoline.h.
23508 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23509
51ccffa0
AS
235102011-08-19 Andreas Schwab <schwab@redhat.com>
23511
94d7165f
AS
23512 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23513 expectations for long double.
23514
51ccffa0
AS
23515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23516 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23517
fd708658 235182011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23519
23520 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23521 artificual limit depends upon the system page size.
23522
44f0a71e
UD
235232011-08-17 Ulrich Drepper <drepper@gmail.com>
23524
23525 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23526 * resolv/Makefile: Define CFLAGS-libresolv.
23527
8de79a24
AS
235282011-08-17 Andreas Schwab <schwab@redhat.com>
23529
23530 * nss/makedb.c (compute_tables): Make variables used in nested
23531 function static.
23532
27724598
UD
235332011-08-17 Ulrich Drepper <drepper@gmail.com>
23534
c5305d88
UD
23535 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23536 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23537 if buffer was too small.
23538
27724598
UD
23539 * elf/pldd.c (main): Attach to all threads in the process.
23540 Rewrite /proc handling to use *at functions.
23541
076fe015
UD
235422011-08-16 Ulrich Drepper <drepper@gmail.com>
23543
174baab3
UD
23544 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23545 specifies first scope to show.
23546 (dl_open_worker): Update callers. Move printing scope of new
23547 object to before the relocation.
44f0a71e 23548 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23549 * sysdeps/generic/ldsodefs.h: Update declaration.
23550
076fe015
UD
23551 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23552 string for the scope number.
23553
a60df2c3
UD
235542011-08-14 Ulrich Drepper <drepper@gmail.com>
23555
23556 * nscd/servicescache.c (cache_addserv): Make sure written is always
23557 initialized.
23558
5e4287d1
RM
235592011-08-14 Roland McGrath <roland@hack.frob.com>
23560
85ae0589
RM
23561 * sysdeps/i386/i486/bits/atomic.h
23562 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23563 statement expression, so as to suppress "set but not used" warning.
23564 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23565
69f63097
RM
23566 * string/strncat.c (STRNCAT): Use prototype definition.
23567
675456ef
RM
23568 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23569 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23570 -Iprograms here.
23571 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23572 (localedef-modules): Add localedef.
23573 (locale-modules): Add locale.
23574
5e4287d1
RM
23575 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23576 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23577 to avoid a warning.
23578
9c96ff23
DM
235792011-08-14 David S. Miller <davem@davemloft.net>
23580
23581 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23582 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23583
f9ddf089
UD
235842011-08-13 Ulrich Drepper <drepper@gmail.com>
23585
44f0a71e 23586 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23587 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23588 * elf/rtld.c (dl_main): Set l_name of vDSO.
23589 Call _dl_show_scope when DL_DEBUG_SCOPES.
23590 (process_dl_debug): Recognize scopes flag and also set it for all.
23591 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23592 Declare _dl_show_scope.
23593
1dc27704
UD
23594 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23595 (do_dlopen): Pass caller_dlopen to dl_open.
23596 (__libc_dlopen_mode): Initialize caller_dlopen.
23597
f9ddf089
UD
23598 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23599 of libc. Make tolower call locale-independent. Optimize a bit by
23600 using isdigit instead of isalnum.
23601 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23602
9ac533d3
UD
236032011-08-12 Ulrich Drepper <drepper@gmail.com>
23604
23605 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23606 was a dependency or dynamically loaded.
23607
89edf2e9
UD
236082011-08-11 Ulrich Drepper <drepper@gmail.com>
23609
8e999d29
UD
23610 * intl/l10nflist.c: Allow architecture-specific pop function.
23611 * sysdeps/x86_64/l10nflist.c: New file.
23612
89edf2e9
UD
23613 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23614 classification.
23615
14d96785
AS
236162011-08-10 Andreas Schwab <schwab@redhat.com>
23617
23618 * include/dirent.h: Add libc_hidden_proto for scandirat and
23619 scandirat64. Don't declare __scandirat64.
23620 * dirent/scandirat.c: Add libc_hidden_def.
23621 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23622 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23623
6761ac04
DM
236242011-08-10 David S. Miller <davem@davemloft.net>
23625
23626 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23627 enum.
23628 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23629 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23630 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23631
c55fbd1e
UD
236322011-08-09 Ulrich Drepper <drepper@gmail.com>
23633
23634 * Versions.def [libc]: Add GLIBC_2.15.
23635 * dirent/Makefile (routines): Add scandirat and scandirat64.
23636 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23637 GLIBC_2.15.
23638 * dirent/dirent.h: Declare scandirat and scandirat64.
23639 * dirent/scandirat.c: New file.
23640 * dirent/scandirat64.c: New file.
23641 * sysdeps/wordsize-64/scandirat.c: New file.
23642 * sysdeps/wordsize-64/scandirat64.c: New file.
23643 * dirent/opendir.c: Define opendirat.
23644 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23645 using scandirat.
23646 * dirent/scandir64.c: Adjust for scandir.c change.
23647 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23648 __scandirat64, and __scandir_cancel_handler.
23649 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23650 additional parameter and use openat instead of open (outside of ld.so).
23651 Add new __opendir as wrapper around __opendirat.
23652 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23653 here without requiring old scandirat implementation.
23654
879165f2
UD
236552011-08-08 Ulrich Drepper <drepper@gmail.com>
23656
23657 * dirent/scandir.c (cancel_handler): Renamed to
23658 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23659 defined. Adjust users.
23660 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23661 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23662
cb7e923b
UD
236632011-08-04 Ulrich Drepper <drepper@gmail.com>
23664
16292edd
UD
23665 * string/test-string.h (IMPL): Use __STRING to expand name and then
23666 stringify it.
23667
cb7e923b
UD
23668 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23669 of cleanups.
23670
cff82933
LD
236712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23672
23673 * string/Makefile: Update.
23674 (strop-tests): Append strncat.
23675 * string/test-wcscmp.c: New file.
23676 New comprehensive test for wcscmp.
23677 * string/test-strcmp.c: Update.
23678 (WIDE): New define.
23679
9be9bfcc
AS
236802011-07-22 Andreas Schwab <schwab@redhat.com>
23681
23682 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23683 line.
23684
2e96f1c7
AS
236852011-07-26 Andreas Schwab <schwab@redhat.com>
23686
23687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23688 encoding to ACE if AI_IDN.
23689
85188888
JJ
236902011-08-01 Jakub Jelinek <jakub@redhat.com>
23691
23692 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23693 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23694
5fa16e9b
LD
236952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23696
23697 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23698 Fix overflow bug in strncat.
23699 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23700
23701 * string/test-strncat.c: Update.
23702 Add new tests for checking overflow bugs.
23703
237042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23705
23706 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23707 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23708 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23709 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23710 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23711 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23712 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23713 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23714 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23715
23716 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23717 (USE_AS_STRCAT): Define.
23718 Add strcat and strncat support.
23719 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23720
8c1a459f
AS
237212011-07-25 Andreas Schwab <schwab@redhat.com>
23722
23723 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23724 __n bigger than INT_MAX+1.
23725 (__strncmp_g): Likewise.
23726
bba33c28
UD
237272011-07-23 Ulrich Drepper <drepper@gmail.com>
23728
798be72d
UD
23729 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23730 * libio/stido.h: Likewise.
23731
8accd4dc
UD
23732 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23733 (AF_NFC): Define.
23734 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23735 (AF_NFC): Define.
23736
cbff0d96
UD
23737 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23738 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23739 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23740 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23741 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23742
9191c04a
UD
23743 [BZ #13021]
23744 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23745 installed.
23746
bba33c28
UD
23747 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23748 typo.
23749 (_dl_x86_64_save_sse): Likewise.
23750
90f139dd
UD
237512011-07-22 Ulrich Drepper <drepper@gmail.com>
23752
1aae088a
UD
23753 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23754 OSXSAVE.
23755 (_dl_x86_64_save_sse): Likewise.
23756
8e2045f5
UD
23757 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23758
90f139dd
UD
23759 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23760
1d002f25
AS
237612011-07-21 Andreas Schwab <schwab@redhat.com>
23762
23763 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23764 change.
23765 (_dl_x86_64_save_sse): Use correct AVX check.
23766
21137f89
UD
237672011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23768
23769 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23770 bug in strncpy/strncat.
23771 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23772
a65c0b7a
UD
237732011-07-21 Ulrich Drepper <drepper@gmail.com>
23774
23775 * string/tester.c (test_strcat): Add tests for different alignments
23776 of source and destination.
23777 (test_strncat): Likewise.
23778
6986b98a
UD
237792011-07-20 Ulrich Drepper <drepper@gmail.com>
23780
90bb2039
UD
23781 [BZ #12852]
23782 * posix/glob.c (glob): Check passed in values before using them in
23783 expressions to avoid some overflows.
23784 (glob_in_dir): Likewise.
23785
5644ef54
UD
23786 [BZ #13007]
23787 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23788 check for AVX enablement so that we don't crash with old kernels and
23789 new hardware.
23790 * elf/tst-audit4.c: Add same checks here.
23791 * elf/tst-audit6.c: Likewise.
23792
23793 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 23794
bfc9dc9b
AS
237952011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23796
23797 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23798
702e64bb
UD
237992011-07-20 Ulrich Drepper <drepper@gmail.com>
23800
23801 * po/cs.po: Update from translation team.
23802 * po/bg.po: Likewise.
23803
295e904f
MP
238042011-07-12 Marek Polacek <mpolacek@redhat.com>
23805
23806 * misc/sys/cdefs.h: Add support for const attribute.
23807 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23808 to gnu_dev_{major,minor,makedev} functions.
23809
3ff94596
MP
238102011-07-20 Marek Polacek <mpolacek@redhat.com>
23811
23812 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23813
28b59fca
AS
238142011-07-20 Andreas Schwab <schwab@redhat.com>
23815
23816 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23817 strlen results.
23818
19df733e
AK
238192011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23820
23821 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23822 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23823 register in order to avoid conflicts with the soft frame pointer
23824 being held in r11 when necessary.
23825 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23826 (INTERNAL_VSYSCALL_NCS): Likewise.
23827
c8835729
MP
238282011-07-14 Marek Polacek <mpolacek@redhat.com>
23829
23830 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23831 * elf/dl-fini.c (_dl_fini): Adjust caller.
23832 * elf/dl-close.c (_dl_close_worker): Likewise.
23833 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23834
b902330c
MP
238352011-07-15 Marek Polacek <mpolacek@redhat.com>
23836
8991e135
MP
23837 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23838 "aux_cache->nlibs < 0".
23839
b902330c
MP
23840 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23841 in the reload-count case.
23842
99710781
LD
238432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23844
23845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23846 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23847 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23848 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23849 * sysdeps/x86_64/multiarch/strcat.S: New file.
23850 * sysdeps/x86_64/multiarch/strncat.S: New file.
23851 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23852 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23853 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23854 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23855 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23856 (USE_AS_STRCAT): Define.
23857 Add strcat and strncat support.
23858 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23859 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23860 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23861 * string/strncat.c: Update.
23862 (USE_AS_STRNCAT): Define.
23863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23864 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23865 and i7.
23866 * sysdeps/x86_64/multiarch/init-arch.h
23867 (bit_Prefer_PMINUB_for_stringop): New.
23868 (index_Prefer_PMINUB_for_stringop): Likewise.
23869 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23870 bit_Prefer_PMINUB_for_stringop.
23871
7dc6bd90
UD
238722011-07-19 Ulrich Drepper <drepper@gmail.com>
23873
23874 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23875 buffer64.
23876 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23877 of casting of buffer.
23878 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23879 buffer32 and buffer64.
23880 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23881 writes instead of casting of buffer.
23882 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23883 buffer32.
23884 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23885 casting of buffer.
23886
e0e72284
AS
238872011-07-19 Andreas Schwab <schwab@redhat.com>
23888
23889 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23890
feb1eb0b
UD
238912011-07-19 Ulrich Drepper <drepper@gmail.com>
23892
23893 * nscd/nscd.c (termination_handler): Don't do anything for a database
23894 if it has not yet been initialized.
23895
298711ff
UD
238962011-07-18 Ulrich Drepper <drepper@gmail.com>
23897
23898 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23899
239002011-07-15 Marek Polacek <mpolacek@redhat.com>
23901
23902 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23903
f9d68389
UD
239042011-07-18 Ulrich Drepper <drepper@gmail.com>
23905
23906 * po/nl.po: Update from translation team.
23907 * po/sv.po: Likewise.
23908
db290cf5
RM
239092011-07-16 Roland McGrath <roland@hack.frob.com>
23910
23911 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23912 now disallowed by GCC.
5c550700 23913
fd5e21c7
RM
23914 * configure.in (use-default-link): Default to yes if a test -shared
23915 link meets our qualifications.
23916 * configure: Regenerated.
23917
5c550700
RM
23918 * config.make.in (output-format): New variable.
23919 * configure.in: Check for ld --print-output-format support.
23920 * configure: Regenerated.
23921 * Makerules ($(common-objpfx)format.lds)
23922 [$(output-format) != unknown]: Just use $(output-format),
23923 instead of the linker-script munging.
23924
9fa2c032
RM
239252011-07-14 Roland McGrath <roland@hack.frob.com>
23926
a6928d51
RM
23927 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23928 of $(common-objpfx)shlib.lds.
23929 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23930
661607b3
RM
23931 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23932 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23933
9fa2c032
RM
23934 * configure.in (-z relro check): Adjust test code to add a large
23935 writable data section after it.
23936 * configure: Regenerated.
23937
defe9061
RM
239382011-07-11 Roland McGrath <roland@hack.frob.com>
23939
23940 * configure.in (-z relro check): Fix test code to make the variable
23941 truly const.
23942 * configure: Regenerated.
23943
319b9ad4
UD
239442011-07-11 Ulrich Drepper <drepper@gmail.com>
23945
23946 * nscd/nscd.h (struct traced_file): Define.
23947 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23948 elements. Add traced_files.
23949 (inotify_fd): Declare.
23950 (register_traced_file): Declare.
23951 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23952 (inotify_fd): Export.
23953 (resolv_conf_descr): Remove.
23954 (nscd_init): Move inotify descriptor creation to main.
23955 Don't register files for notification here.
23956 (register_traced_file): New function.
23957 (invalidate_cache): Don't use reset_res to determine whether to call
23958 res_init, go through the list of registered files.
23959 (main_loop_poll): The inotify descriptors are now stored in the
23960 structures for the traced files.
23961 (main_loop_epoll): Likewise
23962 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23963 to __nss_disable_nscd.
23964 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23965 for a database anymore. Check the records for all the registered
23966 files instead.
23967 * nss/Makefile (libnss_files-routines): Add files-init.
23968 (libnss_db-routines): Add db-init.
23969 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23970 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23971 * nss/nss_db/db-init.c: New file.
23972 * nss/nss_files/files-init.c: New file.
23973 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23974 __nss_lookup_function.
23975 (__nss_lookup_function): Call nss_load_library.
23976 (nss_load_all_libraries): New function.
23977 (__nss_disable_nscd): Take parameter with callback function for files
23978 to register. Set is_nscd. Load all the DSOs for the NSS modules
23979 used for the cached services.
23980 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23981 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23982 options for features to all the files in nscd.
23983
23984 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23985
23bee3e8
RM
239862011-07-10 Roland McGrath <roland@hack.frob.com>
23987
23988 * csu/elf-init.c (__libc_csu_init): Comment typo.
23989
46a5b7f0
UD
239902011-07-09 Ulrich Drepper <drepper@gmail.com>
23991
23992 * po/pl.po: Update from translation team.
23993 * po/ja.po: Likewise.
23994 * po/ru.po: Likewise.
23995 * po/ko.po: Likewise.
23996 * po/fr.po: Likewise.
23997
d30cf5bb
RM
239982011-07-09 Roland McGrath <roland@hack.frob.com>
23999
113ddea4
RM
24000 * configure.in (.ctors/.dtors header and trailer check):
24001 Use an empirical test on a built program.
24002 * configure: Regenerated.
24003
574920b4
RM
24004 * configure.in (-z relro check): Use an empirical test on a built DSO.
24005 Detect, but do not require, on ia64.
24006 * configure: Regenerated.
24007
d30cf5bb
RM
24008 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24009 Update tests that use readelf to use $READELF instead.
24010 * configure: Regenerated.
24011
8538fdb3
UD
240122011-07-08 Ulrich Drepper <drepper@gmail.com>
24013
24014 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24015 if the result is not used.
24016
04d08991
AJ
240172011-07-05 Andreas Jaeger <aj@suse.de>
24018
24019 [BZ#9696]
24020 * stdlib/tst-strtod.c: Add testcase.
24021
de283087
AD
240222011-07-07 Ulrich Drepper <drepper@gmail.com>
24023
4e5f31c8 24024 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24025 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24026 The latter has a higher limit. Take additional parameter to pass to
24027 the new function.
24028 (__pathconf): Pass file to __statfs_link_max.
24029 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24030 __statfs_link_max.
24031 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24032 __statfs_link_max.
24033
de283087
AD
24034 [BZ #12868]
24035 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24036 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24037 Handle Lustre.
24038 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24039 (__statfs_filesize_max): Likewise.
24040 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24041
c75fa153
AJ
240422011-07-05 Andreas Jaeger <aj@suse.de>
24043
24044 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24045
1a544854
UD
240462011-07-06 Marek Polacek <mpolacek@redhat.com>
24047
24048 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24049 `status' variable.
24050 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24051 Likewise.
24052
6f0eec67
UD
240532011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24054
24055 * Makefile (strop-tests): Add strncat.
24056 * string/test-strncat.c: New file.
24057
aae30307
UD
240582011-06-30 Marek Polacek <mpolacek@redhat.com>
24059
24060 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24061
c0cfb5eb
UD
240622011-06-21 Andreas Jaeger <aj@suse.de>
24063
24064 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24065 Copy rule from iconvdata/Makefile.
24066
01636b21
UD
240672011-07-06 Ulrich Drepper <drepper@gmail.com>
24068
24069 [BZ #12922]
24070 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24071 but no long options are defined, just return 'W'.
24072
9895c8bc
UD
240732011-06-22 Marek Polacek <mpolacek@redhat.com>
24074
24075 [BZ #9696]
24076 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24077
5d4cf042
UD
240782011-07-06 Ulrich Drepper <drepper@gmail.com>
24079
24080 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24081 netgroups to read.
960e5535 24082 (innetgr): Likewise.
5d4cf042 24083
751eb97e
RM
240842011-07-05 Roland McGrath <roland@hack.frob.com>
24085
24086 * config.make.in (install_root): Default to $(DESTDIR).
24087
f15f1e45
UD
240882011-07-05 Ulrich Drepper <drepper@gmail.com>
24089
24090 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24091
4e34ac6a
RM
240922011-07-02 Roland McGrath <roland@hack.frob.com>
24093
5e9b6af4
RM
24094 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24095
84f9ea0f
RM
24096 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24097 containing directory rather than embedding absolute directory names.
24098
ea5ee9f7
RM
24099 * scripts/check-local-headers.sh: Rewritten using awk.
24100 Match by word, not by line. Print error messages for matches.
24101 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24102
1b74661a
RM
24103 * Makerules [shlib-lds-flags empty]:
24104 ($(common-objpfx)libc_pic.opts): New target.
24105 ($(common-objpfx)libc_pic.os.clean): New target.
24106 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24107
24108 * config.make.in (OBJCOPY): New variable.
24109 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24110 * configure: Regenerated.
24111
f781ef40
RM
24112 * config.make.in (use-default-link): New variable.
24113 * configure.in (use_default_link): Grok --with-default-link to set it.
24114 * configure: Regenerated.
24115 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24116 (shlib-lds, shlib-lds-flags): Define to empty.
24117
2d4fa81e
RM
24118 * Makerules (shlib-lds): New variable.
24119 (shlib-lds-flags): New variable.
24120 (build-shlib, build-moduile, build-module-asneeded): Use it.
24121 ($(common-objpfx)libc.so): Use $(shlib-lds).
24122 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24123 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24124
31fffa6b
RM
24125 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24126 DT_FLAGS/DT_FLAGS_1 with zero flags.
24127
4e34ac6a
RM
24128 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24129 linker script munging.
24130
fcfc776b
UD
241312011-07-02 Ulrich Drepper <drepper@gmail.com>
24132
24133 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24134 as 128-bit value.
24135 * crypt/sha512.c (sha512_process_block): Perform total addition using
24136 128-bit if possible.
24137 (__sha512_finish_ctx): Likewise.
24138 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24139 as 64-bit value.
24140 * crypt/sha256.c (SWAP64): Define.
24141 (sha256_process_block): Perform total addition using 64-bit if
24142 possible.
24143 (__sha256_finish_ctx): Likewise.
24144
99231d9a
UD
241452011-07-01 Ulrich Drepper <drepper@gmail.com>
24146
24147 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24148 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24149 * nscd/hstcache.c (cache_addhst): Likewise.
24150 * nscd/grpcache.c (cache_addgr): Likewise.
24151 * nscd/aicache.c (addhstaiX): Likewise
24152 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24153
445b4a53
TK
241542011-07-01 Thorsten Kukuk <kukuk@suse.de>
24155
24156 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24157 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24158 * nscd/hstcache.c (cache_addhst): Likewise.
24159 * nscd/grpcache.c (cache_addgr): Likewise.
24160 * nscd/aicache.c (addhstaiX): Likewise
24161
6d4d8e8e
AS
241622011-07-01 Andreas Schwab <schwab@redhat.com>
24163
24164 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24165 domain only when needed.
24166
89f654c5
AS
241672011-06-30 Andreas Schwab <schwab@redhat.com>
24168
24169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24170 is always restored.
24171
cf3b23ff
UD
241722011-06-29 Ulrich Drepper <drepper@gmail.com>
24173
24174 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24175 are re-adding the entry.
24176 * nscd/servicescache.c (cache_addserv): Likewise.
24177
751626f9
AJ
241782011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24179
24180 * sysdeps/generic/dl-irel.h: fix protection against multiple
24181 inclusions.
24182 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24183
9113ea1f
UD
241842011-06-28 Ulrich Drepper <drepper@gmail.com>
24185
5c0b8d90
UD
24186 [BZ #12935]
24187 * malloc/memusage.sh: Fix quoting in message.
24188 * debug/xtrace.sh: Likewise.
24189
9113ea1f
UD
24190 * configure.in: Remove support for --experimental-malloc option, make
24191 it the default.
24192 * config.make.in: Likewise.
24193 * malloc/Makefile: Likewise.
24194
a4172181
AS
241952011-06-27 Andreas Schwab <schwab@redhat.com>
24196
24197 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24198 two-byte characters.
24199
78a7eee7
RM
242002011-06-27 Roland McGrath <roland@hack.frob.com>
24201
62bede13
RM
24202 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24203 AC_CACHE_CHECK invocation.
24204 * configure: Regenerated.
24205
78a7eee7
RM
24206 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24207
5ce33a62
UD
242082011-06-27 Ulrich Drepper <drepper@gmail.com>
24209
034807a9
UD
24210 [BZ #12350]
24211 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24212 bit from old_res_options.
24213
4902da17
UD
24214 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24215
5ce33a62
UD
24216 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24217 value type for setfct.
24218
c2344f56
L
242192011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24220
24221 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24222 __gettimeofday instead of gettimeofday.
24223
68468076
UD
242242011-06-26 Ulrich Drepper <drepper@gmail.com>
24225
24226 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24227
acb0d739
L
242282011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24229
24230 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24231
24232 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24233 info.
24234
8912479f
L
242352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24236
24237 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24238 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24239 strcpy-sse2-unaligned strncpy-sse2-unaligned
24240 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24241 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24242 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24243 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24244 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24245 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24246 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24247 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24248 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24249 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24250 (STRCPY): Support SSE2 and SSSE3 versions.
24251
d5495a11
UD
242522011-06-24 Ulrich Drepper <drepper@gmail.com>
24253
24254 [BZ #12874]
24255 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24256 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24257 kernels which artificially limit size of requests.
24258
0b1cbaae
L
242592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24260
24261 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24262 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24263 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24264 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24265 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24266 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24267 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24268 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24269 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24270 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24271 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24272 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24273 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24274 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24275 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24277 Enable unaligned load optimization for Intel Core i3, i5 and i7
24278 processors.
24279 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24280 Define.
24281 (index_Fast_Unaligned_Load): Define.
24282 (HAS_FAST_UNALIGNED_LOAD): Define.
24283
07f494a0
MP
242842011-06-23 Marek Polacek <mpolacek@redhat.com>
24285
24286 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24287
fa3fc0fe
UD
242882011-06-22 Ulrich Drepper <drepper@gmail.com>
24289
24290 [BZ #12907]
24291 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24292 until it is clear that the information is realy needed.
24293 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24294
e12df166
AS
242952011-06-22 Andreas Schwab <schwab@redhat.com>
24296
24297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24298
852eb34d
UD
242992011-06-22 Ulrich Drepper <drepper@gmail.com>
24300
84e2a551
UD
24301 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24302 /sys/devices/system/cpu/online if it is usable.
24303
852eb34d
UD
24304 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24305 reading the information from the /proc filesystem to once a second.
24306
6e502e19
UD
243072011-06-21 Andreas Jaeger <aj@suse.de>
24308
24309 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24310 NULL after inclusion of kernel headers.
24311
75d39ff2
UD
243122011-06-21 Ulrich Drepper <drepper@gmail.com>
24313
51f9aa6a
UD
24314 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24315 calls to internal_setent.
24316
c0244a9d
UD
24317 [BZ #12885]
24318 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24319 addresses using gethostbyname4_r ignore IPv4 addresses.
24320
c5e3c2ae
UD
24321 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24322 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24323
75d39ff2
UD
24324 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24325
42675c6f
DM
243262011-06-20 David S. Miller <davem@davemloft.net>
24327
24328 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24329 inclusions.
24330 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24331
24332 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24333 (elf_irel): Use it.
24334 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24335 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24336 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24337 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24338 * sysdeps/x86_64/dl-irel.h: Likewise.
24339
24340 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24341 * elf/dl-sym.c: Likewise.
24342
57912a71
UD
243432011-06-15 Ulrich Drepper <drepper@gmail.com>
24344
24345 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24346 need to dereference resplen2.
24347
ee22793d
AS
243482011-06-14 Andreas Schwab <schwab@redhat.com>
24349
24350 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24351
a9e836b0
UD
243522011-06-15 Ulrich Drepper <drepper@gmail.com>
24353
77fb9117
UD
24354 * Makeconfig: Define vardbdir and inst_vardbdir.
24355 * nss/Makefile: Add rules to install db-Makefile.
24356
40c1b22c
UD
24357 * nss/nss_db/db-XXX.c: Cleanup.
24358
9f2da732
UD
24359 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24360 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24361 GLIBC_PRIVATE.
24362 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24363 * nss/makedb.c: Implement -g option to specify that value strings
24364 are generated and should not be added to table iterated over for
24365 get*ent calls.
24366 * nss/nss_db/db-initgroups.c: New file.
24367
82e9a1f7
UD
24368 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24369 interface.
24370
c41af17e
UD
24371 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24372 (internal_getgrouplist): Adjust to name change.
24373 Update use_initgroups_entry if this is not the first call.
24374 * nss/databases.def: Add initgroups entry.
24375
a9e836b0
UD
24376 * nss/makedb.c (compute_tables): Check result of multiple hash table
24377 sizes to minimize maximum chain length.
24378
2666d441
UD
243792011-06-14 Ulrich Drepper <drepper@gmail.com>
24380
24381 * Versions.def: Add entry for libnss_db.
24382 * shlib-versions: Likewise.
24383 * nss/Makefile: Add rules to build libnss_db.
24384 * nss/Versions: Add libnss_db information. Organize libnss_files
24385 entries better.
24386 * nss/db-Makefile: Add gshadow support. Change rules for the new
24387 makedb progra. Some minor improvements to generate smaller files.
24388 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24389 here from...
24390 * nss/makedb.c: ...here.
24391 Improve database format to be smaller and require less memory at
24392 runtime.
24393 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24394 db anymore.
24395 * nss/nss_db/db-netgrp.c: Likewise.
24396 * nss/nss_db/db-open.c: Likewise.
24397 * nss/nss_files/flies-XXX.x: Adjust comments.
24398 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24399 * nss/nss_files/files-grp.c: Likewise.
24400 * nss/nss_files/files-hosts.c: Likewise.
24401 * nss/nss_files/files-network.c: Likewise.
24402 * nss/nss_files/files-proto.c: Likewise.
24403 * nss/nss_files/files-pwd.c: Likewise.
24404 * nss/nss_files/files-rpc.c: Likewise.
24405 * nss/nss_files/files-service.c: Likewise.
24406 * nss/nss_files/files-sgrp.c: Likewise.
24407 * nss/nss_files/files-spwd.c: Likewise.
24408 * nss/nss_db/db-alias.c: Removed.
24409 * nss/nss_db/dummy-db.h: Removed.
24410
9ee76b5a
UD
244112011-06-02 Ulrich Drepper <drepper@gmail.com>
24412
24413 * nss/makedb.c: Rewritten to not use database library.
24414 * nss/Makefile: Update to build new makedb program.
24415
c71ca1f8
AJ
244162011-06-14 Andreas Jaeger <aj@suse.de>
24417
24418 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24419 memset declaration.
24420
3154bfb8
UD
244212011-06-10 Andreas Schwab <schwab@redhat.com>
24422
24423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24424 tmpbuf.
24425
b350afab
RM
244262011-06-10 Roland McGrath <roland@hack.frob.com>
24427
decd4e50
RM
24428 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24429 * elf/Makefile ($(objpfx)ld.so): Likewise.
24430
5615eaf2
RM
24431 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24432 Don't list ld.so twice in dependencies.
24433
24434 * posix/bug-regex31.c: Include <stdlib.h>.
24435
24436 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24437
24438 * nis/nss_compat/compat-spwd.c
24439 (getspent_next_nss_netgr): Remove unused variable.
24440 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24441
24442 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24443 nonmembers" output to use the right array.
24444
24445 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24446
24447 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24448
24449 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24450 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24451 * catgets/gencat.c (read_input_file): Likewise.
24452 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24453
24454 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24455 variable definition inside #if's controlling its use.
24456
24457 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24458
24459 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24460
24461 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24462
24463 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24464 unreachable code.
24465
24466 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24467
b68e08db
RM
24468 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24469 * configure: Regenerated.
24470
b350afab
RM
24471 * Makerules: Revert last change.
24472 * elf/Makefile: Likewise.
24473
28368601
RM
244742011-06-09 Roland McGrath <roland@hack.frob.com>
24475
24476 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24477 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24478 (reloc-link): Likewise.
24479
11988f8f
UD
244802011-06-09 Ulrich Drepper <drepper@gmail.com>
24481
24482 * elf/Makefile: Add rules to build pldd.
24483 * elf/pldd.c: New file.
24484 * elf/pldd-xx.c: New file.
24485
e80fab37
UD
244862011-06-07 Ulrich Drepper <drepper@gmail.com>
24487
24488 * version.h: Update for 2.15 development version.
24489
9b849836
DM
244902011-06-07 David S. Miller <davem@davemloft.net>
24491
24492 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24493 ifuncs.
24494 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24495 elf_machine_lazy_rel): Likewise.
24496 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24497 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24498 elf_machine_lazy_rel): Likewise.
24499 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24500 dl_hwcap via passed in argument.
24501 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24502 Likewise.
24503
5a31b283
AK
245042011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24505
24506 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24507
069e52f8
RM
245082011-06-06 Roland McGrath <roland@hack.frob.com>
24509
24510 [BZ #12849]
24511 * manual/fdl-1.1.texi: New file, verbatim from:
24512 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24513 * manual/lgpl-2.1.texi: New file, verbatim from:
24514 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24515 * manual/Makefile (licenses): New variable, list those new file names.
24516 (texis): Use it.
24517 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24518
24519 * manual/fdl.texi: File removed.
24520 * manual/lesser.texi: File removed.
24521 * manual/libc.texinfo (Copying, Documentation License):
24522 Use new @include file names, put @appendix directive before @include.
24523
f16846a5
JJ
245242011-06-04 Jakub Jelinek <jakub@redhat.com>
24525
24526 [BZ #12841]
24527 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24528 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24529 (mq_open): Add __NTH.
24530
3d29045b
L
245312011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24532
24533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24534 Assume Intel Core i3/i5/i7 processor if AVX is available.
24535
8c297311
UD
245362011-05-31 Ulrich Drepper <drepper@gmail.com>
24537
24538 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24539 typo.
24540
c8fc0c91
UD
245412011-05-31 Andreas Schwab <schwab@redhat.com>
24542
24543 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24544 memory. Use alloca_account. Fix memory leak when retrying.
24545
5b27a807
UD
245462011-05-31 Ulrich Drepper <drepper@gmail.com>
24547
356f8bc6
UD
24548 * version.h (RELEASE): Bump for 2.14 release.
24549 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24550
5b27a807
UD
24551 * config.make.in (RANLIB): Remove entry.
24552
01f16ab0
UD
245532011-05-30 Ulrich Drepper <drepper@gmail.com>
24554
41fce8bd
UD
24555 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24556 (libc.pot): Work around missing support for .ksh extension in xgettext.
24557
4769ae77
UD
24558 [BZ #12684]
24559 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24560 if both request failed.
24561 (send_dg): In case of server errors clear resplen or *resplen2.
24562
6b1e7d19
UD
24563 [BZ #12454]
24564 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24565 when there are multiple maps.
24566 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24567 (_dl_fini): Remove test here.
24568
01f16ab0
UD
24569 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24570
b1ebd700
UD
245712011-05-29 Ulrich Drepper <drepper@gmail.com>
24572
7ae22829
UD
24573 [BZ #12350]
24574 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24575 bit from old_res_options.
24576 (gaih_inet): Likewise.
24577
553149f6 24578 [BZ #11099]
18a84741 24579 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24580 as signed.
24581
652ffab1
UD
24582 * resolv/res_init.c (res_setoptions): Make the code more compact.
24583
16985fd0
UD
24584 [BZ #11558]
24585 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24586 set RES_USEVC.
24587
0464f746
UD
24588 [BZ #11634]
24589 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24590
7d17596c
UD
24591 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24592
cf6bbbd7
UD
24593 [BZ #11781]
24594 * malloc/malloc.h: Declare malloc hook variables as volatile.
24595
13f1ab36
UD
24596 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24597 in last patch.
24598
b1ebd700
UD
24599 [BZ #11799]
24600 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24601 raise in the comment.
80e2212d
UD
24602 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24603 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24604 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24605
ce67228d
UD
246062011-05-28 Ulrich Drepper <drepper@gmail.com>
24607
8887a920
UD
24608 [BZ #12811]
24609 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24610 grow the buffers more if it already has to be sufficient.
24611 (build_wcs_upper_buffer): Likewise.
24612 * posix/regexec.c (check_matching): Likewise.
24613 (clean_state_log_if_needed): Likewise.
24614 (extend_buffers): Don't enlarge buffers beyond size of the input
24615 buffer.
24616 Patches mostly by Emil Wojak <emil@wojak.eu>.
24617 * posix/bug-regex32.c: New file.
24618 * posix/Makefile (tests): Add bug-regex32.
24619
4f031072
UD
24620 * locale/findlocale.c (_nl_find_locale): Return right away if
24621 _nl_explode_name failed.
24622 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24623
d0478f0c
UD
24624 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24625
de81b246
UD
24626 * debug/xtrace.sh: Unify messages.
24627 * malloc/memusage.sh: Likewise.
24628
c738465a
UD
24629 [BZ #12813]
24630 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24631 time symbol from vDSO. Substitute with vsyscall if not available.
24632 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24633 __vdso_time.
24634
f1f929d7
UD
24635 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24636 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24637 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24638 Add sendmmsg and internal_sendmmsg.
24639 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24640 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24641 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24642
ce67228d
UD
24643 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24644 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24645 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24646
e57420c6
UD
246472011-05-27 Ulrich Drepper <drepper@gmail.com>
24648
a8509ca5
UD
24649 [BZ #12813]
24650 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24651 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24652 available.
24653 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24654 __vdso_getcpu.
24655
e57420c6
UD
24656 [BZ #12814]
24657 * iconvdata/Makefile (tests): Add bug-iconv9.
24658 * iconvdata/bug-iconv9.c: New file.
24659
4d07db15
AS
246602011-05-27 Andreas Schwab <schwab@redhat.com>
24661
24662 [BZ #12814]
24663 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24664
ea486f69
JJ
246652011-05-25 Jakub Jelinek <jakub@redhat.com>
24666
24667 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24668 (struct user_regs_struct): Change intcs field back to cs.
24669
6f038433
UD
246702011-05-25 Ulrich Drepper <drepper@gmail.com>
24671
24672 * po/ja.po: Update from translation team.
24673
67f86a25
UD
246742011-05-23 Ulrich Drepper <drepper@gmail.com>
24675
24676 [BZ #12795]
24677 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24678 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24679
def7fbd6
AS
246802011-05-20 Andreas Schwab <schwab@redhat.com>
24681
24682 * stdlib/longlong.h: Update from GCC.
24683
f50ef8f1
AS
246842011-05-23 Andreas Schwab <schwab@redhat.com>
24685
24686 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24687 parameter name.
24688 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24689 Add parameter name.
24690 (__sysconf): Pass it down.
24691
de7ce8f1
UD
246922011-05-22 Ulrich Drepper <drepper@gmail.com>
24693
f2962a71
UD
24694 [BZ #12671]
24695 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24696 some situations.
24697 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24698 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24699 add in in __libc_use_alloca calls. Adjust callers.
24700 (glob): Use malloc in some situations.
24701
de7ce8f1
UD
24702 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24703 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24704 pltexit.
24705
aec84f53
UD
247062011-05-21 Ulrich Drepper <drepper@gmail.com>
24707
05bb4a68
UD
24708 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24709 and CLOCK_BOOTTIME_ALARM.
24710
7ea72f99
UD
24711 [BZ #12782]
24712 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24713 is returned.
24714
7e4afad5
UD
24715 * string/_strerror.c (__strerror_r): Print negative errors as signed
24716 numbers.
24717
8e211fec
UD
24718 [BZ #12777]
24719 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24720 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24721 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24722
f7d82dc9
UD
24723 * configure.in: Fix typo in redirection and correct removal of test
24724 files in two cases.
24725
cc9e536d
UD
24726 [BZ #12788]
24727 * locale/setlocale.c (new_composite_name): Fix test to check for
24728 identical name of all categories.
24729
aec84f53
UD
24730 [BZ #12792]
24731 * libio/filedoalloc.c (local_isatty): New function.
24732 (_IO_file_doallocate): Use local_isatty.
24733 * stdio-common/perror.c (perror): In case a new stream is used
24734 forward the stream error.
24735 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24736 error flag.
24737
78e64fdc
RT
247382011-05-20 Ulrich Drepper <drepper@gmail.com>
24739
34a9094f
UD
24740 [BZ #11869]
24741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24742 alloca.
24743 * include/alloca.h (extend_alloca_account): Define.
24744
78e64fdc
RT
24745 [BZ #11857]
24746 * posix/regex.h: Fix comments with documentation of user-accessible
24747 fields after compilation and describe correct free'ing of pattern
24748 after re_compile_pattern.
24749 Patch by Reuben Thomas <rrt@sc3d.org>.
24750
457bddfc
RA
247512011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24752
24753 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24754 and -mno-altivec to prevent the compiler from using Altivec and/or
24755 VSX instructions when the corresponding registers are not available.
24756
a4527b51
AS
247572011-05-19 Andreas Schwab <schwab@redhat.com>
24758
24759 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24760
ed690b2f
UD
247612011-05-19 Ulrich Drepper <drepper@gmail.com>
24762
24763 * libio/freopen.c (freopen): Use __dup2, not dup2.
24764 * libio/freopen64.c (freopen64): Likewise.
24765
8db73634
L
247662011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24767
24768 [BZ #12775]
24769 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24770 * math/Makefile (tests): Add test-powl.
24771 (CFLAGS-test-powl.c): Define.
24772 * math/test-powl.c: New file.
24773
0a197a9d
L
247742011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24775
24776 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24777
ee30c380
UD
247782011-05-17 Ulrich Drepper <drepper@gmail.com>
24779
24780 [BZ #11837]
24781 * iconvdata/gb18030.c: Update to GB18020-2005.
24782
6ce75379
UD
247832011-05-16 Ulrich Drepper <drepper@gmail.com>
24784
a4b89fd8
AR
24785 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24786 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24787 Patch by Aharon Robbins <arnold@skeeve.com>.
24788
ea389b12
UD
24789 [BZ #11892]
24790 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24791 on the stack.
24792
68a3f91f
UD
24793 [BZ #11895]
24794 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24795 through underflows.
24796
15cc7dd1
UD
24797 [BZ #12766]
24798 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24799 point to strings before performing equality test for error_one_per_line
24800 mode.
24801
f3799213
UD
24802 [BZ #11697]
24803 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24804
d79a9c94
UD
24805 [BZ #11820]
24806 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24807 (struct user_fpregs_struct): Avoid __uint*_t types.
24808
56e5eb46
UD
24809 [BZ #6420]
24810 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24811 symbol info. Use it instead of calling _dl_addr locally.
24812 (lock_and_info): New function.
24813 (tr_freehook): Call lock_and_info and pass symbol info as additional
24814 parameter to tr_where.
24815 (tr_mallochook): Likewise.
24816 (tr_reallochook): Likewise.
24817 (tr_memalignhook): Likewise.
24818
6ce75379
UD
24819 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24820 used and couldn't be at all thread-safe.
24821
f8a3b5bf
UD
248222011-05-15 Ulrich Drepper <drepper@gmail.com>
24823
94b7cc37
UD
24824 * libio/freopen.c (freopen): Don't close old file descriptor
24825 before the new one is opened. Instead dup the new file descriptor
24826 to the old one after the new stream is created.
24827 * libio/freopen64.c (freopen64): Likewise.
24828 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24829 * libio/fileops.c (_IO_new_file_close_it): Handle new
24830 _IO_FLAGS2_NOCLOSE flag.
24831 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24832 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24833 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24834 _IO_FLAGS2_NOCLOSE flag.
24835 * include/unistd.h: Add hidden_proto for dup3.
24836 Define __have_dup3.
24837 * io/dup3.c: Define hidden symbol.
24838 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24839
bd25564e
UD
24840 [BZ #7101]
24841 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24842 when an incomplete long option is used.
24843 * posix/tst-getopt_long1.c: New file.
24844 * posix/Makefile (tests): Add tst-getopt_long1.
24845
c84cfef4
UD
24846 [BZ #10138]
24847 * scripts/config.guess: Update from autoconf-2.68.
24848 * scripts/config.sub: Likewise.
24849
3b85df27
UD
24850 [BZ #10157]
24851 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24852 tests into ...
24853 (has_cpuclock): ...this. New function.
24854 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24855 macro here based on has_cpuclock code.
24856
15a856b1
UD
24857 [BZ #10149]
24858 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24859 First byte (not low byte) is now always NUL.
24860 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24861
05f399e6
UD
24862 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24863 Use non-cancelable interfaces.
24864
10a52685 24865 [BZ #9809]
94ecc67d
UD
24866 * locale/iso-639.def: Add entry for Sorani.
24867
f8a3b5bf
UD
24868 [BZ #11901]
24869 * include/stdlib.h: Move include protection to the right place.
24870 Define abort_msg_s. Declare __abort_msg with it.
24871 * stdlib/abort.c (__abort_msg): Adjust type.
24872 * assert/assert.c (__assert_fail_base): New function. Majority
24873 of code from __assert_fail. Allocate memory for __abort_msg with
24874 mmap.
24875 (__assert_fail): Now call __assert_fail_base.
24876 * assert/assert-perr.c: Remove bulk of implementation. Use
24877 __assert_fail_base.
24878 * include/assert.hL Declare __assert_fail_base.
24879 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24880 mmap.
24881 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24882
1af4e298
UD
248832011-05-14 Ulrich Drepper <drepper@gmail.com>
24884
f8a3b5bf 24885 [BZ #11952]
d26dfc60
MG
24886 [BZ #12453]
24887 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24888 until all modules are registered in the DTV.
24889 * elf/Makefile: Add rules to build and run tst-tls19.
24890 * elf/tst-tls19.c: New file.
24891 * elf/tst-tls19mod1.c: New file.
24892 * elf/tst-tls19mod2.c: New file.
24893 * elf/tst-tls19mod3.c: New file.
24894 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24895
2fc54d6f
UD
24896 [BZ #12083]
24897 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24898 correctly.
24899
98d76b46
UD
24900 [BZ #12601]
24901 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24902 two-byte sequence errors.
24903 * iconvdata/Makefile (tests): Add bug-iconv8.
24904 * iconvdata/bug-iconv8.c: New file.
24905
da3c19ef
UD
24906 [BZ #12626]
24907 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24908 buf2 definition.
24909
ca408c15
UD
24910 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24911
d6f67f7d
UD
24912 [BZ #12432]
24913 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24914 (dummy_getcfa): New function.
24915 (init): Get _Unwind_GetCFA address, use dummy if not found.
24916 (backtrace_helper): In recursion check, also check whether CFA changes.
24917 (__backtrace): Completely initialize arg.
24918
1af4e298 24919 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
24920 storing incomplete byte sequence in state object. Avoid testing for
24921 guaranteed too small input if we know there is enough data available.
1af4e298 24922
da62f81b
AS
249232011-05-11 Andreas Schwab <schwab@redhat.com>
24924
24925 * Makeconfig (+link-pie): Indent.
24926 * Rules (binaries-pie): Define if $(have-fpie) and
24927 $(build-shared).
24928 (binaries-shared): Also filter out $(binaries-pie).
24929 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24930 * nscd/Makefile (others-pie): Add nscd.
24931 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24932 ($(objpfx)nscd): Remove command override.
24933 * login/Makefile (others-pie): Add pt_chown.
24934 ($(objpfx)pt_chown): Remove command override.
24935 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24936 remove command overrides.
24937
fcabc0f8
UD
249382011-05-13 Ulrich Drepper <drepper@gmail.com>
24939
20030ae6
UD
24940 * libio/tst_putwc.c: Fix error messages.
24941
fcabc0f8
UD
24942 [BZ #12724]
24943 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24944 currently writing and seek to current position when not.
24945 * libio/Makefile (tests): Add bug-fclose1.
24946 * libio/bug-fclose1.c: New file.
24947
320a5dc0
PB
249482011-05-12 Ulrich Drepper <drepper@gmail.com>
24949
24950 [BZ #12511]
24951 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24952 don't set DF_1_NODELETE here.
24953 (do_lookup_x): When entering new entry test for copy relocation
24954 and if necessary set DF_1_NODELETE flag.
24955 * elf/tst-unique4.cc: New file.
24956 * elf/tst-unique4.h: New file.
24957 * elf/tst-unique4lib.cc: New file.
24958 * elf/Makefile: Add rules to build and run tst-unique4.
24959 Patch by Piotr Bury <pbury@goahead.com>.
24960
22836f52
UD
249612011-05-11 Ulrich Drepper <drepper@gmail.com>
24962
f574184a
UD
24963 [BZ #12052]
24964 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24965
e1fb097f
UD
24966 [BZ #12625]
24967 * misc/mntent_r.c (addmntent): Flush the stream after the output
24968
22836f52
UD
24969 [BZ #12393]
24970 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24971 (is_trusted_path_normalize): Skip initial colon. Append slash
24972 to empty buffer. Duplicate is_trusted_path code but allow
24973 constructed patch to be prefix.
24974 (is_dst): Allow $ORIGIN followed by /.
24975 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24976 Correct testing of result of is_trusted_path_normalize
24977 (decompose_rpath): Fix warning.
24978
7b3b0b2a
UD
249792011-05-10 Ulrich Drepper <drepper@gmail.com>
24980
24981 [BZ #11257]
24982 * grp/initgroups.c (internal_getgrouplist): When we found the service
24983 list through the initgroups entry in nsswitch.conf do not always
24984 continue on a successful lookup. Don't always use the
eac80ce2 24985 __nss_group_database value if it is set.
7b3b0b2a
UD
24986 * nss/nsswitch.conf (initgroups): Change action for successful db
24987 lookup to continue for compatibility.
24988
2a81eaa5
UD
249892011-05-09 Ulrich Drepper <drepper@gmail.com>
24990
be97a69e
UD
24991 [BZ #11532]
24992 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24993 and CP774 modules.
24994 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24995 and CP774 modules.
24996 * iconvdata/tst-tables.sh: Likewise.
24997 * iconvdata/cp770.c: New file.
24998 * iconvdata/cp771.c: New file.
24999 * iconvdata/cp772.c: New file.
25000 * iconvdata/cp773.c: New file.
25001 * iconvdata/cp774.c: New file.
25002 * iconvdata/testdata/CP770: New file.
25003 * iconvdata/testdata/CP770..UTF8: New file.
25004 * iconvdata/testdata/CP771: New file.
25005 * iconvdata/testdata/CP771..UTF8: New file.
25006 * iconvdata/testdata/CP772: New file.
25007 * iconvdata/testdata/CP772..UTF8: New file.
25008 * iconvdata/testdata/CP773: New file.
25009 * iconvdata/testdata/CP773..UTF8: New file.
25010 * iconvdata/testdata/CP774: New file.
25011 * iconvdata/testdata/CP774..UTF8: New file.
25012
25013 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25014 END CHARMAP line.
25015 * iconvdata/gen-8bit-gap.sh: Likewise.
25016 * iconvdata/gen-8bit.sh: Likewise.
25017
c1e9e399
UD
25018 * locale/iso-639.def: Add ary entry.
25019
24c55fb3 25020 [BZ #11258]
96b4b1b0
UD
25021 * locale/C-translit.h.in: Add U20A1 transliteration.
25022
bdc2f971
KB
25023 [BZ #12178]
25024 * locale/iso-639.def: Add wae entry.
25025 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25026
2952b117
UD
25027 [BZ #12545]
25028 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25029 for n.
25030
2a81eaa5
UD
25031 [BZ #12711]
25032 * locale/C-translit.h.in: Add entry for U20B9.
25033 Patch by pravin.d.s@gmail.com.
25034
28377d1b
UD
250352011-05-08 Ulrich Drepper <drepper@gmail.com>
25036
7fb90fb8
UD
25037 [BZ #12713]
25038 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25039 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25040 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25041 in rtld. Use *stat64.
7fb90fb8 25042 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25043 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25044 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25045 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25046 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25047 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25048 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25049 __fstatat64 macros.
7fb90fb8
UD
25050 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25051 * dirent/rewinddir.c: Add libc_hidden_def.
25052 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25053 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25054
28377d1b
UD
25055 * include/dirent.h (__alloc_dir): Add flags parameter.
25056 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25057 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25058 __alloc_dir.
25059 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25060 from fdopendir if O_CLOEXEC is already set.
25061
66bdbaa4
AM
250622011-03-15 Alan Modra <amodra@gmail.com>
25063
25064 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25065 l_tls_firstbyte_offset non-zero. Save padding offset in
25066 l_tls_firstbyte_offset for later use.
25067 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25068 freeing static tls block.
25069
95721191
JN
250702011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25071
25072 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25073 where #ifdef was intended. The intent is to prevent ARG_MAX from
25074 being defined by the kernel headers.
25075
f87dfb1f
UD
250762011-05-07 Ulrich Drepper <drepper@gmail.com>
25077
25078 [BZ #12734]
25079 * resolv/resolv.h: Define RES_NOTLDQUERY.
25080 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25081 no-tld-query and set RES_NOTLDQUERY.
25082 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25083 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25084 modern BIND to search name as TLD unless forbidden.
25085
47c3cd7a
UD
250862011-05-07 Petr Baudis <pasky@suse.cz>
25087 Ulrich Drepper <drepper@gmail.com>
25088
25089 [BZ #12393]
25090 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25091 (is_trusted_path): ...to here.
c1e9ea35 25092 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25093 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25094 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25095
8a35c912
PP
250962011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25097
25098 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25099 __BEGIN/__END_DECLS.
25100
acd41f47
UD
251012011-05-06 Ulrich Drepper <drepper@gmail.com>
25102
25103 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25104 NSS_STATUS_NOTFOUND if no record was found.
25105
597df647
AS
251062011-05-05 Andreas Schwab <schwab@redhat.com>
25107
25108 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25109 (headers-not-in-tirpc): Remove rpc/netdb.h
25110 * resolv/netdb.h: Revert last change.
25111
b9af1301
PP
251122011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25113
25114 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25115 circular dependency between libgcc.a and libc.a.
25116
4e34d5f5
AS
251172011-05-05 Andreas Schwab <schwab@redhat.com>
25118
25119 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25120 * nis/Makefile: Don't install rpcsvc/*.
25121 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25122 instead of <rpc/types.h>.
25123 (MAXHOSTNAMELEN): Define.
25124
00ee369c
AS
251252011-05-03 Andreas Schwab <schwab@redhat.com>
25126
25127 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25128
0b592a30
MB
251292011-04-28 Maciej Babinski <mbabinski@google.com>
25130
25131 [BZ #12714]
25132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25133 gethostbyname4_r when IPv6 results are possible.
25134
6e04cbbe
UD
251352011-05-02 Ulrich Drepper <drepper@gmail.com>
25136
25137 [BZ #12723]
25138 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25139 _PC_PIPE_BUF handling.
25140
e4ecafe0
BH
251412011-04-30 Bruno Haible <bruno@clisp.org>
25142
25143 [BZ #12717]
25144 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25145 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25146 to 'int'.
25147 * inet/getnameinfo.c (getnameinfo): Likewise.
25148
125ee683
UD
251492011-04-29 Ulrich Drepper <drepper@gmail.com>
25150
25151 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25152 to groups setting in database lookup.
25153 * nss/nsswitch.conf: Add initgroups entry.
25154
b722481a
EB
251552011-04-22 Ulrich Drepper <drepper@gmail.com>
25156
25157 [BZ #12685]
25158 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25159 mode string.
25160 Patch by Eric Blake <eblake@redhat.com>.
25161
4df46dbd
L
251622011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25163
25164 * sunrpc/Makefile (need-export-routines): Add svc_run.
25165 (routines): Remove svc_run.
25166 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25167 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25168 * sunrpc/svc_run.c (svc_run): Likewise.
25169 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25170
e84142d2
UD
251712011-04-21 Ulrich Drepper <drepper@gmail.com>
25172
25173 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25174 problem in reallocation in last patch.
25175
877175d8
UD
251762011-04-20 Ulrich Drepper <drepper@gmail.com>
25177
25178 * sunrpc/Makefile: Move inclusion of Rules.
25179
ab8eed78
UD
251802011-04-19 Ulrich Drepper <drepper@gmail.com>
25181
25182 * nss/nss_files/files-initgroups.c: New file.
25183 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25184 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25185 _nss_files_initgroups_dyn.
25186
e3d8f584
RS
251872011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25188
25189 * elf/elf.h (R_ARM_IRELATIVE): Define.
25190
af190f45
UD
251912011-04-19 Ulrich Drepper <drepper@gmail.com>
25192
25193 * po/ru.po: Update from translation team.
25194
53cf59ef
UD
251952011-04-17 Ulrich Drepper <drepper@gmail.com>
25196
25197 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25198 dependencies.
25199
4c559bcd
MF
252002011-02-06 Mike Frysinger <vapier@gentoo.org>
25201
25202 [BZ #12653]
25203 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25204 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25205 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25206 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25207 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25208
4420675c
AS
252092011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25210
25211 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25212 differing bytes.
25213 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25214 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25215 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25216
75ea32ab
UD
252172011-04-17 Ulrich Drepper <drepper@gmail.com>
25218
25219 [BZ #12420]
25220 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25221 storing it.
25222 * stdlib/bug-getcontext.c: New file.
25223 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25224
27390476
AK
252252011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25226
25227 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25228 instructions into .machine "z9-109".
25229 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25230 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25231
10442705
AK
252322011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25233
25234 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25235 between environment variables and auxiliary vector.
25236
7b57bfe5
UD
252372011-04-16 Ulrich Drepper <drepper@gmail.com>
25238
25239 * Makefile: Add rules to build linkobj/libc.so.
25240 * include/libc-symbols.h: Define libc_hidden_nolink.
25241 * include/rpc/auth.h: Mark functions which are to be hidden.
25242 * include/rpc/auth_des.h: Likewise.
25243 * include/rpc/auth_unix.h: Likewise.
25244 * include/rpc/clnt.h: Likewise.
25245 * include/rpc/des_crypt.h: Likewise.
25246 * include/rpc/key_prot.h: Likewise.
25247 * include/rpc/pmap_clnt.h: Likewise.
25248 * include/rpc/pmap_prot.h: Likewise.
25249 * include/rpc/pmap_rmt.h: Likewise.
25250 * include/rpc/rpc_msg.h: Likewise.
25251 * include/rpc/svc.h: Likewise.
25252 * include/rpc/svc_auth.h: Likewise.
25253 * include/rpc/xdr.h: Likewise.
25254 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25255 * nss/Makefile: Likewise.
25256 * sunrpc/Makefile: Don't install headers. Build library with normal
25257 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25258 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25259 for the compat linking library. Remove use of INTDEF/INTUSE.
25260 * sunrpc/auth_none.c: Likewise.
25261 * sunrpc/auth_unix.c: Likewise.
25262 * sunrpc/authdes_prot.c: Likewise.
25263 * sunrpc/authuxprot.c: Likewise.
25264 * sunrpc/clnt_gen.c: Likewise.
25265 * sunrpc/clnt_perr.c: Likewise.
25266 * sunrpc/clnt_raw.c: Likewise.
25267 * sunrpc/clnt_simp.c: Likewise.
25268 * sunrpc/clnt_tcp.c: Likewise.
25269 * sunrpc/clnt_udp.c: Likewise.
25270 * sunrpc/clnt_unix.c: Likewise.
25271 * sunrpc/des_crypt.c: Likewise.
25272 * sunrpc/des_soft.c: Likewise.
25273 * sunrpc/get_myaddr.c: Likewise.
25274 * sunrpc/key_call.c: Likewise.
25275 * sunrpc/key_prot.c: Likewise.
25276 * sunrpc/netname.c: Likewise.
25277 * sunrpc/pm_getmaps.c: Likewise.
25278 * sunrpc/pm_getport.c: Likewise.
25279 * sunrpc/pmap_clnt.c: Likewise.
25280 * sunrpc/pmap_prot.c: Likewise.
25281 * sunrpc/pmap_prot2.c: Likewise.
25282 * sunrpc/pmap_rmt.c: Likewise.
25283 * sunrpc/publickey.c: Likewise.
25284 * sunrpc/rpc_cmsg.c: Likewise.
25285 * sunrpc/rpc_common.c: Likewise.
25286 * sunrpc/rpc_dtable.c: Likewise.
25287 * sunrpc/rpc_prot.c: Likewise.
25288 * sunrpc/rpc_thread.c: Likewise.
25289 * sunrpc/rtime.c: Likewise.
25290 * sunrpc/svc.c: Likewise.
25291 * sunrpc/svc_auth.c: Likewise.
25292 * sunrpc/svc_authux.c: Likewise.
25293 * sunrpc/svc_raw.c: Likewise.
25294 * sunrpc/svc_run.c: Likewise.
25295 * sunrpc/svc_simple.c: Likewise.
25296 * sunrpc/svc_tcp.c: Likewise.
25297 * sunrpc/svc_udp.c: Likewise.
25298 * sunrpc/svc_unix.c: Likewise.
25299 * sunrpc/svcauth_des.c: Likewise.
25300 * sunrpc/xcrypt.c: Likewise.
25301 * sunrpc/xdr.c: Likewise.
25302 * sunrpc/xdr_array.c: Likewise.
25303 * sunrpc/xdr_float.c: Likewise.
25304 * sunrpc/xdr_intXX_t.c: Likewise.
25305 * sunrpc/xdr_mem.c: Likewise.
25306 * sunrpc/xdr_rec.c: Likewise.
25307 * sunrpc/xdr_ref.c: Likewise.
25308 * sunrpc/xdr_sizeof.c: Likewise.
25309 * sunrpc/xdr_stdio.c: Likewise.
25310
e6c61494
UD
253112011-04-10 Ulrich Drepper <drepper@gmail.com>
25312
25313 [BZ #12650]
25314 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25315 * sysdeps/ia64/dl-tls.h: Likewise.
25316 * sysdeps/powerpc/dl-tls.h: Likewise.
25317 * sysdeps/s390/dl-tls.h: Likewise.
25318 * sysdeps/sh/dl-tls.h: Likewise.
25319 * sysdeps/sparc/dl-tls.h: Likewise.
25320 * sysdeps/x86_64/dl-tls.h: Likewise.
25321 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25322
34fe483e
AS
253232011-03-14 Andreas Schwab <schwab@redhat.com>
25324
25325 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25326 rpath element also skip the following colon.
25327 (expand_dynamic_string_token): Add is_path parameter and pass
25328 down to DL_DST_REQUIRED and _dl_dst_substitute.
25329 (decompose_rpath): Call expand_dynamic_string_token with
25330 non-zero is_path. Ignore empty rpaths.
25331 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25332 with zero is_path.
25333
f12a32e6
AS
253342011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25335
25336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25337 Make cancelable.
25338
38a7d692
UD
253392011-04-09 Ulrich Drepper <drepper@gmail.com>
25340
25341 [BZ #12655]
25342 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25343 Patch by Filipe David Manana <fdmanana@apache.org>.
25344
e451d22b
AS
253452011-04-07 Andreas Schwab <schwab@redhat.com>
25346
25347 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25348 Maintain aligned stack.
25349 (CHECK_RSP): Remove unused macro.
25350
dedc7c7b
UD
253512011-04-03 Ulrich Drepper <drepper@gmail.com>
25352
25353 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25354 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25355
94521213
UD
253562011-04-02 Ulrich Drepper <drepper@gmail.com>
25357
25358 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25359
8cb700c0 25360 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25361
0354e355
L
253622011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25363
25364 [BZ #12518]
25365 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25366 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25367 * sysdeps/x86_64/memmove.c: New file.
25368 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25369 (memcpy): Renamed to ...
25370 (__new_memcpy): This.
25371 (memcpy): Provide GLIBC_2_14 memcpy.
25372 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25373 (memcpy): Provide GLIBC_2_2_5 memcpy.
25374
8593482f
UD
253752011-04-01 Ulrich Drepper <drepper@gmail.com>
25376
25377 [BZ #12631]
25378 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25379
81a5726b
AS
253802011-03-30 Andreas Schwab <schwab@redhat.com>
25381
25382 * misc/syncfs.c: New file.
25383 * misc/Makefile (routines): Add syncfs.
25384 * posix/unistd.h: Declare syncfs.
25385 * sysdeps/unix/syscalls.list: Add syncfs.
25386
00e5419f
AS
253872011-04-01 Andreas Schwab <schwab@redhat.com>
25388
25389 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25390 open_by_handle_at.
25391 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25392 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25393 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25394 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25395 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25396 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25397 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25398
748876bf
UD
253992011-04-01 Ulrich Drepper <drepper@gmail.com>
25400
658e451d
UD
25401 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25402 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25403 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25404 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25405 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25406 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25407 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25408
748876bf
UD
25409 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25410 sync_file_range.c with -fexceptions.
25411 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25412 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25413 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25414 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25415 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25416 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25417 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25418 sync_file_range as cancellation point
25419 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25420 now a wrapper around __call_sync_file_range with cancellation handling.
25421 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25422 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25423 function name to __call_sync_file_range.
25424 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25425 Add call_sync_file_range.
748876bf 25426
6e63d5e1
AS
254272011-04-01 Andreas Schwab <schwab@redhat.com>
25428
25429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25430 bits/timex.h.
6e63d5e1 25431
46998f74
UD
254322011-04-01 Ulrich Drepper <drepper@gmail.com>
25433
4c1423ed
UD
25434 * iconv/iconv.h: Fix typo in comment.
25435 * io/fcntl.h: Likewise.
25436 * libio/stdio.h: Likewise.
25437 * posix/spawn.h: Likewise.
25438 * posix/unistd.h: Likewise.
25439 * stdlib/stdlib.h: Likewise.
25440 * time/time.h: Likewise.
25441 * wcsmbs/wchar.h: Likewise.
25442
158648c0
UD
25443 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25444 open_by_handle): Add.
25445 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25446 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25447 Augment a few comments.
25448 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25450 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25452 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25453 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25454 open_by_handle.
25455
46998f74
UD
25456 * io/fcntl.h (AT_EMPTY_PATH): Define.
25457
83fe108b
UD
254582011-03-30 Ulrich Drepper <drepper@gmail.com>
25459
25460 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25461 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25462 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25463 to...
25464 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25465 * Versions.def: Add GLIBC_2.14.
25466 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25467 Export.
83fe108b 25468
bb242059
UD
254692011-03-22 Ulrich Drepper <drepper@gmail.com>
25470
25471 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25472 round counter.
25473 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25474
c97a1282
L
254752011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25476
25477 [BZ #12597]
25478 * string/test-strncmp.c (do_page_test): New function.
25479 (check2): Likewise.
25480 (test_main): Call check2.
25481 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25482
2a115601
UD
254832011-03-20 Ulrich Drepper <drepper@gmail.com>
25484
25485 [BZ #12587]
25486 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25487 Handle cache information in CPU leaf 4.
25488 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25489
8126d904
UD
254902011-03-18 Ulrich Drepper <drepper@gmail.com>
25491
042c49c6 25492 [BZ #12583]
8126d904
UD
25493 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25494 character representation.
25495 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25496
ccfe366e
RA
254972011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25498
25499 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25500 END(__isnan) to END(__isnanf) to match function entry point/label
25501 EALIGN(__isnanf,...).
25502
c6e13027
JJ
255032011-03-10 Jakub Jelinek <jakub@redhat.com>
25504
25505 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25506
33f85a3f
UD
255072011-03-10 Ulrich Drepper <drepper@gmail.com>
25508
028478fa
UD
25509 [BZ #12510]
25510 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25511 copy from the symbol referenced in the relocation to initialize the
25512 used variable.
25513 Patch by Piotr Bury <pbury@goahead.com>.
25514 * elf/Makefile: Add rules to build and tst-unique3.
25515 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25516 * elf/tst-unique3.cc: New file.
25517 * elf/tst-unique3.h: New file.
25518 * elf/tst-unique3lib.cc: New file.
25519 * elf/tst-unique3lib2.cc: New file.
25520
33f85a3f
UD
25521 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25522
03592fc7
MF
255232011-03-10 Mike Frysinger <vapier@gentoo.org>
25524
25525 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25526 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25527 to _start.
03592fc7 25528
6a5ee102
UD
255292011-03-06 Ulrich Drepper <drepper@gmail.com>
25530
25531 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25532 to-be-loaded object along a path to loader is ld.so.
25533
7e4ba49c
HJ
255342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25535 Ulrich Drepper <drepper@gmail.com>
25536
25537 * sysdeps/x86_64/memset.S: After aligning destination, code
25538 branches to different locations depending on the value of
25539 misalignment, when multiarch is enabled. Fix this.
25540
255412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25542
25543 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25544 Set _x86_64_preferred_memory_instruction for AMD processsors.
25545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25546 Set bit_Prefer_SSE_for_memop for AMD processors.
25547
13a804de
UD
255482011-03-04 Ulrich Drepper <drepper@gmail.com>
25549
25550 * libio/fmemopen.c (fmemopen): Optimize a bit.
25551
9d25c392
AS
255522011-03-03 Andreas Schwab <schwab@redhat.com>
25553
25554 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25555
a5543c6a
RM
255562011-03-03 Roland McGrath <roland@redhat.com>
25557
25558 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25559
012d35f7
DM
255602011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25561
7e4ba49c 25562 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25563 __bzero_ultra1 instead of __memset_ultra1.
25564
4bff6e01
AS
255652011-02-23 Andreas Schwab <schwab@redhat.com>
25566 Ulrich Drepper <drepper@gmail.com>
25567
25568 [BZ #12509]
25569 * include/link.h (struct link_map): Add l_orig_initfini.
25570 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25571 returning unsuccessfully.
25572 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25573 close of a file loaded at startup, restore the original l_initfini
25574 list.
25575 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25576 list, store the pointer.
25577 * elf/Makefile ($(objpfx)noload-mem): New rule.
25578 (noload-ENV): Define.
25579 (tests): Add $(objpfx)noload-mem.
25580 * elf/noload.c: Include <memcheck.h>.
25581 (main): Call mtrace. Close all opened handles.
25582
f2092faf
AS
255832011-02-17 Andreas Schwab <schwab@redhat.com>
25584
25585 [BZ #12454]
25586 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25587 dependencies are missing.
25588
6c8a2e88
ST
255892011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25590
f2092faf 25591 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25592 Hurd needs munmap.
25593 * sysdeps/mach/hurd/ifreq.h: New file.
25594
84a42118
PB
255952011-01-27 Petr Baudis <pasky@suse.cz>
25596 Ulrich Drepper <drepper@gmail.com>
25597
071f805e 25598 [BZ 12445]#
84a42118
PB
25599 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25600 to extend_alloca().
25601 * stdio-common/bug23.c: New file.
25602 * stdio-common/Makefile (tests): Add bug23.
25603
e23fe25b
AS
256042010-09-28 Andreas Schwab <schwab@redhat.com>
25605 Ulrich Drepper <drepper@gmail.com>
25606
25607 [BZ #12489]
25608 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25609 before performing relro protection. At old place add assertion
25610 to make sure nothing changed.
25611
d3f02e10
NS
256122011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25613 Glauber de Oliveira Costa <glommer@gmail.com>
25614
25615 * elf/elf.h: Add new ARM TLS relocs.
25616
d55fd7a5
RA
256172011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25618
25619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25620 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25621 cast from r3.
25622 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25623 'tests' variable.
25624 * sysdeps/wordsize-64/tst-writev.c: New file.
25625
2206397e
RA
256262011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25627
25628 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25629 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25630 insns in _dl_start to prevent a TOC reference before relocs are
25631 resolved.
25632
e9433893
UD
256332011-02-15 Ulrich Drepper <drepper@gmail.com>
25634
25635 [BZ #12469]
25636 * Makeconfig: Remove RANLIB definition.
25637 * Makerules: Don't use RANLIB.
25638 * aclocal.m4: Remove ranlib test.
25639 * configure.in: No need to check for ranlib.
25640 * elf/rtld-Rules: Don't use RANLIB.
25641
f75286c6
ST
256422011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25643
8e31c82d
ST
25644 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25645 protection macro.
25646 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25647 inclusion protection macro.
25648
f75286c6
ST
25649 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25650 SIGRTMIN and SIGRTMAX and print information in that case only when
25651 SIGRTMIN is defined.
25652
c1d0e639
JJ
256532011-02-11 Jakub Jelinek <jakub@redhat.com>
25654
25655 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25656 arginfo fn returning -1.
25657
25658 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25659 and thousands string is zero terminated.
25660
edf9294e
AS
256612011-02-03 Andreas Schwab <schwab@redhat.com>
25662
25663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25664 sysdeps/unix/sysv/linux/bits/socket.h.
25665
2b7e92df
ST
256662011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25667
edf9294e
AS
25668 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25669 (__CPU_COUNT): Remove old macros.
25670 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25671 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25672 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
25673 (__sched_cpualloc, __sched_cpufree): Add declarations.
25674
a4c7ea7b
UD
256752011-02-05 Ulrich Drepper <drepper@gmail.com>
25676
25677 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25678 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25679 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25680 (readdhstai): Return value of addhstaiX call.
25681 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25682 (addgrbyX): Return value returned by cache_addgr.
25683 (readdgrbyname): Return value returned by addgrbyX.
25684 (readdgrbygid): Likewise.
25685 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25686 (addpwbyX): Return value returned by cache_addpw.
25687 (readdpwbyname): Return value returned by addhstbyX.
25688 (readdpwbyuid): Likewise.
25689 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25690 (addservbyX): Return value returned by cache_addserv.
25691 (readdservbyname): Return value returned by addservbyX:
25692 (readdservbyport): Likewise.
25693 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25694 (addhstbyX): Return value returned by cache_addhst.
25695 (readdhstbyname): Return value returned by addhstbyX.
25696 (readdhstbyaddr): Likewise.
25697 (readdhstbynamev6): Likewise.
25698 (readdhstbyaddrv6): Likewise.
25699 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25700 (readdinitgroups): Return value returned by addinitgroupsX.
25701 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25702 (prune_cache): Keep track of timeout value of re-added entries.
25703 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25704 * nscd/nscd.h: Adjust prototypes of readd* functions.
25705
a0bf67cc
RM
257062011-02-04 Roland McGrath <roland@redhat.com>
25707
25708 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25709 (nis_stats): Likewise.
25710 * nis/nis_modify.c (nis_modify): Likewise.
25711 * nis/nis_remove.c (nis_remove): Likewise.
25712 * nis/nis_add.c (nis_add): Likewise.
25713
25714 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25715
25716 * posix/fnmatch_loop.c: Add some consts.
25717
25718 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25719
435b95eb
L
257202011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25721
25722 [BZ #12460]
25723 * config.make.in (config-cflags-novzeroupper): Define.
25724 * configure.in: Substitute libc_cv_cc_novzeroupper.
25725 * elf/Makefile (AVX-CFLAGS): Define.
25726 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25727 (CFLAGS-tst-auditmod4a.c): Likewise.
25728 (CFLAGS-tst-auditmod4b.c): Likewise.
25729 (CFLAGS-tst-auditmod6b.c): Likewise.
25730 (CFLAGS-tst-auditmod6c.c): Likewise.
25731 (CFLAGS-tst-auditmod7b.c): Likewise.
25732 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25733
8517b15e
UD
257342011-02-02 Ulrich Drepper <drepper@gmail.com>
25735
25736 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25737 function to the callback.
25738 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25739
10a656fe
AS
257402011-02-02 Andreas Schwab <schwab@redhat.com>
25741
25742 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25743 of errno.
25744
968dad0a
UD
257452011-01-19 Ulrich Drepper <drepper@gmail.com>
25746
9f94d2ea 25747 [BZ #11724]
968dad0a
UD
25748 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25749 of constructors.
25750 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25751 of destructors.
25752 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25753
25754 [BZ #11724]
25755 * elf/Makefile: Add rules to build and run new test.
25756 * elf/tst-initorder.c: New file.
25757 * elf/tst-initorder.exp: New file.
25758 * elf/tst-initordera1.c: New file.
25759 * elf/tst-initordera2.c: New file.
25760 * elf/tst-initordera3.c: New file.
25761 * elf/tst-initordera4.c: New file.
25762 * elf/tst-initorderb1.c: New file.
25763 * elf/tst-initorderb2.c: New file.
25764 * elf/tst-order-a1.c: New file.
25765 * elf/tst-order-a2.c: New file.
25766 * elf/tst-order-a3.c: New file.
25767 * elf/tst-order-a4.c: New file.
25768 * elf/tst-order-b1.c: New file.
25769 * elf/tst-order-b2.c: New file.
25770 * elf/tst-order-main.c: New file.
25771 New test case by George Gensure <werkt0@gmail.com>.
25772
86e92359
UD
257732010-10-01 Andreas Schwab <schwab@redhat.com>
25774
25775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25776 decoding ACE if AI_CANONIDN.
25777
5d5732b0
UD
257782011-01-18 Ulrich Drepper <drepper@gmail.com>
25779
25780 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25781
a77e8cbc
UD
257822011-01-17 Ulrich Drepper <drepper@gmail.com>
25783
6392473f
UD
25784 * version.h (RELEASE): Bump for 2.13 release.
25785 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25786
620a0529
UD
25787 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25788
18ba70a5
UD
25789 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25790 MADV_NOHUGEPAGE.
32465c3e
UD
25791 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25792 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25793 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25794 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25795 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25796 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25797
c0dafcf1
UD
25798 * posix/getconf.c: Update copyright year.
25799 * catgets/gencat.c: Likewise.
25800 * csu/version.c: Likewise.
25801 * debug/catchsegv.sh: Likewise.
25802 * debug/xtrace.sh: Likewise.
25803 * elf/ldconfig.c: Likewise.
25804 * elf/ldd.bash.in: Likewise.
25805 * elf/sprof.c (print_version): Likewise.
25806 * iconv/iconv_prog.c: Likewise.
25807 * iconv/iconvconfig.c: Likewise.
25808 * locale/programs/locale.c: Likewise.
25809 * locale/programs/localedef.c: Likewise.
25810 * malloc/memusage.sh: Likewise.
25811 * malloc/mtrace.pl: Likewise.
25812 * nscd/nscd.c (print_version): Likewise.
25813 * nss/getent.c: Likewise.
25814
a77e8cbc
UD
25815 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25816 PF_CAIF, and PF_ALG.
25817 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25818
77e8bddf
AS
258192011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25820
1f20b93a
AS
25821 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25822 (modules-names): Use them.
25823 (ifunc-test-modules, ifunc-pie-tests): Define.
25824 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25825 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25826 (test-extras): Likewise.
25827 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25828 $(compile-command.c).
25829 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25830 (all-built-dso): Define.
25831 (check-textrel.out, check-execstack.out): Depend on it.
25832
77e8bddf
AS
25833 * configure.in: Don't override --enable-multi-arch.
25834
bc425b33
UD
258352011-01-15 Ulrich Drepper <drepper@gmail.com>
25836
25837 [BZ #6812]
25838 * nscd/hstcache.c (tryagain): Define.
25839 (cache_addhst): Return tryagain not notfound for temporary errors.
25840 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25841 failed.
25842
794c3ad3
UD
258432011-01-14 Ulrich Drepper <drepper@gmail.com>
25844
70181fdd
UD
25845 [BZ #10563]
25846 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25847 to make the syscall.
25848 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25849
794c3ad3
UD
25850 [BZ #12378]
25851 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25852 and fall back to matching as normal character if the string ends before
25853 the matching ']' is found. This is what POSIX requires.
25854 * posix/testfnm.c: Adjust test result.
25855 * posix/globtest.sh: Adjust test result. Add new test.
25856 * posix/tst-fnmatch.input: Likewise.
25857 * posix/tst-fnmatch2.c: Add new test.
25858
68dc9497
AS
258592010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25860
25861 * elf/Makefile (check-execstack): Revert last change. Depend on
25862 check-execstack.h.
25863 (check-execstack.h): New target.
25864 (generated): Add check-execstack.h.
25865 * elf/check-execstack.c: Include "check-execstack.h".
25866 (main): Revert last change.
25867 (handle_file): Return zero if GNU_STACK is absent and
25868 DEFAULT_STACK_PERMS doesn't include PF_X.
25869
451f001b
UD
258702011-01-13 Ulrich Drepper <drepper@gmail.com>
25871
cfa28e56
UD
25872 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25873 in child fails because the descriptor is already closed.
8cf8ce17
UD
25874 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25875 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25876 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 25877
1086d70d
UD
25878 [BZ #12397]
25879 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25880 syscall.
25881
451f001b
UD
25882 [BZ #10484]
25883 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25884 temporary buffer used to handle multi lookups locally.
a85b5cb4 25885 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 25886
08769175
UD
258872011-01-12 Ulrich Drepper <drepper@gmail.com>
25888
25889 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25890 loader is ld.so.
25891
5e49c52e
UD
258922011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25893
25894 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25895 alignment for SSE2.
25896
60522a5f
UD
258972011-01-12 Ulrich Drepper <drepper@gmail.com>
25898
25899 [BZ #12394]
25900 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25901 characters. When rounding increased number of integer digits recompute
25902 number of groups.
25903 * stdio-common/tst-grouping.c: New file.
25904 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25905
f257bbd7
UD
259062011-01-09 Ulrich Drepper <drepper@gmail.com>
25907
25908 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25909 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25910
25911 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25912 void.
25913 * bits/select.h: Likewise.
25914
fa9c15cb
UD
259152011-01-08 Ulrich Drepper <drepper@gmail.com>
25916
25917 * po/ja.po: Update from translation team.
25918
16c2895f
DM
259192011-01-04 David S. Miller <davem@sunset.davemloft.net>
25920
25921 [BZ #11155]
25922 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25923 implementation just like for lxstat, fxstatat, et al.
25924
2543fef2
JM
259252010-12-27 Jim Meyering <meyering@redhat.com>
25926
25927 [BZ #12348]
25928 * posix/regexec.c (build_trtable): Return failure indication upon
25929 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25930
98727dbe
UD
259312010-12-25 Ulrich Drepper <drepper@gmail.com>
25932
5bd6dc5c
UD
25933 [BZ #12201]
25934 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25935 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25936 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25937 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25938
97983464
UD
25939 [BZ #12207]
25940 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25941
98727dbe
UD
25942 [BZ #12204]
25943 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25944 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25945
4a531bb0
L
259462010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25947
25948 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25949 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25950 script has SORT_BY_INIT_PRIORITY.
25951 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25952 NO_CTORS_DTORS_SECTIONS is defined.
25953 * elf/soinit.c: Likewise.
25954 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25955 NO_CTORS_DTORS_SECTIONS is defined.
25956 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25957 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25958 * sysdeps/sh/init-first.c: Likewise.
25959 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25960
07eb4b71
UD
259612010-12-24 Ulrich Drepper <drepper@gmail.com>
25962
25963 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25964 always use the slow path.
25965
30950a5f
RA
259662010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25967
25968 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25969 similar rule which adds the sysdep directories to the header search in
25970 order to pick up the correct platform stackinfo.h.
25971 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25972 perform test if it is, otherwise return successfully without testing.
25973 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25974 DEFAULT_STACK_PERMS define in stackinfo.h.
25975 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25976 defined in stackinfo.h.
25977 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25978 DEFAULT_STACK_PERMS defined in stackinfo.h.
25979 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25980 * sysdeps/ia64/stackinfo.h: Likewise.
25981 * sysdeps/s390/stackinfo.h: Likewise.
25982 * sysdeps/sh/stackinfo.h: Likewise.
25983 * sysdeps/sparc/stackinfo.h: Likewise.
25984 * sysdeps/x86_64/stackinfo.h: Likewise.
25985 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25986 PF_X for powerpc64. Retain PF_X for powerpc32.
25987
db753e2c
UD
259882010-12-19 Ulrich Drepper <drepper@gmail.com>
25989
14b697f7
UD
25990 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25991 accurately.
db753e2c
UD
25992 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25993 GETDENTS_64BIT_ALIGNED.
25994
28300719
UD
259952010-12-14 Ulrich Drepper <dreper@gmail.com>
25996
14b697f7 25997 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 25998
4f197237
AS
259992010-12-10 Andreas Schwab <schwab@redhat.com>
26000
dbb0472f
AS
26001 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26002 _GNU_SOURCE.
26003
4f197237
AS
26004 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26005 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26006 Remove __restrict.
26007 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26008 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26009
fb88ac72
UD
260102010-12-09 Ulrich Drepper <drepper@gmail.com>
26011
26012 [BZ #11655]
26013 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26014 are initialized.
26015
42acbb92
JJ
260162010-12-09 Jakub Jelinek <jakub@redhat.com>
26017
26018 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26019
c038d98d
UD
260202010-12-03 Ulrich Drepper <drepper@gmail.com>
26021
26022 * po/it.po: Update from translation team.
26023
3a4a2499
L
260242010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26025
26026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26027 unused codes.
26028
1e24cf6e
UD
260292010-11-30 Ulrich Drepper <drepper@gmail.com>
26030
26031 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26032
a7690819
AS
260332010-11-24 Andreas Schwab <schwab@redhat.com>
26034
26035 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26036 specially.
26037 (gaih_getanswer_slice): Likewise.
26038
3bf8d1b1
JJ
260392010-10-20 Jakub Jelinek <jakub@redhat.com>
26040
26041 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26042
6db52fbb
PB
260432010-05-31 Petr Baudis <pasky@suse.cz>
26044
26045 [BZ #11149]
26046 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26047 silently even in the chroot mode.
26048
eaca7569
UD
260492010-11-22 Ulrich Drepper <drepper@gmail.com>
26050
26051 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26052 last patch a bit. Pretty printing
26053
3056dcdb
UD
260542010-05-31 Petr Baudis <pasky@suse.cz>
26055
26056 [BZ #10085]
26057 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26058 initialization of skip_initgroups_dyn.
26059
cf7c9078
UD
260602010-11-19 Ulrich Drepper <drepper@gmail.com>
26061
26062 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26063 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26064
a1fb5e3e
UD
260652010-11-16 Ulrich Drepper <drepper@gmail.com>
26066
26067 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26068
3540d66b
AS
260692010-11-11 Andreas Schwab <schwab@redhat.com>
26070
26071 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26072 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26073 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26074 ($(objpfx)tst-fnmatch-mem): New rule.
26075 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26076 * posix/tst-fnmatch.c (main): Call mtrace.
26077
13b69574
L
260782010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26079
26080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26081 Support Intel processor model 6 and model 0x2c.
26082
da93d214
LM
260832010-11-10 Luis Machado <luisgpm@br.ibm.com>
26084
26085 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26086 signed comparison.
26087
8ca52c6e
L
260882010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26089
26090 [BZ #12205]
26091 * string/test-strncasecmp.c (check_result): New function.
26092 (do_one_test): Use it.
26093 (check1): New function.
26094 (test_main): Use it.
26095 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26096 Support strcasecmp and strncasecmp.
26097
69da074d
UD
260982010-11-08 Ulrich Drepper <drepper@gmail.com>
26099
26100 [BZ #12194]
26101 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26102 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26103
ff02d528
L
261042010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26105
26106 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26107 IFUNC support.
26108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26109 memset-x86-64.
26110 * sysdeps/x86_64/multiarch/bzero.S: New file.
26111 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26112 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26113 * sysdeps/x86_64/multiarch/memset.S: New file.
26114 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26116 Set bit_Prefer_SSE_for_memop for Intel processors.
26117 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26118 Define.
26119 (index_Prefer_SSE_for_memop): Define.
26120 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26121
344d0b54
LM
261222010-11-04 Luis Machado <luisgpm@br.ibm.com>
26123
26124 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26125 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26126
c0dde15b
UD
261272010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26128
26129 [BZ #12191]
26130 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26131 (__x86_64_raw_data_cache_size_half): Likewise.
26132 (__x86_64_raw_shared_cache_size): Likewise.
26133 (__x86_64_raw_shared_cache_size_half): Likewise.
26134
26135 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26136 (__x86_64_raw_data_cache_size_half): Likewise.
26137 (__x86_64_raw_shared_cache_size): Likewise.
26138 (__x86_64_raw_shared_cache_size_half): Likewise.
26139 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26140 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26141 and __x86_64_raw_shared_cache_size_half. Round
26142 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26143 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26144 to multiple of 256 bytes.
26145
0e516e0e
MS
261462010-11-03 Ulrich Drepper <drepper@gmail.com>
26147
26148 [BZ #12167]
26149 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26150 of inacessible symlinks. Verify result of symlink before returning it.
26151 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26152 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26153
0e012e87
ER
261542010-10-28 Erich Ritz <erichritz@gmail.com>
26155
26156 * math/math.h (isinf): Fix typo in comment.
26157
de0ff7bc
UD
261582010-11-01 Ulrich Drepper <drepper@gmail.com>
26159
26160 * po/da.po: Update from translation team.
26161
fa41c84d
UD
261622010-10-26 Ulrich Drepper <drepper@gmail.com>
26163
26164 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26165 is added to the list.
26166
f0967738
AK
261672010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26168 Ulrich Drepper <drepper@gmail.com>
26169
26170 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26171 the global list here. Move code to...
26172 (_dl_add_to_namespace_list): ...here. New function.
26173 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26174 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26175 * elf/dl-load.c (lose): Don't remove the element from the list.
26176 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26177 (_dl_map_object): Likewise.
26178
261792010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26180
26181 [BZ #12159]
26182 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26183 into all bytes of SSE register.
26184 Patch by Richard Li <richardpku@gmail.com>.
26185
f0967738 261862010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26187
26188 [BZ #12140]
26189 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26190 perturbing.
26191
d0b9e94f
MB
261922010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26193
26194 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26195 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26196 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26197 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26199 submachine.
26200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26201
8e9f92e9
AS
262022010-10-22 Andreas Schwab <schwab@redhat.com>
26203
26204 * include/dlfcn.h (__RTLD_SECURE): Define.
26205 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26206 mode & __RTLD_SECURE instead.
26207 (open_path): Rename preloaded parameter to secure.
26208 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26209 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26210 * elf/dl-deps.c (openaux): Likewise.
26211 * elf/rtld.c (struct map_args): Remove is_preloaded.
26212 (map_doit): Don't use it.
26213 (dl_main): Likewise.
26214 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26215 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26216
bc96fbda
AS
262172010-09-09 Andreas Schwab <schwab@redhat.com>
26218
26219 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26220 (sysd-rules-targets): Remove duplicates.
26221 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26222 rtld-%.$o dependency.
26223
22cd1c9b
AS
262242010-10-18 Andreas Schwab <schwab@redhat.com>
26225
26226 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26227 _dl_map_object do it.
26228
18edac48
UD
262292010-10-19 Ulrich Drepper <drepper@gmail.com>
26230
26231 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26232 fast fma builtins, define the macros in the C99 standard.
26233 (FP_FAST_FMAF): Likewise.
26234 (FP_FAST_FMAL): Likewise.
26235 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26236
26237 * bits/mathdef.h: Update copyright year.
26238 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26239
d2050124
MM
262402010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26241
26242 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26243 builtins, define the macros in the C99 standard.
26244 (FP_FAST_FMAF): Likewise.
26245 (FP_FAST_FMAL): Likewise.
26246 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26247 multiply/add.
26248 (FP_FAST_FMAF): Likewise.
26249
475facd1
JJ
262502010-10-15 Jakub Jelinek <jakub@redhat.com>
26251
26252 [BZ #3268]
26253 * math/libm-test.inc (fma_test): Some new testcases.
26254 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26255 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26256 y and infinite z. Do multiplication by C already in long double.
26257 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26259 y and infinite z. Do bitwise or of inexact bit into u.d.
26260 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26261 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26262 * sysdeps/i386/fpu/s_fma.S: Removed.
26263 * sysdeps/i386/fpu/s_fmal.S: Removed.
26264
7c08a05c
JJ
262652010-10-16 Jakub Jelinek <jakub@redhat.com>
26266
26267 [BZ #3268]
26268 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26269 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26270 computation is not scheduled after fetestexcept. Fix value
26271 of minimum denormal long double.
26272
f3f7372d
JJ
262732010-10-14 Jakub Jelinek <jakub@redhat.com>
26274
26275 [BZ #3268]
26276 * math/libm-test.inc (fma_test): Add some more tests.
26277 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26278 correctly.
26279
14d43591
AS
262802010-10-15 Andreas Schwab <schwab@redhat.com>
26281
26282 * scripts/data/localplt-s390-linux-gnu.data: New file.
26283 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26284
5e908464
JJ
262852010-10-13 Jakub Jelinek <jakub@redhat.com>
26286
26287 [BZ #3268]
26288 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26289 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26290 instead of dbl-64.
26291 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26292 inlines.
26293 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26295 if one of x and y is very large and the other is subnormal.
26296 * sysdeps/s390/fpu/s_fmaf.c: New file.
26297 * sysdeps/s390/fpu/s_fma.c: New file.
26298 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26299 * sysdeps/powerpc/fpu/s_fma.S: New file.
26300 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26301 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26302 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26303
263042010-10-12 Jakub Jelinek <jakub@redhat.com>
26305
26306 [BZ #3268]
26307 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26308 fma tests.
26309 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26310 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26311 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26312 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26313 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26314 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26315 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26316
b833d51f
UD
263172010-10-12 Ulrich Drepper <drepper@redhat.com>
26318
26319 [BZ #12078]
26320 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26321 * posix/bug-regex31.input: Add test case.
26322
1751705d
UD
263232010-10-11 Ulrich Drepper <drepper@gmail.com>
26324
e9b9cbf5
UD
26325 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26326 * posix/bug-regex31.input: New file.
26327
26328 [BZ #12078]
26329 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26330 (parse_sub_exp): Fix last change, use postorder.
26331
ef06edbe
UD
26332 * posix/bug-regex31.c: New file.
26333 * posix/Makefile: Add rules to build and run bug-regex31.
26334
a129c80d
UD
26335 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26336
26337 [BZ #12078]
26338 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26339
b76b818e
UD
26340 [BZ #12108]
26341 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26342 to have entries in sys_siglist.
26343
1751705d
UD
26344 [BZ #12093]
26345 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26346 be NULL.
26347
9ff8d36f
JJ
263482010-10-07 Jakub Jelinek <jakub@redhat.com>
26349
26350 [BZ #3268]
26351 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26352 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26353 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26354 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26355 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26356 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26357 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26358 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26359 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26360 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26361 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26362 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26363 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26364 * math/ftestexcept.c (fetestexcept): Likewise.
26365 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26366 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26367 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26368 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26369 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26370 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26371 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26372
af325969
UD
263732010-10-11 Ulrich Drepper <drepper@gmail.com>
26374
c579b202 26375 [BZ #12107]
af325969
UD
26376 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26377 newline.
26378
67a67b95
UD
263792010-10-06 Ulrich Drepper <drepper@gmail.com>
26380
26381 * string/bug-strstr1.c: New file.
26382 * string/Makefile: Add rules to build and run bug-strstr1.
26383
5fb308bc
EB
263842010-10-05 Eric Blake <eblake@redhat.com>
26385
26386 [BZ #12092]
26387 * string/str-two-way.h (two_way_long_needle): Always clear memory
26388 when skipping input due to the shift table.
26389
45db99c7
UD
263902010-10-03 Ulrich Drepper <drepper@gmail.com>
26391
3b111893
UD
26392 [BZ #12005]
26393 * malloc/mcheck.c: Handle large requests.
26394
45db99c7
UD
26395 [BZ #12077]
26396 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26397 for strncmp and strncasecmp.
26398 * string/stratcliff.c: Add tests for strcmp and strncmp.
26399 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26400
cf7a1eb8
NI
264012010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26402
26403 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26404 __set_fpscr.
26405
6484ba5e
AJ
264062010-09-30 Andreas Jaeger <aj@suse.de>
26407
26408 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26409 (CGROUP_SUPER_MAGIC): Define.
26410 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26411 Handle btrfs and cgroup file systems.
26412 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26413 Likewise.
26414
91c42559
LM
264152010-09-27 Luis Machado <luisgpm@br.ibm.com>
26416
26417 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26418 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26419
87a97932
AK
264202010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26421
26422 [BZ #12067]
26423 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26424 trying to locate the ELF header.
26425
c21cc9bc
AS
264262010-09-27 Andreas Schwab <schwab@redhat.com>
26427
26428 [BZ #11611]
26429 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26430 Mask out sign-bit copies when constructing f_fsid.
26431
315970f6
PB
264322010-09-24 Petr Baudis <pasky@suse.cz>
26433
26434 * debug/stack_chk_fail_local.c: Add missing licence exception.
26435 * debug/warning-nop.c: Likewise.
26436
1ac7a2c7
JM
264372010-09-15 Joseph Myers <joseph@codesourcery.com>
26438
26439 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26440 implementing getdents64 using getdents syscall, set d_type if
26441 __ASSUME_GETDENTS32_D_TYPE.
26442
56801c50
AS
264432010-09-16 Andreas Schwab <schwab@redhat.com>
26444
26445 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26446 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26447
dda51327
UD
264482010-09-21 Ulrich Drepper <drepper@redhat.com>
26449
26450 [BZ #12037]
26451 * posix/unistd.h: Undo change of feature selection for ftruncate from
26452 2010-01-11.
26453
8ffcee4a
UD
264542010-09-20 Ulrich Drepper <drepper@redhat.com>
26455
a545ecd9 26456 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26457 detection.
26458
e24f0a8b
AS
264592010-09-20 Andreas Schwab <schwab@redhat.com>
26460
26461 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26462 fanotify_mark.
26463 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26464
7291c56f
AS
264652010-09-14 Andreas Schwab <schwab@redhat.com>
26466
26467 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26468 variables after CHECK_SP call.
26469 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26470
bc5fb037
AS
264712010-09-13 Andreas Schwab <schwab@redhat.com>
26472 Ulrich Drepper <drepper@redhat.com>
26473
26474 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26475 re-relocationg ld.so.
26476 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26477 _dl_init_paths call.
26478 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26479 here anymore.
26480
e66e7419
UD
264812010-09-14 Ulrich Drepper <drepper@redhat.com>
26482
26483 * resolv/res_init.c (__res_vinit): Count the default server we added.
26484
c044aa75
CLT
264852010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26486 Ulrich Drepper <drepper@redhat.com>
26487
26488 [BZ #11968]
26489 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26490 (____longjmp_chk): Use %ebx for saving value across system call.
26491 Add unwind info.
26492
32cf4069
AS
264932010-09-06 Andreas Schwab <schwab@redhat.com>
26494
26495 * manual/Makefile: Don't mix pattern rules with normal rules.
26496
817328ee
AS
264972010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26498
26499 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26500 operation.
26501 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26502 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26503 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26504 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26505 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26506 Likewise.
26507
29fddf61
UD
265082010-09-04 Ulrich Drepper <drepper@redhat.com>
26509
26510 [BZ #11979]
26511 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26512 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26513
0959ffc9
UD
265142010-09-02 Ulrich Drepper <drepper@redhat.com>
26515
26516 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26517 * sysdeps/x86_64/addmul_1.S: Likewise.
26518 * sysdeps/x86_64/lshift.S: Likewise.
26519 * sysdeps/x86_64/mul_1.S: Likewise.
26520 * sysdeps/x86_64/rshift.S: Likewise.
26521 * sysdeps/x86_64/sub_n.S: Likewise.
26522 * sysdeps/x86_64/submul_1.S: Likewise.
26523
ece29840
ST
265242010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26525
0959ffc9
UD
26526 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26527 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26528 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26529 * bits/sched.h [__need_schedparam]
ece29840 26530 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26531 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26532 (__defined_schedparam): Define to 1.
ece29840
ST
26533 (__sched_param): New structure, identical to sched_param.
26534 (__need_schedparam): Undefine.
26535
e53a31fe
MF
265362010-08-31 Mike Frysinger <vapier@gentoo.org>
26537
fdc0c10d
MF
26538 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26539 (epoll_create1): Declare.
26540
e53a31fe
MF
26541 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26542
a726d796
AS
265432010-08-31 Andreas Schwab <schwab@redhat.com>
26544
26545 [BZ #7066]
26546 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26547 shifting retval into place.
26548
2f3e3dc7
UD
265492010-09-01 Ulrich Drepper <drepper@redhat.com>
26550
f2933da9
UD
26551 * nis/rpcsvc/nis.h: Update copyright notice.
26552 * nis/rpcsvc/nis.x: Likewise.
26553 * nis/rpcsvc/nis_callback.h: Likewise.
26554 * nis/rpcsvc/nis_callback.x: Likewise.
26555 * nis/rpcsvc/nis_object.x: Likewise.
26556 * nis/rpcsvc/nis_tags.h: Likewise.
26557 * nis/rpcsvc/yp.h: Likewise.
26558 * nis/rpcsvc/yp.x: Likewise.
26559 * nis/rpcsvc/ypupd.h: Likewise.
26560 * nis/yp_xdr.c: Likewise.
26561 * nis/ypupdate_xdr.c: Likewise.
26562
2f3e3dc7
UD
26563 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26564 mainly the body of pmap_getport. Add parameters to specify timeouts.
26565 (pmap_getport): Use __libc_rpc_getport.
26566 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26567 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26568 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26569
f3dcc2f9
AS
265702010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26571
26572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26573 fanotify_mark.
26574
6d34eb5b
RM
265752010-08-27 Roland McGrath <roland@redhat.com>
26576
26577 * sysdeps/i386/i686/multiarch/Makefile
26578 (CFLAGS-varshift.c): New variable.
26579
9ea3de11
UD
265802010-08-27 Ulrich Drepper <drepper@redhat.com>
26581
c96d23fc
UD
26582 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26583 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26584
9ea3de11
UD
26585 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26586
26587 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26588
623aac7f
L
265892010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26590
26591 * sysdeps/x86_64/strlen.S: Unroll the loop.
26592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26593 strlen-sse2 strlen-sse2-bsf.
26594 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26595 __strlen_no_bsf if bit_Slow_BSF is set.
26596 (__strlen_sse42): Removed.
26597 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26598 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26599
8b2b7715
RM
266002010-08-25 Roland McGrath <roland@redhat.com>
26601
26602 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26603 * sysdeps/x86_64/multiarch/varshift.c: New file.
26604 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26605 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26606 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26607 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26608
e73015f2
L
266092010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26610
26611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26612 strlen-sse2 strlen-sse2-bsf.
26613 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26614 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26615 (__strlen_sse2): Removed.
26616 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26617 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26619 bit_Slow_BSF for Atom.
26620 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26621 (index_Slow_BSF): Define.
26622 (HAS_SLOW_BSF): Define.
26623
df24a73e
UD
266242010-08-25 Ulrich Drepper <drepper@redhat.com>
26625
26626 [BZ #10851]
26627 * resolv/res_init.c (__res_vinit): When no server address at all
26628 is given default to loopback.
26629
f2ac4868
RM
266302010-08-24 Roland McGrath <roland@redhat.com>
26631
09055553
RM
26632 * configure.in: Remove config-name.h generation.
26633 * configure: Regenerated.
26634 * config-name.in: File removed.
26635 * scripts/config-uname.sh: New file.
26636 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26637 ($(objdir)config-name.h): New target.
26638
f2ac4868
RM
26639 * sunrpc/rpc_parse.h: Avoid nested comment.
26640
73f27d5e
RH
266412010-08-24 Richard Henderson <rth@redhat.com>
26642 Ulrich Drepper <drepper@redhat.com>
26643 H.J. Lu <hongjiu.lu@intel.com>
26644
26645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26647 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26648 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26649 _mm_alignr_epi8 with _mm_loadu_si128.
26650 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26651 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26652 (__m128i_shift_right): Removed.
26653 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26654 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26655 * sysdeps/x86_64/multiarch/varshift.h: New file.
26656 * sysdeps/x86_64/multiarch/varshift.S: New file.
26657
84b9230c
MF
266582010-08-21 Mike Frysinger <vapier@gentoo.org>
26659
26660 * configure.in: Move assembler checks to before sysdep dir checking.
26661
9bbd0ddc
PB
266622010-08-20 Petr Baudis <pasky@suse.cz>
26663
26664 * LICENSES: Sync the sunrpc license.
26665
9da4bb31
UD
266662010-08-19 Ulrich Drepper <drepper@redhat.com>
26667
a7ab6ec8
UD
26668 * sunrpc/auth_des.c: Update copyright notice once again.
26669 * sunrpc/auth_none.c: Likewise.
26670 * sunrpc/auth_unix.c: Likewise.
26671 * sunrpc/authdes_prot.c: Likewise.
26672 * sunrpc/authuxprot.c: Likewise.
26673 * sunrpc/bindrsvprt.c: Likewise.
26674 * sunrpc/clnt_gen.c: Likewise.
26675 * sunrpc/clnt_perr.c: Likewise.
26676 * sunrpc/clnt_raw.c: Likewise.
26677 * sunrpc/clnt_simp.c: Likewise.
26678 * sunrpc/clnt_tcp.c: Likewise.
26679 * sunrpc/clnt_udp.c: Likewise.
26680 * sunrpc/clnt_unix.c: Likewise.
26681 * sunrpc/des_crypt.c: Likewise.
26682 * sunrpc/des_soft.c: Likewise.
26683 * sunrpc/get_myaddr.c: Likewise.
26684 * sunrpc/getrpcport.c: Likewise.
26685 * sunrpc/key_call.c: Likewise.
26686 * sunrpc/key_prot.c: Likewise.
26687 * sunrpc/openchild.c: Likewise.
26688 * sunrpc/pm_getmaps.c: Likewise.
26689 * sunrpc/pm_getport.c: Likewise.
26690 * sunrpc/pmap_clnt.c: Likewise.
26691 * sunrpc/pmap_prot.c: Likewise.
26692 * sunrpc/pmap_prot2.c: Likewise.
26693 * sunrpc/pmap_rmt.c: Likewise.
26694 * sunrpc/rpc/auth.h: Likewise.
26695 * sunrpc/rpc/auth_unix.h: Likewise.
26696 * sunrpc/rpc/clnt.h: Likewise.
26697 * sunrpc/rpc/des_crypt.h: Likewise.
26698 * sunrpc/rpc/key_prot.h: Likewise.
26699 * sunrpc/rpc/netdb.h: Likewise.
26700 * sunrpc/rpc/pmap_clnt.h: Likewise.
26701 * sunrpc/rpc/pmap_prot.h: Likewise.
26702 * sunrpc/rpc/pmap_rmt.h: Likewise.
26703 * sunrpc/rpc/rpc.h: Likewise.
26704 * sunrpc/rpc/rpc_des.h: Likewise.
26705 * sunrpc/rpc/rpc_msg.h: Likewise.
26706 * sunrpc/rpc/svc.h: Likewise.
26707 * sunrpc/rpc/svc_auth.h: Likewise.
26708 * sunrpc/rpc/types.h: Likewise.
26709 * sunrpc/rpc/xdr.h: Likewise.
26710 * sunrpc/rpc_clntout.c: Likewise.
26711 * sunrpc/rpc_cmsg.c: Likewise.
26712 * sunrpc/rpc_common.c: Likewise.
26713 * sunrpc/rpc_cout.c: Likewise.
26714 * sunrpc/rpc_dtable.c: Likewise.
26715 * sunrpc/rpc_hout.c: Likewise.
26716 * sunrpc/rpc_main.c: Likewise.
26717 * sunrpc/rpc_parse.c: Likewise.
26718 * sunrpc/rpc_parse.h: Likewise.
26719 * sunrpc/rpc_prot.c: Likewise.
26720 * sunrpc/rpc_sample.c: Likewise.
26721 * sunrpc/rpc_scan.c: Likewise.
26722 * sunrpc/rpc_scan.h: Likewise.
26723 * sunrpc/rpc_svcout.c: Likewise.
26724 * sunrpc/rpc_tblout.c: Likewise.
26725 * sunrpc/rpc_util.c: Likewise.
26726 * sunrpc/rpc_util.h: Likewise.
26727 * sunrpc/rpcinfo.c: Likewise.
26728 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26729 * sunrpc/rpcsvc/key_prot.x: Likewise.
26730 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26731 * sunrpc/rpcsvc/mount.x: Likewise.
26732 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26733 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26734 * sunrpc/rpcsvc/rex.x: Likewise.
26735 * sunrpc/rpcsvc/rstat.x: Likewise.
26736 * sunrpc/rpcsvc/rusers.x: Likewise.
26737 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26738 * sunrpc/rpcsvc/spray.x: Likewise.
26739 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26740 * sunrpc/rtime.c: Likewise.
26741 * sunrpc/svc.c: Likewise.
26742 * sunrpc/svc_auth.c: Likewise.
26743 * sunrpc/svc_authux.c: Likewise.
26744 * sunrpc/svc_raw.c: Likewise.
26745 * sunrpc/svc_run.c: Likewise.
26746 * sunrpc/svc_simple.c: Likewise.
26747 * sunrpc/svc_tcp.c: Likewise.
26748 * sunrpc/svc_udp.c: Likewise.
26749 * sunrpc/svc_unix.c: Likewise.
26750 * sunrpc/svcauth_des.c: Likewise.
26751 * sunrpc/xcrypt.c: Likewise.
26752 * sunrpc/xdr.c: Likewise.
26753 * sunrpc/xdr_array.c: Likewise.
26754 * sunrpc/xdr_float.c: Likewise.
26755 * sunrpc/xdr_mem.c: Likewise.
26756 * sunrpc/xdr_rec.c: Likewise.
26757 * sunrpc/xdr_ref.c: Likewise.
26758 * sunrpc/xdr_sizeof.c: Likewise.
26759 * sunrpc/xdr_stdio.c: Likewise.
26760
9da4bb31
UD
26761 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26762 handling.
26763
bdaa77bc
AS
267642010-08-19 Andreas Schwab <schwab@redhat.com>
26765
26766 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26767
fe2f79db
LM
267682010-08-19 Luis Machado <luisgpm@br.ibm.com>
26769
26770 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26771 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26772 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26773 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26774 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26775 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26776 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26777 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26778 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26779 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26780 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26781 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26782 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26783 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26784
b9b42ee0
AB
267852010-07-26 Anton Blanchard <anton@samba.org>
26786
26787 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26788 * malloc/arena.c (heap_trim): Likewise.
26789
1c06ba31
UD
267902010-08-16 Ulrich Drepper <drepper@redhat.com>
26791
26792 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26793 here. Not...
26794 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26795 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26796
f8392f40
L
267972010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26798
26799 * sysdeps/i386/elf/Makefile: New file.
26800
3162f12e
AS
268012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26802
26803 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26804 from fanotify_init.
26805 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26806 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26807
28c90b2c
UD
268082010-08-15 Ulrich Drepper <drepper@redhat.com>
26809
26810 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26811 of strncasecmp_l.
1feccb6c 26812 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 26813
ca6bb004
UD
268142010-08-14 Ulrich Drepper <drepper@redhat.com>
26815
e9f82e0d
UD
26816 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26817 strncase_l-nonascii.
26818 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26819 Add strncase_l-ssse3.
26820 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26821 * sysdeps/x86_64/strcmp.S: Likewise.
26822 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26823 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26824 * sysdeps/x86_64/strncase.S: New file.
26825 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26826 * sysdeps/x86_64/strncase_l.S: New file.
26827 * string/Makefile (strop-tests): Add strncasecmp.
26828 * string/test-strncasecmp.c: New file.
26829
26830 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26831 warning.
26832
ca6bb004
UD
26833 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26834 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26835
052fa7b3
AS
268362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26837
26838 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26839
962dba78
UD
268402010-08-12 Ulrich Drepper <drepper@redhat.com>
26841
26842 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26843 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26844 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26845
bebff237
AM
268462010-05-01 Alan Modra <amodra@gmail.com>
26847
26848 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26849 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26850 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26851 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26852 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26853 tidying. Don't tail-call __sigjmp_save for static lib.
26854 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26855 save location.
26856 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26857 (CALL_MCOUNT): Add eh info, and nop after bl.
26858 (TAIL_CALL_SYSCALL_ERROR): New macro.
26859 (PSEUDO_RET): Use it.
26860 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26861 Correct save location of integer regs and cr.
26862 (_dl_profile_resolve): Correct cr save location. Delete nops
26863 after bl when SHARED. Reduce cfi size a little by better
26864 placement of cfi directives.
26865 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26866 make a stack frame. Instead use parm save area as a temp.
26867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26868 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26870 Don't make a stack frame for parent, use parm save area.
26871 Increase child stack frame to 112 bytes. Don't save unused reg,
26872 and adjust reg usage. Set up cfi on error recovery and
26873 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26875 (__makecontext): Add dummy nop after jump to exit.
26876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26877 Use correct parm save area and cr save, reduce stack frame.
26878 Correct cfi for possible PSEUDO_RET frame setup.
26879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26880 Branch to local label emitted by PSEUDO_RET rather than
26881 __syscall_error.
26882
02637374
AS
268832010-08-12 Andreas Schwab <schwab@redhat.com>
26884
26885 [BZ #11904]
26886 * locale/programs/locale.c (print_assignment): New function.
26887 (show_locale_vars): Use it.
26888
c3e2f19b
UD
268892010-08-11 Ulrich Drepper <drepper@redhat.com>
26890
3cdaa6ad
UD
26891 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26892 field.
26893 (struct statfs64): Likewise.
26894 (_STATFS_F_FLAGS): Define.
26895 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26896 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26897 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26898 (ST_VALID): Define locally.
26899 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26900 __statvfs_getflags, use the provided value.
26901 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26902 __ASSUME_STATFS_F_FLAGS.
26903
754f7da3
UD
26904 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26905
10b3bedc
UD
26906 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26907 Add sys/fanotify.h.
26908 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26909 fanotify_mask for GLIBC_2.13.
26910 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26911 fanotify_init and fanotify_mark.
26912 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26913 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26914
c08fb0d7
UD
26915 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26916 Add prlimit.
26917 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26918 prlimit64 for GLIBC_2.13.
26919 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26920 prlimit64.
26921 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26922 syscall.
26923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26924 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26925 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26926 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26927 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26928 add prlimit alias.
26929 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26930
15bac72b
UD
26931 [BZ #11903]
26932 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26933 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26934
c3e2f19b
UD
26935 * nss/Makefile: Add rules to build and run tst-nss-test1.
26936 * shlib-versions: Add entry for libnss_test1.
26937 * nss/nss_test1.c: New file.
26938 * nss/tst-nss-test1.c: New file.
26939
26940 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26941 (__nss_configure_lookup): Set appropriate entry in
26942 __nss_configure_lookup to true.
26943 * nss/nsswitch.h: Define enum with indeces of databases in
26944 databases and __nss_database_custom arrays. Declare
26945 __nss_database_custom.
26946 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26947 to avoid using nscd when custom rules are installed.
26948 * nss/getXXbyYY_r.c: Likewise.
26949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26950
26951 * nss/nss_files/files-parse.c: Whitespace fixes.
26952
f15ce4d8
UD
269532010-08-09 Ulrich Drepper <drepper@redhat.com>
26954
26955 [BZ #11883]
26956 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26957 * posix/fnmatch_loop.c: Likewise.
26958
d22e4cc9
AK
269592010-07-17 Andi Kleen <ak@linux.intel.com>
26960
26961 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26962 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26963 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26964 * Versions.def [GLIBC_2.13]: Add.
26965
805bc17d
UD
269662010-08-06 Ulrich Drepper <drepper@redhat.com>
26967
26968 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26969 Also fail if tpwd after pwuid call is NULL.
26970
5a42321d
ST
269712010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26972
26973 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26974 when converting to ms.
26975
fd3ebeda
ST
269762010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26977
26978 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26979 EOPNOTSUPP errors with ENOTTY.
26980 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26981 EOPNOTSUPP errors with ENOTTY.
26982
73507d3a
UD
269832010-07-31 Ulrich Drepper <drepper@redhat.com>
26984
26985 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26986 Add strcasecmp_l-ssse3.
26987 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26988 strcasecmp.
26989 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26990 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26991 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26992
fe36dd02
UD
269932010-07-30 Ulrich Drepper <drepper@redhat.com>
26994
66f6765a
UD
26995 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26996
42e08a54
UD
26997 * string/Makefile (strop-tests): Add strcasecmp.
26998 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26999 strcasecmp_l-nonascii.
27000 (gen-as-const-headers): Add locale-defines.sym.
27001 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27002 * sysdeps/x86_64/strcasecmp.S: New file.
27003 * sysdeps/x86_64/strcasecmp_l.S: New file.
27004 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27005 * sysdeps/x86_64/locale-defines.sym: New file.
27006 * string/test-strcasecmp.c: New file.
27007
fe36dd02
UD
27008 * string/test-strcasestr.c: Test both ends of the range of characters.
27009 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27010
48cbc0d6
RM
270112010-07-29 Roland McGrath <roland@redhat.com>
27012
76e6d6bc 27013 [BZ #11856]
48cbc0d6
RM
27014 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27015
880113d9
UD
270162010-07-27 Ulrich Drepper <drepper@redhat.com>
27017
27018 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27019 for ld.so.
27020
deb9cabb
AS
270212010-07-27 Andreas Schwab <schwab@redhat.com>
27022
27023 * manual/memory.texi (Malloc Tunable Parameters): Document
27024 M_PERTURB.
27025
1c7570ff
RM
270262010-07-26 Roland McGrath <roland@redhat.com>
27027
27028 [BZ #11840]
27029 * configure.in (-fgnu89-inline check): Set and substitute
27030 gnu89_inline, not libc_cv_gnu89_inline.
27031 * configure: Regenerated.
27032 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27033
24fb0f88
UD
270342010-07-26 Ulrich Drepper <drepper@redhat.com>
27035
27036 * string/test-strnlen.c: New file.
27037 * string/Makefile (strop-tests): Add strnlen.
27038 * string/tester.c (test_strnlen): Add a few more test cases.
27039 * string/tst-strlen.c: Better error reporting.
27040
27041 * sysdeps/x86_64/strnlen.S: New file.
27042
8e96b93a
UD
270432010-07-24 Ulrich Drepper <drepper@redhat.com>
27044
27045 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27046 lower-latency instructions.
27047
dbc676d4
UD
270482010-07-23 Ulrich Drepper <drepper@redhat.com>
27049
27050 * string/test-strcasestr.c: New file.
27051 * string/test-strstr.c: New file.
27052 * string/Makefile (strop-tests): Add strstr and strcasestr.
27053 * string/str-two-way.h: Don't undefine MAX.
27054 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27055
f6a31e0e
AS
270562010-07-21 Andreas Schwab <schwab@redhat.com>
27057
27058 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27059 strcasestr-nonascii.
27060 (CFLAGS-strcasestr-nonascii.c): Define.
27061 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27062 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27063 Remove unused attribute.
27064
5dbc3b6c
RM
270652010-07-20 Roland McGrath <roland@redhat.com>
27066
27067 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27068 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27069 ld.so.cache was broken. With it, there is no way to disable dsocaps
27070 like LD_HWCAP_MASK can disable hwcaps.
27071
23d101d8
EPM
270722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27073
27074 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27075
cc9f2e47
UD
270762010-07-16 Ulrich Drepper <drepper@redhat.com>
27077
27078 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27079 call in strcasestr.
27080 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27081 __strcasestr_sse42_nonascii.
27082 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27083 strcasestr-nonascii.c.
27084 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27085
77c1b069
LM
270862010-06-15 Luis Machado <luisgpm@br.ibm.com>
27087
27088 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27089 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27090 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27091 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27092
440566c3
UD
270932010-07-09 Ulrich Drepper <drepper@redhat.com>
27094
27095 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27096 fcntl.
27097
5be9d05d
AS
270982010-07-06 Andreas Schwab <schwab@redhat.com>
27099
c30b7ee2 27100 [BZ #11577]
5be9d05d
AS
27101 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27102 dl_signal_cerror.
27103
8a492a67
UD
271042010-07-06 Ulrich Drepper <drepper@redhat.com>
27105
27106 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27107 _PC_PIPE_BUF using F_GETPIPE_SZ.
27108
713df3d5
RM
271092010-07-05 Roland McGrath <roland@redhat.com>
27110
27111 * manual/arith.texi (Rounding Functions): Fix rint description
27112 implicit in round description.
27113
702e8f14
UD
271142010-07-02 Ulrich Drepper <drepper@redhat.com>
27115
27116 * elf/Makefile: Fix linking for a few tests to make recent linker
27117 happy.
27118
52ed8be9
AS
271192010-06-30 Andreas Schwab <schwab@redhat.com>
27120
27121 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27122 $(common-objpfx)libc_nonshared.a.
27123
f47c9a11
LM
271242010-06-21 Luis Machado <luisgpm@br.ibm.com>
27125
27126 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27127 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27128 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27129 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27130 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27131 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27132 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27133 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27148 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27149 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27150 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27151 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27152 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27153 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27154 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27155 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27156 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27157 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27158 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27159 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27174
6fb8cbcb
L
271752010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27176
27177 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27178 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27179 * string/memmove.c (memmove): Renamed to ...
27180 (MEMMOVE): ...this. Default to memmove.
27181 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27182 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27183 (END_CHK): Define.
27184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27185 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27186 mempcpy-ssse3-back memmove-ssse3-back.
27187 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27188 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27189 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27190 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27191 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27192 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27193 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27194 * sysdeps/x86_64/multiarch/memmove.c: New file.
27195 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27196 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27197 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27198 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27199 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27200 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27201 Define.
27202 (index_Fast_Copy_Backward): Define.
27203 (HAS_ARCH_FEATURE): Define.
27204 (HAS_FAST_REP_STRING): Define.
27205 (HAS_FAST_COPY_BACKWARD): Define.
27206
4e733bac 272072010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27208
27209 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27210 Restore proper fallback handling.
27211
63c4ed22
UD
272122010-06-19 Ulrich Drepper <drepper@redhat.com>
27213
ac2b484c
UD
27214 [BZ #11701]
27215 * posix/group_member.c (__group_member): Correct checking loop.
27216
63c4ed22
UD
27217 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27218 OOM in getpwuid_r correctly. Return error number when the caller
27219 should return, otherwise -1.
27220 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27221 call returning > 0 value.
27222 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27223
765ade4b
AS
272242010-06-07 Andreas Schwab <schwab@redhat.com>
27225
27226 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27227 libc_nonshared.a from targets in modules-names.
27228
80da2e09
KS
272292010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27230
27231 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27232 requires it.
27233
158db122
LM
272342010-06-10 Luis Machado <luisgpm@br.ibm.com>
27235
27236 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27237 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27238 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27239 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27240
caa78cf8
AS
272412010-06-02 Andreas Schwab <schwab@redhat.com>
27242
27243 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27244
b2ef2c01
UD
272452010-06-14 Ulrich Drepper <drepper@redhat.com>
27246
27247 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27248 and F_GETPIPE_SZ.
27249 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27250 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27251 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27252 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27253 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27254 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27255
fbd643b6
RM
272562010-06-14 Roland McGrath <roland@redhat.com>
27257
27258 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27259
f32f2869
JJ
272602010-06-07 Jakub Jelinek <jakub@redhat.com>
27261
27262 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27263 __REDIRECT followed by __THROW.
27264 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27265 * posix/getopt.h (getopt): Likewise.
27266
2a50c078
EPM
272672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27268
27269 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27270 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27271 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27272 in AT_FLAGS.
27273 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27274 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27275
eb5ad2eb
LM
272762010-05-28 Luis Machado <luisgpm@br.ibm.com>
27277
27278 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27279
3c88fe1e
L
272802010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27281
27282 [BZ #11640]
27283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27284 Properly check family and model.
27285
d2f73151
TY
272862010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27287
27288 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27289
ebd2e13d
LM
272902010-05-24 Luis Machado <luisgpm@br.ibm.com>
27291
27292 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27293
b32b8b45
UD
272942010-05-21 Ulrich Drepper <drepper@redhat.com>
27295
27296 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27297 symbol reference.
27298
9acbe24d
AS
272992010-05-19 Andreas Schwab <schwab@redhat.com>
27300
27301 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27302 symbol reference.
27303
f0ccf6ea
AS
273042010-05-21 Andreas Schwab <schwab@redhat.com>
27305
3d04ff3a
AS
27306 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27307 and internal_recvmmsg.
27308 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27309 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27310 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27311 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27312
f0ccf6ea
AS
27313 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27314 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27315 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27316
5b08ac57
AS
273172010-05-20 Andreas Schwab <schwab@redhat.com>
27318
27319 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27320
4828935d
LM
273212010-05-17 Luis Machado <luisgpm@br.ibm.com>
27322
27323 POWER7 optimizations.
27324 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27325 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27326
373d545e
UD
273272010-05-19 Ulrich Drepper <drepper@redhat.com>
27328
27329 * version.h: Update for 2.13 development version.
27330
21a2b1ae
AS
273312010-05-12 Andrew Stubbs <ams@codesourcery.com>
27332
27333 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27334 exceptions. Return 0.
27335
3f7dcb2b
RM
273362010-05-07 Roland McGrath <roland@redhat.com>
27337
27338 * elf/ldconfig.c (main): Add a const.
27339
5f24d53a 273402010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27341
a160f8d8
UD
27342 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27343 (args_options): Add no-idn option.
27344 (ahosts_keys_int): Add idn_flags to ai_flags.
27345 (parse_option): Handle 'i' option to clear idn_flags.
27346
5f24d53a
UD
27347 * malloc/malloc.c (_int_free): Possible race in the most recently
27348 added check. Only act on the data if no current modification
27349 happened.
265bb1ce
UD
27350
27351See ChangeLog.17 for earlier changes.